@tatumio/algo 2.0.1-alpha.375 → 2.0.1-alpha.377

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,20 +1,20 @@
1
1
  {
2
2
  "name": "@tatumio/algo",
3
- "version": "2.0.1-alpha.375",
3
+ "version": "2.0.1-alpha.377",
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.375",
10
- "@tatumio/api-client": "2.0.1-alpha.375",
9
+ "@tatumio/shared-testing-common": "2.0.1-alpha.377",
10
+ "@tatumio/api-client": "2.0.1-alpha.377",
11
11
  "axios": "^0.26.0",
12
12
  "form-data": "^4.0.0",
13
- "@tatumio/shared-core": "2.0.1-alpha.375",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.375",
13
+ "@tatumio/shared-core": "2.0.1-alpha.377",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.377",
15
15
  "bignumber.js": "^9.0.2",
16
16
  "lodash": "^4.17.21",
17
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.375",
17
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.377",
18
18
  "algosdk": "^1.13.1",
19
19
  "base32.js": "^0.1.0",
20
20
  "url-parse": "^1.5.10",
@@ -46,6 +46,10 @@ export declare const TatumAlgoSDK: (args: SDKArguments, apiCalls?: AlgoApiCallsT
46
46
  burnNFTSignedTransaction: (body: import("./services/algo.tx").BurnNftAlgoKMS | import("./services/algo.tx").BurnNftAlgo, testnet?: boolean, provider?: string) => Promise<import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").TransactionHash>;
47
47
  };
48
48
  };
49
+ storage: {
50
+ upload: typeof import("@tatumio/api-client").IpfsService.storeIpfs;
51
+ get: typeof import("@tatumio/api-client").IpfsService.getIpfsData;
52
+ };
49
53
  };
