@tatumio/flow 2.0.1-alpha.351 → 2.0.1-alpha.353

Sign up to get free protection for your applications and to get access to all the features.
Files changed (36) hide show
  1. package/package.json +10 -8
  2. package/src/index.d.ts +1 -0
  3. package/src/index.js +1 -0
  4. package/src/index.js.map +1 -1
  5. package/src/lib/flow.constants.d.ts +12 -0
  6. package/src/lib/flow.constants.js +13 -1
  7. package/src/lib/flow.constants.js.map +1 -1
  8. package/src/lib/flow.sdk.d.ts +64 -51
  9. package/src/lib/flow.sdk.errors.d.ts +4 -2
  10. package/src/lib/flow.sdk.errors.js +8 -5
  11. package/src/lib/flow.sdk.errors.js.map +1 -1
  12. package/src/lib/flow.sdk.js +12 -1
  13. package/src/lib/flow.sdk.js.map +1 -1
  14. package/src/lib/flow.types.d.ts +56 -0
  15. package/src/lib/flow.types.js +38 -0
  16. package/src/lib/flow.types.js.map +1 -0
  17. package/src/lib/services/flow.blockchain.js +7 -7
  18. package/src/lib/services/flow.blockchain.js.map +1 -1
  19. package/src/lib/services/flow.kms.d.ts +11 -9
  20. package/src/lib/services/flow.kms.js +22 -10
  21. package/src/lib/services/flow.kms.js.map +1 -1
  22. package/src/lib/services/flow.provider.d.ts +11 -0
  23. package/src/lib/services/flow.provider.js +17 -0
  24. package/src/lib/services/flow.provider.js.map +1 -0
  25. package/src/lib/services/flow.tx.d.ts +86 -94
  26. package/src/lib/services/flow.tx.js +389 -307
  27. package/src/lib/services/flow.tx.js.map +1 -1
  28. package/src/lib/services/flow.tx.templates.d.ts +1 -0
  29. package/src/lib/services/flow.tx.templates.js +23 -12
  30. package/src/lib/services/flow.tx.templates.js.map +1 -1
  31. package/src/lib/services/flow.virtualAccount.d.ts +31 -0
  32. package/src/lib/services/flow.virtualAccount.js +20 -0
  33. package/src/lib/services/flow.virtualAccount.js.map +1 -0
  34. package/src/lib/utils/flow.utils.d.ts +6 -0
  35. package/src/lib/utils/flow.utils.js +18 -0
  36. package/src/lib/utils/flow.utils.js.map +1 -0
