@fuel-ts/account 0.89.2 → 0.91.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.

Files changed (53) hide show
  1. package/dist/account.d.ts +8 -0
  2. package/dist/account.d.ts.map +1 -1
  3. package/dist/configs.d.ts +3 -1
  4. package/dist/configs.d.ts.map +1 -1
  5. package/dist/configs.global.js +4 -2
  6. package/dist/configs.global.js.map +1 -1
  7. package/dist/configs.js +10 -4
  8. package/dist/configs.js.map +1 -1
  9. package/dist/configs.mjs +7 -3
  10. package/dist/configs.mjs.map +1 -1
  11. package/dist/index.global.js +3228 -2762
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +246 -178
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +150 -81
  16. package/dist/index.mjs.map +1 -1
  17. package/dist/predicate/predicate.d.ts +8 -0
  18. package/dist/predicate/predicate.d.ts.map +1 -1
  19. package/dist/providers/__generated__/operations.d.ts +711 -505
  20. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  21. package/dist/providers/assets/utils/network.d.ts.map +1 -1
  22. package/dist/providers/chains.d.ts +1 -1
  23. package/dist/providers/provider.d.ts +12 -2
  24. package/dist/providers/provider.d.ts.map +1 -1
  25. package/dist/providers/utils/auto-retry-fetch.d.ts.map +1 -1
  26. package/dist/providers/utils/extract-tx-error.d.ts +2 -8
  27. package/dist/providers/utils/extract-tx-error.d.ts.map +1 -1
  28. package/dist/providers/utils/index.d.ts +0 -1
  29. package/dist/providers/utils/index.d.ts.map +1 -1
  30. package/dist/test-utils/asset-id.d.ts +8 -0
  31. package/dist/test-utils/asset-id.d.ts.map +1 -0
  32. package/dist/test-utils/launchNode.d.ts +10 -5
  33. package/dist/test-utils/launchNode.d.ts.map +1 -1
  34. package/dist/test-utils/setup-test-provider-and-wallets.d.ts +34 -0
  35. package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +1 -0
  36. package/dist/test-utils/test-message.d.ts +29 -0
  37. package/dist/test-utils/test-message.d.ts.map +1 -0
  38. package/dist/test-utils/wallet-config.d.ts +55 -0
  39. package/dist/test-utils/wallet-config.d.ts.map +1 -0
  40. package/dist/test-utils.d.ts +8 -0
  41. package/dist/test-utils.d.ts.map +1 -0
  42. package/dist/test-utils.global.js +2277 -1467
  43. package/dist/test-utils.global.js.map +1 -1
  44. package/dist/test-utils.js +546 -234
  45. package/dist/test-utils.js.map +1 -1
  46. package/dist/test-utils.mjs +452 -144
  47. package/dist/test-utils.mjs.map +1 -1
  48. package/dist/wallet/base-wallet-unlocked.d.ts +1 -1
  49. package/package.json +26 -25
  50. package/dist/providers/utils/sleep.d.ts +0 -3
  51. package/dist/providers/utils/sleep.d.ts.map +0 -1
  52. package/dist/test-utils/index.d.ts +0 -4
  53. package/dist/test-utils/index.d.ts.map +0 -1
