@xyo-network/chain-sdk 1.10.2 → 1.12.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/chain-sdk",
4
- "version": "1.10.2",
4
+ "version": "1.12.0",
5
5
  "description": "XYO Layer One SDK",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -57,41 +57,41 @@
57
57
  "deploy3": "echo Deploy3 not allowed!"
58
58
  },
59
59
  "dependencies": {
60
- "@xylabs/assert": "~5.0.3",
61
- "@xylabs/delay": "~5.0.3",
62
- "@xylabs/hex": "~5.0.3",
63
- "@xyo-network/account": "~5.0.1",
64
- "@xyo-network/account-model": "~5.0.1",
65
- "@xyo-network/chain-ethereum": "~1.10.2",
66
- "@xyo-network/chain-modules": "~1.10.2",
67
- "@xyo-network/chain-orchestration": "~1.10.2",
68
- "@xyo-network/chain-protocol": "~1.10.2",
69
- "@xyo-network/chain-services": "~1.10.2",
70
- "@xyo-network/chain-utils": "~1.10.2",
71
- "@xyo-network/chain-validation": "~1.10.2",
72
- "@xyo-network/payload-builder": "~5.0.1",
60
+ "@xylabs/assert": "~5.0.7",
61
+ "@xylabs/delay": "~5.0.7",
62
+ "@xylabs/hex": "~5.0.7",
63
+ "@xyo-network/account": "~5.0.2",
64
+ "@xyo-network/account-model": "~5.0.2",
65
+ "@xyo-network/chain-ethereum": "~1.12.0",
66
+ "@xyo-network/chain-modules": "~1.12.0",
67
+ "@xyo-network/chain-orchestration": "~1.12.0",
68
+ "@xyo-network/chain-protocol": "~1.12.0",
69
+ "@xyo-network/chain-services": "~1.12.0",
70
+ "@xyo-network/chain-utils": "~1.12.0",
71
+ "@xyo-network/chain-validation": "~1.12.0",
72
+ "@xyo-network/payload-builder": "~5.0.2",
73
73
  "@xyo-network/typechain": "~4.0.0",
74
- "@xyo-network/wallet-model": "~5.0.1",
75
- "@xyo-network/xl1-protocol": "~1.9.3",
76
- "@xyo-network/xl1-protocol-sdk": "~1.10.2",
74
+ "@xyo-network/wallet-model": "~5.0.2",
75
+ "@xyo-network/xl1-protocol": "~1.10.12",
76
+ "@xyo-network/xl1-protocol-sdk": "~1.12.0",
77
77
  "ethers": "6.15.0"
78
78
  },
79
79
  "devDependencies": {
80
- "@types/node": "~24.2.0",
81
- "@xylabs/creatable": "~5.0.3",
82
- "@xylabs/decimal-precision": "~5.0.3",
83
- "@xylabs/delay": "~5.0.3",
80
+ "@types/node": "~24.2.1",
81
+ "@xylabs/creatable": "~5.0.7",
82
+ "@xylabs/decimal-precision": "~5.0.7",
83
+ "@xylabs/delay": "~5.0.7",
84
84
  "@xylabs/ts-scripts-yarn3": "~7.1.0",
85
85
  "@xylabs/tsconfig": "~7.1.0",
86
- "@xyo-network/account": "~5.0.1",
87
- "@xyo-network/account-model": "~5.0.1",
88
- "@xyo-network/archivist-memory": "~5.0.1",
89
- "@xyo-network/archivist-model": "~5.0.1",
90
- "@xyo-network/boundwitness-builder": "~5.0.1",
91
- "@xyo-network/chain-analyze": "~1.10.2",
92
- "@xyo-network/payload-model": "~5.0.1",
93
- "@xyo-network/wallet": "~5.0.1",
94
- "eslint": "~9.32.0",
86
+ "@xyo-network/account": "~5.0.2",
87
+ "@xyo-network/account-model": "~5.0.2",
88
+ "@xyo-network/archivist-memory": "~5.0.2",
89
+ "@xyo-network/archivist-model": "~5.0.2",
90
+ "@xyo-network/boundwitness-builder": "~5.0.2",
91
+ "@xyo-network/chain-analyze": "~1.12.0",
92
+ "@xyo-network/payload-model": "~5.0.2",
93
+ "@xyo-network/wallet": "~5.0.2",
94
+ "eslint": "~9.33.0",
95
95
  "typescript": "~5.9.2",
96
96
  "vitest": "~3.2.4"
97
97
  },
@@ -1,6 +1,6 @@
1
1
  import { assertEx } from '@xylabs/assert'
2
2
  import { toFixedPoint } from '@xylabs/decimal-precision'
3
- import type { Address, Hash } from '@xylabs/hex'
3
+ import type { Hash } from '@xylabs/hex'
4
4
  import { toHex } from '@xylabs/hex'
5
5
  import { Account } from '@xyo-network/account'
6
6
  import type { AccountInstance } from '@xyo-network/account-model'
@@ -15,7 +15,9 @@ import {
15
15
  } from '@xyo-network/chain-protocol'
16
16
  import { PayloadBuilder } from '@xyo-network/payload-builder'
17
17
  import type { Payload, WithStorageMeta } from '@xyo-network/payload-model'
18
- import type { BlockBoundWitness, Transfer } from '@xyo-network/xl1-protocol'
18
+ import type {
19
+ BlockBoundWitness, Chain, Transfer,
20
+ } from '@xyo-network/xl1-protocol'
19
21
  import { TransferSchema } from '@xyo-network/xl1-protocol'
20
22
  import { flattenHydratedBlock } from '@xyo-network/xl1-protocol-sdk'
21
23
  import {
@@ -34,7 +36,7 @@ const balancesFromHead = async (head: Hash, archivist: ArchivistInstance) => {
34
36
 
35
37
  describe.sequential('Send XL1', () => {
36
38
  let archivist: ArchivistInstance
37
- let chainId: Address
39
+ let chainId: Chain
38
40
  let previousBlock: WithStorageMeta<BlockBoundWitness>
39
41
  let txAccount1: AccountInstance
40
42
  let txAccount2: AccountInstance