File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " adamant-api" ,
3- "version" : " 2.2.0 " ,
3+ "version" : " 2.2.1 " ,
44 "description" : " JavaScript API library for the ADAMANT Blockchain" ,
55 "keywords" : [
66 " adm" ,
4747 "scripts" : {
4848 "test" : " jest" ,
4949 "lint" : " gts lint" ,
50- "preinstall" : " npx only-allow pnpm" ,
5150 "prepare" : " husky install" ,
5251 "clean" : " gts clean" ,
5352 "compile" : " tsc" ,
Original file line number Diff line number Diff line change @@ -785,7 +785,7 @@ export class AdamantApi extends NodeManager {
785785 * Get transaction by ID
786786 */
787787 async getTransaction (
788- id : number ,
788+ id : string ,
789789 options ?: TransactionQuery < TransactionsOptions >
790790 ) {
791791 return this . get < GetTransactionByIdResponseDto > ( 'transactions/get' , {
@@ -813,7 +813,7 @@ export class AdamantApi extends NodeManager {
813813 /**
814814 * Get queued transaction by ID
815815 */
816- async getQueuedTransaction ( id : number ) {
816+ async getQueuedTransaction ( id : string ) {
817817 return this . get < GetQueuedTransactionsResponseDto > (
818818 'transactions/queued/get' ,
819819 { id}
@@ -832,7 +832,7 @@ export class AdamantApi extends NodeManager {
832832 /**
833833 * Get unconfirmed transaction by ID
834834 */
835- async getUnconfirmedTransaction ( id : number ) {
835+ async getUnconfirmedTransaction ( id : string ) {
836836 return this . get < GetUnconfirmedTransactionByIdResponseDto > (
837837 'transactions/unconfirmed/get' ,
838838 { id}
You can’t perform that action at this time.
0 commit comments