@tatumio/bch 2.0.1-alpha.228 → 2.0.1-alpha.232
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -7
- package/src/lib/bch.sdk.d.ts +17 -3
package/package.json
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@tatumio/bch",
|
3
|
-
"version": "2.0.1-alpha.
|
3
|
+
"version": "2.0.1-alpha.232",
|
4
4
|
"license": "MIT",
|
5
5
|
"main": "./src/index.js",
|
6
6
|
"typings": "./src/index.d.ts",
|
7
7
|
"dependencies": {
|
8
|
-
"@tatumio/shared-testing": "2.0.1-alpha.
|
9
|
-
"@tatumio/shared-blockchain-
|
10
|
-
"@tatumio/
|
8
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.232",
|
9
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.232",
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.232",
|
11
11
|
"axios": "^0.24.0",
|
12
|
-
"@tatumio/api-client": "2.0.1-alpha.227",
|
13
12
|
"form-data": "^4.0.0",
|
14
|
-
"@tatumio/shared-
|
15
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
13
|
+
"@tatumio/shared-core": "2.0.1-alpha.232",
|
14
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.232",
|
16
15
|
"bignumber.js": "^9.0.2",
|
16
|
+
"@tatumio/shared-testing-btc-based": "2.0.1-alpha.232",
|
17
|
+
"@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.232",
|
17
18
|
"bip32": "^2.0.5",
|
18
19
|
"bip39": "^3.0.2",
|
19
20
|
"bitcoinjs-lib": "^5.2.0",
|
package/src/lib/bch.sdk.d.ts
CHANGED
@@ -14,7 +14,7 @@ export declare const TatumBchSDK: (args: SDKArguments) => {
|
|
14
14
|
};
|
15
15
|
kms: {
|
16
16
|
sign(tx: import("@tatumio/shared-core").ChainTransactionKMS, privateKeys: string[]): Promise<string>;
|
17
|
-
getAllPending(signatures?: string): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").PendingTransaction>;
|
17
|
+
getAllPending(signatures?: string): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").PendingTransaction[]>;
|
18
18
|
get: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.getPendingTransactionToSign;
|
19
19
|
complete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.completePendingSignature;
|
20
20
|
delete: typeof import("@tatumio/api-client").SecurityKeyManagementSystemService.deletePendingTransactionToSign;
|
@@ -30,10 +30,13 @@ export declare const TatumBchSDK: (args: SDKArguments) => {
|
|
30
30
|
};
|
31
31
|
withdrawal: {
|
32
32
|
getAll: (status?: "InProgress" | "Done" | "Cancelled", pageSize?: number, offset?: number) => Promise<import("@tatumio/api-client").WithdrawalObject[]>;
|
33
|
+
broadcast: typeof import("@tatumio/api-client").OffChainWithdrawalService.broadcastBlockchainTransaction;
|
34
|
+
create: typeof import("@tatumio/api-client").OffChainWithdrawalService.storeWithdrawal;
|
35
|
+
complete: typeof import("@tatumio/api-client").OffChainWithdrawalService.completeWithdrawal;
|
33
36
|
};
|
34
37
|
storeTokenAddress: typeof import("@tatumio/api-client").OffChainBlockchainService.storeTokenAddress;
|
35
38
|
};
|
36
|
-
getExchangeRate(basePair?: import("@tatumio/
|
39
|
+
getExchangeRate(basePair?: import("@tatumio/api-client").Fiat): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").ExchangeRate>;
|
37
40
|
storage: {
|
38
41
|
upload: typeof import("@tatumio/api-client").StorageIpfsService.storeIpfs;
|
39
42
|
get: typeof import("@tatumio/api-client").StorageIpfsService.getIpfsData;
|
@@ -106,7 +109,13 @@ export declare const TatumBchSDK: (args: SDKArguments) => {
|
|
106
109
|
unfreezeApiKey: typeof import("@tatumio/api-client").TatumServiceService.unfreezeApiKey;
|
107
110
|
};
|
108
111
|
nft: {
|
112
|
+
deployNFTSmartContract: typeof import("@tatumio/api-client").BlockchainNftService.nftDeployErc721;
|
113
|
+
addNFTMinter: typeof import("@tatumio/api-client").BlockchainNftService.nftAddMinter;
|
109
114
|
mintNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftMintErc721;
|
115
|
+
mintMultipleNFTs: typeof import("@tatumio/api-client").BlockchainNftService.nftMintMultipleErc721;
|
116
|
+
burnNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftBurnErc721;
|
117
|
+
transferNFT: typeof import("@tatumio/api-client").BlockchainNftService.nftTransferErc721;
|
118
|
+
updateNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftUpdateCashbackErc721;
|
110
119
|
getNFTTransaction: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactErc721;
|
111
120
|
getNFTTransactionsByToken: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByToken;
|
112
121
|
getNFTTransactionsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByAddress;
|
@@ -114,6 +123,11 @@ export declare const TatumBchSDK: (args: SDKArguments) => {
|
|
114
123
|
getNFTProvenanceData: typeof import("@tatumio/api-client").BlockchainNftService.nftGetProvenanceDataErc721;
|
115
124
|
getNFTMetadataURI: typeof import("@tatumio/api-client").BlockchainNftService.nftGetMetadataErc721;
|
116
125
|
getNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftGetRoyaltyErc721;
|
117
|
-
|
126
|
+
getNFTAccountBalance: typeof import("@tatumio/api-client").BlockchainNftService.nftGetBalanceErc721;
|
127
|
+
getNFTImage: (chain: "ETH" | "BSC" | "MATIC" | "CELO" | "FLOW" | "TRON" | "ONE" | "KLAY" | "SOL" | "KCS", contractAddress: string, tokenId: string, account?: string) => Promise<{
|
128
|
+
originalUrl: string;
|
129
|
+
publicUrl: string;
|
130
|
+
}>;
|
131
|
+
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => Promise<string[]>;
|
118
132
|
};
|
119
133
|
};
|