@waves/node-api-js 1.2.6 → 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.
- package/cjs/api-node/addresses/index.d.ts +2 -0
- package/cjs/api-node/addresses/index.js +52 -2
- package/cjs/api-node/addresses/index.js.map +1 -1
- package/cjs/api-node/assets/index.d.ts +4 -2
- package/cjs/api-node/assets/index.js +17 -6
- package/cjs/api-node/assets/index.js.map +1 -1
- package/cjs/api-node/blocks/index.d.ts +2 -2
- package/cjs/api-node/debug/index.d.ts +100 -0
- package/cjs/api-node/debug/index.js +180 -2
- package/cjs/api-node/debug/index.js.map +1 -1
- package/cjs/api-node/transactions/index.d.ts +9 -5
- package/cjs/api-node/transactions/index.js +15 -4
- package/cjs/api-node/transactions/index.js.map +1 -1
- package/cjs/create.d.ts +2 -219
- package/cjs/tools/adresses/getTransactionsWithAssets.d.ts +2 -3
- package/cjs/tools/adresses/watch.js.map +1 -1
- package/cjs/tools/request.d.ts +1 -0
- package/cjs/tools/request.js +2 -0
- package/cjs/tools/request.js.map +1 -1
- package/cjs/tools/transactions/transactions.d.ts +2 -2
- package/cjs/tools/transactions/transactions.js +1 -1
- package/cjs/tools/transactions/transactions.js.map +1 -1
- package/dist/0.node-api.js +1 -13
- package/dist/node-api.js +311 -146
- package/dist/node-api.min.js +5 -5
- package/es/api-node/addresses/index.d.ts +2 -0
- package/es/api-node/addresses/index.js +17 -1
- package/es/api-node/addresses/index.js.map +1 -1
- package/es/api-node/assets/index.d.ts +4 -2
- package/es/api-node/assets/index.js +6 -6
- package/es/api-node/assets/index.js.map +1 -1
- package/es/api-node/blocks/index.d.ts +2 -2
- package/es/api-node/debug/index.d.ts +100 -0
- package/es/api-node/debug/index.js +147 -1
- package/es/api-node/debug/index.js.map +1 -1
- package/es/api-node/transactions/index.d.ts +9 -5
- package/es/api-node/transactions/index.js +12 -3
- package/es/api-node/transactions/index.js.map +1 -1
- package/es/create.d.ts +2 -219
- package/es/tools/adresses/getTransactionsWithAssets.d.ts +2 -3
- package/es/tools/adresses/watch.js.map +1 -1
- package/es/tools/request.d.ts +1 -0
- package/es/tools/request.js +1 -1
- package/es/tools/request.js.map +1 -1
- package/es/tools/transactions/transactions.d.ts +2 -2
- package/es/tools/transactions/transactions.js +1 -1
- package/es/tools/transactions/transactions.js.map +1 -1
- package/package.json +5 -5
- package/dist/node-api.min.js.LICENSE.txt +0 -17
- package/dist/node_fs-node_path.node-api.js +0 -23
- package/dist/vendors-node_modules_node-fetch_src_utils_multipart-parser_js.node-api.js +0 -599
package/es/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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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, 18>, 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:
|
|
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, 18> & {
|
|
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[]>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { TAssetDetails } from '../../api-node/assets';
|
|
2
|
-
import {
|
|
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<
|
|
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,OAAO,EAAE,iBAAiB,EAAE,MAAM,6BAA6B,CAAC;AAGhE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,UAAU,CAAC;AAC/C,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG/C,MAAM,OAAO,KAAK;IAUd,YAAY,IAAY,EAAE,OAAe,EAAE,EAA4C,EAAE,QAAiB;QALzF,aAAQ,GAA0B,IAAI,YAAY,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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ChB,CAAC,EAAE,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAC5B,CAAC;IAEO,MAAM,CAAC,0BAA0B,CAAC,IAA8C,EAAE,UAA6D,EAAE,MAAc;QACnK,MAAM,MAAM,GAAG,EAAE,CAAC;QAClB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE;YAClC,MAAM,EAAE,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC;YACnB,IAAI,EAAE,CAAC,EAAE,KAAK,MAAM,EAAE;gBAClB,MAAM;aACT;YACD,IAAI,CAAC,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE;gBACpB,MAAM,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;aACnB;SACJ;QACD,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ;AAYD,MAAM,CAAC,OAAO,WAAW,IAAY,EAAE,OAAe,EAAE,QAAiB;IACrE,OAAO,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;SACrC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,IAAI,EAAE,OAAO,EAAE,EAAuC,EAAE,QAAQ,CAAC,CAAC,CAAC;AACrG,CAAC"}
|
package/es/tools/request.d.ts
CHANGED
package/es/tools/request.js
CHANGED
|
@@ -5,7 +5,7 @@ export default function (params) {
|
|
|
5
5
|
return request(resolve(params.url, params.base), updateHeaders(params.options))
|
|
6
6
|
.then(parseResponse);
|
|
7
7
|
}
|
|
8
|
-
function parseResponse(r) {
|
|
8
|
+
export function parseResponse(r) {
|
|
9
9
|
return r.text().then(message => r.ok ? parse(message) : Promise.reject(tryParse(message)));
|
|
10
10
|
}
|
|
11
11
|
function tryParse(message) {
|
package/es/tools/request.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/tools/request.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAG5B,MAAM,OAAO,GAAG,OAAO,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;AAE5E,MAAM,CAAC,OAAO,WAAc,MAAyB;IACjD,OAAO,OAAO,CAAC,OAAO,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;AAED,
|
|
1
|
+
{"version":3,"file":"request.js","sourceRoot":"","sources":["../../src/tools/request.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAC;AAChC,OAAO,KAAK,MAAM,SAAS,CAAC;AAG5B,MAAM,OAAO,GAAG,OAAO,KAAK,KAAK,UAAU,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,YAAY,CAAC,CAAC;AAE5E,MAAM,CAAC,OAAO,WAAc,MAAyB;IACjD,OAAO,OAAO,CAAC,OAAO,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;AAED,MAAM,UAAU,aAAa,CAAI,CAAW;IACxC,OAAO,CAAC,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,OAAO,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,CAAC;AAC/F,CAAC;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,UAAuB,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC;IAC7D,uBACI,WAAW,EAAE,SAAS,IACnB,OAAO,EACZ;AACN,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IWithStateChanges, TPayment, TStateChanges } from "../../api-node/debug";
|
|
2
|
-
import { AssetDecimals, DataTransactionEntry, EthereumTransaction, WithApiMixin } from "@waves/ts-types/";
|
|
2
|
+
import { AssetDecimals, DataTransactionEntry, InvokeExpressionTransaction, EthereumTransaction, WithApiMixin } from "@waves/ts-types/";
|
|
3
3
|
import { Long } from "@waves/ts-types/";
|
|
4
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";
|
|
@@ -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>;
|
|
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
60
|
export declare function makeStateUpdate(stateChanges: TStateChanges, payment: TPayment[], dApp: string | undefined, sender: string): TStateUpdate;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BigNumber } from "@waves/bignumber";
|
|
2
2
|
import { TRANSACTION_TYPE } from "@waves/ts-types/";
|
|
3
3
|
export function addStateUpdateField(transaction) {
|
|
4
|
-
if (transaction.type === TRANSACTION_TYPE.INVOKE_SCRIPT && transaction.stateChanges.invokes && transaction.stateChanges.invokes.length) {
|
|
4
|
+
if (transaction.type === TRANSACTION_TYPE.INVOKE_SCRIPT || transaction.type === TRANSACTION_TYPE.INVOKE_EXPRESSION && transaction.stateChanges.invokes && transaction.stateChanges.invokes.length) {
|
|
5
5
|
const payments = transaction.payment ? transaction.payment.map((p) => ({
|
|
6
6
|
assetId: p.assetId,
|
|
7
7
|
amount: p.amount
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transactions.js","sourceRoot":"","sources":["../../../src/tools/transactions/transactions.ts"],"names":[],"mappings":"AAC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|
|
|
1
1
|
{
|
|
2
2
|
"name": "@waves/node-api-js",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.7-beta",
|
|
4
4
|
"main": "cjs/index.js",
|
|
5
5
|
"types": "cjs/index.d.ts",
|
|
6
6
|
"scripts": {
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"dependencies": {
|
|
13
13
|
"@types/node-fetch": "^2.5.4",
|
|
14
14
|
"@waves/bignumber": "^1.1.1",
|
|
15
|
-
"@waves/ts-types": "^1.0.
|
|
15
|
+
"@waves/ts-types": "^1.0.11",
|
|
16
16
|
"node-fetch": "^2.6.7",
|
|
17
17
|
"typed-ts-events": "^1.1.1"
|
|
18
18
|
},
|
|
@@ -55,12 +55,12 @@
|
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@types/jest": "^26.0.23",
|
|
57
57
|
"@waves/node-state": "0.1.0",
|
|
58
|
-
"@waves/waves-transactions": "^4.
|
|
58
|
+
"@waves/waves-transactions": "^4.2.4",
|
|
59
59
|
"jest": "^26.6.3",
|
|
60
60
|
"ts-jest": "^26.5.6",
|
|
61
61
|
"ts-loader": "^7.0.5",
|
|
62
62
|
"typescript": "^3.9.4",
|
|
63
|
-
"webpack": "^4.
|
|
64
|
-
"webpack-cli": "^
|
|
63
|
+
"webpack": "^4.46.0",
|
|
64
|
+
"webpack-cli": "^4.9.2"
|
|
65
65
|
}
|
|
66
66
|
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
3
|
-
*
|
|
4
|
-
* @version 0.5.7
|
|
5
|
-
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
6
|
-
* @copyright Chen, Yi-Cyuan 2015-2016
|
|
7
|
-
* @license MIT
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* [js-sha3]{@link https://github.com/emn178/js-sha3}
|
|
12
|
-
*
|
|
13
|
-
* @version 0.8.0
|
|
14
|
-
* @author Chen, Yi-Cyuan [emn178@gmail.com]
|
|
15
|
-
* @copyright Chen, Yi-Cyuan 2015-2018
|
|
16
|
-
* @license MIT
|
|
17
|
-
*/
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
(this["webpackChunknodeApi"] = this["webpackChunknodeApi"] || []).push([["node_fs-node_path"],{
|
|
2
|
-
|
|
3
|
-
/***/ "node:fs":
|
|
4
|
-
/*!***************!*\
|
|
5
|
-
!*** node:fs ***!
|
|
6
|
-
\***************/
|
|
7
|
-
/***/ (() => {
|
|
8
|
-
|
|
9
|
-
throw new Error("Module build failed: UnhandledSchemeError: Reading from \"node:fs\" is not handled by plugins (Unhandled scheme).\nWebpack supports \"data:\" and \"file:\" URIs by default.\nYou may need an additional plugin to handle \"node:\" URIs.\n at /Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:827:25\n at Hook.eval [as callAsync] (eval at create (/Users/dlobanov/projects/node-api-js/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)\n at Object.processResource (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:824:8)\n at processResource (/Users/dlobanov/projects/node-api-js/node_modules/loader-runner/lib/LoaderRunner.js:220:11)\n at iteratePitchingLoaders (/Users/dlobanov/projects/node-api-js/node_modules/loader-runner/lib/LoaderRunner.js:171:10)\n at runLoaders (/Users/dlobanov/projects/node-api-js/node_modules/loader-runner/lib/LoaderRunner.js:397:2)\n at NormalModule._doBuild (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:814:3)\n at NormalModule.build (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:958:15)\n at /Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/Compilation.js:1370:12\n at NormalModule.needBuild (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:1247:32)");
|
|
10
|
-
|
|
11
|
-
/***/ }),
|
|
12
|
-
|
|
13
|
-
/***/ "node:path":
|
|
14
|
-
/*!*****************!*\
|
|
15
|
-
!*** node:path ***!
|
|
16
|
-
\*****************/
|
|
17
|
-
/***/ (() => {
|
|
18
|
-
|
|
19
|
-
throw new Error("Module build failed: UnhandledSchemeError: Reading from \"node:path\" is not handled by plugins (Unhandled scheme).\nWebpack supports \"data:\" and \"file:\" URIs by default.\nYou may need an additional plugin to handle \"node:\" URIs.\n at /Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:827:25\n at Hook.eval [as callAsync] (eval at create (/Users/dlobanov/projects/node-api-js/node_modules/webpack/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:6:1)\n at Object.processResource (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:824:8)\n at processResource (/Users/dlobanov/projects/node-api-js/node_modules/loader-runner/lib/LoaderRunner.js:220:11)\n at iteratePitchingLoaders (/Users/dlobanov/projects/node-api-js/node_modules/loader-runner/lib/LoaderRunner.js:171:10)\n at runLoaders (/Users/dlobanov/projects/node-api-js/node_modules/loader-runner/lib/LoaderRunner.js:397:2)\n at NormalModule._doBuild (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:814:3)\n at NormalModule.build (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:958:15)\n at /Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/Compilation.js:1370:12\n at NormalModule.needBuild (/Users/dlobanov/projects/node-api-js/node_modules/webpack/lib/NormalModule.js:1247:32)");
|
|
20
|
-
|
|
21
|
-
/***/ })
|
|
22
|
-
|
|
23
|
-
}]);
|