@@ -1 +1 @@
1
- {"version":3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C,GAAG,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAAA;IAC3D,CAAC;IAED,SAAS,WAAW,CAAC,OAAe;QAClC,MAAM,KAAK,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;QAClC,IAAI,CAAC,KAAK;YAAE,OAAO,SAAS,CAAA;QAC5B,OAAO,OAAO,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IAChD,CAAC;IAED,SAAS,aAAa,CAAC,GAAa;QAClC,OAAO,GAAG,CAAC,IAAI,KAAK,OAAO,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,OAAc,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,IAAI,CAAC,CAAA;IAC5F,CAAC;IAED,SAAe,iBAAiB,CAAC,OAAgB;;YAC/C,IAAI;gBACF,IAAI,OAAO,EAAE;oBACX,MAAM,GAAG,GAAG,WAAW,CAAC,OAAO,CAAC,CAAA;oBAChC,IAAI,GAAG,EAAE;wBACP,MAAM,QAAQ,CAAC,SAAS,CAAC,EAAE,EAAE,SAAS,EAAE,GAAG,CAAC,KAAK,CAAC,CAAA;wBAClD,OAAO,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;qBAC5B;iBACF;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,MAAM,IAAI,8BAAY,CAAC,EAAE,KAAK,EAAE,CAAU,EAAE,CAAC,CAAA;aAC9C;QACH,CAAC;KAAA;AACH,CAAC,CAAA;AA3nBY,QAAA,aAAa,iBA2nBzB"}
@@ -8,5 +8,6 @@ export declare const flowTxTemplates: () => {
8
8
  transferNftTokenTxTemplate: (testnet: boolean) => string;
9
9
  prepareAddPublicKeyToAccountTxTemplate: () => string;
10
10
  prepareTransferTxTemplate: (testnet: boolean, tokenAddress: string, tokenName: string, tokenStorage: string) => string;
11
+ prepareBalanceTxTemplate: (testnet: boolean, tokenAddress: string, tokenName: string, tokenStorage: string) => string;
11
12
  prepareCreateAccountWithFUSDFromPublicKeyTxTemplate: (testnet: boolean) => string;
12
13
  };
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.flowTxTemplates = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const dedent_js_1 = tslib_1.__importDefault(require("dedent-js"));
6
- const flow_tx_1 = require("./flow.tx");
6
+ const flow_constants_1 = require("../flow.constants");
7
7
  const flowTxTemplates = () => {
8
8
  return {
9
9
  deployNftTokenTypeWithMinterTxTemplate: (testnet) => (0, dedent_js_1.default) `
10
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
10
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
11
11
  transaction(type: String) {
12
12
  // local variable for storing the minter reference
13
13
  let minter: &TatumMultiNFT.AdminMinter
@@ -25,7 +25,7 @@ transaction(type: String) {
25
25
  }
26
26
  `,
27
27
  metadataNftTokenScript: (testnet) => (0, dedent_js_1.default) `
28
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
28
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
29
29
  pub fun main(account: Address, id: UInt64, type: String): String {
30
30
  let collectionRef = getAccount(account)
31
31
  .getCapability(TatumMultiNFT.CollectionPublicPath)
@@ -39,7 +39,7 @@ pub fun main(account: Address, id: UInt64, type: String): String {
39
39
  }
40
40
  }`,
41
41
  tokenByAddressNftTokenScript: (testnet) => (0, dedent_js_1.default) `
42
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
42
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
43
43
  pub fun main(address: Address, type: String): [UInt64] {
44
44
  let collectionRef = getAccount(address)
45
45
  .getCapability(TatumMultiNFT.CollectionPublicPath)
@@ -48,7 +48,7 @@ pub fun main(address: Address, type: String): [UInt64] {
48
48
  return collectionRef.getIDsByType(type: type)
49
49
  }`,
50
50
  mintNftTokenTxTemplate: (testnet) => (0, dedent_js_1.default) `
51
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
51
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
52
52
  transaction(recipient: Address, url: String, type: String) {
53
53
  // local variable for storing the minter reference
54
54
  let minter: &TatumMultiNFT.NFTMinter
@@ -70,7 +70,7 @@ transaction(recipient: Address, url: String, type: String) {
70
70
  }
71
71
  }`,
72
72
  mintMultipleNftTokenTxTemplate: (testnet) => (0, dedent_js_1.default) `
73
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
73
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
74
74
  transaction(recipient: [Address], url: [String], type: String) {
75
75
  // local variable for storing the minter reference
76
76
  let minter: &TatumMultiNFT.NFTMinter
@@ -96,7 +96,7 @@ transaction(recipient: [Address], url: [String], type: String) {
96
96
  }
97
97
  }`,
98
98
  burnNftTokenTxTemplate: (testnet) => (0, dedent_js_1.default) `
99
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
99
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
100
100
  transaction(withdrawID: UInt64, type: String) {
101
101
  // local variable for storing the minter reference
102
102
  let senderCollection: &TatumMultiNFT.Collection
@@ -115,7 +115,7 @@ transaction(withdrawID: UInt64, type: String) {
115
115
  }
116
116
  }`,
117
117
  transferNftTokenTxTemplate: (testnet) => (0, dedent_js_1.default) `
118
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
118
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
119
119
  transaction(recipient: Address, withdrawID: UInt64) {
120
120
  // local variable for storing the minter reference
121
121
  let senderCollection: &TatumMultiNFT.Collection
@@ -140,7 +140,7 @@ prepare(signer: AuthAccount) {
140
140
  signer.addPublicKey(publicKey.decodeHex())
141
141
  }
142
142
  }`,
143
- prepareTransferTxTemplate: (testnet, tokenAddress, tokenName, tokenStorage) => (0, dedent_js_1.default) `import FungibleToken from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.FungibleToken : flow_tx_1.FLOW_MAINNET_ADDRESSES.FungibleToken}
143
+ prepareTransferTxTemplate: (testnet, tokenAddress, tokenName, tokenStorage) => (0, dedent_js_1.default) `import FungibleToken from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.FungibleToken : flow_constants_1.FLOW_MAINNET_ADDRESSES.FungibleToken}
144
144
  import ${tokenName} from ${tokenAddress}
145
145
  transaction(amount: UFix64, recipient: Address) {
146
146
  let sentVault: @FungibleToken.Vault
@@ -157,9 +157,20 @@ transaction(amount: UFix64, recipient: Address) {
157
157
  receiverRef.deposit(from: <-self.sentVault)
158
158
  }
159
159
  }`,
160
- prepareCreateAccountWithFUSDFromPublicKeyTxTemplate: (testnet) => (0, dedent_js_1.default) `import FungibleToken from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.FungibleToken : flow_tx_1.FLOW_MAINNET_ADDRESSES.FungibleToken}
161
- import FUSD from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.FUSD : flow_tx_1.FLOW_MAINNET_ADDRESSES.FUSD}
162
- import TatumMultiNFT from ${testnet ? flow_tx_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_tx_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
160
+ prepareBalanceTxTemplate: (testnet, tokenAddress, tokenName, tokenStorage) => (0, dedent_js_1.default) `import FungibleToken from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.FungibleToken : flow_constants_1.FLOW_MAINNET_ADDRESSES.FungibleToken}
161
+ import ${tokenName} from ${tokenAddress}
162
+ pub fun main(address: Address): UFix64 {
163
+ let account = getAccount(address)
164
+
165
+ let vaultRef = account.getCapability(/public/${tokenStorage}Balance)!
166
+ .borrow<&${tokenName}.Vault{FungibleToken.Balance}>()
167
+ ?? panic("Could not borrow Balance reference to the Vault")
168
+
169
+ return vaultRef.balance
170
+ }`,
171
+ prepareCreateAccountWithFUSDFromPublicKeyTxTemplate: (testnet) => (0, dedent_js_1.default) `import FungibleToken from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.FungibleToken : flow_constants_1.FLOW_MAINNET_ADDRESSES.FungibleToken}
172
+ import FUSD from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.FUSD : flow_constants_1.FLOW_MAINNET_ADDRESSES.FUSD}
173
+ import TatumMultiNFT from ${testnet ? flow_constants_1.FLOW_TESTNET_ADDRESSES.TatumMultiNFT : flow_constants_1.FLOW_MAINNET_ADDRESSES.TatumMultiNFT}
163
174
  transaction(publicKey: String) {
164
175
  let account: AuthAccount
165
176
  prepare(signer: AuthAccount) {
@@ -1 +1 @@
1
- {"version":3,"file":"flow.tx.templates.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/flow/src/lib/services/flow.tx.templates.ts"],"names":[],"mappings":";;;;AAAA,kEAA8B;AAC9B,uCAA0E;AAEnE,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,OAAO;QACL,sCAAsC,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAElE,OAAO,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAC1E;;;;;;;;;;;;;;;;CAgBH;QACG,sBAAsB,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAElD,OAAO,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAC1E;;;;;;;;;;;;EAYF;QACE,4BAA4B,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAExD,OAAO,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAC1E;;;;;;;EAOF;QACE,sBAAsB,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAElD,OAAO,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAC1E;;;;;;;;;;;;;;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sB,CAAC,aAAa,CAAC,CAAC,CAAC,gCAAsB,CAAC,aAC1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BC;KACA,CAAA;AACH,CAAC,CAAA;AArNY,QAAA,eAAe,mBAqN3B"}
1
+ {"version":3,"file":"flow.tx.templates.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/flow/src/lib/services/flow.tx.templates.ts"],"names":[],"mappings":";;;;AAAA,kEAA8B;AAC9B,sDAAkF;AAE3E,MAAM,eAAe,GAAG,GAAG,EAAE;IAClC,OAAO;QACL,sCAAsC,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAElE,OAAO,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAC1E;;;;;;;;;;;;;;;;CAgBH;QACG,sBAAsB,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAElD,OAAO,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAC1E;;;;;;;;;;;;EAYF;QACE,4BAA4B,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAExD,OAAO,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAC1E;;;;;;;EAOF;QACE,sBAAsB,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAElD,OAAO,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAC1E;;;;;;;;;;;;;;;;;;;;EAoBF;QACE,8BAA8B,EAAE,CAAC,OAAgB,EAAE,EAAE,CAAC,IAAA,mBAAM,EAAA;4BAE1D,OAAO,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAC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sB,CAAC,IAAI,CAAC,CAAC,CAAC,uCAAsB,CAAC,IAAI;8BAEpF,OAAO,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAAa,CAAC,CAAC,CAAC,uCAAsB,CAAC,aAC1E;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BC;KACA,CAAA;AACH,CAAC,CAAA;AAxOY,QAAA,eAAe,mBAwO3B"}
@@ -0,0 +1,31 @@
1
+ import { TransferFlowPK } from '@tatumio/api-client';
2
+ import { PrivateKeyOrSignatureId } from '@tatumio/shared-blockchain-abstract';
3
+ import { Blockchain } from '@tatumio/shared-core';
4
+ declare type TransferVirtualAccountFlow = PrivateKeyOrSignatureId<TransferFlowPK>;
5
+ export declare const virtualAccountService: (args: {
6
+ blockchain: Blockchain;
7
+ }) => {
8
+ /**
9
+ * Send FLOW transaction from Tatum Ledger account to the blockchain. This method broadcasts signed transaction to the blockchain.
10
+ * This operation is irreversible.
11
+ * @param body content of the transaction to broadcast
12
+ * @returns transaction id of the transaction in the blockchain or id of the withdrawal, if it was not cancelled automatically
13
+ */
14
+ send: (body: TransferVirtualAccountFlow) => Promise<import("@tatumio/api-client").OffchainTransactionResult | import("@tatumio/api-client").OffchainTransactionSignatureResult>;
15
+ depositAddress: {
16
+ checkExists: (address: string, index?: number | undefined) => Promise<any>;
17
+ create: any;
18
+ createMultiple: any;
19
+ assign: any;
20
+ remove: any;
21
+ getByAccount: any;
22
+ };
23
+ withdrawal: {
24
+ getAll: (status?: "InProgress" | "Done" | "Cancelled" | undefined, pageSize?: number | undefined, offset?: number | undefined) => Promise<any[]>;
25
+ broadcast: any;
26
+ create: any;
27
+ complete: any;
28
+ };
29
+ storeTokenAddress: any;
30
+ };
31
+ export {};
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.virtualAccountService = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const api_client_1 = require("@tatumio/api-client");
6
+ const shared_blockchain_abstract_1 = require("@tatumio/shared-blockchain-abstract");
7
+ const virtualAccountService = (args) => {
8
+ return Object.assign(Object.assign({}, (0, shared_blockchain_abstract_1.abstractBlockchainVirtualAccount)(args)), {
9
+ /**
10
+ * Send FLOW transaction from Tatum Ledger account to the blockchain. This method broadcasts signed transaction to the blockchain.
11
+ * This operation is irreversible.
12
+ * @param body content of the transaction to broadcast
13
+ * @returns transaction id of the transaction in the blockchain or id of the withdrawal, if it was not cancelled automatically
14
+ */
15
+ send: (body) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
16
+ return api_client_1.ApiServices.offChain.blockchain.flowTransfer(body);
17
+ }) });
18
+ };
19
+ exports.virtualAccountService = virtualAccountService;
20
+ //# sourceMappingURL=flow.virtualAccount.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow.virtualAccount.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/flow/src/lib/services/flow.virtualAccount.ts"],"names":[],"mappings":";;;;AAAA,oDAAwG;AACxG,oFAG4C;AAKrC,MAAM,qBAAqB,GAAG,CAAC,IAAgC,EAAE,EAAE;IACxE,uCACK,IAAA,6DAAgC,EAAC,IAAI,CAAC;QACzC;;;;;WAKG;QACH,IAAI,EAAE,CAAO,IAAgC,EAAE,EAAE;YAC/C,OAAO,wBAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,YAAY,CACjD,IAA+D,CAChE,CAAA;QACH,CAAC,CAAA,IACF;AACH,CAAC,CAAA;AAfY,QAAA,qBAAqB,yBAejC"}
@@ -0,0 +1,6 @@
1
+ import { Currency } from '@tatumio/api-client';
2
+ export declare type FlowCurrency = Currency.FLOW | Currency.FUSD;
3
+ export declare const flowUtils: {
4
+ isFlowCurrency: (currency: string) => currency is FlowCurrency;
5
+ wrapFlowErrorIfNeeded: (e: Error | string) => Error;
6
+ };
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.flowUtils = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const api_client_1 = require("@tatumio/api-client");
6
+ const lodash_1 = tslib_1.__importDefault(require("lodash"));
7
+ exports.flowUtils = {
8
+ isFlowCurrency: (currency) => {
9
+ return [api_client_1.Currency.FLOW, api_client_1.Currency.FUSD].map((i) => i.toString()).includes(currency);
10
+ },
11
+ wrapFlowErrorIfNeeded: (e) => {
12
+ if (lodash_1.default.isString(e)) {
13
+ return new Error(e);
14
+ }
15
+ return e;
16
+ },
17
+ };
18
+ //# sourceMappingURL=flow.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"flow.utils.js","sourceRoot":"","sources":["../../../../../../../packages/blockchain/flow/src/lib/utils/flow.utils.ts"],"names":[],"mappings":";;;;AAAA,oDAA8C;AAC9C,4DAAsB;AAIT,QAAA,SAAS,GAAG;IACvB,cAAc,EAAE,CAAC,QAAgB,EAA4B,EAAE;QAC7D,OAAO,CAAC,qBAAQ,CAAC,IAAI,EAAE,qBAAQ,CAAC,IAAI,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAA;IACnF,CAAC;IACD,qBAAqB,EAAE,CAAC,CAAiB,EAAS,EAAE;QAClD,IAAI,gBAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,EAAE;YACjB,OAAO,IAAI,KAAK,CAAC,CAAC,CAAC,CAAA;SACpB;QAED,OAAO,CAAC,CAAA;IACV,CAAC;CACF,CAAA"}