@xyo-network/react-chain-provider 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,3 +1,24 @@
1
1
  import type { XyoViewer } from '@xyo-network/xl1-protocol-sdk';
2
- export declare const useCurrentBlock: (refresh?: number, viewer?: XyoViewer | null) => [import("@xyo-network/xl1-protocol").HydratedBlock | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
2
+ export declare const useCurrentBlock: (refresh?: number, viewer?: XyoViewer | null) => [[{
3
+ schema: "network.xyo.boundwitness";
4
+ addresses: import("@xylabs/sdk-js").Address[];
5
+ payload_hashes: import("@xylabs/sdk-js").Hash[];
6
+ payload_schemas: string[];
7
+ previous_hashes: (import("@xylabs/sdk-js").Hash | null)[];
8
+ $signatures: import("@xylabs/sdk-js").Hex[];
9
+ block: import("@xyo-network/xl1-protocol").XL1BlockNumber;
10
+ chain: import("@xylabs/sdk-js").Hex;
11
+ previous: import("@xylabs/sdk-js").Hash | null;
12
+ $epoch: number;
13
+ _hash: import("@xylabs/sdk-js").Hash;
14
+ _dataHash: import("@xylabs/sdk-js").Hash;
15
+ $destination?: import("@xylabs/sdk-js").Address | undefined;
16
+ $sourceQuery?: import("@xylabs/sdk-js").Hash | undefined;
17
+ protocol?: number | undefined;
18
+ step_hashes?: import("@xylabs/sdk-js").Hash[] | undefined;
19
+ }, {
20
+ schema: string;
21
+ _hash: import("@xylabs/sdk-js").Hash;
22
+ _dataHash: import("@xylabs/sdk-js").Hash;
23
+ }[]] | undefined, Error | undefined, import("@xylabs/react-promise").UsePromiseState | undefined];
3
24
  //# sourceMappingURL=useCurrentBlock.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrentBlock.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCurrentBlock.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAE9D,eAAO,MAAM,eAAe,GAAI,gBAAW,EAAE,SAAS,SAAS,GAAG,IAAI,oJAOrE,CAAA"}
1
+ {"version":3,"file":"useCurrentBlock.d.ts","sourceRoot":"","sources":["../../../src/hooks/useCurrentBlock.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,+BAA+B,CAAA;AAE9D,eAAO,MAAM,eAAe,GAAI,gBAAW,EAAE,SAAS,SAAS,GAAG,IAAI;;;;;;;;;;;;;;;;;;;;;iGAOrE,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-provider",
4
- "version": "1.16.24",
4
+ "version": "1.16.26",
5
5
  "description": "XYO Layer One API",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -46,29 +46,29 @@
46
46
  "dependencies": {
47
47
  "@xylabs/react-button": "~7.1.8",
48
48
  "@xylabs/react-promise": "~7.1.8",
49
- "@xylabs/sdk-js": "~5.0.39",
50
- "@xyo-network/account-model": "~5.1.24",
51
- "@xyo-network/payload-builder": "~5.1.24",
52
- "@xyo-network/react-chain-blockies": "~1.16.24",
53
- "@xyo-network/react-error": "~7.3.10",
54
- "@xyo-network/xl1-network-model": "~1.16.24",
55
- "@xyo-network/xl1-protocol": "~1.13.13",
56
- "@xyo-network/xl1-protocol-sdk": "~1.16.24",
57
- "@xyo-network/xl1-rpc": "~1.16.24"
49
+ "@xylabs/sdk-js": "~5.0.46",
50
+ "@xyo-network/account-model": "~5.2.10",
51
+ "@xyo-network/payload-builder": "~5.2.10",
52
+ "@xyo-network/react-chain-blockies": "~1.16.26",
53
+ "@xyo-network/react-error": "~7.4.0",
54
+ "@xyo-network/xl1-network-model": "~1.16.26",
55
+ "@xyo-network/xl1-protocol": "~1.14.15",
56
+ "@xyo-network/xl1-protocol-sdk": "~1.16.26",
57
+ "@xyo-network/xl1-rpc": "~1.16.26"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@emotion/react": "~11.14.0",
61
61
  "@emotion/styled": "~11.14.1",
62
62
  "@mui/material": "~7.3.5",
63
63
  "@storybook/react-vite": "~10.0.8",
64
- "@types/react": "~19.2.6",
64
+ "@types/react": "~19.2.7",
65
65
  "@xylabs/react-button": "~7.1.8",
66
66
  "@xylabs/ts-scripts-yarn3": "~7.2.8",
67
67
  "@xylabs/tsconfig": "~7.2.8",
68
68
  "@xylabs/tsconfig-dom": "~7.2.8",
69
69
  "@xylabs/tsconfig-react": "~7.2.8",
70
- "@xyo-network/react-chain-model": "~1.16.24",
71
- "@xyo-network/react-error": "~7.3.10",
70
+ "@xyo-network/react-chain-model": "~1.16.26",
71
+ "@xyo-network/react-error": "~7.4.0",
72
72
  "eslint": "^9.39.1",
73
73
  "react": "~19.2.0",
74
74
  "typescript": "~5.9.3"