@xyo-network/react-chain-network 1.16.24 → 1.16.26

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,68 @@
1
1
  import type { XyoViewer } from '@xyo-network/xl1-protocol-sdk';
2
- export declare const useActiveNetworkCurrentBlock: (refresh?: number, viewer?: XyoViewer) => [import("@xyo-network/xl1-protocol").HydratedBlock<import("@xyo-network/xl1-protocol").BlockBoundWitness, import("@xyo-network/payload-model").Payload> | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
3
- export declare const useActiveNetworkCurrentBlockInPage: (refresh?: number) => [import("@xyo-network/xl1-protocol").HydratedBlock<import("@xyo-network/xl1-protocol").BlockBoundWitness, import("@xyo-network/payload-model").Payload> | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
4
- export declare const useActiveNetworkCurrentBlockInWallet: (refresh?: number) => [import("@xyo-network/xl1-protocol").HydratedBlock<import("@xyo-network/xl1-protocol").BlockBoundWitness, import("@xyo-network/payload-model").Payload> | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
2
+ export declare const useActiveNetworkCurrentBlock: (refresh?: number, viewer?: XyoViewer) => [[{
3
+ schema: "network.xyo.boundwitness";
4
+ addresses: import("@xylabs/hex").Address[];
5
+ payload_hashes: import("@xylabs/hex").Hash[];
6
+ payload_schemas: string[];
7
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
8
+ $signatures: import("@xylabs/hex").Hex[];
9
+ block: import("@xyo-network/xl1-protocol").XL1BlockNumber;
10
+ chain: import("@xylabs/hex").Hex;
11
+ previous: import("@xylabs/hex").Hash | null;
12
+ $epoch: number;
13
+ _hash: import("@xylabs/hex").Hash;
14
+ _dataHash: import("@xylabs/hex").Hash;
15
+ $destination?: import("@xylabs/hex").Address | undefined;
16
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
17
+ protocol?: number | undefined;
18
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
19
+ }, {
20
+ schema: string;
21
+ _hash: import("@xylabs/hex").Hash;
22
+ _dataHash: import("@xylabs/hex").Hash;
23
+ }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
24
+ export declare const useActiveNetworkCurrentBlockInPage: (refresh?: number) => [[{
25
+ schema: "network.xyo.boundwitness";
26
+ addresses: import("@xylabs/hex").Address[];
27
+ payload_hashes: import("@xylabs/hex").Hash[];
28
+ payload_schemas: string[];
29
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
30
+ $signatures: import("@xylabs/hex").Hex[];
31
+ block: import("@xyo-network/xl1-protocol").XL1BlockNumber;
32
+ chain: import("@xylabs/hex").Hex;
33
+ previous: import("@xylabs/hex").Hash | null;
34
+ $epoch: number;
35
+ _hash: import("@xylabs/hex").Hash;
36
+ _dataHash: import("@xylabs/hex").Hash;
37
+ $destination?: import("@xylabs/hex").Address | undefined;
38
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
39
+ protocol?: number | undefined;
40
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
41
+ }, {
42
+ schema: string;
43
+ _hash: import("@xylabs/hex").Hash;
44
+ _dataHash: import("@xylabs/hex").Hash;
45
+ }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
46
+ export declare const useActiveNetworkCurrentBlockInWallet: (refresh?: number) => [[{
47
+ schema: "network.xyo.boundwitness";
48
+ addresses: import("@xylabs/hex").Address[];
49
+ payload_hashes: import("@xylabs/hex").Hash[];
50
+ payload_schemas: string[];
51
+ previous_hashes: (import("@xylabs/hex").Hash | null)[];
52
+ $signatures: import("@xylabs/hex").Hex[];
53
+ block: import("@xyo-network/xl1-protocol").XL1BlockNumber;
54
+ chain: import("@xylabs/hex").Hex;
55
+ previous: import("@xylabs/hex").Hash | null;
56
+ $epoch: number;
57
+ _hash: import("@xylabs/hex").Hash;
58
+ _dataHash: import("@xylabs/hex").Hash;
59
+ $destination?: import("@xylabs/hex").Address | undefined;
60
+ $sourceQuery?: import("@xylabs/hex").Hash | undefined;
61
+ protocol?: number | undefined;
62
+ step_hashes?: import("@xylabs/hex").Hash[] | undefined;
63
+ }, {
64
+ schema: string;
65
+ _hash: import("@xylabs/hex").Hash;
66
+ _dataHash: import("@xylabs/hex").Hash;
67
+ }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
5
68
  //# sourceMappingURL=useActiveNetworkCurrentBlock.d.ts.map
@@ -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,+BAA+B,CAAA;AAI9D,eAAO,MAAM,4BAA4B,GAAI,gBAAW,EAAE,SAAS,SAAS,yPAI3E,CAAA;AAED,eAAO,MAAM,kCAAkC,GAAI,gBAAW,yPAK7D,CAAA;AAED,eAAO,MAAM,oCAAoC,GAAI,gBAAW,yPAK/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,+BAA+B,CAAA;AAI9D,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.16.24",
4
+ "version": "1.16.26",
5
5
  "description": "XYO Layer One React SDK",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -51,12 +51,12 @@
51
51
  "@xylabs/react-error": "~7.1.8",
52
52
  "@xylabs/react-promise": "~7.1.8",
53
53
  "@xylabs/react-shared": "~7.1.8",
54
- "@xylabs/sdk-js": "~5.0.39",
55
- "@xyo-network/react-chain-provider": "~1.16.24",
56
- "@xyo-network/react-chain-shared": "~1.16.24",
57
- "@xyo-network/xl1-network-model": "~1.16.24",
58
- "@xyo-network/xl1-protocol": "~1.13.13",
59
- "@xyo-network/xl1-protocol-sdk": "~1.16.24"
54
+ "@xylabs/sdk-js": "~5.0.46",
55
+ "@xyo-network/react-chain-provider": "~1.16.26",
56
+ "@xyo-network/react-chain-shared": "~1.16.26",
57
+ "@xyo-network/xl1-network-model": "~1.16.26",
58
+ "@xyo-network/xl1-protocol": "~1.14.15",
59
+ "@xyo-network/xl1-protocol-sdk": "~1.16.26"
60
60
  },
61
61
  "devDependencies": {
62
62
  "@emotion/react": "~11.14.0",
@@ -64,13 +64,13 @@
64
64
  "@mui/icons-material": "~7.3.5",
65
65
  "@mui/material": "~7.3.5",
66
66
  "@storybook/react-vite": "~10.0.8",
67
- "@types/react": "~19.2.6",
67
+ "@types/react": "~19.2.7",
68
68
  "@xylabs/react-button": "~7.1.8",
69
69
  "@xylabs/ts-scripts-yarn3": "~7.2.8",
70
70
  "@xylabs/tsconfig": "~7.2.8",
71
71
  "@xylabs/tsconfig-dom": "~7.2.8",
72
72
  "@xylabs/tsconfig-react": "~7.2.8",
73
- "@xyo-network/react-chain-model": "~1.16.24",
73
+ "@xyo-network/react-chain-model": "~1.16.26",
74
74
  "eslint": "^9.39.1",
75
75
  "react": "~19.2.0",
76
76
  "react-dom": "~19.2.0",