@@ -64,7 +64,7 @@ export declare class BaseWalletUnlocked extends Account {
64
64
  */
65
65
  sendTransaction(transactionRequestLike: TransactionRequestLike, { estimateTxDependencies, awaitExecution }?: ProviderSendTxParams): Promise<TransactionResponse>;
66
66
  /**
67
- * Populates the witness signature for a transaction and sends a call to the network using `provider.call`.
67
+ * Populates the witness signature for a transaction and sends a call to the network using `provider.dryRun`.
68
68
  *
69
69
  * @param transactionRequestLike - The transaction request to simulate.
70
70
  * @returns A promise that resolves to the CallResult object.
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@fuel-ts/account",
3
- "version": "0.89.2",
3
+ "version": "0.91.0",
4
4
  "description": "",
5
5
  "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
6
6
  "main": "dist/index.js",
7
7
  "module": "dist/index.mjs",
8
8
  "types": "dist/index.d.ts",
9
9
  "engines": {
10
- "node": "^18.18.2 || ^20.0.0"
10
+ "node": "^18.20.3 || ^20.0.0 || ^22.0.0"
11
11
  },
12
12
  "exports": {
13
13
  ".": {
@@ -32,7 +32,7 @@
32
32
  "./dist/configs.d.ts"
33
33
  ],
34
34
  "test-utils": [
35
- "./dist/test-utils/index.d.ts"
35
+ "./dist/test-utils.d.ts"
36
36
  ]
37
37
  }
38
38
  },
@@ -41,8 +41,8 @@
41
41
  ],
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
- "@fuels/vm-asm": "0.50.0",
45
- "@noble/curves": "^1.3.0",
44
+ "@fuels/vm-asm": "0.54.0",
45
+ "@noble/curves": "^1.4.0",
46
46
  "events": "^3.3.0",
47
47
  "graphql": "^16.8.1",
48
48
  "graphql-request": "5.0.0",
@@ -50,35 +50,36 @@
50
50
  "portfinder": "^1.0.32",
51
51
  "ramda": "^0.29.0",
52
52
  "tree-kill": "^1.2.2",
53
- "uuid": "^9.0.0",
54
- "@fuel-ts/abi-coder": "0.89.2",
55
- "@fuel-ts/address": "0.89.2",
56
- "@fuel-ts/crypto": "0.89.2",
57
- "@fuel-ts/errors": "0.89.2",
58
- "@fuel-ts/hasher": "0.89.2",
59
- "@fuel-ts/interfaces": "0.89.2",
60
- "@fuel-ts/math": "0.89.2",
61
- "@fuel-ts/merkle": "0.89.2",
62
- "@fuel-ts/transactions": "0.89.2",
63
- "@fuel-ts/utils": "0.89.2",
64
- "@fuel-ts/versions": "0.89.2"
53
+ "uuid": "^10.0.0",
54
+ "@fuel-ts/abi-coder": "0.91.0",
55
+ "@fuel-ts/address": "0.91.0",
56
+ "@fuel-ts/crypto": "0.91.0",
57
+ "@fuel-ts/errors": "0.91.0",
58
+ "@fuel-ts/hasher": "0.91.0",
59
+ "@fuel-ts/interfaces": "0.91.0",
60
+ "@fuel-ts/math": "0.91.0",
61
+ "@fuel-ts/merkle": "0.91.0",
62
+ "@fuel-ts/transactions": "0.91.0",
63
+ "@fuel-ts/utils": "0.91.0",
64
+ "@fuel-ts/versions": "0.91.0"
65
65
  },
66
66
  "devDependencies": {
67
- "@graphql-codegen/cli": "^2.13.7",
68
- "@graphql-codegen/typescript": "^2.8.0",
69
- "@graphql-codegen/typescript-generic-sdk": "^3.1.0",
70
- "@graphql-codegen/typescript-operations": "^2.5.5",
67
+ "type-fest": "^4.6.0",
68
+ "@graphql-codegen/cli": "^5.0.2",
69
+ "@graphql-codegen/typescript": "^4.0.8",
70
+ "@graphql-codegen/typescript-generic-sdk": "^4.0.1",
71
+ "@graphql-codegen/typescript-operations": "^4.2.2",
71
72
  "@types/ramda": "^0.29.3",
72
73
  "@types/uuid": "^9.0.1",
73
74
  "get-graphql-schema": "^2.1.2",
74
- "@fuel-ts/hasher": "0.89.2",
75
- "@fuel-ts/math": "0.89.2",
76
- "@fuel-ts/utils": "0.89.2"
75
+ "@fuel-ts/hasher": "0.91.0",
76
+ "@fuel-ts/math": "0.91.0",
77
+ "@fuel-ts/utils": "0.91.0"
77
78
  },
78
79
  "scripts": {
79
80
  "build": "tsup",
80
81
  "prebuild": "pnpm build:operations",
81
- "build:schema": "get-graphql-schema http://localhost:4000/v1/graphql > src/providers/fuel-core-schema.graphql && prettier --write src/providers/fuel-core-schema.graphql",
82
+ "build:schema": "get-graphql-schema http://127.0.0.1:4000/v1/graphql > src/providers/fuel-core-schema.graphql && prettier --write src/providers/fuel-core-schema.graphql",
82
83
  "build:operations": "pnpm graphql-codegen",
83
84
  "postbuild": "tsx ../../scripts/postbuild.ts"
84
85
  }
@@ -1,3 +0,0 @@
1
- /** @hidden */
2
- export declare function sleep(time: number): Promise<unknown>;
3
- //# sourceMappingURL=sleep.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sleep.d.ts","sourceRoot":"","sources":["../../../src/providers/utils/sleep.ts"],"names":[],"mappings":"AAAA,cAAc;AACd,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,oBAMjC"}
@@ -1,4 +0,0 @@
1
- export * from './generateTestWallet';
2
- export * from './seedTestWallet';
3
- export * from './launchNode';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/test-utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC"}