@tatumio/bsc 2.0.1-alpha.341 → 2.0.1-alpha.344

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@tatumio/bsc",
3
- "version": "2.0.1-alpha.341",
3
+ "version": "2.0.1-alpha.344",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/shared-testing-evm-based": "2.0.1-alpha.341",
9
- "@tatumio/shared-testing-common": "2.0.1-alpha.341",
10
- "@tatumio/api-client": "2.0.1-alpha.341",
8
+ "@tatumio/shared-testing-evm-based": "2.0.1-alpha.344",
9
+ "@tatumio/shared-testing-common": "2.0.1-alpha.344",
10
+ "@tatumio/api-client": "2.0.1-alpha.344",
11
11
  "axios": "^0.26.0",
12
12
  "form-data": "^4.0.0",
13
- "@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.341",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.341",
13
+ "@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.344",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.344",
15
15
  "bignumber.js": "^9.0.2",
16
- "@tatumio/shared-core": "2.0.1-alpha.341",
17
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.341",
16
+ "@tatumio/shared-core": "2.0.1-alpha.344",
17
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.344",
18
18
  "ethereumjs-wallet": "^1.0.2",
19
19
  "bip39": "^3.0.2",
20
20
  "web3": "^1.7.4",
@@ -58,7 +58,11 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
58
58
  updateCashbackForAuthorSignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainUpdateCashbackErc721, provider?: string) => Promise<string>;
59
59
  deploySignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainDeployErc721, provider?: string) => Promise<string>;
60
60
  mintProvenanceSignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainMintNft, provider?: string) => Promise<string>;
61
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & {
61
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
62
+ index: number;
63
+ }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
64
+ mnemonic: string;
65
+ }> & {
62
66
  erc20?: string;
63
67
  } & {
64
68
  fixedValues: string[][];
@@ -74,7 +78,11 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
74
78
  updateCashbackForAuthorSignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainUpdateCashbackErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
75
79
  deploySignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainDeployErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
76
80
  mintProvenanceSignedTransaction: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainMintNft, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
77
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & {
81
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
82
+ index: number;
83
+ }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
84
+ mnemonic: string;
85
+ }> & {
78
86
  erc20?: string;
79
87
  } & {
80
88
  fixedValues: string[][];
@@ -126,10 +134,10 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
126
134
  custodialWalletBatch: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainGenerateCustodialWalletBatch, provider?: string, testnet?: boolean) => Promise<any>;
127
135
  };
128
136
  send: {
129
- transferFromCustodialWallet: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash>;
130
- batchTransferFromCustodialWallet: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainBatchTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash>;
131
- approveFromCustodialWallet: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainApproveCustodialTransfer, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash>;
132
- custodialWalletBatch: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainGenerateCustodialWalletBatch, provider?: string, testnet?: boolean) => Promise<string | import("@tatumio/api-client").TransactionHash>;
137
+ transferFromCustodialWallet: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
138
+ batchTransferFromCustodialWallet: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainBatchTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
139
+ approveFromCustodialWallet: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainApproveCustodialTransfer, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
140
+ custodialWalletBatch: (body: import("../../../../../dist/packages/shared/blockchain/abstract/src").ChainGenerateCustodialWalletBatch, provider?: string, testnet?: boolean) => Promise<string | import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
133
141
  };
134
142
  };
