@fuel-ts/account 0.75.0 → 0.76.1
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/dist/index.global.js +168 -1170
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +7 -25
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -25
- package/dist/index.mjs.map +1 -1
- package/dist/providers/__generated__/operations.d.ts +38 -38
- package/dist/providers/__generated__/operations.d.ts.map +1 -1
- package/dist/providers/provider.d.ts +1 -1
- package/dist/providers/provider.d.ts.map +1 -1
- package/dist/providers/transaction-response/getDecodedLogs.d.ts.map +1 -1
- package/dist/providers/transaction-summary/assemble-transaction-summary.d.ts.map +1 -1
- package/dist/providers/transaction-summary/index.d.ts +0 -1
- package/dist/providers/transaction-summary/index.d.ts.map +1 -1
- package/dist/providers/utils/index.d.ts +0 -1
- package/dist/providers/utils/index.d.ts.map +1 -1
- package/dist/test-utils.global.js +165 -1167
- package/dist/test-utils.global.js.map +1 -1
- package/dist/test-utils.js +4 -14
- package/dist/test-utils.js.map +1 -1
- package/dist/test-utils.mjs +8 -18
- package/dist/test-utils.mjs.map +1 -1
- package/package.json +16 -16
- package/dist/providers/transaction-summary/date.d.ts +0 -3
- package/dist/providers/transaction-summary/date.d.ts.map +0 -1
- package/dist/providers/utils/time.d.ts +0 -40
- 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.
|
3
|
+
"version": "0.76.1",
|
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.
|
60
|
-
"@fuel-ts/address": "0.
|
61
|
-
"@fuel-ts/crypto": "0.
|
62
|
-
"@fuel-ts/errors": "0.
|
63
|
-
"@fuel-ts/fuel-core": "0.
|
64
|
-
"@fuel-ts/hasher": "0.
|
65
|
-
"@fuel-ts/interfaces": "0.
|
66
|
-
"@fuel-ts/math": "0.
|
67
|
-
"@fuel-ts/merkle": "0.
|
68
|
-
"@fuel-ts/transactions": "0.
|
69
|
-
"@fuel-ts/utils": "0.
|
70
|
-
"@fuel-ts/versions": "0.
|
59
|
+
"@fuel-ts/abi-coder": "0.76.1",
|
60
|
+
"@fuel-ts/address": "0.76.1",
|
61
|
+
"@fuel-ts/crypto": "0.76.1",
|
62
|
+
"@fuel-ts/errors": "0.76.1",
|
63
|
+
"@fuel-ts/fuel-core": "0.76.1",
|
64
|
+
"@fuel-ts/hasher": "0.76.1",
|
65
|
+
"@fuel-ts/interfaces": "0.76.1",
|
66
|
+
"@fuel-ts/math": "0.76.1",
|
67
|
+
"@fuel-ts/merkle": "0.76.1",
|
68
|
+
"@fuel-ts/transactions": "0.76.1",
|
69
|
+
"@fuel-ts/utils": "0.76.1",
|
70
|
+
"@fuel-ts/versions": "0.76.1"
|
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.
|
81
|
-
"@fuel-ts/math": "0.
|
82
|
-
"@fuel-ts/utils": "0.
|
80
|
+
"@fuel-ts/hasher": "0.76.1",
|
81
|
+
"@fuel-ts/math": "0.76.1",
|
82
|
+
"@fuel-ts/utils": "0.76.1"
|
83
83
|
},
|
84
84
|
"scripts": {
|
85
85
|
"build": "tsup",
|
@@ -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"}
|