@tatumio/algo 2.0.1-alpha.329 → 2.0.1-alpha.330

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "name": "@tatumio/algo",
3
- "version": "2.0.1-alpha.329",
3
+ "version": "2.0.1-alpha.330",
4
4
  "type": "commonjs",
5
5
  "license": "MIT",
6
6
  "main": "./src/index.js",
7
7
  "types": "./src/index.d.ts",
8
8
  "dependencies": {
9
- "@tatumio/shared-testing-common": "2.0.1-alpha.329",
10
- "@tatumio/api-client": "2.0.1-alpha.329",
9
+ "@tatumio/shared-testing-common": "2.0.1-alpha.330",
10
+ "@tatumio/api-client": "2.0.1-alpha.330",
11
11
  "axios": "^0.26.0",
12
12
  "form-data": "^4.0.0",
13
- "@tatumio/shared-core": "2.0.1-alpha.329",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.329",
13
+ "@tatumio/shared-core": "2.0.1-alpha.330",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.330",
15
15
  "bignumber.js": "^9.0.2",
16
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.329",
16
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.330",
17
17
  "algosdk": "^1.13.1",
18
18
  "base32.js": "^0.1.0",
19
19
  "url-parse": "^1.5.10",
@@ -22,6 +22,7 @@ export declare const TatumAlgoSDK: (args: SDKArguments) => {
22
22
  erc20: {
23
23
  getErc20TransactionByAddress: typeof FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress;
24
24
  getErc20AccountBalance: typeof FungibleTokensErc20OrCompatibleService.erc20GetBalance;
25
+ getErc20AccountBalances: typeof FungibleTokensErc20OrCompatibleService.erc20GetBalanceAddress;
25
26
  prepare: {
26
27
  createFTSignedTransaction: (body: import("./services/algo.tx").DeployErc20KMS | import("./services/algo.tx").DeployErc20, testnet?: boolean, provider?: string) => Promise<string>;
27
28
  transferFTSignedTransaction: (body: import("./services/algo.tx").ChainTransferAlgoErc20 | import("./services/algo.tx").ChainTransferAlgoErc20KMS, testnet?: boolean, provider?: string) => Promise<string>;
@@ -15,7 +15,7 @@ const TatumAlgoSDK = (args) => {
15
15
  const txService = (0, algo_tx_1.algoTx)({ algoWeb: web });
16
16
  const _a = (0, shared_blockchain_abstract_1.abstractBlockchainSdk)(Object.assign(Object.assign({}, args), { blockchain })), { nft } = _a, abstractSdk = tslib_1.__rest(_a, ["nft"]);
17
17
  const { transferNFT, burnNFT } = nft;
18
- return Object.assign(Object.assign({}, abstractSdk), { algoWeb: web, record: (0, algo_record_1.algoRecord)(), wallet: (0, algo_wallet_1.algoWallet)(), transaction: txService.native, erc20: Object.assign(Object.assign({}, txService.erc20), { getErc20TransactionByAddress: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress, getErc20AccountBalance: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalance }), nft: Object.assign(Object.assign({}, txService.erc721), { transferNFT,
18
+ return Object.assign(Object.assign({}, abstractSdk), { algoWeb: web, record: (0, algo_record_1.algoRecord)(), wallet: (0, algo_wallet_1.algoWallet)(), transaction: txService.native, erc20: Object.assign(Object.assign({}, txService.erc20), { getErc20TransactionByAddress: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress, getErc20AccountBalance: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalance, getErc20AccountBalances: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalanceAddress }), nft: Object.assign(Object.assign({}, txService.erc721), { transferNFT,
19
19
  burnNFT }), blockchain: {
20
20
  broadcast: api_client_1.AlgorandService.algoandBroadcast,
21
21
  getBlock: api_client_1.AlgorandService.algorandGetBlock,
@@ -1 +1 @@
1
- {"version":3,"file":"algo.sdk.js","sourceRoot":"","sources":["../../../../../../packages/blockchain/algo/src/lib/algo.sdk.ts"],"names":[],"mappings":";;;;AAAA,sDAAiD;AAEjD,oFAA2E;AAC3E,oDAA6F;AAC7F,kDAA6C;AAC7C,wDAAmD;AAC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