@fuel-ts/account 0.75.0 → 0.77.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 (43) hide show
  1. package/dist/account.d.ts.map +1 -1
  2. package/dist/hdwallet/hdwallet.d.ts.map +1 -1
  3. package/dist/index.global.js +1002 -2498
  4. package/dist/index.global.js.map +1 -1
  5. package/dist/index.js +92 -72
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.mjs +156 -140
  8. package/dist/index.mjs.map +1 -1
  9. package/dist/mnemonic/mnemonic.d.ts.map +1 -1
  10. package/dist/mnemonic/utils.d.ts.map +1 -1
  11. package/dist/predicate/predicate.d.ts +16 -15
  12. package/dist/predicate/predicate.d.ts.map +1 -1
  13. package/dist/providers/__generated__/operations.d.ts +47 -38
  14. package/dist/providers/__generated__/operations.d.ts.map +1 -1
  15. package/dist/providers/assets/index.d.ts +1 -0
  16. package/dist/providers/assets/index.d.ts.map +1 -1
  17. package/dist/providers/assets/types.d.ts +5 -5
  18. package/dist/providers/assets/types.d.ts.map +1 -1
  19. package/dist/providers/assets/utils/network.d.ts +4 -4
  20. package/dist/providers/assets/utils/network.d.ts.map +1 -1
  21. package/dist/providers/assets/utils/resolveIconPaths.d.ts +1 -1
  22. package/dist/providers/fuel-graphql-subscriber.d.ts.map +1 -1
  23. package/dist/providers/provider.d.ts +24 -15
  24. package/dist/providers/provider.d.ts.map +1 -1
  25. package/dist/providers/transaction-request/hash-transaction.d.ts.map +1 -1
  26. package/dist/providers/transaction-response/getDecodedLogs.d.ts.map +1 -1
  27. package/dist/providers/transaction-response/transaction-response.d.ts.map +1 -1
  28. package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
  29. package/dist/providers/transaction-summary/index.d.ts +0 -1
  30. package/dist/providers/transaction-summary/index.d.ts.map +1 -1
  31. package/dist/providers/utils/index.d.ts +0 -1
  32. package/dist/providers/utils/index.d.ts.map +1 -1
  33. package/dist/test-utils.global.js +976 -2469
  34. package/dist/test-utils.global.js.map +1 -1
  35. package/dist/test-utils.js +68 -40
  36. package/dist/test-utils.js.map +1 -1
  37. package/dist/test-utils.mjs +113 -93
  38. package/dist/test-utils.mjs.map +1 -1
  39. package/package.json +16 -16
  40. package/dist/providers/transaction-summary/date.d.ts +0 -3
  41. package/dist/providers/transaction-summary/date.d.ts.map +0 -1
  42. package/dist/providers/utils/time.d.ts +0 -40
  43. package/dist/providers/utils/time.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fuel-ts/account",
3
- "version": "0.75.0",
3
+ "version": "0.77.0",
4
4
  "description": "",
5
5
  "author": "Fuel Labs <contact@fuel.sh> (https://fuel.network/)",
6
6
  "main": "dist/index.js",
@@ -56,18 +56,18 @@
56
56
  "portfinder": "^1.0.32",
57
57
  "tree-kill": "^1.2.2",
58
58
  "uuid": "^9.0.0",
59
- "@fuel-ts/abi-coder": "0.75.0",
60
- "@fuel-ts/address": "0.75.0",
61
- "@fuel-ts/crypto": "0.75.0",
62
- "@fuel-ts/errors": "0.75.0",
63
- "@fuel-ts/fuel-core": "0.75.0",
64
- "@fuel-ts/hasher": "0.75.0",
65
- "@fuel-ts/interfaces": "0.75.0",
66
- "@fuel-ts/math": "0.75.0",
67
- "@fuel-ts/merkle": "0.75.0",
68
- "@fuel-ts/transactions": "0.75.0",
69
- "@fuel-ts/utils": "0.75.0",
70
- "@fuel-ts/versions": "0.75.0"
59
+ "@fuel-ts/abi-coder": "0.77.0",
60
+ "@fuel-ts/address": "0.77.0",
61
+ "@fuel-ts/crypto": "0.77.0",
62
+ "@fuel-ts/errors": "0.77.0",
63
+ "@fuel-ts/fuel-core": "0.77.0",
64
+ "@fuel-ts/hasher": "0.77.0",
65
+ "@fuel-ts/interfaces": "0.77.0",
66
+ "@fuel-ts/math": "0.77.0",
67
+ "@fuel-ts/merkle": "0.77.0",
68
+ "@fuel-ts/transactions": "0.77.0",
69
+ "@fuel-ts/utils": "0.77.0",
70
+ "@fuel-ts/versions": "0.77.0"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@graphql-codegen/cli": "^2.13.7",
@@ -77,9 +77,9 @@
77
77
  "get-graphql-schema": "^2.1.2",
