@xyo-network/xl1-protocol 1.12.64 → 1.12.65

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,9 +1,8 @@
1
1
  import type { Address } from '@xylabs/hex';
2
2
  import type { Promisable } from '@xylabs/promise';
3
- import type { AttoXL1 } from '../../xl1/index.ts';
4
3
  export type Stake = {
5
4
  addBlock: number;
6
- amount: AttoXL1;
5
+ amount: bigint;
7
6
  id: number;
8
7
  removeBlock: number;
9
8
  staked: Address;
@@ -1 +1 @@
1
- {"version":3,"file":"Stake.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/view/Stake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,MAAM,KAAK,GAAG;IAElB,QAAQ,EAAE,MAAM,CAAA;IAEhB,MAAM,EAAE,OAAO,CAAA;IAEf,EAAE,EAAE,MAAM,CAAA;IAEV,WAAW,EAAE,MAAM,CAAA;IAEnB,MAAM,EAAE,OAAO,CAAA;IAEf,MAAM,EAAE,OAAO,CAAA;IAEf,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAA;IACxC,aAAa,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAA;IAC/D,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;IACtD,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;IACpD,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;CACrD"}
1
+ {"version":3,"file":"Stake.d.ts","sourceRoot":"","sources":["../../../../src/interfaces/view/Stake.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,MAAM,MAAM,KAAK,GAAG;IAElB,QAAQ,EAAE,MAAM,CAAA;IAEhB,MAAM,EAAE,MAAM,CAAA;IAEd,EAAE,EAAE,MAAM,CAAA;IAEV,WAAW,EAAE,MAAM,CAAA;IAEnB,MAAM,EAAE,OAAO,CAAA;IAEf,MAAM,EAAE,OAAO,CAAA;IAEf,aAAa,EAAE,MAAM,CAAA;CACtB,CAAA;AAED,MAAM,WAAW,kBAAkB;IACjC,SAAS,CAAC,EAAE,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAA;IACxC,aAAa,CAAC,MAAM,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,GAAG,UAAU,CAAC,KAAK,CAAC,CAAA;IAC/D,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,OAAO,EAAE,CAAC,CAAA;IACtD,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;IACpD,cAAc,CAAC,MAAM,EAAE,OAAO,GAAG,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA;CACrD"}
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.64",
4
+ "version": "1.12.65",
5
5
  "description": "XYO Layer One Protocol",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -52,8 +52,8 @@
52
52
  "zod": "~4.1.12"
53
53
  },
54
54
  "devDependencies": {
55
- "@types/node": "~24.7.1",
56
- "@typescript-eslint/types": "~8.46.0",
55
+ "@types/node": "~24.7.2",
56
+ "@typescript-eslint/types": "~8.46.1",
57
57
  "@xylabs/creatable": "~5.0.12",
58
58
  "@xylabs/eslint-config-flat": "~7.1.8",
59
59
  "@xylabs/ts-scripts-yarn3": "~7.1.8",
@@ -63,9 +63,9 @@
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.3",
66
+ "knip": "~5.65.0",
67
67
  "typescript": "~5.9.3",
68
- "vite": "~7.1.9",
68
+ "vite": "~7.1.10",
69
69
  "vite-tsconfig-paths": "~5.1.4",
70
70
  "vitest": "~3.2.4"
71
71
  },
@@ -1,13 +1,11 @@
1
1
  import type { Address } from '@xylabs/hex'
2
2
  import type { Promisable } from '@xylabs/promise'
3
3
 
4
- import type { AttoXL1 } from '../../xl1/index.ts'
5
-
6
4
  export type Stake = {
7
5
  // the block number when the stake was added
8
6
  addBlock: number
9
7
  // the amount that is staked
10
- amount: AttoXL1
8
+ amount: bigint
11
9
  // the unique id for the stake item
12
10
  id: number
13
11
  // the block number when the stake was removed (set to 0 if not removed)