@tatumio/flow 2.0.1-alpha.377 → 2.0.1-alpha.378

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/flow",
3
- "version": "2.0.1-alpha.377",
3
+ "version": "2.0.1-alpha.378",
4
4
  "license": "MIT",
5
5
  "main": "./src/index.js",
6
6
  "types": "./src/index.d.ts",
7
7
  "dependencies": {
8
- "@tatumio/api-client": "2.0.1-alpha.377",
8
+ "@tatumio/api-client": "2.0.1-alpha.378",
9
9
  "axios": "^0.26.0",
10
10
  "form-data": "^4.0.0",
11
- "@tatumio/shared-testing-common": "2.0.1-alpha.377",
11
+ "@tatumio/shared-testing-common": "2.0.1-alpha.378",
12
12
  "dedent-js": "^1.0.1",
13
- "@tatumio/shared-core": "2.0.1-alpha.377",
14
- "@tatumio/shared-abstract-sdk": "2.0.1-alpha.377",
13
+ "@tatumio/shared-core": "2.0.1-alpha.378",
14
+ "@tatumio/shared-abstract-sdk": "2.0.1-alpha.378",
15
15
  "bignumber.js": "^9.0.2",
16
16
  "lodash": "^4.17.21",
17
- "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.377",
17
+ "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.378",
18
18
  "@onflow/util-encode-key": "^1.0.3",
19
19
  "sha3": "^2.1.4",
20
20
  "@onflow/fcl": "^1.3.2",
package/src/index.d.ts CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from './lib/flow.sdk';
2
2
  export * from './lib/flow.types';
3
3
  export * from './lib/flow.constants';
4
+ export * from './lib/utils/flow.utils';
package/src/index.js CHANGED
@@ -4,4 +4,5 @@ const tslib_1 = require("tslib");
4
4
  tslib_1.__exportStar(require("./lib/flow.sdk"), exports);
5
5
  tslib_1.__exportStar(require("./lib/flow.types"), exports);
6
6
  tslib_1.__exportStar(require("./lib/flow.constants"), exports);
7
+ tslib_1.__exportStar(require("./lib/utils/flow.utils"), exports);
7
8
  //# sourceMappingURL=index.js.map
package/src/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/blockchain/flow/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA8B;AAC9B,2DAAgC;AAChC,+DAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../packages/blockchain/flow/src/index.ts"],"names":[],"mappings":";;;AAAA,yDAA8B;AAC9B,2DAAgC;AAChC,+DAAoC;AACpC,iEAAsC"}
@@ -25,17 +25,17 @@ export declare const TatumFlowSDK: (args: FlowSDKArguments) => {
25
25
  };
26
26
  transaction: {
27
27
  send: {
28
- transferSignedTransaction: (body: import("./utils/flow.utils").TransferFlow, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
29
- customSignedTransaction: (body: import("./utils/flow.utils").TransferFlowCustomTx, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
28
+ transferSignedTransaction: (body: import("..").TransferFlow, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
29
+ customSignedTransaction: (body: import("..").TransferFlowCustomTx, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
30
30
  };
31
31
  };
32
32
  account: {
33
33
  send: {
34
- createSignedTransaction: (body: import("./utils/flow.utils").CreateAddressFromPubKey, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").SignatureId | {
34
+ createSignedTransaction: (body: import("..").CreateAddressFromPubKey, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").SignatureId | {
35
35
  txId?: string | undefined;
36
36
  address?: string | undefined;
37
37
  }>;
38
- publicKeySignedTransaction: (body: import("./utils/flow.utils").CreateAddressFromPubKey, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
38
+ publicKeySignedTransaction: (body: import("..").CreateAddressFromPubKey, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
39
39
  };
40
40
  };
41
41
  nft: {
@@ -63,10 +63,10 @@ export declare const TatumFlowSDK: (args: FlowSDKArguments) => {
63
63
  getNftMetadata: (account: string, id: string, contractAddress: string) => Promise<any>;
64
64
  getNftTokenByAddress: (account: string, tokenType: string) => Promise<any>;
65
65
  send: {
66
- mintSignedTransaction: (body: import("./utils/flow.utils").MintFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
67
- mintMultipleSignedTransaction: (body: import("./utils/flow.utils").MintMultipleFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
68
- transferSignedTransaction: (body: import("./utils/flow.utils").TransferFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
69
- burnSignedTransaction: (body: import("./utils/flow.utils").BurnFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
66
+ mintSignedTransaction: (body: import("..").MintFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedResult | import("@tatumio/api-client").SolanaMintedResult | import("@tatumio/api-client").AlgorandMintedResult>;
67
+ mintMultipleSignedTransaction: (body: import("..").MintMultipleFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId | import("@tatumio/api-client").FlowMintedMultipleResult>;
68
+ transferSignedTransaction: (body: import("..").TransferFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
69
+ burnSignedTransaction: (body: import("..").BurnFlowNft, proposer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined, payer?: ((isPayer: boolean) => import("./flow.types").AccountSigner) | undefined) => Promise<import("@tatumio/api-client").TransactionHash | import("@tatumio/api-client").SignatureId>;
70
70
  };
71
71
  };
72
72
  storage: {