@avalabs/avalanche-module 0.0.0-test-changeset1-20240714230430 → 0.0.0-testAvaInit-20240722142403
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.
- package/.turbo/turbo-build.log +10 -10
- package/.turbo/turbo-lint.log +1 -1
- package/.turbo/turbo-test.log +4 -4
- package/CHANGELOG.md +29 -2
- package/dist/index.cjs +59 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -5
- package/dist/index.d.ts +8 -5
- package/dist/index.js +49 -3
- package/dist/index.js.map +1 -1
- package/manifest.json +5 -4
- package/package.json +12 -9
- package/src/env.ts +25 -0
- package/src/handlers/get-balances/convert-p-chain-balance.ts +83 -0
- package/src/handlers/get-balances/covnert-x-chain-balance.ts +73 -0
- package/src/handlers/get-balances/get-balances.ts +96 -0
- package/src/handlers/get-balances/utils.ts +27 -0
- package/src/handlers/get-transaction-history/convert-p-chain-transaction.ts +18 -11
- package/src/handlers/get-transaction-history/convert-x-chain-transaction.ts +18 -11
- package/src/handlers/get-transaction-history/get-transaction-history.ts +16 -11
- package/src/module.ts +23 -5
- package/src/services/glacier-service/glacier-service.ts +75 -0
- package/tsconfig.json +7 -1
- /package/src/handlers/{get-network-fee.test.ts → get-network-fee/get-network-fee.test.ts} +0 -0
- /package/src/handlers/{get-network-fee.ts → get-network-fee/get-network-fee.ts} +0 -0
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
> @avalabs/avalanche-module@0.0.
|
|
2
|
+
> @avalabs/avalanche-module@0.0.15 build /home/runner/work/vm-modules/vm-modules/packages/avalanche-module
|
|
3
3
|
> tsup
|
|
4
4
|
|
|
5
5
|
[34mCLI[39m Building entry: ./src/index.ts
|
|
@@ -10,13 +10,13 @@
|
|
|
10
10
|
[34mCLI[39m Cleaning output folder
|
|
11
11
|
[34mCJS[39m Build start
|
|
12
12
|
[34mESM[39m Build start
|
|
13
|
-
[32mCJS[39m [1mdist/index.cjs [22m[32m1.50 KB[39m
|
|
14
|
-
[32mCJS[39m [1mdist/index.cjs.map [22m[32m4.25 KB[39m
|
|
15
|
-
[32mCJS[39m ⚡️ Build success in 431ms
|
|
16
|
-
[32mESM[39m [1mdist/index.js [22m[32m1.47 KB[39m
|
|
17
|
-
[32mESM[39m [1mdist/index.js.map [22m[32m4.25 KB[39m
|
|
18
|
-
[32mESM[39m ⚡️ Build success in 438ms
|
|
19
13
|
[34mDTS[39m Build start
|
|
20
|
-
[
|
|
21
|
-
[
|
|
22
|
-
[
|
|
14
|
+
[32mCJS[39m [1mdist/index.cjs [22m[32m284.60 KB[39m
|
|
15
|
+
[32mCJS[39m [1mdist/index.cjs.map [22m[32m942.39 KB[39m
|
|
16
|
+
[32mCJS[39m ⚡️ Build success in 13721ms
|
|
17
|
+
[32mESM[39m [1mdist/index.js [22m[32m283.27 KB[39m
|
|
18
|
+
[32mESM[39m [1mdist/index.js.map [22m[32m942.39 KB[39m
|
|
19
|
+
[32mESM[39m ⚡️ Build success in 13721ms
|
|
20
|
+
[32mDTS[39m ⚡️ Build success in 18113ms
|
|
21
|
+
[32mDTS[39m [1mdist/index.d.cts [22m[32m1.14 KB[39m
|
|
22
|
+
[32mDTS[39m [1mdist/index.d.ts [22m[32m1.14 KB[39m
|
package/.turbo/turbo-lint.log
CHANGED
package/.turbo/turbo-test.log
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
|
|
2
|
-
> @avalabs/avalanche-module@0.0.
|
|
2
|
+
> @avalabs/avalanche-module@0.0.15 test /home/runner/work/vm-modules/vm-modules/packages/avalanche-module
|
|
3
3
|
> jest
|
|
4
4
|
|
|
5
|
-
PASS src/handlers/get-network-fee.test.ts (
|
|
5
|
+
PASS src/handlers/get-network-fee/get-network-fee.test.ts (20.376 s)
|
|
6
6
|
get-network-fee
|
|
7
|
-
✓ should return fixed network fees (
|
|
7
|
+
✓ should return fixed network fees (29 ms)
|
|
8
8
|
|
|
9
9
|
Test Suites: 1 passed, 1 total
|
|
10
10
|
Tests: 1 passed, 1 total
|
|
11
11
|
Snapshots: 0 total
|
|
12
|
-
Time:
|
|
12
|
+
Time: 20.768 s
|
|
13
13
|
Ran all test suites.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,33 @@
|
|
|
1
1
|
# @avalabs/avalanche-module
|
|
2
2
|
|
|
3
|
-
## 0.0.0-
|
|
3
|
+
## 0.0.0-testAvaInit-20240722142403
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 60d04c7: Add getBalances to avalanche-module
|
|
8
|
+
- f39ff3a: Fixe internal dependencies
|
|
9
|
+
- 2bb0a1a: add getHashedBlockchainId util to avalanche module
|
|
10
|
+
- Updated dependencies [60d04c7]
|
|
11
|
+
- @avalabs/vm-module-types@0.0.0-testAvaInit-20240722142403
|
|
12
|
+
|
|
13
|
+
## 0.0.15
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- Updated dependencies [f536d58]
|
|
18
|
+
- @avalabs/vm-module-types@0.0.15
|
|
19
|
+
- @internal/utils@0.0.3
|
|
20
|
+
|
|
21
|
+
## 0.0.14
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- 0593258: add getBalances to evm-module
|
|
26
|
+
- Updated dependencies [0593258]
|
|
27
|
+
- @avalabs/vm-module-types@0.0.14
|
|
28
|
+
- @internal/utils@0.0.2
|
|
29
|
+
|
|
30
|
+
## 0.0.13
|
|
4
31
|
|
|
5
32
|
### Patch Changes
|
|
6
33
|
|
|
@@ -8,7 +35,7 @@
|
|
|
8
35
|
- d9fa0f5: added getNetworkFee to avalanche module
|
|
9
36
|
- Updated dependencies [af68c81]
|
|
10
37
|
- Updated dependencies [d9fa0f5]
|
|
11
|
-
- @avalabs/vm-module-types@0.0.
|
|
38
|
+
- @avalabs/vm-module-types@0.0.13
|
|
12
39
|
|
|
13
40
|
## 0.0.12
|
|
14
41
|
|