@tatumio/sdk 2.0.1-alpha.236 → 2.0.1-alpha.239
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 +27 -27
- package/src/lib/sdk.d.ts +10 -10
- package/src/lib/sdk.js +1 -1
- package/src/lib/sdk.js.map +1 -1
package/package.json
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tatumio/sdk",
|
|
3
|
-
"version": "2.0.1-alpha.
|
|
3
|
+
"version": "2.0.1-alpha.239",
|
|
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/
|
|
11
|
-
"
|
|
12
|
-
"axios": "^0.24.0",
|
|
8
|
+
"@tatumio/btc": "2.0.1-alpha.239",
|
|
9
|
+
"@tatumio/shared-testing-common": "2.0.1-alpha.239",
|
|
10
|
+
"@tatumio/api-client": "2.0.1-alpha.239",
|
|
11
|
+
"axios": "^0.26.0",
|
|
13
12
|
"form-data": "^4.0.0",
|
|
14
|
-
"@tatumio/shared-
|
|
15
|
-
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.236",
|
|
13
|
+
"@tatumio/shared-abstract-sdk": "2.0.1-alpha.239",
|
|
16
14
|
"bignumber.js": "^9.0.2",
|
|
17
|
-
"@tatumio/shared-testing-btc-based": "2.0.1-alpha.
|
|
18
|
-
"@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.
|
|
15
|
+
"@tatumio/shared-testing-btc-based": "2.0.1-alpha.239",
|
|
16
|
+
"@tatumio/shared-blockchain-btc-based": "2.0.1-alpha.239",
|
|
17
|
+
"@tatumio/shared-core": "2.0.1-alpha.239",
|
|
18
|
+
"@tatumio/shared-blockchain-abstract": "2.0.1-alpha.239",
|
|
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
23
|
"bitcore-lib": "^8.25.25",
|
|
24
|
-
"@tatumio/celo": "2.0.1-alpha.
|
|
25
|
-
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.
|
|
24
|
+
"@tatumio/celo": "2.0.1-alpha.239",
|
|
25
|
+
"@tatumio/shared-blockchain-evm-based": "2.0.1-alpha.239",
|
|
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.
|
|
31
|
+
"@tatumio/eth": "2.0.1-alpha.239",
|
|
32
|
+
"@tatumio/shared-testing-evm-based": "2.0.1-alpha.239",
|
|
33
|
+
"@tatumio/ltc": "2.0.1-alpha.239",
|
|
34
34
|
"bitcore-lib-ltc": "^8.25.27",
|
|
35
|
-
"@tatumio/doge": "2.0.1-alpha.
|
|
35
|
+
"@tatumio/doge": "2.0.1-alpha.239",
|
|
36
36
|
"bitcore-lib-doge": "^8.25.27",
|
|
37
|
-
"@tatumio/polygon": "2.0.1-alpha.
|
|
38
|
-
"@tatumio/kcs": "2.0.1-alpha.
|
|
39
|
-
"@tatumio/one": "2.0.1-alpha.
|
|
37
|
+
"@tatumio/polygon": "2.0.1-alpha.239",
|
|
38
|
+
"@tatumio/kcs": "2.0.1-alpha.239",
|
|
39
|
+
"@tatumio/one": "2.0.1-alpha.239",
|
|
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.239",
|
|
42
|
+
"@tatumio/xrp": "2.0.1-alpha.239",
|
|
43
|
+
"@tatumio/shared-testing-xrp-based": "2.0.1-alpha.239",
|
|
44
44
|
"ripple-lib": "^1.7.1",
|
|
45
|
-
"@tatumio/solana": "2.0.1-alpha.
|
|
46
|
-
"@solana/web3.js": "^1.
|
|
45
|
+
"@tatumio/solana": "2.0.1-alpha.239",
|
|
46
|
+
"@solana/web3.js": "^1.34.0",
|
|
47
47
|
"@solana/spl-token": "^0.1.8",
|
|
48
|
-
"@tatumio/tron": "2.0.1-alpha.
|
|
48
|
+
"@tatumio/tron": "2.0.1-alpha.239",
|
|
49
49
|
"tronweb": "^4.1.0",
|
|
50
|
-
"@tatumio/algo": "2.0.1-alpha.
|
|
50
|
+
"@tatumio/algo": "2.0.1-alpha.239",
|
|
51
51
|
"algosdk": "^1.13.1",
|
|
52
52
|
"base32.js": "^0.1.0",
|
|
53
|
-
"url-parse": "^1.5.
|
|
53
|
+
"url-parse": "^1.5.9"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {}
|
|
56
56
|
}
|
package/src/lib/sdk.d.ts
CHANGED
|
@@ -36,11 +36,6 @@ export declare const TatumSDK: (args: {
|
|
|
36
36
|
getMultiTokenMetadata: typeof import("@tatumio/api-client").BlockchainMultiTokenErc1155Service.multiTokenGetMetadata;
|
|
37
37
|
};
|
|
38
38
|
httpDriver: (currency: Currency, request: Web3Request) => Promise<Web3Response>;
|
|
39
|
-
storage: {
|
|
40
|
-
upload: typeof import("@tatumio/api-client").StorageIpfsService.storeIpfs;
|
|
41
|
-
get: typeof import("@tatumio/api-client").StorageIpfsService.getIpfsData;
|
|
42
|
-
};
|
|
43
|
-
subscriptions: typeof import("@tatumio/api-client").LedgerSubscriptionService;
|
|
44
39
|
ledger: {
|
|
45
40
|
customer: {
|
|
46
41
|
get: typeof import("@tatumio/api-client").LedgerCustomerService.getCustomerByExternalOrInternalId;
|
|
@@ -54,7 +49,7 @@ export declare const TatumSDK: (args: {
|
|
|
54
49
|
orderBook: {
|
|
55
50
|
getHistorical: typeof import("@tatumio/api-client").LedgerOrderBookService.getHistoricalTradesBody;
|
|
56
51
|
getActiveBuyTrades: typeof import("@tatumio/api-client").LedgerOrderBookService.getBuyTradesBody;
|
|
57
|
-
getActiveSellTrades: typeof import("@tatumio/api-client").LedgerOrderBookService.
|
|
52
|
+
getActiveSellTrades: typeof import("@tatumio/api-client").LedgerOrderBookService.getSellTradesBody;
|
|
58
53
|
newTrade: typeof import("@tatumio/api-client").LedgerOrderBookService.storeTrade;
|
|
59
54
|
get: typeof import("@tatumio/api-client").LedgerOrderBookService.getTradeById;
|
|
60
55
|
cancel: typeof import("@tatumio/api-client").LedgerOrderBookService.deleteTrade;
|
|
@@ -67,8 +62,8 @@ export declare const TatumSDK: (args: {
|
|
|
67
62
|
getAllByAccount: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactionsByAccountId;
|
|
68
63
|
getAllByCustomer: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactionsByCustomerId;
|
|
69
64
|
getAllByReference: typeof import("@tatumio/api-client").LedgerTransactionService.getTransactionsByReference;
|
|
70
|
-
countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) =>
|
|
71
|
-
countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) =>
|
|
65
|
+
countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
66
|
+
countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
|
|
72
67
|
};
|
|
73
68
|
virtualCurrency: {
|
|
74
69
|
create: typeof import("@tatumio/api-client").LedgerVirtualCurrencyService.createCurrency;
|
|
@@ -98,6 +93,11 @@ export declare const TatumSDK: (args: {
|
|
|
98
93
|
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>;
|
|
99
94
|
};
|
|
100
95
|
};
|
|
96
|
+
storage: {
|
|
97
|
+
upload: typeof import("@tatumio/api-client").StorageIpfsService.storeIpfs;
|
|
98
|
+
get: typeof import("@tatumio/api-client").StorageIpfsService.getIpfsData;
|
|
99
|
+
};
|
|
100
|
+
subscriptions: typeof import("@tatumio/api-client").LedgerSubscriptionService;
|
|
101
101
|
security: {
|
|
102
102
|
checkMaliciousAddress: typeof import("@tatumio/api-client").SecurityAddressService.checkMalicousAddress;
|
|
103
103
|
};
|
|
@@ -135,7 +135,7 @@ export declare const TatumSDK: (args: {
|
|
|
135
135
|
getNFTTransaction: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactErc721;
|
|
136
136
|
getNFTTransactionsByToken: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByToken;
|
|
137
137
|
getNFTTransactionsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTransactionByAddress;
|
|
138
|
-
getNFTsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.
|
|
138
|
+
getNFTsByAddress: typeof import("@tatumio/api-client").BlockchainNftService.nftGetTokensByAddressErc721;
|
|
139
139
|
getNFTProvenanceData: typeof import("@tatumio/api-client").BlockchainNftService.nftGetProvenanceDataErc721;
|
|
140
140
|
getNFTMetadataURI: typeof import("@tatumio/api-client").BlockchainNftService.nftGetMetadataErc721;
|
|
141
141
|
getNFTRoyalty: typeof import("@tatumio/api-client").BlockchainNftService.nftGetRoyaltyErc721;
|
|
@@ -144,7 +144,7 @@ export declare const TatumSDK: (args: {
|
|
|
144
144
|
originalUrl: string;
|
|
145
145
|
publicUrl: string;
|
|
146
146
|
}>;
|
|
147
|
-
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) =>
|
|
147
|
+
prepareAddNftMinterAbstraction: (body: import("@tatumio/api-client").AddNftMinter | import("@tatumio/api-client").AddNftMinterKMS) => string[];
|
|
148
148
|
};
|
|
149
149
|
getExchangeRate: typeof import("@tatumio/api-client").TatumServiceService.getExchangeRate;
|
|
150
150
|
};
|
package/src/lib/sdk.js
CHANGED
|
@@ -36,7 +36,7 @@ const TatumSDK = (args) => {
|
|
|
36
36
|
tron: (0, tron_1.TatumTronSDK)(args),
|
|
37
37
|
algo: (0, algo_1.TatumAlgoSDK)(args),
|
|
38
38
|
};
|
|
39
|
-
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.BlockchainRecordService, multiToken: (0, sdk_multitoken_1.sdkMultiToken)(), httpDriver: (currency, request) => (0, sdk_httpDriver_1.httpDriver)(blockchainSpecificSDKs, currency, request) });
|
|
39
|
+
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.BlockchainRecordService, multiToken: (0, sdk_multitoken_1.sdkMultiToken)(), httpDriver: (currency, request) => (0, sdk_httpDriver_1.httpDriver)(blockchainSpecificSDKs, currency, request), ledger: (0, shared_abstract_sdk_1.abstractSdkLedgerService)() });
|
|
40
40
|
};
|
|
41
41
|
exports.TatumSDK = TatumSDK;
|
|
42
42
|
//# 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,oDAAuE;AACvE,
|
|
1
|
+
{"version":3,"file":"sdk.js","sourceRoot":"","sources":["../../../../../packages/sdk/src/lib/sdk.ts"],"names":[],"mappings":";;;AAAA,sCAA0C;AAC1C,sDAAiD;AACjD,oDAAuE;AACvE,sEAAoF;AACpF,gDAA2C;AAC3C,sCAA0C;AAG1C,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;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;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,oCAAuB,EAC/B,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;AA3BY,QAAA,QAAQ,YA2BpB"}
|