@waves/node-api-js 1.2.5-beta.9 → 1.2.7-beta

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/cjs/api-node/addresses/index.d.ts +2 -0
  2. package/cjs/api-node/addresses/index.js +52 -2
  3. package/cjs/api-node/addresses/index.js.map +1 -1
  4. package/cjs/api-node/assets/index.d.ts +16 -2
  5. package/cjs/api-node/assets/index.js +28 -7
  6. package/cjs/api-node/assets/index.js.map +1 -1
  7. package/cjs/api-node/blocks/index.d.ts +2 -2
  8. package/cjs/api-node/debug/index.d.ts +100 -0
  9. package/cjs/api-node/debug/index.js +180 -2
  10. package/cjs/api-node/debug/index.js.map +1 -1
  11. package/cjs/api-node/transactions/index.d.ts +9 -5
  12. package/cjs/api-node/transactions/index.js +15 -4
  13. package/cjs/api-node/transactions/index.js.map +1 -1
  14. package/cjs/create.d.ts +6 -223
  15. package/cjs/index.d.ts +1 -0
  16. package/cjs/index.js.map +1 -1
  17. package/cjs/tools/adresses/getTransactionsWithAssets.d.ts +2 -3
  18. package/cjs/tools/adresses/watch.js.map +1 -1
  19. package/cjs/tools/request.d.ts +1 -0
  20. package/cjs/tools/request.js +2 -0
  21. package/cjs/tools/request.js.map +1 -1
  22. package/cjs/tools/stringify.js +5 -2
  23. package/cjs/tools/stringify.js.map +1 -1
  24. package/cjs/tools/transactions/transactions.d.ts +5 -5
  25. package/cjs/tools/transactions/transactions.js +7 -7
  26. package/cjs/tools/transactions/transactions.js.map +1 -1
  27. package/dist/0.node-api.js +455 -0
  28. package/dist/node-api.js +328 -150
  29. package/dist/node-api.min.js +5 -5
  30. package/es/api-node/addresses/index.d.ts +2 -0
  31. package/es/api-node/addresses/index.js +17 -1
  32. package/es/api-node/addresses/index.js.map +1 -1
  33. package/es/api-node/assets/index.d.ts +16 -2
  34. package/es/api-node/assets/index.js +13 -6
  35. package/es/api-node/assets/index.js.map +1 -1
  36. package/es/api-node/blocks/index.d.ts +2 -2
  37. package/es/api-node/debug/index.d.ts +100 -0
  38. package/es/api-node/debug/index.js +147 -1
  39. package/es/api-node/debug/index.js.map +1 -1
  40. package/es/api-node/transactions/index.d.ts +9 -5
  41. package/es/api-node/transactions/index.js +12 -3
  42. package/es/api-node/transactions/index.js.map +1 -1
  43. package/es/create.d.ts +6 -223
  44. package/es/index.d.ts +1 -0
  45. package/es/index.js.map +1 -1
  46. package/es/tools/adresses/getTransactionsWithAssets.d.ts +2 -3
  47. package/es/tools/adresses/watch.js.map +1 -1
  48. package/es/tools/request.d.ts +1 -0
  49. package/es/tools/request.js +1 -1
  50. package/es/tools/request.js.map +1 -1
  51. package/es/tools/stringify.js +5 -2
  52. package/es/tools/stringify.js.map +1 -1
  53. package/es/tools/transactions/transactions.d.ts +5 -5
  54. package/es/tools/transactions/transactions.js +7 -7
  55. package/es/tools/transactions/transactions.js.map +1 -1
  56. package/package.json +6 -6
  57. package/cjs/tools/adresses/eth2waves.d.ts +0 -1
  58. package/cjs/tools/adresses/eth2waves.js +0 -38
  59. package/cjs/tools/adresses/eth2waves.js.map +0 -1
  60. package/cjs/tools/adresses/ethTxId2waves.d.ts +0 -1
  61. package/cjs/tools/adresses/ethTxId2waves.js +0 -8
  62. package/cjs/tools/adresses/ethTxId2waves.js.map +0 -1
  63. package/cjs/tools/adresses/waves2eth.d.ts +0 -1
  64. package/cjs/tools/adresses/waves2eth.js +0 -10
  65. package/cjs/tools/adresses/waves2eth.js.map +0 -1
  66. package/cjs/tools/assets/convertWaves2Eth.d.ts +0 -1
  67. package/cjs/tools/assets/convertWaves2Eth.js +0 -10
  68. package/cjs/tools/assets/convertWaves2Eth.js.map +0 -1
  69. package/es/tools/adresses/eth2waves.d.ts +0 -1
  70. package/es/tools/adresses/eth2waves.js +0 -22
  71. package/es/tools/adresses/eth2waves.js.map +0 -1
  72. package/es/tools/adresses/ethTxId2waves.d.ts +0 -1
  73. package/es/tools/adresses/ethTxId2waves.js +0 -5
  74. package/es/tools/adresses/ethTxId2waves.js.map +0 -1
  75. package/es/tools/adresses/waves2eth.d.ts +0 -1
  76. package/es/tools/adresses/waves2eth.js +0 -7
  77. package/es/tools/adresses/waves2eth.js.map +0 -1
  78. package/es/tools/assets/convertWaves2Eth.d.ts +0 -1
  79. package/es/tools/assets/convertWaves2Eth.js +0 -7
  80. package/es/tools/assets/convertWaves2Eth.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/api-node/transactions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA2E;AAE3E,oCAAsC;AACtC,gEAAyD;AACzD,4DAAsC;AACtC,2CAA6C;AAC7C,oEAA8C;AAE9C,sEAAwF;AAGxF;;;GAGG;AACH,SAAgB,oBAAoB,CAAC,IAAY;IAC7C,OAAO,iBAAO,CAAC;QACX,IAAI,MAAA;QACJ,GAAG,EAAE,gCAAgC;KACxC,CAAC,CAAA;AACN,CAAC;AALD,oDAKC;AAOD,0CAA0C;AAC1C;;;GAGG;AAEH;;;GAGG;AACH,SAAgB,iBAAiB,CAC7B,IAAY,EACZ,EAAmD,EACnD,OAA0C;IAA1C,wBAAA,EAAA,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IAE1C,OAAO,iBAAO,CAAC;QACX,IAAI,MAAA;QACJ,GAAG,EAAE,4BAA4B;QACjC,OAAO,EAAE,kBAAU,cACX,OAAO,GACX;YACI,MAAM,EAAE,MAAM;YACd,IAAI,EAAE,mBAAS,CAAC,EAAE,CAAC;YACnB,OAAO,EAAE;gBACL,cAAc,EAAE,kBAAkB;aACrC;SACJ,CACJ;KACJ,CAAC,CAAC;AACP,CAAC;AAnBD,8CAmBC;AAOD;;;GAGG;AACH,SAAgB,gBAAgB,CAAC,IAAY,EAAE,OAA0C;IAA1C,wBAAA,EAAA,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IACrF,OAAO,iBAAO,CA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AAE,CAAC;YACnB,OAAO,EAAE;gBACL,cAAc,EAAE,kBAAkB;aACrC;SACJ,CACJ;KACJ,CAAC,CAAC;AACP,CAAC;AAdD,8BAcC"}
