@tatumio/sdk 2.0.1-alpha.248 → 2.0.1-alpha.251
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/package.json +30 -30
- package/src/lib/sdk.d.ts +86 -87
- package/src/lib/sdk.js +1 -1
- package/src/lib/sdk.js.map +1 -1
- package/src/lib/services/sdk.kms.d.ts +5 -5
- package/src/lib/services/sdk.kms.js +1 -1
- package/src/lib/services/sdk.kms.js.map +1 -1
- package/src/lib/services/sdk.multitoken.d.ts +6 -6
- package/src/lib/services/sdk.multitoken.js +5 -5
- package/src/lib/services/sdk.multitoken.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/sdk",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.251",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "./src/index.js",
|
|
6
6
|
"typings": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@tatumio/btc": "2.0.1-alpha.
|
|
9
|
-
"@tatumio/shared-testing-common": "2.0.1-alpha.
|
|
10
|
-
"@tatumio/api-client": "2.0.1-alpha.
|
|
8
|
+
"@tatumio/btc": "2.0.1-alpha.251",
|
|
9
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.251",
|
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.251",
|
|
11
11
|
"axios": "^0.26.0",
|
|
12
12
|
"form-data": "^4.0.0",
|
|
13
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.
|
|
13
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.251",
|
|
14
14
|
"bignumber.js": "^9.0.2",
|
|
15
|
-
"@tatumio/shared-testing-btc-based": "2.0.1-alpha.
|
|
16
|
-
"@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.
|
|
17
|
-
"@tatumio/shared-core": "2.0.1-alpha.
|
|
18
|
-
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.
|
|
15
|
+
"@tatumio/shared-testing-btc-based": "2.0.1-alpha.251",
|
|
16
|
+
"@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.251",
|
|
17
|
+
"@tatumio/shared-core": "2.0.1-alpha.251",
|
|
18
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.251",
|
|
19
19
|
"bip32": "^2.0.5",
|
|
20
20
|
"bip39": "^3.0.2",
|
|
21
21
|
"bitcoinjs-lib": "^5.2.0",
|
|
22
22
|
"hdkey": "^2.0.1",
|
|
23
|
-
"bitcore-lib": "
|
|
24
|
-
"@tatumio/celo": "2.0.1-alpha.
|
|
25
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
|
23
|
+
"bitcore-lib": "8.25.8",
|
|
24
|
+
"@tatumio/celo": "2.0.1-alpha.251",
|
|
25
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.251",
|
|
26
26
|
"ethereumjs-wallet": "^1.0.2",
|
|
27
27
|
"web3": "^1.7.0",
|
|
28
28
|
"web3-core": "^1.7.0",
|
|
29
29
|
"web3-utils": "^1.7.0",
|
|
30
30
|
"@celo-tools/celo-ethers-wrapper": "^0.1.0",
|
|
31
|
-
"@tatumio/eth": "2.0.1-alpha.
|
|
32
|
-
"@tatumio/shared-testing-evm-based": "2.0.1-alpha.
|
|
33
|
-
"@tatumio/ltc": "2.0.1-alpha.
|
|
34
|
-
"bitcore-lib-ltc": "
|
|
35
|
-
"@tatumio/doge": "2.0.1-alpha.
|
|
36
|
-
"bitcore-lib-doge": "
|
|
37
|
-
"@tatumio/polygon": "2.0.1-alpha.
|
|
38
|
-
"@tatumio/kcs": "2.0.1-alpha.
|
|
39
|
-
"@tatumio/one": "2.0.1-alpha.
|
|
31
|
+
"@tatumio/eth": "2.0.1-alpha.251",
|
|
32
|
+
"@tatumio/shared-testing-evm-based": "2.0.1-alpha.251",
|
|
33
|
+
"@tatumio/ltc": "2.0.1-alpha.251",
|
|
34
|
+
"bitcore-lib-ltc": "8.25.27",
|
|
35
|
+
"@tatumio/doge": "2.0.1-alpha.251",
|
|
36
|
+
"bitcore-lib-doge": "8.25.7",
|
|
37
|
+
"@tatumio/polygon": "2.0.1-alpha.251",
|
|
38
|
+
"@tatumio/kcs": "2.0.1-alpha.251",
|
|
39
|
+
"@tatumio/one": "2.0.1-alpha.251",
|
|
40
40
|
"@harmony-js/crypto": "^0.1.56",
|
|
41
|
-
"@tatumio/bsc": "2.0.1-alpha.
|
|
42
|
-
"@tatumio/xrp": "2.0.1-alpha.
|
|
43
|
-
"@tatumio/shared-testing-xrp-based": "2.0.1-alpha.
|
|
41
|
+
"@tatumio/bsc": "2.0.1-alpha.251",
|
|
42
|
+
"@tatumio/xrp": "2.0.1-alpha.251",
|
|
43
|
+
"@tatumio/shared-testing-xrp-based": "2.0.1-alpha.251",
|
|
44
44
|
"ripple-lib": "^1.7.1",
|
|
45
|
-
"@tatumio/solana": "2.0.1-alpha.
|
|
45
|
+
"@tatumio/solana": "2.0.1-alpha.251",
|
|
46
46
|
"@solana/web3.js": "^1.36.0",
|
|
47
|
-
"@solana/spl-token": "
|
|
47
|
+
"@solana/spl-token": "0.2.0",
|
|
48
48
|
"base-58": "^0.0.1",
|
|
49
|
-
"
|
|
49
|
+
"ed25519-hd-key": "^1.2.0",
|
|
50
|
+
"@tatumio/tron": "2.0.1-alpha.251",
|
|
50
51
|
"tronweb": "^4.1.0",
|
|
51
|
-
"@tatumio/algo": "2.0.1-alpha.
|
|
52
|
+
"@tatumio/algo": "2.0.1-alpha.251",
|
|
52
53
|
"algosdk": "^1.13.1",
|
|
53
54
|
"base32.js": "^0.1.0",
|
|
54
55
|
"url-parse": "^1.5.10",
|
|
55
|
-
"@tatumio/egld": "2.0.1-alpha.
|
|
56
|
-
"ed25519-hd-key": "^1.2.0",
|
|
56
|
+
"@tatumio/egld": "2.0.1-alpha.251",
|
|
57
57
|
"@elrondnetwork/erdjs": "^9.2.4"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {}
|
package/src/lib/sdk.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BlockchainStorageService, Currency, TatumUrl } from '@tatumio/api-client';
|
|
2
2
|
import { Web3Request, Web3Response } from '@tatumio/shared-core';
|
|
3
|
-
import { Currency } from '@tatumio/api-client';
|
|
4
3
|
import { SDKS } from './sdk.common';
|
|
5
4
|
export declare const TatumSDK: (args: {
|
|
6
5
|
apiKey: string;
|
|
@@ -8,10 +7,10 @@ export declare const TatumSDK: (args: {
|
|
|
8
7
|
}) => {
|
|
9
8
|
blockchain: SDKS;
|
|
10
9
|
kms: {
|
|
11
|
-
getAllPending: typeof import("@tatumio/api-client").
|
|
12
|
-
get: typeof import("@tatumio/api-client").
|
|
13
|
-
complete: typeof import("@tatumio/api-client").
|
|
14
|
-
delete: typeof import("@tatumio/api-client").
|
|
10
|
+
getAllPending: typeof import("@tatumio/api-client").KeyManagementSystemService.getPendingTransactionsToSign;
|
|
11
|
+
get: typeof import("@tatumio/api-client").KeyManagementSystemService.getPendingTransactionToSign;
|
|
12
|
+
complete: typeof import("@tatumio/api-client").KeyManagementSystemService.completePendingSignature;
|
|
13
|
+
delete: typeof import("@tatumio/api-client").KeyManagementSystemService.deletePendingTransactionToSign;
|
|
15
14
|
};
|
|
16
15
|
wallet: {
|
|
17
16
|
generateAddressFromXPub(currency: Currency, xpub: string, i: number, options?: {
|
|
@@ -27,124 +26,124 @@ export declare const TatumSDK: (args: {
|
|
|
27
26
|
testnet: boolean;
|
|
28
27
|
}): Promise<import("@tatumio/api-client").TronWallet>;
|
|
29
28
|
};
|
|
30
|
-
record: typeof
|
|
29
|
+
record: typeof BlockchainStorageService;
|
|
31
30
|
multiToken: {
|
|
32
|
-
getMultiTokenTransactionsByAddress: typeof import("@tatumio/api-client").
|
|
33
|
-
getMultiTokensBalance: typeof import("@tatumio/api-client").
|
|
34
|
-
getMultiTokensBatchBalance: typeof import("@tatumio/api-client").
|
|
35
|
-
getMultiTokenTransaction: typeof import("@tatumio/api-client").
|
|
36
|
-
getMultiTokenMetadata: typeof import("@tatumio/api-client").
|
|
31
|
+
getMultiTokenTransactionsByAddress: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetTransactionByAddress;
|
|
32
|
+
getMultiTokensBalance: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetBalance;
|
|
33
|
+
getMultiTokensBatchBalance: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetBalanceBatch;
|
|
34
|
+
getMultiTokenTransaction: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetTransaction;
|
|
35
|
+
getMultiTokenMetadata: typeof import("@tatumio/api-client").MultiTokensErc1155OrCompatibleService.multiTokenGetMetadata;
|
|
37
36
|
};
|
|
38
37
|
httpDriver: (currency: Currency, request: Web3Request) => Promise<Web3Response>;
|
|
39
38
|
ledger: {
|
|
40
39
|
customer: {
|
|
41
|
-
get: typeof import("@tatumio/api-client").
|
|
42
|
-
getAll: typeof import("@tatumio/api-client").
|
|
43
|
-
update: typeof import("@tatumio/api-client").
|
|
44
|
-
activate: typeof import("@tatumio/api-client").
|
|
45
|
-
deactivate: typeof import("@tatumio/api-client").
|
|
46
|
-
enable: typeof import("@tatumio/api-client").
|
|
47
|
-
disable: typeof import("@tatumio/api-client").
|
|
40
|
+
get: typeof import("@tatumio/api-client").CustomerService.getCustomerByExternalOrInternalId;
|
|
41
|
+
getAll: typeof import("@tatumio/api-client").CustomerService.findAllCustomers;
|
|
42
|
+
update: typeof import("@tatumio/api-client").CustomerService.updateCustomer;
|
|
43
|
+
activate: typeof import("@tatumio/api-client").CustomerService.activateCustomer;
|
|
44
|
+
deactivate: typeof import("@tatumio/api-client").CustomerService.deactivateCustomer;
|
|
45
|
+
enable: typeof import("@tatumio/api-client").CustomerService.enableCustomer;
|
|
46
|
+
disable: typeof import("@tatumio/api-client").CustomerService.disableCustomer;
|
|
48
47
|
};
|
|
49
48
|
orderBook: {
|
|
50
|
-
getHistorical: typeof import("@tatumio/api-client").
|
|
51
|
-
getActiveBuyTrades: typeof import("@tatumio/api-client").
|
|
52
|
-
getActiveSellTrades: typeof import("@tatumio/api-client").
|
|
53
|
-
newTrade: typeof import("@tatumio/api-client").
|
|
54
|
-
get: typeof import("@tatumio/api-client").
|
|
55
|
-
cancel: typeof import("@tatumio/api-client").
|
|
56
|
-
cancelByAccount: typeof import("@tatumio/api-client").
|
|
49
|
+
getHistorical: typeof import("@tatumio/api-client").OrderBookService.getHistoricalTradesBody;
|
|
50
|
+
getActiveBuyTrades: typeof import("@tatumio/api-client").OrderBookService.getBuyTradesBody;
|
|
51
|
+
getActiveSellTrades: typeof import("@tatumio/api-client").OrderBookService.getSellTradesBody;
|
|
52
|
+
newTrade: typeof import("@tatumio/api-client").OrderBookService.storeTrade;
|
|
53
|
+
get: typeof import("@tatumio/api-client").OrderBookService.getTradeById;
|
|
54
|
+
cancel: typeof import("@tatumio/api-client").OrderBookService.deleteTrade;
|
|
55
|
+
cancelByAccount: typeof import("@tatumio/api-client").OrderBookService.deleteAccountTrades;
|
|
57
56
|
};
|
|
58
57
|
transaction: {
|
|
59
|
-
send: typeof import("@tatumio/api-client").
|
|
60
|
-
sendMultiple: typeof import("@tatumio/api-client").
|
|
61
|
-
getAll: typeof import("@tatumio/api-client").
|
|
62
|
-
getAllByAccount: typeof import("@tatumio/api-client").
|
|
63
|
-
getAllByCustomer: typeof import("@tatumio/api-client").
|
|
64
|
-
getAllByReference: typeof import("@tatumio/api-client").
|
|
58
|
+
send: typeof import("@tatumio/api-client").TransactionService.sendTransaction;
|
|
59
|
+
sendMultiple: typeof import("@tatumio/api-client").TransactionService.sendTransactionBatch;
|
|
60
|
+
getAll: typeof import("@tatumio/api-client").TransactionService.getTransactions;
|
|
61
|
+
getAllByAccount: typeof import("@tatumio/api-client").TransactionService.getTransactionsByAccountId;
|
|
62
|
+
getAllByCustomer: typeof import("@tatumio/api-client").TransactionService.getTransactionsByCustomerId;
|
|
63
|
+
getAllByReference: typeof import("@tatumio/api-client").TransactionService.getTransactionsByReference;
|
|
65
64
|
countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
66
65
|
countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
67
66
|
};
|
|
68
67
|
virtualCurrency: {
|
|
69
|
-
create: typeof import("@tatumio/api-client").
|
|
70
|
-
mint: typeof import("@tatumio/api-client").
|
|
71
|
-
revoke: typeof import("@tatumio/api-client").
|
|
72
|
-
getByName: typeof import("@tatumio/api-client").
|
|
73
|
-
update: typeof import("@tatumio/api-client").
|
|
68
|
+
create: typeof import("@tatumio/api-client").VirtualCurrencyService.createCurrency;
|
|
69
|
+
mint: typeof import("@tatumio/api-client").VirtualCurrencyService.mintCurrency;
|
|
70
|
+
revoke: typeof import("@tatumio/api-client").VirtualCurrencyService.revokeCurrency;
|
|
71
|
+
getByName: typeof import("@tatumio/api-client").VirtualCurrencyService.getCurrency;
|
|
72
|
+
update: typeof import("@tatumio/api-client").VirtualCurrencyService.updateCurrency;
|
|
74
73
|
};
|
|
75
74
|
blockAmount: {
|
|
76
|
-
block: typeof import("@tatumio/api-client").
|
|
77
|
-
unblock: typeof import("@tatumio/api-client").
|
|
78
|
-
unblockWithTransaction: typeof import("@tatumio/api-client").
|
|
75
|
+
block: typeof import("@tatumio/api-client").AccountService.blockAmount;
|
|
76
|
+
unblock: typeof import("@tatumio/api-client").AccountService.deleteBlockAmount;
|
|
77
|
+
unblockWithTransaction: typeof import("@tatumio/api-client").AccountService.unblockAmountWithTransaction;
|
|
79
78
|
};
|
|
80
79
|
account: {
|
|
81
|
-
get: typeof import("@tatumio/api-client").
|
|
82
|
-
getAll: typeof import("@tatumio/api-client").
|
|
83
|
-
getByCustomerId: typeof import("@tatumio/api-client").
|
|
84
|
-
getBalance: typeof import("@tatumio/api-client").
|
|
85
|
-
create: typeof import("@tatumio/api-client").
|
|
86
|
-
createMultiple: typeof import("@tatumio/api-client").
|
|
87
|
-
update: typeof import("@tatumio/api-client").
|
|
88
|
-
getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").
|
|
89
|
-
activate: typeof import("@tatumio/api-client").
|
|
90
|
-
deactivate: typeof import("@tatumio/api-client").
|
|
91
|
-
freeze: typeof import("@tatumio/api-client").
|
|
92
|
-
unfreeze: typeof import("@tatumio/api-client").
|
|
80
|
+
get: typeof import("@tatumio/api-client").AccountService.getAccountByAccountId;
|
|
81
|
+
getAll: typeof import("@tatumio/api-client").AccountService.getAllAccounts;
|
|
82
|
+
getByCustomerId: typeof import("@tatumio/api-client").AccountService.getAccountsByCustomerId;
|
|
83
|
+
getBalance: typeof import("@tatumio/api-client").AccountService.getAccountBalance;
|
|
84
|
+
create: typeof import("@tatumio/api-client").AccountService.createAccount;
|
|
85
|
+
createMultiple: typeof import("@tatumio/api-client").AccountService.createAccountBatch;
|
|
86
|
+
update: typeof import("@tatumio/api-client").AccountService.updateAccountByAccountId;
|
|
87
|
+
getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").AccountService.getBlockAmountById;
|
|
88
|
+
activate: typeof import("@tatumio/api-client").AccountService.activateAccount;
|
|
89
|
+
deactivate: typeof import("@tatumio/api-client").AccountService.deactivateAccount;
|
|
90
|
+
freeze: typeof import("@tatumio/api-client").AccountService.freezeAccount;
|
|
91
|
+
unfreeze: typeof import("@tatumio/api-client").AccountService.unfreezeAccount;
|
|
93
92
|
generate: (account: import("@tatumio/api-client").CreateAccount, generateNewWalletFn: import("../../../../dist/packages/shared/abstract-sdk/src/lib/services/ledger/ledger.account.abstract").GenerateWalletFn, generateNewWallet?: boolean, testnet?: boolean, webhookUrl?: string) => Promise<import("../../../../dist/packages/shared/abstract-sdk/src/lib/services/ledger/ledger.account.abstract").GeneratedAccount>;
|
|
94
93
|
};
|
|
95
94
|
};
|
|
96
95
|
storage: {
|
|
97
|
-
upload: typeof import("@tatumio/api-client").
|
|
98
|
-
get: typeof import("@tatumio/api-client").
|
|
96
|
+
upload: typeof import("@tatumio/api-client").IpfsService.storeIpfs;
|
|
97
|
+
get: typeof import("@tatumio/api-client").IpfsService.getIpfsData;
|
|
99
98
|
};
|
|
100
|
-
subscriptions: typeof import("@tatumio/api-client").
|
|
99
|
+
subscriptions: typeof import("@tatumio/api-client").NotificationSubscriptionsService;
|
|
101
100
|
security: {
|
|
102
|
-
checkMaliciousAddress: typeof import("@tatumio/api-client").
|
|
101
|
+
checkMaliciousAddress: typeof import("@tatumio/api-client").MaliciousAddressService.checkMalicousAddress;
|
|
103
102
|
};
|
|
104
103
|
tatum: {
|
|
105
|
-
getCredits: typeof import("@tatumio/api-client").
|
|
106
|
-
getVersion: typeof import("@tatumio/api-client").
|
|
107
|
-
freezeApiKey: typeof import("@tatumio/api-client").
|
|
108
|
-
unfreezeApiKey: typeof import("@tatumio/api-client").
|
|
104
|
+
getCredits: typeof import("@tatumio/api-client").ServiceUtilsService.getCredits;
|
|
105
|
+
getVersion: typeof import("@tatumio/api-client").ServiceUtilsService.getVersion;
|
|
106
|
+
freezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.freezeApiKey;
|
|
107
|
+
unfreezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.unfreezeApiKey;
|
|
109
108
|
};
|
|
110
109
|
offchain: {
|
|
111
110
|
depositAddress: {
|
|
112
|
-
create: typeof import("@tatumio/api-client").
|
|
113
|
-
createMultiple: typeof import("@tatumio/api-client").
|
|
114
|
-
checkExists: typeof import("@tatumio/api-client").
|
|
115
|
-
assign: typeof import("@tatumio/api-client").
|
|
116
|
-
remove: typeof import("@tatumio/api-client").
|
|
117
|
-
getByAccount: typeof import("@tatumio/api-client").
|
|
111
|
+
create: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddress;
|
|
112
|
+
createMultiple: typeof import("@tatumio/api-client").BlockchainAddressesService.generateDepositAddressesBatch;
|
|
113
|
+
checkExists: typeof import("@tatumio/api-client").BlockchainAddressesService.addressExists;
|
|
114
|
+
assign: typeof import("@tatumio/api-client").BlockchainAddressesService.assignAddress;
|
|
115
|
+
remove: typeof import("@tatumio/api-client").BlockchainAddressesService.removeAddress;
|
|
116
|
+
getByAccount: typeof import("@tatumio/api-client").BlockchainAddressesService.getAllDepositAddresses;
|
|
118
117
|
};
|
|
119
118
|
withdrawal: {
|
|
120
|
-
getAll: typeof import("@tatumio/api-client").
|
|
121
|
-
broadcast: typeof import("@tatumio/api-client").
|
|
122
|
-
create: typeof import("@tatumio/api-client").
|
|
123
|
-
complete: typeof import("@tatumio/api-client").
|
|
119
|
+
getAll: typeof import("@tatumio/api-client").WithdrawalService.getWithdrawals;
|
|
120
|
+
broadcast: typeof import("@tatumio/api-client").WithdrawalService.broadcastBlockchainTransaction;
|
|
121
|
+
create: typeof import("@tatumio/api-client").WithdrawalService.storeWithdrawal;
|
|
122
|
+
complete: typeof import("@tatumio/api-client").WithdrawalService.completeWithdrawal;
|
|
124
123
|
};
|
|
125
|
-
storeTokenAddress: typeof import("@tatumio/api-client").
|
|
124
|
+
storeTokenAddress: typeof import("@tatumio/api-client").BlockchainOperationsService.storeTokenAddress;
|
|
126
125
|
};
|
|
127
126
|
nft: {
|
|
128
|
-
deployNFTSmartContract: typeof import("@tatumio/api-client").
|
|
129
|
-
addNFTMinter: typeof import("@tatumio/api-client").
|
|
130
|
-
mintNFT: typeof import("@tatumio/api-client").
|
|
131
|
-
mintMultipleNFTs: typeof import("@tatumio/api-client").
|
|
132
|
-
burnNFT: typeof import("@tatumio/api-client").
|
|
133
|
-
transferNFT: typeof import("@tatumio/api-client").
|
|
134
|
-
updateNFTRoyalty: typeof import("@tatumio/api-client").
|
|
135
|
-
getNFTTransaction: typeof import("@tatumio/api-client").
|
|
136
|
-
getNFTTransactionsByToken: typeof import("@tatumio/api-client").
|
|
137
|
-
getNFTTransactionsByAddress: typeof import("@tatumio/api-client").
|
|
138
|
-
getNFTsByAddress: typeof import("@tatumio/api-client").
|
|
139
|
-
getNFTProvenanceData: typeof import("@tatumio/api-client").
|
|
140
|
-
getNFTMetadataURI: typeof import("@tatumio/api-client").
|
|
141
|
-
getNFTRoyalty: typeof import("@tatumio/api-client").
|
|
142
|
-
getNFTAccountBalance: typeof import("@tatumio/api-client").
|
|
127
|
+
deployNFTSmartContract: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftDeployErc721;
|
|
128
|
+
addNFTMinter: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftAddMinter;
|
|
129
|
+
mintNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintErc721;
|
|
130
|
+
mintMultipleNFTs: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftMintMultipleErc721;
|
|
131
|
+
burnNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftBurnErc721;
|
|
132
|
+
transferNFT: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftTransferErc721;
|
|
133
|
+
updateNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftUpdateCashbackErc721;
|
|
134
|
+
getNFTTransaction: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactErc721;
|
|
135
|
+
getNFTTransactionsByToken: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactionByToken;
|
|
136
|
+
getNFTTransactionsByAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTransactionByAddress;
|
|
137
|
+
getNFTsByAddress: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetTokensByAddressErc721;
|
|
138
|
+
getNFTProvenanceData: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetProvenanceDataErc721;
|
|
139
|
+
getNFTMetadataURI: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetMetadataErc721;
|
|
140
|
+
getNFTRoyalty: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetRoyaltyErc721;
|
|
141
|
+
getNFTAccountBalance: typeof import("@tatumio/api-client").NftErc721OrCompatibleService.nftGetBalanceErc721;
|
|
143
142
|
getNFTImage: (chain: "ETH" | "MATIC" | "KCS" | "SOL" | "ONE" | "KLAY" | "CELO" | "TRON" | "FLOW" | "BSC", contractAddress: string, tokenId: string, account?: string) => Promise<{
|
|
144
143
|
originalUrl: string;
|
|
145
144
|
publicUrl: string;
|
|
146
145
|
}>;
|
|
147
146
|
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => string[];
|
|
148
147
|
};
|
|
149
|
-
getExchangeRate: typeof import("@tatumio/api-client").
|
|
148
|
+
getExchangeRate: typeof import("@tatumio/api-client").ExchangeRateService.getExchangeRate;
|
|
150
149
|
};
|
package/src/lib/sdk.js
CHANGED
|
@@ -38,7 +38,7 @@ const TatumSDK = (args) => {
|
|
|
38
38
|
algo: (0, algo_1.TatumAlgoSDK)(args),
|
|
39
39
|
egld: (0, egld_1.TatumEgldSDK)(args),
|
|
40
40
|
};
|
|
41
|
-
return Object.assign(Object.assign({}, (0, shared_abstract_sdk_1.abstractSdk)(args)), { blockchain: blockchainSpecificSDKs, kms: (0, sdk_kms_1.sdkKms)({ sdks: blockchainSpecificSDKs }), wallet: sdk_wallet_1.walletSdk, record: api_client_1.
|
|
41
|
+
return Object.assign(Object.assign({}, (0, shared_abstract_sdk_1.abstractSdk)(args)), { blockchain: blockchainSpecificSDKs, kms: (0, sdk_kms_1.sdkKms)({ sdks: blockchainSpecificSDKs }), wallet: sdk_wallet_1.walletSdk, record: api_client_1.BlockchainStorageService, multiToken: (0, sdk_multitoken_1.sdkMultiToken)(), httpDriver: (currency, request) => (0, sdk_httpDriver_1.httpDriver)(blockchainSpecificSDKs, currency, request), ledger: (0, shared_abstract_sdk_1.abstractSdkLedgerService)() });
|
|
42
42
|
};
|
|
43
43
|
exports.TatumSDK = TatumSDK;
|
|
44
44
|
//# sourceMappingURL=sdk.js.map
|
package/src/lib/sdk.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../../../../packages/sdk/src/lib/sdk.ts"],"names":[],"mappings":";;;AAAA,sCAA0C;AAC1C,sDAAiD;AACjD,
|
|
1
|
+
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../../../../packages/sdk/src/lib/sdk.ts"],"names":[],"mappings":";;;AAAA,sCAA0C;AAC1C,sDAAiD;AACjD,oDAAkF;AAClF,sEAAoF;AACpF,gDAA2C;AAC3C,sCAA0C;AAE1C,8DAAyD;AAEzD,8DAAsD;AACtD,wCAA4C;AAC5C,wCAA4C;AAC5C,sCAA0C;AAC1C,sCAA0C;AAC1C,8CAAkD;AAClD,sCAA0C;AAC1C,sCAA0C;AAC1C,sCAA0C;AAC1C,4CAAgD;AAChD,wCAA4C;AAC5C,wCAA4C;AAC5C,wCAA4C;AAErC,MAAM,QAAQ,GAAG,CAAC,IAAwC,EAAE,EAAE;IACnE,MAAM,sBAAsB,GAAS;QACnC,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,IAAI,EAAE,IAAA,mBAAY,EAAC,IAAI,CAAC;QACxB,IAAI,EAAE,IAAA,mBAAY,EAAC,IAAI,CAAC;QACxB,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,OAAO,EAAE,IAAA,yBAAe,EAAC,IAAI,CAAC;QAC9B,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,GAAG,EAAE,IAAA,iBAAW,EAAC,IAAI,CAAC;QACtB,GAAG,EAAE,IAAA,uBAAc,EAAC,IAAI,CAAC;QACzB,IAAI,EAAE,IAAA,mBAAY,EAAC,IAAI,CAAC;QACxB,IAAI,EAAE,IAAA,mBAAY,EAAC,IAAI,CAAC;QACxB,IAAI,EAAE,IAAA,mBAAY,EAAC,IAAI,CAAC;KACzB,CAAA;IACD,uCACK,IAAA,iCAAW,EAAC,IAAI,CAAC,KACpB,UAAU,EAAE,sBAAsB,EAClC,GAAG,EAAE,IAAA,gBAAM,EAAC,EAAE,IAAI,EAAE,sBAAsB,EAAE,CAAC,EAC7C,MAAM,EAAE,sBAAS,EACjB,MAAM,EAAE,qCAAwB,EAChC,UAAU,EAAE,IAAA,8BAAa,GAAE,EAC3B,UAAU,EAAE,CAAC,QAAkB,EAAE,OAAoB,EAAyB,EAAE,CAC9E,IAAA,2BAAU,EAAC,sBAAsB,EAAE,QAAQ,EAAE,OAAO,CAAC,EACvD,MAAM,EAAE,IAAA,8CAAwB,GAAE,IACnC;AACH,CAAC,CAAA;AA5BY,QAAA,QAAQ,YA4BpB"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KeyManagementSystemService } from '@tatumio/api-client';
|
|
2
2
|
import { SDKS } from '../sdk.common';
|
|
3
3
|
export declare const sdkKms: (args: {
|
|
4
4
|
sdks: SDKS;
|
|
5
5
|
}) => {
|
|
6
|
-
getAllPending: typeof
|
|
7
|
-
get: typeof
|
|
8
|
-
complete: typeof
|
|
9
|
-
delete: typeof
|
|
6
|
+
getAllPending: typeof KeyManagementSystemService.getPendingTransactionsToSign;
|
|
7
|
+
get: typeof KeyManagementSystemService.getPendingTransactionToSign;
|
|
8
|
+
complete: typeof KeyManagementSystemService.completePendingSignature;
|
|
9
|
+
delete: typeof KeyManagementSystemService.deletePendingTransactionToSign;
|
|
10
10
|
};
|
|
@@ -4,7 +4,7 @@ exports.sdkKms = void 0;
|
|
|
4
4
|
const api_client_1 = require("@tatumio/api-client");
|
|
5
5
|
const shared_abstract_sdk_1 = require("@tatumio/shared-abstract-sdk");
|
|
6
6
|
const sdkKms = (args) => {
|
|
7
|
-
return Object.assign(Object.assign({}, (0, shared_abstract_sdk_1.abstractSdkKms)()), { getAllPending: api_client_1.
|
|
7
|
+
return Object.assign(Object.assign({}, (0, shared_abstract_sdk_1.abstractSdkKms)()), { getAllPending: api_client_1.KeyManagementSystemService.getPendingTransactionsToSign });
|
|
8
8
|
};
|
|
9
9
|
exports.sdkKms = sdkKms;
|
|
10
10
|
//# sourceMappingURL=sdk.kms.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.kms.js","sourceRoot":"","sources":["../../../../../../packages/sdk/src/lib/services/sdk.kms.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"sdk.kms.js","sourceRoot":"","sources":["../../../../../../packages/sdk/src/lib/services/sdk.kms.ts"],"names":[],"mappings":";;;AAAA,oDAAgE;AAChE,sEAA6D;AAGtD,MAAM,MAAM,GAAG,CAAC,IAAoB,EAAE,EAAE;IAC7C,uCACK,IAAA,oCAAc,GAAE,KACnB,aAAa,EAAE,uCAA0B,CAAC,4BAA4B,IAEvE;AACH,CAAC,CAAA;AANY,QAAA,MAAM,UAMlB"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { MultiTokensErc1155OrCompatibleService } from '@tatumio/api-client';
|
|
2
2
|
export declare const sdkMultiToken: () => {
|
|
3
|
-
getMultiTokenTransactionsByAddress: typeof
|
|
4
|
-
getMultiTokensBalance: typeof
|
|
5
|
-
getMultiTokensBatchBalance: typeof
|
|
6
|
-
getMultiTokenTransaction: typeof
|
|
7
|
-
getMultiTokenMetadata: typeof
|
|
3
|
+
getMultiTokenTransactionsByAddress: typeof MultiTokensErc1155OrCompatibleService.multiTokenGetTransactionByAddress;
|
|
4
|
+
getMultiTokensBalance: typeof MultiTokensErc1155OrCompatibleService.multiTokenGetBalance;
|
|
5
|
+
getMultiTokensBatchBalance: typeof MultiTokensErc1155OrCompatibleService.multiTokenGetBalanceBatch;
|
|
6
|
+
getMultiTokenTransaction: typeof MultiTokensErc1155OrCompatibleService.multiTokenGetTransaction;
|
|
7
|
+
getMultiTokenMetadata: typeof MultiTokensErc1155OrCompatibleService.multiTokenGetMetadata;
|
|
8
8
|
};
|
|
@@ -4,11 +4,11 @@ exports.sdkMultiToken = void 0;
|
|
|
4
4
|
const api_client_1 = require("@tatumio/api-client");
|
|
5
5
|
const sdkMultiToken = () => {
|
|
6
6
|
return {
|
|
7
|
-
getMultiTokenTransactionsByAddress: api_client_1.
|
|
8
|
-
getMultiTokensBalance: api_client_1.
|
|
9
|
-
getMultiTokensBatchBalance: api_client_1.
|
|
10
|
-
getMultiTokenTransaction: api_client_1.
|
|
11
|
-
getMultiTokenMetadata: api_client_1.
|
|
7
|
+
getMultiTokenTransactionsByAddress: api_client_1.MultiTokensErc1155OrCompatibleService.multiTokenGetTransactionByAddress,
|
|
8
|
+
getMultiTokensBalance: api_client_1.MultiTokensErc1155OrCompatibleService.multiTokenGetBalance,
|
|
9
|
+
getMultiTokensBatchBalance: api_client_1.MultiTokensErc1155OrCompatibleService.multiTokenGetBalanceBatch,
|
|
10
|
+
getMultiTokenTransaction: api_client_1.MultiTokensErc1155OrCompatibleService.multiTokenGetTransaction,
|
|
11
|
+
getMultiTokenMetadata: api_client_1.MultiTokensErc1155OrCompatibleService.multiTokenGetMetadata,
|
|
12
12
|
};
|
|
13
13
|
};
|
|
14
14
|
exports.sdkMultiToken = sdkMultiToken;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sdk.multitoken.js","sourceRoot":"","sources":["../../../../../../packages/sdk/src/lib/services/sdk.multitoken.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"sdk.multitoken.js","sourceRoot":"","sources":["../../../../../../packages/sdk/src/lib/services/sdk.multitoken.ts"],"names":[],"mappings":";;;AAAA,oDAA2E;AAEpE,MAAM,aAAa,GAAG,GAAG,EAAE;IAChC,OAAO;QACL,kCAAkC,EAChC,kDAAqC,CAAC,iCAAiC;QACzE,qBAAqB,EAAE,kDAAqC,CAAC,oBAAoB;QACjF,0BAA0B,EAAE,kDAAqC,CAAC,yBAAyB;QAC3F,wBAAwB,EAAE,kDAAqC,CAAC,wBAAwB;QACxF,qBAAqB,EAAE,kDAAqC,CAAC,qBAAqB;KACnF,CAAA;AACH,CAAC,CAAA;AATY,QAAA,aAAa,iBASzB"}
|