@fuel-ts/account 0.89.1 → 0.90.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 (50) 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 +3328 -3275
  12. package/dist/index.global.js.map +1 -1
  13. package/dist/index.js +217 -169
  14. package/dist/index.js.map +1 -1
  15. package/dist/index.mjs +121 -72
  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 +58 -0
  20. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  21. package/dist/providers/chains.d.ts +1 -1
  22. package/dist/providers/provider.d.ts +12 -2
  23. package/dist/providers/provider.d.ts.map +1 -1
  24. package/dist/providers/utils/auto-retry-fetch.d.ts.map +1 -1
  25. package/dist/providers/utils/index.d.ts +0 -1
  26. package/dist/providers/utils/index.d.ts.map +1 -1
  27. package/dist/test-utils/asset-id.d.ts +8 -0
  28. package/dist/test-utils/asset-id.d.ts.map +1 -0
  29. package/dist/test-utils/launchNode.d.ts +8 -1
  30. package/dist/test-utils/launchNode.d.ts.map +1 -1
  31. package/dist/test-utils/setup-test-provider-and-wallets.d.ts +33 -0
  32. package/dist/test-utils/setup-test-provider-and-wallets.d.ts.map +1 -0
  33. package/dist/test-utils/test-message.d.ts +29 -0
  34. package/dist/test-utils/test-message.d.ts.map +1 -0
  35. package/dist/test-utils/wallet-config.d.ts +55 -0
  36. package/dist/test-utils/wallet-config.d.ts.map +1 -0
  37. package/dist/test-utils.d.ts +8 -0
  38. package/dist/test-utils.d.ts.map +1 -0
  39. package/dist/test-utils.global.js +2275 -1900
  40. package/dist/test-utils.global.js.map +1 -1
  41. package/dist/test-utils.js +491 -210
  42. package/dist/test-utils.js.map +1 -1
  43. package/dist/test-utils.mjs +398 -121
  44. package/dist/test-utils.mjs.map +1 -1
  45. package/dist/wallet/base-wallet-unlocked.d.ts +1 -1
  46. package/package.json +18 -17
  47. package/dist/providers/utils/sleep.d.ts +0 -3
  48. package/dist/providers/utils/sleep.d.ts.map +0 -1
  49. package/dist/test-utils/index.d.ts +0 -4
  50. 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,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuel-ts/account",
3
- "version": "0.89.1",
3
+ "version": "0.90.0",
4
4
  "description": "",
5
5
  "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
6
6
  "main": "dist/index.js",
@@ -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,7 +41,7 @@
41
41
  ],
42
42
  "license": "Apache-2.0",
43
43
  "dependencies": {
44
- "@fuels/vm-asm": "0.50.0",
44
+ "@fuels/vm-asm": "0.54.0",
45
45
  "@noble/curves": "^1.3.0",
46
46
  "events": "^3.3.0",
47
47
  "graphql": "^16.8.1",
@@ -51,19 +51,20 @@
51
51
  "ramda": "^0.29.0",
52
52
  "tree-kill": "^1.2.2",
53
53
  "uuid": "^9.0.0",
54
- "@fuel-ts/abi-coder": "0.89.1",
55
- "@fuel-ts/address": "0.89.1",
56
- "@fuel-ts/crypto": "0.89.1",
57
- "@fuel-ts/errors": "0.89.1",
58
- "@fuel-ts/hasher": "0.89.1",
59
- "@fuel-ts/interfaces": "0.89.1",
60
- "@fuel-ts/math": "0.89.1",
61
- "@fuel-ts/merkle": "0.89.1",
62
- "@fuel-ts/transactions": "0.89.1",
63
- "@fuel-ts/utils": "0.89.1",
64
- "@fuel-ts/versions": "0.89.1"
54
+ "@fuel-ts/abi-coder": "0.90.0",
55
+ "@fuel-ts/address": "0.90.0",
56
+ "@fuel-ts/crypto": "0.90.0",
57
+ "@fuel-ts/errors": "0.90.0",
58
+ "@fuel-ts/hasher": "0.90.0",
59
+ "@fuel-ts/interfaces": "0.90.0",
60
+ "@fuel-ts/math": "0.90.0",
61
+ "@fuel-ts/merkle": "0.90.0",
62
+ "@fuel-ts/transactions": "0.90.0",
63
+ "@fuel-ts/utils": "0.90.0",
64
+ "@fuel-ts/versions": "0.90.0"
65
65
  },
66
66
  "devDependencies": {
67
+ "type-fest": "^4.6.0",
67
68
  "@graphql-codegen/cli": "^2.13.7",
68
69
  "@graphql-codegen/typescript": "^2.8.0",
69
70
  "@graphql-codegen/typescript-generic-sdk": "^3.1.0",
@@ -71,9 +72,9 @@
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.1",
75
- "@fuel-ts/math": "0.89.1",
76
- "@fuel-ts/utils": "0.89.1"
75
+ "@fuel-ts/hasher": "0.90.0",
76
+ "@fuel-ts/math": "0.90.0",
77
+ "@fuel-ts/utils": "0.90.0"
77
78
  },
78
79
  "scripts": {
79
80
  "build": "tsup",
@@ -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"}