@fuel-ts/account 0.83.0 → 0.85.0
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.
Potentially problematic release.
This version of @fuel-ts/account might be problematic. Click here for more details.
- package/README.md +15 -12
- package/dist/account.d.ts +6 -6
- package/dist/account.d.ts.map +1 -1
- package/dist/index.global.js +1800 -1753
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +619 -414
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +520 -319
- package/dist/index.mjs.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +532 -615
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/assets/assets.d.ts +9 -0
- package/dist/providers/assets/assets.d.ts.map +1 -0
- package/dist/providers/assets/index.d.ts +1 -2
- package/dist/providers/assets/index.d.ts.map +1 -1
- package/dist/providers/assets/utils/fuelAssetsBaseUrl.d.ts +2 -0
- package/dist/providers/assets/utils/fuelAssetsBaseUrl.d.ts.map +1 -0
- package/dist/providers/assets/utils/index.d.ts +1 -0
- package/dist/providers/assets/utils/index.d.ts.map +1 -1
- package/dist/providers/assets/utils/resolveIconPaths.d.ts.map +1 -1
- package/dist/providers/message.d.ts +2 -2
- package/dist/providers/message.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +28 -31
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/resource.d.ts +0 -1
- package/dist/providers/resource.d.ts.map +1 -1
- package/dist/providers/transaction-request/helpers.d.ts +8 -0
- package/dist/providers/transaction-request/helpers.d.ts.map +1 -0
- package/dist/providers/transaction-request/script-transaction-request.d.ts +2 -3
- package/dist/providers/transaction-request/script-transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/transaction-request.d.ts +5 -6
- package/dist/providers/transaction-request/transaction-request.d.ts.map +1 -1
- package/dist/providers/transaction-request/utils.d.ts +2 -1
- package/dist/providers/transaction-request/utils.d.ts.map +1 -1
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts +2 -2
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.d.ts +20 -0
- package/dist/providers/transaction-summary/calculate-tx-fee-for-summary.d.ts.map +1 -0
- package/dist/providers/transaction-summary/get-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/index.d.ts +1 -1
- package/dist/providers/transaction-summary/index.d.ts.map +1 -1
- package/dist/providers/transaction-summary/operations.d.ts +4 -0
- package/dist/providers/transaction-summary/operations.d.ts.map +1 -1
- package/dist/providers/transaction-summary/receipt.d.ts +2 -2
- package/dist/providers/transaction-summary/receipt.d.ts.map +1 -1
- package/dist/providers/transaction-summary/status.d.ts +5 -1
- package/dist/providers/transaction-summary/status.d.ts.map +1 -1
- package/dist/providers/transaction-summary/types.d.ts +11 -14
- package/dist/providers/transaction-summary/types.d.ts.map +1 -1
- package/dist/providers/utils/extract-tx-error.d.ts +2 -2
- package/dist/providers/utils/extract-tx-error.d.ts.map +1 -1
- package/dist/providers/utils/gas.d.ts +7 -6
- package/dist/providers/utils/gas.d.ts.map +1 -1
- package/dist/providers/utils/receipts.d.ts +2 -2
- package/dist/providers/utils/receipts.d.ts.map +1 -1
- package/dist/test-utils/launchNode.d.ts.map +1 -1
- package/dist/test-utils/resources.d.ts +4 -0
- package/dist/test-utils/resources.d.ts.map +1 -0
- package/dist/test-utils/transactionRequest.d.ts +5 -0
- package/dist/test-utils/transactionRequest.d.ts.map +1 -0
- package/dist/test-utils.global.js +1826 -1756
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +609 -398
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +521 -310
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +17 -17
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts +0 -22
- package/dist/providers/transaction-summary/calculate-transaction-fee.d.ts.map +0 -1
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@fuel-ts/account",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.85.0",
|
4
4
|
"description": "",
|
5
5
|
"author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
|
6
6
|
"main": "dist/index.js",
|
@@ -41,28 +41,28 @@
|
|
41
41
|
],
|
42
42
|
"license": "Apache-2.0",
|
43
43
|
"dependencies": {
|
44
|
-
"@fuels/vm-asm": "0.
|
44
|
+
"@fuels/vm-asm": "0.49.0",
|
45
45
|
"@noble/curves": "^1.3.0",
|
46
46
|
"ethers": "^6.7.1",
|
47
47
|
"events": "^3.3.0",
|
48
|
-
"graphql": "^16.
|
48
|
+
"graphql": "^16.8.1",
|
49
49
|
"graphql-request": "5.0.0",
|
50
50
|
"graphql-tag": "^2.12.6",
|
51
51
|
"portfinder": "^1.0.32",
|
52
52
|
"ramda": "^0.29.0",
|
53
53
|
"tree-kill": "^1.2.2",
|
54
54
|
"uuid": "^9.0.0",
|
55
|
-
"@fuel-ts/abi-coder": "0.
|
56
|
-
"@fuel-ts/address": "0.
|
57
|
-
"@fuel-ts/crypto": "0.
|
58
|
-
"@fuel-ts/errors": "0.
|
59
|
-
"@fuel-ts/hasher": "0.
|
60
|
-
"@fuel-ts/interfaces": "0.
|
61
|
-
"@fuel-ts/math": "0.
|
62
|
-
"@fuel-ts/merkle": "0.
|
63
|
-
"@fuel-ts/transactions": "0.
|
64
|
-
"@fuel-ts/utils": "0.
|
65
|
-
"@fuel-ts/versions": "0.
|
55
|
+
"@fuel-ts/abi-coder": "0.85.0",
|
56
|
+
"@fuel-ts/address": "0.85.0",
|
57
|
+
"@fuel-ts/crypto": "0.85.0",
|
58
|
+
"@fuel-ts/errors": "0.85.0",
|
59
|
+
"@fuel-ts/hasher": "0.85.0",
|
60
|
+
"@fuel-ts/interfaces": "0.85.0",
|
61
|
+
"@fuel-ts/math": "0.85.0",
|
62
|
+
"@fuel-ts/merkle": "0.85.0",
|
63
|
+
"@fuel-ts/transactions": "0.85.0",
|
64
|
+
"@fuel-ts/utils": "0.85.0",
|
65
|
+
"@fuel-ts/versions": "0.85.0"
|
66
66
|
},
|
67
67
|
"devDependencies": {
|
68
68
|
"@graphql-codegen/cli": "^2.13.7",
|
@@ -72,9 +72,9 @@
|
|
72
72
|
"@types/ramda": "^0.29.3",
|
73
73
|
"@types/uuid": "^9.0.1",
|
74
74
|
"get-graphql-schema": "^2.1.2",
|
75
|
-
"@fuel-ts/hasher": "0.
|
76
|
-
"@fuel-ts/math": "0.
|
77
|
-
"@fuel-ts/utils": "0.
|
75
|
+
"@fuel-ts/hasher": "0.85.0",
|
76
|
+
"@fuel-ts/math": "0.85.0",
|
77
|
+
"@fuel-ts/utils": "0.85.0"
|
78
78
|
},
|
79
79
|
"scripts": {
|
80
80
|
"build": "tsup",
|
@@ -1,22 +0,0 @@
|
|
1
|
-
import type { BN } from '@fuel-ts/math';
|
2
|
-
import type { GqlConsensusParameters, GqlFeeParameters } from '../__generated__/operations';
|
3
|
-
type FeeParams = Pick<GqlFeeParameters, 'gasPerByte' | 'gasPriceFactor'> | {
|
4
|
-
gasPerByte: BN | number;
|
5
|
-
gasPriceFactor: BN | number;
|
6
|
-
};
|
7
|
-
export type CalculateTransactionFeeParams = {
|
8
|
-
gasPrice: BN;
|
9
|
-
rawPayload: string;
|
10
|
-
tip: BN;
|
11
|
-
consensusParameters: Pick<GqlConsensusParameters, 'gasCosts'> & {
|
12
|
-
feeParams: FeeParams;
|
13
|
-
maxGasPerTx: BN;
|
14
|
-
};
|
15
|
-
};
|
16
|
-
export declare const calculateTransactionFee: (params: CalculateTransactionFeeParams) => {
|
17
|
-
fee: BN;
|
18
|
-
minFee: BN;
|
19
|
-
maxFee: BN;
|
20
|
-
};
|
21
|
-
export {};
|
22
|
-
//# sourceMappingURL=calculate-transaction-fee.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"calculate-transaction-fee.d.ts","sourceRoot":"","sources":["../../../src/providers/transaction-summary/calculate-transaction-fee.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,EAAE,MAAM,eAAe,CAAC;AAMxC,OAAO,KAAK,EAAE,sBAAsB,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAS5F,KAAK,SAAS,GACV,IAAI,CAAC,gBAAgB,EAAE,YAAY,GAAG,gBAAgB,CAAC,GACvD;IACE,UAAU,EAAE,EAAE,GAAG,MAAM,CAAC;IACxB,cAAc,EAAE,EAAE,GAAG,MAAM,CAAC;CAC7B,CAAC;AAEN,MAAM,MAAM,6BAA6B,GAAG;IAC1C,QAAQ,EAAE,EAAE,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,EAAE,CAAC;IACR,mBAAmB,EAAE,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC,GAAG;QAC9D,SAAS,EAAE,SAAS,CAAC;QACrB,WAAW,EAAE,EAAE,CAAC;KACjB,CAAC;CACH,CAAC;AAEF,eAAO,MAAM,uBAAuB,WAAY,6BAA6B;;;;CAgG5E,CAAC"}
|