50
54
  blockchain: {
51
55
  broadcast: typeof AlgorandService.algorandBroadcast;
@@ -87,10 +91,6 @@ export declare const TatumAlgoSDK: (args: SDKArguments, apiCalls?: AlgoApiCallsT
87
91
  delete: typeof import("@tatumio/api-client").KeyManagementSystemService.deletePendingTransactionToSign;
88
92
  };
89
93
  getExchangeRate(basePair?: import("@tatumio/api-client").Fiat): import("@tatumio/api-client").CancelablePromise<import("@tatumio/api-client").ExchangeRate>;
90
- storage: {
91
- upload: typeof import("@tatumio/api-client").IpfsService.storeIpfs;
92
- get: typeof import("@tatumio/api-client").IpfsService.getIpfsData;
93
- };
94
94
  subscriptions: typeof import("@tatumio/api-client").NotificationSubscriptionsService;
95
95
  security: {
96
96
  checkMaliciousAddress: typeof import("@tatumio/api-client").MaliciousAddressService.checkMalicousAddress;
@@ -101,13 +101,6 @@ export declare const TatumAlgoSDK: (args: SDKArguments, apiCalls?: AlgoApiCallsT
101
101
  freezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.freezeApiKey;
102
102
  unfreezeApiKey: typeof import("@tatumio/api-client").ServiceUtilsService.unfreezeApiKey;
103
103
  };
104
- custodialManagedWallet: {
105
- transfer: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialTransferManagedAddress;
106
- getAll: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallets;
107
- create: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialCreateWallet;
108
- delete: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialDeleteWallet;
109
- get: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallet;
110
- };
111
104
  ledger: {
112
105
  customer: {
113
106
  get: typeof import("@tatumio/api-client").CustomerService.getCustomerByExternalOrInternalId;
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TatumAlgoSDK = void 0;
4
- const tslib_1 = require("tslib");
5
4
  const shared_core_1 = require("@tatumio/shared-core");
5
+ const shared_abstract_sdk_1 = require("@tatumio/shared-abstract-sdk");
6
6
  const shared_blockchain_abstract_1 = require("@tatumio/shared-blockchain-abstract");
7
7
  const api_client_1 = require("@tatumio/api-client");
8
8
  const algo_web_1 = require("./services/algo.web");
@@ -14,13 +14,15 @@ const TatumAlgoSDK = (args, apiCalls = {
14
14
  }) => {
15
15
  const web = (0, algo_web_1.algoWeb)(args);
16
16
  const txService = (0, algo_tx_1.algoTxService)({ algoWeb: web }, apiCalls);
17
- const _a = (0, shared_blockchain_abstract_1.abstractBlockchainSdk)(Object.assign(Object.assign({}, args), { blockchain })), { nft } = _a, abstractSdk = tslib_1.__rest(_a, ["nft"]);
17
+ const abstractSdk = (0, shared_blockchain_abstract_1.abstractBlockchainSdk)(Object.assign(Object.assign({}, args), { blockchain }));
18
+ const { nft, storage } = (0, shared_abstract_sdk_1.abstractSdkNft)();
18
19
  const { getNFTAccountBalance, getNFTContractAddress } = nft;
19
20
  return Object.assign(Object.assign({}, abstractSdk), { algoWeb: web, wallet: (0, algo_wallet_1.algoWallet)(), transaction: txService.native, token: {
20
21
  receiveAsset: txService.asset.send.receive,
21
22
  fungible: Object.assign(Object.assign({}, txService.fungible), { getFTTransactionByAddress: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetTransactionByAddress, getFTAccountBalance: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalance, getFTAccountBalances: api_client_1.FungibleTokensErc20OrCompatibleService.erc20GetBalanceAddress }),
22
23
  nft: Object.assign(Object.assign({}, txService.nft), { getNFTAccountBalance,
23
24
  getNFTContractAddress }),
25
+ storage,
24
26
  }, blockchain: {
25
27
  broadcast: api_client_1.AlgorandService.algorandBroadcast,
26
28
  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,oFAA6G;AAC7G,oDAA0G;AAC1G,kDAA6C;AAC7C,wDAAmD;AACn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E;YACL,YAAY,EAAE,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO;YAC1C,QAAQ,kCACH,SAAS,CAAC,QAAQ,KACrB,yBAAyB,EAAE,mDAAsC,CAAC,4BAA4B,EAC9F,mBAAmB,EAAE,mDAAsC,CAAC,eAAe,EAC3E,oBAAoB,EAAE,mDAAsC,CAAC,sBAAsB,GACpF;YACD,GAAG,kCACE,SAAS,CAAC,GAAG,KAChB,oBAAoB;gBACpB,qBAAqB,GACtB;YACD,OAAO;SACR,EACD,UAAU,EAAE;YACV,SAAS,EAAE,4BAAe,CAAC,iBAAiB;YAC5C,QAAQ,EAAE,4BAAe,CAAC,gBAAgB;YAC1C,eAAe,EAAE,4BAAe,CAAC,uBAAuB;YACxD,2BAA2B,EAAE,4BAAe,CAAC,kBAAkB;YAC/D,cAAc,EAAE,4BAAe,CAAC,sBAAsB;YACtD,yBAAyB,EAAE,4BAAe,CAAC,kCAAkC;SAC9E,EACD,cAAc,kCACT,IAAA,6DAAgC,EAAC,EAAE,UAAU,EAAE,CAAC,GAChD,SAAS,CAAC,cAAc,GAE7B,IAAI,EAAE;YACJ,gBAAgB,EAAE,4BAAe,CAAC,wBAAwB;YAC1D,SAAS,EAAE,4BAAe,CAAC,iBAAiB;YAC5C,UAAU,EAAE,4BAAe,CAAC,kBAAkB;SAC/C,IACF;AACH,CAAC,CAAA;AAnDY,QAAA,YAAY,gBAmDxB"}
@@ -20,7 +20,7 @@ export declare type ChainTransferAlgoErc20 = WithoutChain<ApiChainTransferAlgoEr
20
20
  export declare type ChainTransferAlgoErc20KMS = WithoutChain<ApiChainTransferAlgoErc20KMS>;
21
21
  export declare type ChainBurnAlgoErc20 = WithoutChain<ApiChainBurnAlgoErc20>;
22
22
  export declare type ChainBurnAlgoErc20KMS = WithoutChain<ApiChainBurnAlgoErc20KMS>;
23
- declare type SendOffchainResponse = OffchainTransactionResult | OffchainTransactionSignatureResult | {
23
+ declare type SendVirtualAccountTxResponse = OffchainTransactionResult | OffchainTransactionSignatureResult | {
24
24
  id?: string;
25
25
  } | void;
26
26
  export declare const algoTxService: (args: {
@@ -188,7 +188,7 @@ export declare const algoTxService: (args: {
188
188
  * @param provider url of the algorand server endpoint for purestake.io restapi
189
189
  * @returns transaction id of the transaction in the blockchain or id of the withdrawal, if it was not cancelled automatically
190
190
  */
191
- send: (body: ApiTransferAlgo | ApiTransferAlgoKMS, testnet?: boolean, provider?: string) => Promise<SendOffchainResponse>;
191
+ send: (body: ApiTransferAlgo | ApiTransferAlgoKMS, testnet?: boolean, provider?: string) => Promise<SendVirtualAccountTxResponse>;
192
192
  };
193
193
  };
194
194
  export {};
@@ -362,7 +362,7 @@ const algoTxService = (args, apiCalls) => {
362
362
  signedTransaction: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
363
363
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
364
364
  if (body.senderAccountId) {
365
- return api_client_1.ApiServices.offChain.blockchain.algoTransfer(body);
365
+ return api_client_1.ApiServices.virtualAccount.blockchain.algoTransfer(body);
366
366
  }
367
367
  else {
368
368
  return api_client_1.ApiServices.blockchain.algo.algorandBlockchainTransfer(body);
@@ -386,7 +386,7 @@ const algoTxService = (args, apiCalls) => {
386
386
  */
387
387
  send: (body, testnet = false, provider) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
388
388
  if ((0, shared_abstract_sdk_1.isWithSignatureId)(body)) {
389
- return api_client_1.ApiServices.offChain.blockchain.algoTransfer(body);
389
+ return api_client_1.ApiServices.virtualAccount.blockchain.algoTransfer(body);
390
390
  }
391
391
  const _f = body, { fee, privateKey } = _f, withdrawal = tslib_1.__rest(_f, ["fee", "privateKey"]);
392
392
  const { senderAccountId } = withdrawal;
@@ -406,9 +406,9 @@ const algoTxService = (args, apiCalls) => {
406
406
  fee: body.fee,
407
407
  }, testnet, args.algoWeb, provider);
408
408
  }
409
- const { id } = yield api_client_1.ApiServices.offChain.withdrawal.storeWithdrawal(Object.assign(Object.assign({}, withdrawal), { fee: new bignumber_js_1.BigNumber(fee || '0.001').toString() }));
409
+ const { id } = yield api_client_1.ApiServices.virtualAccount.withdrawal.storeWithdrawal(Object.assign(Object.assign({}, withdrawal), { fee: new bignumber_js_1.BigNumber(fee || '0.001').toString() }));
410
410
  try {
411
- return Object.assign(Object.assign({}, (yield api_client_1.ApiServices.offChain.withdrawal.broadcastBlockchainTransaction({
411
+ return Object.assign(Object.assign({}, (yield api_client_1.ApiServices.virtualAccount.withdrawal.broadcastBlockchainTransaction({
412
412
  txData,
413
413
  withdrawalId: id,
414
414
  currency: api_client_1.Currency.ALGO,
@@ -416,7 +416,7 @@ const algoTxService = (args, apiCalls) => {
416
416
  }
417
417
  catch (_) {
418
418
  try {
419
- return yield api_client_1.ApiServices.offChain.withdrawal.cancelInProgressWithdrawal(id);
419
+ return yield api_client_1.ApiServices.virtualAccount.withdrawal.cancelInProgressWithdrawal(id);
420
420
  }
421
421
  catch (_) {
422
422
  return { id, completed: false };
@@ -1 +1 @@
1
- {"version":3,"file":"algo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/algo/src/lib/services/algo.tx.ts"],"names":[],"mappings":";;;;AAAA,oDA2B4B;AAE5B,yDAAkC;AAClC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,+CAA0C;AAC1C,sEAAsG;AAEtG,+CAAwC;AAkCjC,MAAM,aAAa,GAAG,CAAC,IAA0B,EAAE,QAA0B,EAAE,EAAE;IACtF,MAAM,wBAAwB,GAAG,CAC/B,IAAyF,EACzF,OAAO,GAAG,KAAK,EACf,OAAgB,EAChB,QAAiB,EACA,EAAE;;QACnB,MAAM,OAAO,GAAI,IAA+B,CAAC,IAAI,IAAK,IAAqB,CAAC,OAAO,CAAA;QACvF,MAAM,EAAE,GAAI,IAA+B,CAAC,EAAE,IAAK,IAAqB,CAAC,OAAO,CAAA;QAChF,MAAM,UAAU,GAAI,IAA+B,CAAC,cAAc,IAAK,IAAqB,CAAC,UAA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;gBAAC,OAAO,CAAC,EAAE;oBACV,IAAI;wBACF,OAAO,MAAM,wBAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,0BAA0B,CAAC,EAAG,CAAC,CAAA;qBAC7E;oBAAC,OAAO,CAAC,EAAE;wBACV,OAAO,EAAE,EAAE,EAAE,SAAS,EAAE,KAAK,EAAE,CAAA;qBAChC;iBACF;YACH,CAAC,CAAA;SACF;KACF,CAAA;AACH,CAAC,CAAA;AA1sBY,QAAA,aAAa,iBA0sBzB"}
1
+ {"version":3,"file":"algo.tx.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/algo/src/lib/services/algo.tx.ts"],"names":[],"mappings":";;;;AAAA,oDA2B4B;AAE5B,yDAAkC;AAClC,yBAAyB;AACzB,aAAa;AACb,kEAA8B;AAC9B,+CAA0C;AAC1C,sEAAsG;AAEtG,+CAAwC;AAkCjC,MAAM,aAAa,GAAG,CAAC,IAA0B,EAAE,QAA0B,EAAE,EAAE;IACtF,MAAM,wBAAwB,GAAG,CAC/B,IAAyF,EACzF,OAAO,GAAG,KAAK,EACf,OAAgB,EAChB,QAAiB,EACA,EAAE;;QACnB,MAAM,OAAO,GAAI,IAA+B,CAAC,IAAI,IAAK,IAAqB,CAAC,OAAO,CAAA;QACvF,MAAM,EAAE,GAAI,IAA+B,CAAC,EAAE,IAAK,IAAqB,CAAC,OAAO,CAAA;QAChF,MAAM,UAAU,GAAI,IAA+B,CAAC,cAAc,IAAK,IAAqB,CAAC,UAAU,CAAA;QAEvG,MAAM,IAAI,GAAG,IAAA,uCAAiB,EAAC,IAAmD,CAAC;YACjF,CAAC,CAAC,OAAO;YACT,CAAC,CAAC,IAAA,wBAAU,GAAE,CAAC,8BAA8B,CAAC,UAAU,CAAC,CAAA;QAE3D,IAAK,IAA+B,CAAC,EAAE,EAAE;YACvC,MAAM,EAAE,OAAO,EAAE,GAAG,MAAM,QAAQ,CAAC,2BAA2B,CAAC,IAAI,CAAC,CAAA;YACpE,MAAM,eAAe,GA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