package/cjs/create.d.ts CHANGED
@@ -76,8 +76,6 @@ export declare function create(base: string): {
76
76
  sender: string;
77
77
  height: number;
78
78
  }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
79
- feeAssetId: string | null;
80
- } & {
81
79
  version: 3;
82
80
  } & import("@waves/ts-types").WithId & {
83
81
  sender: string;
@@ -237,7 +235,7 @@ export declare function create(base: string): {
237
235
  } & import("@waves/ts-types").WithId & {
238
236
  sender: string;
239
237
  height: number;
240
- }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 19> & {
238
+ }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
241
239
  version: 1;
242
240
  } & import("@waves/ts-types").WithId & {
243
241
  sender: string;
@@ -283,8 +281,6 @@ export declare function create(base: string): {
283
281
  sender: string;
284
282
  height: number;
285
283
  }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
286
- feeAssetId: string | null;
287
- } & {
288
284
  version: 3;
289
285
  } & import("@waves/ts-types").WithId & {
290
286
  sender: string;
@@ -444,7 +440,7 @@ export declare function create(base: string): {
444
440
  } & import("@waves/ts-types").WithId & {
445
441
  sender: string;
446
442
  height: number;
447
- }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 19> & {
443
+ }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
448
444
  version: 1;
449
445
  } & import("@waves/ts-types").WithId & {
450
446
  sender: string;
@@ -490,8 +486,6 @@ export declare function create(base: string): {
490
486
  sender: string;
491
487
  height: number;
492
488
  }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
493
- feeAssetId: string | null;
494
- } & {
495
489
  version: 3;
496
490
  } & import("@waves/ts-types").WithId & {
497
491
  sender: string;
@@ -651,7 +645,7 @@ export declare function create(base: string): {
651
645
  } & import("@waves/ts-types").WithId & {
652
646
  sender: string;
653
647
  height: number;
654
- }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 19> & {
648
+ }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
655
649
  version: 1;
656
650
  } & import("@waves/ts-types").WithId & {
657
651
  sender: string;
@@ -697,8 +691,6 @@ export declare function create(base: string): {
697
691
  sender: string;
698
692
  height: number;
699
693
  }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
700
- feeAssetId: string | null;
701
- } & {
702
694
  version: 3;
703
695
  } & import("@waves/ts-types").WithId & {
704
696
  sender: string;
@@ -858,7 +850,7 @@ export declare function create(base: string): {
858
850
  } & import("@waves/ts-types").WithId & {
859
851
  sender: string;
860
852
  height: number;
861
- }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 19> & {
853
+ }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18> & {
862
854
  version: 1;
863
855
  } & import("@waves/ts-types").WithId & {
864
856
  sender: string;
@@ -876,219 +868,10 @@ export declare function create(base: string): {
876
868
  chainId: number;
877
869
  timestamp: number;
878
870
  fee: import("@waves/ts-types").Long;
879
- }, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").PaymentTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 2>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
880
- feeAssetId: string | null;
881
- }, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").UpdateAssetInfoTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 17>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 19>, 1> | Transaction<import("@waves/ts-types").Long>[]) => Promise<Record<string, assetsModule.TAssetDetails<import("@waves/ts-types").Long>>>;
871
+ }, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").PaymentTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 2>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10>, 3> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16>, 2> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").UpdateAssetInfoTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 17>, 1> | import("@waves/ts-types").WithVersion<import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 18>, 1> | Transaction<import("@waves/ts-types").Long>[]) => Promise<Record<string, assetsModule.TAssetDetails<import("@waves/ts-types").Long>>>;
882
872
  getAssetIdListByTx: typeof getAssetIdListByTx;
