@xyo-network/xl1-protocol 1.12.59 → 1.12.60

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.
@@ -1,5 +1,7 @@
1
1
  import type { Address, Hash, Hex } from '@xylabs/hex';
2
- export type Chain = Address | Hex;
2
+ export type ChainId = Address | Hex;
3
+ /** @deprecated use ChainId instead */
4
+ export type Chain = ChainId;
3
5
  export type CompletedStep = [
4
6
  Hash,
5
7
  number
@@ -1 +1 @@
1
- {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EAAE,IAAI,EAAE,GAAG,EACnB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,KAAK,GAAG,OAAO,GAAG,GAAG,CAAA;AAEjC,MAAM,MAAM,aAAa,GAAG;IAE1B,IAAI;IAEJ,MAAM;CACP,CAAA"}
1
+ {"version":3,"file":"model.d.ts","sourceRoot":"","sources":["../../src/model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,OAAO,EAAE,IAAI,EAAE,GAAG,EACnB,MAAM,aAAa,CAAA;AAEpB,MAAM,MAAM,OAAO,GAAG,OAAO,GAAG,GAAG,CAAA;AAEnC,sCAAsC;AACtC,MAAM,MAAM,KAAK,GAAG,OAAO,CAAA;AAE3B,MAAM,MAAM,aAAa,GAAG;IAE1B,IAAI;IAEJ,MAAM;CACP,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "http://json.schemastore.org/package.json",
3
3
  "name": "@xyo-network/xl1-protocol",
4
- "version": "1.12.59",
4
+ "version": "1.12.60",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -37,33 +37,33 @@
37
37
  ],
38
38
  "dependencies": {
39
39
  "@opentelemetry/api": "~1.9.0",
40
- "@xylabs/assert": "~5.0.11",
41
- "@xylabs/base": "~5.0.11",
42
- "@xylabs/events": "~5.0.11",
43
- "@xylabs/hex": "~5.0.11",
44
- "@xylabs/logger": "~5.0.11",
45
- "@xylabs/object": "~5.0.11",
46
- "@xylabs/promise": "~5.0.11",
47
- "@xylabs/typeof": "~5.0.11",
48
- "@xyo-network/archivist-model": "~5.1.5",
49
- "@xyo-network/boundwitness-model": "~5.1.5",
50
- "@xyo-network/payload-model": "~5.1.5",
51
- "@xyo-network/schema-payload-plugin": "~5.1.5",
40
+ "@xylabs/assert": "~5.0.12",
41
+ "@xylabs/base": "~5.0.12",
42
+ "@xylabs/events": "~5.0.12",
43
+ "@xylabs/hex": "~5.0.12",
44
+ "@xylabs/logger": "~5.0.12",
45
+ "@xylabs/object": "~5.0.12",
46
+ "@xylabs/promise": "~5.0.12",
47
+ "@xylabs/typeof": "~5.0.12",
48
+ "@xyo-network/archivist-model": "~5.1.6",
49
+ "@xyo-network/boundwitness-model": "~5.1.6",
50
+ "@xyo-network/payload-model": "~5.1.6",
51
+ "@xyo-network/schema-payload-plugin": "~5.1.6",
52
52
  "zod": "~4.1.12"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/node": "~24.7.0",
55
+ "@types/node": "~24.7.1",
56
56
  "@typescript-eslint/types": "~8.46.0",
57
- "@xylabs/creatable": "~5.0.11",
57
+ "@xylabs/creatable": "~5.0.12",
58
58
  "@xylabs/eslint-config-flat": "~7.1.8",
59
59
  "@xylabs/ts-scripts-yarn3": "~7.1.8",
60
60
  "@xylabs/tsconfig": "~7.1.8",
61
- "@xyo-network/account-model": "~5.1.5",
61
+ "@xyo-network/account-model": "~5.1.6",
62
62
  "dependency-cruiser": "~17.0.2",
63
63
  "dotenv": "~17.2.3",
64
64
  "eslint": "~9.37.0",
65
65
  "eslint-import-resolver-typescript": "~4.4.4",
66
- "knip": "~5.64.2",
66
+ "knip": "~5.64.3",
67
67
  "typescript": "~5.9.3",
68
68
  "vite": "~7.1.9",
69
69
  "vite-tsconfig-paths": "~5.1.4",
package/src/model.ts CHANGED
@@ -2,7 +2,10 @@ import type {
2
2
  Address, Hash, Hex,
3
3
  } from '@xylabs/hex'
4
4
 
5
- export type Chain = Address | Hex
5
+ export type ChainId = Address | Hex
6
+
7
+ /** @deprecated use ChainId instead */
8
+ export type Chain = ChainId
6
9
 
7
10
  export type CompletedStep = [
8
11
  /* Hash of the block whose previous hash is the last item in the step */