@xyo-network/react-chain-network 1.18.5 → 1.19.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.
@@ -1,13 +1,15 @@
1
1
  import type { XyoViewer } from '@xyo-network/xl1-sdk';
2
2
  export declare const useActiveNetworkCurrentBlock: (refresh?: number, viewer?: XyoViewer) => [[{
3
- schema: "network.xyo.boundwitness";
3
+ schema: "network.xyo.boundwitness" & {
4
+ readonly __schema: true;
5
+ };
4
6
  addresses: (Lowercase<string> & {
5
7
  readonly __hex: true;
6
8
  } & {
7
9
  readonly __address: true;
8
10
  })[];
9
11
  payload_hashes: import("@xylabs/hex").BrandedHash[];
10
- payload_schemas: string[];
12
+ payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
11
13
  previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
12
14
  $signatures: (import("@xylabs/hex").BrandedHex | null)[];
13
15
  block: import("@xyo-network/xl1-sdk").XL1BlockNumber;
@@ -25,19 +27,21 @@ export declare const useActiveNetworkCurrentBlock: (refresh?: number, viewer?: X
25
27
  protocol?: number | undefined;
26
28
  step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
27
29
  }, {
28
- schema: string;
30
+ schema: import("@xyo-network/payload-model").BrandedSchema<string>;
29
31
  _hash: import("@xylabs/hex").BrandedHash;
30
32
  _dataHash: import("@xylabs/hex").BrandedHash;
31
33
  }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
32
34
  export declare const useActiveNetworkCurrentBlockInPage: (refresh?: number) => [[{
33
- schema: "network.xyo.boundwitness";
35
+ schema: "network.xyo.boundwitness" & {
36
+ readonly __schema: true;
37
+ };
34
38
  addresses: (Lowercase<string> & {
35
39
  readonly __hex: true;
36
40
  } & {
37
41
  readonly __address: true;
38
42
  })[];
39
43
  payload_hashes: import("@xylabs/hex").BrandedHash[];
40
- payload_schemas: string[];
44
+ payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
41
45
  previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
42
46
  $signatures: (import("@xylabs/hex").BrandedHex | null)[];
43
47
  block: import("@xyo-network/xl1-sdk").XL1BlockNumber;
@@ -55,19 +59,21 @@ export declare const useActiveNetworkCurrentBlockInPage: (refresh?: number) => [
55
59
  protocol?: number | undefined;
56
60
  step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
57
61
  }, {
58
- schema: string;
62
+ schema: import("@xyo-network/payload-model").BrandedSchema<string>;
59
63
  _hash: import("@xylabs/hex").BrandedHash;
60
64
  _dataHash: import("@xylabs/hex").BrandedHash;
61
65
  }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
62
66
  export declare const useActiveNetworkCurrentBlockInWallet: (refresh?: number) => [[{
63
- schema: "network.xyo.boundwitness";
67
+ schema: "network.xyo.boundwitness" & {
68
+ readonly __schema: true;
69
+ };
64
70
  addresses: (Lowercase<string> & {
65
71
  readonly __hex: true;
66
72
  } & {
67
73
  readonly __address: true;
68
74
  })[];
69
75
  payload_hashes: import("@xylabs/hex").BrandedHash[];
70
- payload_schemas: string[];
76
+ payload_schemas: import("@xyo-network/payload-model").BrandedSchema<string>[];
71
77
  previous_hashes: (import("@xylabs/hex").BrandedHash | null)[];
72
78
  $signatures: (import("@xylabs/hex").BrandedHex | null)[];
73
79
  block: import("@xyo-network/xl1-sdk").XL1BlockNumber;
@@ -85,7 +91,7 @@ export declare const useActiveNetworkCurrentBlockInWallet: (refresh?: number) =>
85
91
  protocol?: number | undefined;
86
92
  step_hashes?: import("@xylabs/hex").BrandedHash[] | undefined;
87
93
  }, {
88
- schema: string;
94
+ schema: import("@xyo-network/payload-model").BrandedSchema<string>;
89
95
  _hash: import("@xylabs/hex").BrandedHash;
90
96
  _dataHash: import("@xylabs/hex").BrandedHash;
91
97
  }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
@@ -1 +1 @@
1
- {"version":3,"file":"useActiveNetworkCurrentBlock.d.ts","sourceRoot":"","sources":["../../../../src/hooks/provider/useActiveNetworkCurrentBlock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAIrD,eAAO,MAAM,4BAA4B,GAAI,gBAAW,EAAE,SAAS,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAI3E,CAAA;AAED,eAAO,MAAM,kCAAkC,GAAI,gBAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAK7D,CAAA;AAED,eAAO,MAAM,oCAAoC,GAAI,gBAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAK/D,CAAA"}
1
+ {"version":3,"file":"useActiveNetworkCurrentBlock.d.ts","sourceRoot":"","sources":["../../../../src/hooks/provider/useActiveNetworkCurrentBlock.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,sBAAsB,CAAA;AAIrD,eAAO,MAAM,4BAA4B,GAAI,gBAAW,EAAE,SAAS,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAI3E,CAAA;AAED,eAAO,MAAM,kCAAkC,GAAI,gBAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAK7D,CAAA;AAED,eAAO,MAAM,oCAAoC,GAAI,gBAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iGAK/D,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/react-chain-network",
4
- "version": "1.18.5",
4
+ "version": "1.19.1",
5
5
  "description": "XYO Layer One React SDK",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -48,27 +48,27 @@
48
48
  "start": "storybook dev -p 6006"
49
49
  },
50
50
  "dependencies": {
51
- "@xylabs/react-error": "~7.1.9",
52
- "@xylabs/react-promise": "~7.1.9",
53
- "@xylabs/react-shared": "~7.1.9",
51
+ "@xylabs/react-error": "~7.1.11",
52
+ "@xylabs/react-promise": "~7.1.11",
53
+ "@xylabs/react-shared": "~7.1.11",
54
54
  "@xylabs/sdk-js": "~5.0.64",
55
- "@xyo-network/react-chain-provider": "~1.18.5",
56
- "@xyo-network/react-chain-shared": "~1.18.5",
57
- "@xyo-network/xl1-sdk": "~1.19.6"
55
+ "@xyo-network/react-chain-provider": "~1.19.1",
56
+ "@xyo-network/react-chain-shared": "~1.19.1",
57
+ "@xyo-network/xl1-sdk": "~1.20.9"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@emotion/react": "~11.14.0",
61
61
  "@emotion/styled": "~11.14.1",
62
62
  "@mui/icons-material": "~7.3.7",
63
63
  "@mui/material": "~7.3.7",
64
- "@storybook/react-vite": "~10.2.0",
65
- "@types/react": "~19.2.9",
66
- "@xylabs/react-button": "~7.1.9",
64
+ "@storybook/react-vite": "~10.2.1",
65
+ "@types/react": "~19.2.10",
66
+ "@xylabs/react-button": "~7.1.11",
67
67
  "@xylabs/ts-scripts-yarn3": "~7.3.2",
68
68
  "@xylabs/tsconfig": "~7.3.2",
69
69
  "@xylabs/tsconfig-dom": "~7.3.2",
70
70
  "@xylabs/tsconfig-react": "~7.3.2",
71
- "@xyo-network/react-chain-model": "~1.18.5",
71
+ "@xyo-network/react-chain-model": "~1.19.1",
72
72
  "eslint": "^9.39.2",
73
73
  "react": "~19.2.4",
74
74
  "react-dom": "~19.2.4",