883
873
  getTransactionsWithAssets: (address: string, limit: number, after?: string | undefined) => Promise<{
884
- transactions: ((import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
885
- version: 1;
886
- } & import("@waves/ts-types").WithId & {
887
- sender: string;
888
- height: number;
889
- }) | (import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
890
- version: 2;
891
- } & import("@waves/ts-types").WithId & {
892
- sender: string;
893
- height: number;
894
- }) | (import("@waves/ts-types").ExchangeTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 7> & {
895
- version: 3;
896
- } & import("@waves/ts-types").WithId & {
897
- sender: string;
898
- height: number;
899
- }) | (import("@waves/ts-types").GenesisTransactionFields<import("@waves/ts-types").Long> & {
900
- type: 1;
901
- chainId: number;
902
- timestamp: number;
903
- fee: import("@waves/ts-types").Long;
904
- } & {
905
- version: 1;
906
- } & import("@waves/ts-types").WithId & {
907
- sender: string;
908
- height: number;
909
- }) | (import("@waves/ts-types").PaymentTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 2> & {
910
- version: 1;
911
- } & import("@waves/ts-types").WithId & {
912
- sender: string;
913
- height: number;
914
- }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
915
- version: 1;
916
- } & import("@waves/ts-types").WithId & {
917
- sender: string;
918
- height: number;
919
- }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
920
- version: 2;
921
- } & import("@waves/ts-types").WithId & {
922
- sender: string;
923
- height: number;
924
- }) | (import("@waves/ts-types").IssueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 3> & {
925
- feeAssetId: string | null;
926
- } & {
927
- version: 3;
928
- } & import("@waves/ts-types").WithId & {
929
- sender: string;
930
- height: number;
931
- }) | (import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4> & {
932
- version: 1;
933
- } & import("@waves/ts-types").WithId & {
934
- sender: string;
935
- height: number;
936
- }) | (import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4> & {
937
- version: 2;
938
- } & import("@waves/ts-types").WithId & {
939
- sender: string;
940
- height: number;
941
- }) | (import("@waves/ts-types").TransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 4> & {
942
- version: 3;
943
- } & import("@waves/ts-types").WithId & {
944
- sender: string;
945
- height: number;
946
- }) | (import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5> & {
947
- version: 1;
948
- } & import("@waves/ts-types").WithId & {
949
- sender: string;
950
- height: number;
951
- }) | (import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5> & {
952
- version: 2;
953
- } & import("@waves/ts-types").WithId & {
954
- sender: string;
955
- height: number;
956
- }) | (import("@waves/ts-types").ReissueTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 5> & {
957
- version: 3;
958
- } & import("@waves/ts-types").WithId & {
959
- sender: string;
960
- height: number;
961
- }) | (import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6> & {
962
- version: 1;
963
- } & import("@waves/ts-types").WithId & {
964
- sender: string;
965
- height: number;
966
- }) | (import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6> & {
967
- version: 2;
968
- } & import("@waves/ts-types").WithId & {
969
- sender: string;
970
- height: number;
971
- }) | (import("@waves/ts-types").BurnTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 6> & {
972
- version: 3;
973
- } & import("@waves/ts-types").WithId & {
974
- sender: string;
975
- height: number;
976
- }) | (import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8> & {
977
- version: 1;
978
- } & import("@waves/ts-types").WithId & {
979
- sender: string;
980
- height: number;
981
- }) | (import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8> & {
982
- version: 2;
983
- } & import("@waves/ts-types").WithId & {
984
- sender: string;
985
- height: number;
986
- }) | (import("@waves/ts-types").LeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 8> & {
987
- version: 3;
988
- } & import("@waves/ts-types").WithId & {
989
- sender: string;
990
- height: number;
991
- }) | (import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9> & {
992
- version: 1;
993
- } & import("@waves/ts-types").WithId & {
994
- sender: string;
995
- height: number;
996
- }) | (import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9> & {
997
- version: 2;
998
- } & import("@waves/ts-types").WithId & {
999
- sender: string;
1000
- height: number;
1001
- }) | (import("@waves/ts-types").CancelLeaseTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 9> & {
1002
- version: 3;
1003
- } & import("@waves/ts-types").WithId & {
1004
- sender: string;
1005
- height: number;
1006
- }) | (import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10> & {
1007
- version: 1;
1008
- } & import("@waves/ts-types").WithId & {
1009
- sender: string;
1010
- height: number;
1011
- }) | (import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10> & {
1012
- version: 2;
1013
- } & import("@waves/ts-types").WithId & {
1014
- sender: string;
1015
- height: number;
1016
- }) | (import("@waves/ts-types").AliasTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 10> & {
1017
- version: 3;
1018
- } & import("@waves/ts-types").WithId & {
1019
- sender: string;
1020
- height: number;
1021
- }) | (import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11> & {
1022
- version: 1;
1023
- } & import("@waves/ts-types").WithId & {
1024
- sender: string;
1025
- height: number;
1026
- }) | (import("@waves/ts-types").MassTransferTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 11> & {
1027
- version: 2;
1028
- } & import("@waves/ts-types").WithId & {
1029
- sender: string;
1030
- height: number;
1031
- }) | (import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12> & {
1032
- version: 1;
1033
- } & import("@waves/ts-types").WithId & {
1034
- sender: string;
1035
- height: number;
1036
- }) | (import("@waves/ts-types").DataTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 12> & {
1037
- version: 2;
1038
- } & import("@waves/ts-types").WithId & {
1039
- sender: string;
1040
- height: number;
1041
- }) | (import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13> & {
1042
- version: 1;
1043
- } & import("@waves/ts-types").WithId & {
1044
- sender: string;
1045
- height: number;
1046
- }) | (import("@waves/ts-types").SetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 13> & {
1047
- version: 2;
1048
- } & import("@waves/ts-types").WithId & {
1049
- sender: string;
1050
- height: number;
1051
- }) | (import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14> & {
1052
- version: 1;
1053
- } & import("@waves/ts-types").WithId & {
1054
- sender: string;
1055
- height: number;
1056
- }) | (import("@waves/ts-types").SponsorshipTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 14> & {
1057
- version: 2;
1058
- } & import("@waves/ts-types").WithId & {
1059
- sender: string;
1060
- height: number;
1061
- }) | (import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15> & {
1062
- version: 1;
1063
- } & import("@waves/ts-types").WithId & {
1064
- sender: string;
1065
- height: number;
1066
- }) | (import("@waves/ts-types").SetAssetScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 15> & {
1067
- version: 2;
1068
- } & import("@waves/ts-types").WithId & {
1069
- sender: string;
1070
- height: number;
1071
- }) | (import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16> & {
1072
- version: 1;
1073
- } & import("@waves/ts-types").WithId & {
1074
- sender: string;
1075
- height: number;
1076
- }) | (import("@waves/ts-types").InvokeScriptTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 16> & {
1077
- version: 2;
1078
- } & import("@waves/ts-types").WithId & {
1079
- sender: string;
1080
- height: number;
1081
- }) | (import("@waves/ts-types").UpdateAssetInfoTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 17> & {
1082
- version: 1;
1083
- } & import("@waves/ts-types").WithId & {
1084
- sender: string;
1085
- height: number;
1086
- }) | (import("@waves/ts-types").EthereumTransactionFields<import("@waves/ts-types").Long> & import("@waves/ts-types").BaseTransaction<import("@waves/ts-types").Long, 19> & {
1087
- version: 1;
1088
- } & import("@waves/ts-types").WithId & {
1089
- sender: string;
1090
- height: number;
1091
- }))[];
874
+ transactions: import("@waves/ts-types").TransactionFromNode<import("@waves/ts-types").Long>[];
1092
875
  assets: Record<string, assetsModule.TAssetDetails<import("@waves/ts-types").Long>>;
