@tatumio/bsc 2.0.1-alpha.373 → 2.0.1-alpha.375

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@tatumio/bsc",
3
- "version": "2.0.1-alpha.373",
3
+ "version": "2.0.1-alpha.375",
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.373",
9
- "@tatumio/shared-testing-common": "2.0.1-alpha.373",
10
- "@tatumio/api-client": "2.0.1-alpha.373",
8
+ "@tatumio/shared-testing-evm-based": "2.0.1-alpha.375",
9
+ "@tatumio/shared-testing-common": "2.0.1-alpha.375",
10
+ "@tatumio/api-client": "2.0.1-alpha.375",
11
11
  "axios": "^0.26.0",
12
12
  "form-data": "^4.0.0",
13
- "@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.373",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.373",
13
+ "@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.375",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.375",
15
15
  "bignumber.js": "^9.0.2",
16
16
  "lodash": "^4.17.21",
17
- "@tatumio/shared-core": "2.0.1-alpha.373",
18
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.373",
17
+ "@tatumio/shared-core": "2.0.1-alpha.375",
18
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.375",
19
19
  "ethereumjs-wallet": "^1.0.2",
20
20
  "bip39": "^3.0.2",
21
21
  "web3": "^1.7.4",
@@ -22,14 +22,14 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
22
22
  getErc20AccountBalance: typeof FungibleTokensErc20OrCompatibleService.erc20GetBalance;
23
23
  decimals: (contractAddress: string, provider?: string) => Promise<any>;
24
24
  prepare: {
25
- deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc20, provider?: string) => Promise<string>;
25
+ deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainSdkDeployErc20, provider?: string) => Promise<string>;
26
26
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc20, provider?: string) => Promise<string>;
27
27
  mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc20, provider?: string) => Promise<string>;
28
28
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc20, provider?: string) => Promise<string>;
29
29
  approveSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainApproveErc20, provider?: string) => Promise<string>;
30
30
  };
31
31
  send: {
32
- deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
32
+ deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainSdkDeployErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
33
33
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
34
34
  mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
35
35
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
@@ -49,43 +49,39 @@ export declare const TatumBscSDK: (args: SDKArguments) => {
49
49
  getNFTMetadataURI: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetMetadataErc721;
50
50
  getNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetRoyaltyErc721;
51
51
  prepare: {
52
- mintSignedTransaction: (body: Omit<import("@tatumio/shared-blockchain-abstract").ChainMintErc721, "minter">, provider?: string) => Promise<string>;
53
- mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintNft, provider?: string) => Promise<string>;
52
+ mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string>;
53
+ mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string>;
54
54
  mintMultipleCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<string>;
55
55
  mintMultipleSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<string>;
56
56
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc721, provider?: string) => Promise<string>;
57
57
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc721, provider?: string) => Promise<string>;
58
58
  updateCashbackForAuthorSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainUpdateCashbackErc721, provider?: string) => Promise<string>;
59
59
  deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc721, provider?: string) => Promise<string>;
60
- mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintNft, provider?: string) => Promise<string>;
61
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
60
+ mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string>;
61
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
62
62
  index: number;
63
- }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
63
+ }> & Partial<Pick<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey">> & Partial<{
64
64
  mnemonic: string;
65
65
  }> & {
66
- erc20?: string;
67
- } & {
68
66
  fixedValues: string[][];
69
67
  }, provider?: string) => Promise<string>;
70
68
  addMinterSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainAddMinterErc721, provider: string) => Promise<string>;
71
69
  };
72
70
  send: {
73
- mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string | 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>;
74
- mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").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>;
71
+ mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721 | import("@tatumio/api-client").MintNftMinter, provider?: string) => Promise<string | 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>;
72
+ mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, 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>;
75
73
  mintMultipleCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
76
74
  mintMultipleSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
77
75
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
78
76
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
79
77
  updateCashbackForAuthorSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainUpdateCashbackErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
80
78
  deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