78
78
  "@types/ramda": "^0.29.3",
79
79
  "@types/uuid": "^9.0.1",
80
- "@fuel-ts/hasher": "0.75.0",
81
- "@fuel-ts/math": "0.75.0",
82
- "@fuel-ts/utils": "0.75.0"
80
+ "@fuel-ts/hasher": "0.77.0",
81
+ "@fuel-ts/math": "0.77.0",
82
+ "@fuel-ts/utils": "0.77.0"
83
83
  },
84
84
  "scripts": {
85
85
  "build": "tsup",
@@ -1,3 +0,0 @@
1
- export declare const fromTai64ToDate: (tai64Timestamp: string) => Date;
2
- export declare const fromDateToTai64: (date: Date) => string;
3
- //# sourceMappingURL=date.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"date.d.ts","sourceRoot":"","sources":["../../../src/providers/transaction-summary/date.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,eAAe,mBAAoB,MAAM,SAGrD,CAAC;AAEF,eAAO,MAAM,eAAe,SAAU,IAAI,WACsB,CAAC"}
@@ -1,40 +0,0 @@
1
- /**
2
- * @hidden
3
- *
4
- * Converts a TAI64 timestamp to a Unix timestamp in milliseconds.
5
- *
6
- * TAI64 is a 64-bit unsigned integer format that represents a point in time
7
- * as the number of TAI seconds elapsed since 00:00:00 TAI, January 1, 1970.
8
- *
9
- * Unix timestamp, on the other hand, represents the number of milliseconds
10
- * elapsed since 00:00:00 UTC, January 1, 1970.
11
- *
12
- * To convert a TAI64 timestamp to a Unix timestamp, we need to subtract the
13
- * TAI64 epoch time (00:00:00 TAI, January 1, 1970) from the TAI64 timestamp
14
- * and then add the Unix epoch time (00:00:00 UTC, January 1, 1970). The epoch
15
- * time difference between TAI64 and Unix is 2 ** 62 + 10.
16
- *
17
- * @param tai64Timestamp - The TAI64 timestamp to convert.
18
- * @returns - The Unix timestamp in milliseconds.
19
- */
20
- export declare const fromTai64ToUnix: (tai64Timestamp: string) => number;
21
- /**
22
- * @hidden
23
- *
24
- * Converts a Unix timestamp in milliseconds to a TAI64 timestamp.
25
- *
26
- * Unix timestamp represents the number of milliseconds elapsed since
27
- * 00:00:00 UTC, January 1, 1970. TAI64 timestamp is a 64-bit unsigned
28
- * integer format that represents a point in time as the number of TAI
29
- * seconds elapsed since 00:00:00 TAI, January 1, 1970.
30
- *
31
- * To convert a Unix timestamp to a TAI64 timestamp, we need to add the
32
- * TAI64 epoch time (00:00:00 TAI, January 1, 1970) to the Unix timestamp
33
- * and then subtract the Unix epoch time (00:00:00 UTC, January 1, 1970).
34
- * The epoch time difference between TAI64 and Unix is 2 ** 62 + 10.
35
- *
36
- * @param unixTimestampMs - The Unix timestamp in milliseconds to convert.
37
- * @returns - The TAI64 timestamp as a string.
38
- */
39
- export declare const fromUnixToTai64: (unixTimestampMs: number) => string;
40
- //# sourceMappingURL=time.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"time.d.ts","sourceRoot":"","sources":["../../../src/providers/utils/time.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,eAAe,mBAAoB,MAAM,WACS,CAAC;AAEhE;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,eAAe,oBAAqB,MAAM,WACc,CAAC"}