1093
876
  }>;
1094
877
  availableSponsoredBalances: (address: string, wavesFee: import("@waves/ts-types").Long) => Promise<import("./tools/adresses/availableSponsoredBalances").TAssetFeeInfo[]>;
package/cjs/index.d.ts CHANGED
@@ -6,3 +6,4 @@ import { create as createFn } from './create';
6
6
  export { wavesAddress2eth, ethAddress2waves, wavesAsset2Eth, ethTxId2waves };
7
7
  export declare const create: typeof createFn;
8
8
  export default createFn;
9
+ export { ICallableFuncArgumentType, TCallableFuncArgumentsArray, TCallableFuncArgumentsRecord, TCallableFuncArguments, } from './api-node/addresses';
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,uFAAiE;AAS7D,2BATG,0BAAgB,CASH;AARpB,uFAAiE;AAS7D,2BATG,0BAAgB,CASH;AARpB,iFAA2D;AASvD,yBATG,wBAAc,CASH;AARlB,qFAA+D;AAS3D,wBATG,uBAAa,CASH;AAPjB,mCAA8C;AAUjC,QAAA,MAAM,GAAG,eAAQ,CAAC;AAE/B,kBAAe,eAAQ,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;AAAA,uFAAiE;AAQ7D,2BARG,0BAAgB,CAQH;AAPpB,uFAAiE;AAQ7D,2BARG,0BAAgB,CAQH;AAPpB,iFAA2D;AAQvD,yBARG,wBAAc,CAQH;AAPlB,qFAA+D;AAQ3D,wBARG,uBAAa,CAQH;AANjB,mCAA8C;AASjC,QAAA,MAAM,GAAG,eAAQ,CAAC;AAE/B,kBAAe,eAAQ,CAAC"}
@@ -1,7 +1,6 @@
1
1
  import { TAssetDetails } from '../../api-node/assets';