135
143
  gasPump: {
@@ -220,9 +228,9 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
220
228
  virtualAccount: {
221
229
  send: (body: Omit<import("@tatumio/api-client").TransferBsc, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
222
230
  index: number;
223
- }> & Partial<{
231
+ }> & Partial<Pick<import("@tatumio/api-client").TransferBsc, "fromPrivateKey">> & Partial<{
224
232
  mnemonic: string;
225
- }> & Partial<Pick<import("@tatumio/api-client").TransferBsc, "fromPrivateKey">>) => Promise<(void | {
233
+ }>) => Promise<(void | {
226
234
  id?: string;
227
235
  txId?: string;
228
236
  completed?: boolean;
@@ -39,7 +39,11 @@ export declare const bscTxService: (args: {
39
39
  updateCashbackForAuthorSignedTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainUpdateCashbackErc721, provider?: string) => Promise<string>;
40
40
  deploySignedTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainDeployErc721, provider?: string) => Promise<string>;
41
41
  mintProvenanceSignedTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainMintNft, provider?: string) => Promise<string>;
42
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & {
42
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
43
+ index: number;
44
+ }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
45
+ mnemonic: string;
46
+ }> & {
43
47
  erc20?: string;
44
48
  } & {
45
49
  fixedValues: string[][];
@@ -55,7 +59,11 @@ export declare const bscTxService: (args: {
55
59
  updateCashbackForAuthorSignedTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainUpdateCashbackErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
56
60
  deploySignedTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainDeployErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
57
61
  mintProvenanceSignedTransaction: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainMintNft, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
58
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & {
62
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
63
+ index: number;
64
+ }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
65
+ mnemonic: string;
66
+ }> & {
59
67
  erc20?: string;
60
68
  } & {
61
69
  fixedValues: string[][];
@@ -96,10 +104,10 @@ export declare const bscTxService: (args: {
96
104
  custodialWalletBatch: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainGenerateCustodialWalletBatch, provider?: string, testnet?: boolean) => Promise<any>;
97
105
  };
98
106
  send: {
99
- transferFromCustodialWallet: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash>;
100
- batchTransferFromCustodialWallet: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainBatchTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash>;
101
- approveFromCustodialWallet: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainApproveCustodialTransfer, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash>;
102
- custodialWalletBatch: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainGenerateCustodialWalletBatch, provider?: string, testnet?: boolean) => Promise<string | import("@tatumio/api-client").TransactionHash>;
107
+ transferFromCustodialWallet: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
108
+ batchTransferFromCustodialWallet: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainBatchTransferCustodialWallet, provider?: string, testnet?: boolean) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
109
+ approveFromCustodialWallet: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainApproveCustodialTransfer, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
110
+ custodialWalletBatch: (body: import("../../../../../../dist/packages/shared/blockchain/abstract/src").ChainGenerateCustodialWalletBatch, provider?: string, testnet?: boolean) => Promise<string | import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
103
111
  };
104
112
  };
105
113
  gasPump: {
@@ -1,8 +1,8 @@
1
1
  import { TransferBsc } from '@tatumio/api-client';
2
- import { FromPrivateKeyOrSignatureIdOrMnemonic } from '@tatumio/shared-blockchain-abstract';
2
+ import { FromPrivateKeyOrSignatureId } from '@tatumio/shared-blockchain-abstract';
3
3
  import { EvmBasedWeb3 } from '@tatumio/shared-blockchain-evm-based';
4
4
  import { Blockchain } from '@tatumio/shared-core';
5
- declare type TransferVirtualAccountBsc = FromPrivateKeyOrSignatureIdOrMnemonic<TransferBsc>;
5
+ declare type TransferVirtualAccountBsc = FromPrivateKeyOrSignatureId<TransferBsc>;
6
6
  declare type VirtualAccountResponse = {
7
7
  id?: string;
8
8
  txId?: string;
@@ -26,7 +26,7 @@ const sendBscVirtualAccountTransaction = (body, web3) => tslib_1.__awaiter(void
26
26
  gasPrice: gasPrice || '20',
27
27
  };
28
28
  if (account.currency === 'BSC') {
29
- txData = txService.native.send.transferSignedTransaction({
29
+ txData = txService.native.prepare.transferSignedTransaction({
30
30
  amount,
31
31
  fromPrivateKey: fromPrivKey,
32
32
  fee,
@@ -47,7 +47,7 @@ const sendBscVirtualAccountTransaction = (body, web3) => tslib_1.__awaiter(void
47
47
  contractAddress = vc.erc20Address;
48
48
  decimals = vc.precision || 18;
49
49
  }
50
- txData = yield txService.erc20.send.transferSignedTransaction({
50
+ txData = yield txService.erc20.prepare.transferSignedTransaction({
51
51
  amount,
52
52
  fee,
53
53
  fromPrivateKey: fromPrivKey,
@@ -1 +1 @@
1
- {"version":3,"file":"bsc.virtualAccount.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/bsc/src/lib/services/bsc.virtualAccount.ts"],"names":[],"mappings":";;;;AAAA,oDAS4B;AAC5B,oFAG4C;AAC5C,sFAAkF;AAClF,sDAAwF;AACxF,wEAAoC;AACpC,qCAAuC;AAKvC,MAAM,gCAAgC,GAAG,CACvC,IAA+B,EAC/B,IAAkB,EACe,EAAE;IACnC,MAAM,SAAS,GAAG,IAAA,qBAAY,EAAC,EAAE,UAAU,EAAE,wBAAU,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAA;IACpE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,KAAoB,IAAI,EAAnB,UAAU,kBAAK,IAAI,EA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,EAAC,IAAI,CAAC;QACzC;;;;;WAKG;QACH,IAAI,EAAE,CAAO,IAA+B,EAAE,EAAE;YAC9C,IAAI,IAAI,CAAC,WAAW,EAAE;gBACpB,OAAO,wBAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,gBAAgB,CAAC,IAAsB,CAAC,CAAA;aAChF;iBAAM;gBACL,OAAO,MAAM,gCAAgC,CAAC,IAAI,EAAE,IAAI,CAAC,IAAI,CAAC,CAAA;aAC/D;QACH,CAAC,CAAA,IACF;AACH,CAAC,CAAA;AAjBY,QAAA,qBAAqB,yBAiBjC"}
1
+ {"version":3,"file":"bsc.virtualAccount.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/bsc/src/lib/services/bsc.virtualAccount.ts"],"names":[],"mappings":";;;;AAAA,oDAS4B;AAC5B,oFAG4C;AAC5C,sFAAkF;AAClF,sDAAwF;AACxF,wEAAoC;AACpC,qCAAuC;AAKvC,MAAM,gCAAgC,GAAG,CACvC,IAA+B,EAC/B,IAAkB,EACe,EAAE;IACnC,MAAM,SAAS,GAAG,IAAA,qBAAY,EAAC,EAAE,UAAU,EAAE,wBAAU,CAAC,GAAG,EAAE,IAAI,EAAE,CAAC,CAAA;IACpE,MAAM,EAAE,QAAQ,EAAE,KAAK,EAAE,cAAc,EAAE,QAAQ,EAAE,QAAQ,EAAE,KAAK,KAAoB,IAAI,EAAnB,UAAU,kBAAK,IAAI,EAApF,wEAA6E,CAAO,CAAA;IAC1F,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,UAAU,CAAA;IACtC,IAAI,WAAmB,CAAA;IACvB,IAAI,MAAW,CAAA;IAEf,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,KAAK,SAAS,EAAE;QAC7C,WAAW,GAAG,CAAC,MAAM,2CAAa,CAAC,8BAA8B,CAC/D,wBAAU,CAAC,GAAG,EACd,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,KAAK,CACX,CAAW,CAAA;KAC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