81
- mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").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>;
82
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
79
+ mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, 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>;
80
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
83
81
  index: number;
84
- }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
82
+ }> & Partial<Pick<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey">> & Partial<{
85
83
  mnemonic: string;
86
84
  }> & {
87
- erc20?: string;
88
- } & {
89
85
  fixedValues: string[][];
90
86
  }, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
91
87
  };
@@ -15,14 +15,14 @@ export declare const bscTxService: (args: {
15
15
  erc20: {
16
16
  decimals: (contractAddress: string, provider?: string) => Promise<any>;
17
17
  prepare: {
18
- deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc20, provider?: string) => Promise<string>;
18
+ deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainSdkDeployErc20, provider?: string) => Promise<string>;
19
19
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc20, provider?: string) => Promise<string>;
20
20
  mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc20, provider?: string) => Promise<string>;
21
21
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc20, provider?: string) => Promise<string>;
22
22
  approveSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainApproveErc20, provider?: string) => Promise<string>;
23
23
  };
24
24
  send: {
25
- deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
25
+ deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainSdkDeployErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
26
26
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
27
27
  mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
28
28
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc20, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
@@ -30,43 +30,39 @@ export declare const bscTxService: (args: {
30
30
  };
31
31
  erc721: {
32
32
  prepare: {
33
- mintSignedTransaction: (body: Omit<import("@tatumio/shared-blockchain-abstract").ChainMintErc721, "minter">, provider?: string) => Promise<string>;
34
- mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintNft, provider?: string) => Promise<string>;
33
+ mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string>;
34
+ mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string>;
35
35
  mintMultipleCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<string>;
36
36
  mintMultipleSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<string>;
37
37
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc721, provider?: string) => Promise<string>;
38
38
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc721, provider?: string) => Promise<string>;
39
39
  updateCashbackForAuthorSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainUpdateCashbackErc721, provider?: string) => Promise<string>;
40
40
  deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc721, provider?: string) => Promise<string>;
41
- mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintNft, provider?: string) => Promise<string>;
42
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
41
+ mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string>;
42
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
43
43
  index: number;
44
- }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
44
+ }> & Partial<Pick<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey">> & Partial<{
45
45
  mnemonic: string;
46
46
  }> & {
47
- erc20?: string;
48
- } & {
49
47
  fixedValues: string[][];
50
48
  }, provider?: string) => Promise<string>;
51
49
  addMinterSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainAddMinterErc721, provider: string) => Promise<string>;
52
50
  };
53
51
  send: {
54
- mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, provider?: string) => Promise<string | 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>;
55
- mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").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>;
52
+ mintSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721 | import("@tatumio/api-client").MintNftMinter, provider?: string) => Promise<string | 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>;
53
+ mintCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, 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>;
56
54
  mintMultipleCashbackSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
57
55
  mintMultipleSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintMultipleNft, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
58
56
  burnSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainBurnErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
59
57
  transferSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainTransferErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
60
58
  updateCashbackForAuthorSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainUpdateCashbackErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
61
59
  deploySignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainDeployErc721, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
62
- mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").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>;
63
- mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
60
+ mintProvenanceSignedTransaction: (body: import("@tatumio/shared-blockchain-abstract").ChainMintErc721, 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>;
61
+ mintMultipleProvenanceSignedTransaction: (body: Omit<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey"> & Partial<import("@tatumio/api-client").SignatureId & {
64
62
  index: number;
65
- }> & Partial<Pick<import("@tatumio/api-client").MintMultipleNft, "fromPrivateKey">> & Partial<{
63
+ }> & Partial<Pick<import("@tatumio/shared-abstract-sdk").WithoutChain<import("@tatumio/api-client").MintMultipleNft>, "fromPrivateKey">> & Partial<{
66
64
  mnemonic: string;
67
65
  }> & {
68
- erc20?: string;
69
- } & {
70
66
  fixedValues: string[][];
71
67
  }, provider?: string) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
72
68
  };