2
- import { Transaction, WithApiMixin } from '@waves/ts-types';
3
- import { TLong } from '../../interface';
2
+ import { TransactionFromNode } from '@waves/ts-types';
4
3
  export default function (base: string, address: string, limit: number, after?: string): Promise<{
5
- transactions: Array<Transaction<TLong> & WithApiMixin>;
4
+ transactions: Array<TransactionFromNode>;
6
5
  assets: Record<string, TAssetDetails>;
7
6
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"watch.js","sourceRoot":"","sources":["../../../src/tools/adresses/watch.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;AAAA,4DAAgE;AAGhE,kCAA+C;AAC/C,mDAA+C;AAG/C;IAUI,eAAY,IAAY,EAAE,OAAe,EAAE,EAA4C,EAAE,QAAiB;QALzF,aAAQ,GAA0B,IAAI,8BAAY,EAAE,CAAC;QAE9D,WAAM,GAAyC,IAAI,CAAC;QAIxD,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,SAAS,GAAG,QAAQ,IAAI,IAAI,CAAC;QAClC,IAAI,CAAC,KAAK,GAAG,IAAI,CAAC;QAClB,IAAI,CAAC,UAAU,GAAG;YACd,MAAM,EAAE,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,EAAE,KAAI,EAAE;YACpB,MAAM,EAAE,CAAA,EAAE,aAAF,EAAE,uBAAF,EAAE,CAAE,MAAM,KAAI,CAAC;YACvB,YAAY,EAAE,E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I,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;gBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;aACnB;SACJ;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;IAEL,YAAC;AAAD,CAAC,AAvJD,IAuJC;AAvJY,sBAAK;AAmKlB,mBAAyB,IAAY,EAAE,OAAe,EAAE,QAAiB;IACrE,OAAO,gCAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;SACrC,IAAI,CAAC,UAAC,EAAI;YAAJ,KAAA,aAAI,EAAH,EAAE,QAAA;QAAM,OAAA,IAAI,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,EAAuC,EAAE,QAAQ,CAAC;IAA3E,CAA2E,CAAC,CAAC;AACrG,CAAC;AAHD,4BAGC"}
@@ -1,4 +1,5 @@
1
1
  export default function <T>(params: IRequestParams<T>): Promise<T>;
2
+ export declare function parseResponse<T>(r: Response): Promise<T>;
2
3
  export interface IRequestParams<T> {
3
4
  url: string;
4
5
  base: string;
@@ -14,6 +14,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
14
14
  return (mod && mod.__esModule) ? mod : { "default": mod };
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ exports.parseResponse = void 0;
17
18
  var resolve_1 = __importDefault(require("./resolve"));
18
19
  var parse_1 = __importDefault(require("./parse"));
19
20
  var request = typeof fetch === 'function' ? fetch : require('node-fetch');
@@ -25,6 +26,7 @@ exports.default = default_1;
25
26
  function parseResponse(r) {
26
27
  return r.text().then(function (message) { return r.ok ? parse_1.default(message) : Promise.reject(tryParse(message)); });
27
28
  }
29
+ exports.parseResponse = parseResponse;
28
30
  function tryParse(message) {
29
31
  try {
30
32
  return JSON.parse(message);
@@ -1 +1 @@
1
- {"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/tools/request.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAgC;AAChC,kDAA4B;AA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,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,aAAa,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;SAC1E,IAAI,CAAC,aAAa,CAAe,CAAC;AAC3C,CAAC;AAHD,4BAGC;AAED,SAAgB,aAAa,CAAI,CAAW;IACxC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,UAAA,OAAO,IAAI,OAAA,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,eAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,EAAzD,CAAyD,CAAC,CAAC;AAC/F,CAAC;AAFD,sCAEC;AAED,SAAS,QAAQ,CAAC,OAAe;IAC7B,IAAI;QACA,OAAO,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;KAC9B;IAAC,OAAO,CAAC,EAAE;QACR,OAAO,OAAO,CAAC;KAClB;AACL,CAAC;AAED,SAAS,aAAa,CAAC,OAA0C;IAA1C,wBAAA,EAAA,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IAC7D,kBACI,WAAW,EAAE,SAAS,IACnB,OAAO,EACZ;AACN,CAAC"}
@@ -1,14 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- var FIELDS = ['amount', 'matcherFee', 'price', 'fee', 'minSponsoredAssetFee', 'quantity', 'sellMatcherFee', 'buyMatcherFee'];
3
+ var FIELDS = ['amount', 'matcherFee', 'price', 'minSponsoredAssetFee', 'fee', 'quantity', 'sellMatcherFee', 'buyMatcherFee'];
4
4
  function default_1(data) {
5
5
  return JSON.stringify(data, function (key, value) {
6
- if (FIELDS.includes(key)) {
6
+ if (FIELDS.includes(key) && value) {
7
7
  return "!" + value + "!";
8
8
  }
9
9
  else if (key === 'value' && this['type'] === 'integer') {
10
10
  return "!" + value + "!";
11
11
  }
12
+ else if (key === 'minSponsoredAssetFee' && value == null) {
13
+ return null;
14
+ }
12
15
  else {
13
16
  return value;
14
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"stringify.js","sourceRoot":"","sources":["../../src/tools/stringify.ts"],"names":[],"mappings":";;AAYA,IAAM,MAAM,GAA4B,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,KAAK,EAAE,sBAAsB,EAAE,UAAU,EAAE,gBAAgB,EAAE,eAAe,CAAC,CAAC;AAExJ,mBAAwD,IAAO;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,EAAE,KAAK;QAC5C,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAuB,CAAC,EAAE;YAC1C,OAAO,MAAI,KAAK,MAAG,CAAC;SACvB;aAAM,IAAI,GAAG,KAAK,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE;YACtD,OAAO,MAAI,KAAK,MAAG,CAAC;SACvB;aAAM;YACH,OAAO,KAAK,CAAC;SAChB;IACL,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;AAC1C,CAAC;AAVD,4BAUC"}
1
+ {"version":3,"file":"stringify.js","sourceRoot":"","sources":["../../src/tools/stringify.ts"],"names":[],"mappings":";;AAYA,IAAM,MAAM,GAA4B,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,EAAE,sBAAsB,EAAE,KAAK,EAAE,UAAU,EAAE,gBAAgB,EAAE,eAAe,CAAC,CAAC;AAExJ,mBAAwD,IAAO;IAC3D,OAAO,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,UAAU,GAAG,EAAE,KAAK;QAC5C,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAuB,CAAC,IAAI,KAAK,EAAE;YACnD,OAAO,MAAI,KAAK,MAAG,CAAC;SACvB;aAAM,IAAI,GAAG,KAAK,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,KAAK,SAAS,EAAE;YACtD,OAAO,MAAI,KAAK,MAAG,CAAC;SACvB;aAAM,IAAI,GAAG,KAAK,sBAAsB,IAAI,KAAK,IAAI,IAAI,EAAE;YACxD,OAAO,IAAI,CAAC;SACf;aAAM;YACH,OAAO,KAAK,CAAC;SAChB;IACL,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,CAAC,gBAAgB,EAAE,IAAI,CAAC,CAAC;AAC1C,CAAC;AAZD,4BAYC"}
@@ -1,7 +1,7 @@
1
1
  import { IWithStateChanges, TPayment, TStateChanges } from "../../api-node/debug";
2
- import { AssetDecimals, DataTransactionEntry, EthereumTransaction, WithApiMixin } from "@waves/ts-types";
3
- import { Long } from "@waves/ts-types/src/index";
4
- import { AliasTransaction, BurnTransaction, CancelLeaseTransaction, DataTransaction, ExchangeTransaction, GenesisTransaction, InvokeScriptTransaction, IssueTransaction, LeaseTransaction, MassTransferTransaction, PaymentTransaction, ReissueTransaction, SetAssetScriptTransaction, SetScriptTransaction, SponsorshipTransaction, TransferTransaction, UpdateAssetInfoTransaction } from "@waves/ts-types/transactions/index";
2
+ import { AssetDecimals, DataTransactionEntry, InvokeExpressionTransaction, EthereumTransaction, WithApiMixin } from "@waves/ts-types/";
3
+ import { Long } from "@waves/ts-types/";
4
+ import { AliasTransaction, BurnTransaction, CancelLeaseTransaction, DataTransaction, ExchangeTransaction, GenesisTransaction, InvokeScriptTransaction, IssueTransaction, LeaseTransaction, MassTransferTransaction, PaymentTransaction, ReissueTransaction, SetAssetScriptTransaction, SetScriptTransaction, SponsorshipTransaction, TransferTransaction, UpdateAssetInfoTransaction } from "@waves/ts-types/";
5
5
  import { IWithApplicationStatus, TLong } from "../../interface";
6
6
  export declare type TStateUpdate = {
7
7
  data: (DataTransactionEntry & {
@@ -55,6 +55,6 @@ export declare type TWithStateUpdate = {
55
55
  stateUpdate: TStateUpdate;
56
56
  };
57
57
  export declare type TWithState = IWithStateChanges & TWithStateUpdate;
58
- export declare type TTransaction<LONG = Long> = GenesisTransaction<LONG> | PaymentTransaction<LONG> | IssueTransaction<LONG> | TransferTransaction<LONG> | ReissueTransaction<LONG> | BurnTransaction<LONG> | LeaseTransaction<LONG> | CancelLeaseTransaction<LONG> | AliasTransaction<LONG> | MassTransferTransaction<LONG> | DataTransaction<LONG> | SetScriptTransaction<LONG> | SponsorshipTransaction<LONG> | ExchangeTransaction<LONG> | SetAssetScriptTransaction<LONG> | (InvokeScriptTransaction<LONG> & TWithState) | UpdateAssetInfoTransaction<LONG> | (EthereumTransaction<LONG> & TWithState);
58
+ export declare type TTransaction<LONG = Long> = GenesisTransaction<LONG> | PaymentTransaction<LONG> | IssueTransaction<LONG> | TransferTransaction<LONG> | ReissueTransaction<LONG> | BurnTransaction<LONG> | LeaseTransaction<LONG> | CancelLeaseTransaction<LONG> | AliasTransaction<LONG> | MassTransferTransaction<LONG> | DataTransaction<LONG> | SetScriptTransaction<LONG> | SponsorshipTransaction<LONG> | ExchangeTransaction<LONG> | SetAssetScriptTransaction<LONG> | (InvokeScriptTransaction<LONG> & TWithState) | UpdateAssetInfoTransaction<LONG> | (InvokeExpressionTransaction<LONG> & TWithState) | EthereumTransaction<LONG>;
59
59
  export declare function addStateUpdateField(transaction: TTransaction & WithApiMixin & IWithApplicationStatus): TTransaction & WithApiMixin & IWithApplicationStatus;
60
- export declare function makeStateUpdate(stateChanges: TStateChanges, payment: TPayment[], dApp: string, sender: string): TStateUpdate;
60
+ export declare function makeStateUpdate(stateChanges: TStateChanges, payment: TPayment[], dApp: string | undefined, sender: string): TStateUpdate;
@@ -13,22 +13,22 @@ var __assign = (this && this.__assign) || function () {
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
14
  exports.makeStateUpdate = exports.addStateUpdateField = void 0;
15
15
  var bignumber_1 = require("@waves/bignumber");
16
- var ts_types_1 = require("@waves/ts-types");
16
+ var ts_types_1 = require("@waves/ts-types/");
17
17
  function addStateUpdateField(transaction) {
18
- if (transaction.type === ts_types_1.TRANSACTION_TYPE.INVOKE_SCRIPT && transaction.stateChanges.invokes && transaction.stateChanges.invokes.length) {
19
- var payments_1 = transaction.payment ? transaction.payment.map(function (p) { return ({
18
+ if (transaction.type === ts_types_1.TRANSACTION_TYPE.INVOKE_SCRIPT || transaction.type === ts_types_1.TRANSACTION_TYPE.INVOKE_EXPRESSION && transaction.stateChanges.invokes && transaction.stateChanges.invokes.length) {
19
+ var payments = transaction.payment ? transaction.payment.map(function (p) { return ({
20
20
  assetId: p.assetId,
21
21
  amount: p.amount
22
22
  }); }) : [];
23
- return Object.defineProperty(transaction, 'stateUpdate', { get: function () { return makeStateUpdate(transaction.stateChanges, payments_1, transaction.dApp, transaction.sender); } });
24
23
  }
25
- if (transaction.type === ts_types_1.TRANSACTION_TYPE.ETHEREUM && transaction.payload.type === 'invocation' && transaction.stateChanges.invokes && transaction.stateChanges.invokes.length) {
26
- var payments_2 = transaction.payload.payment ? transaction.payload.payment.map(function (p) { return ({
24
+ if (transaction.type === ts_types_1.TRANSACTION_TYPE.ETHEREUM && transaction.payload.type === 'invocation' && transaction.payload.stateChanges.invokes && transaction.payload.stateChanges.invokes.length) {
25
+ var payments_1 = transaction.payload.payment ? transaction.payload.payment.map(function (p) { return ({
27
26
  assetId: p.assetId,
28
27
  amount: p.amount
29
28
  }); }) : [];
30
29
  var dApp_1 = transaction.payload.dApp || '';
31
- return Object.defineProperty(transaction, 'stateUpdate', { get: function () { return makeStateUpdate(transaction.stateChanges, payments_2, dApp_1, transaction.sender); } });
30
+ // @ts-ignore
31
+ return Object.defineProperty(transaction, 'stateUpdate', { get: function () { return makeStateUpdate(transaction.payload.stateChanges, payments_1, dApp_1, transaction.sender); } });
32
32
  }
33
33
  else
34
34
  return transaction;
@@ -1 +1 @@
1
- {"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../../src/tools/transactions/transactions.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AACA,8CAA2C;AAC3C,4CAMyB;AAiFzB,SAAgB,mBAAmB,CAAC,WAA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