@xyo-network/react-chain-network 1.16.23 → 1.16.25
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) => [
|
|
3
|
-
|
|
4
|
-
|
|
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,
|
|
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.
|
|
4
|
+
"version": "1.16.25",
|
|
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.
|
|
55
|
-
"@xyo-network/react-chain-provider": "~1.16.
|
|
56
|
-
"@xyo-network/react-chain-shared": "~1.16.
|
|
57
|
-
"@xyo-network/xl1-network-model": "~1.16.
|
|
58
|
-
"@xyo-network/xl1-protocol": "~1.
|
|
59
|
-
"@xyo-network/xl1-protocol-sdk": "~1.16.
|
|
54
|
+
"@xylabs/sdk-js": "~5.0.42",
|
|
55
|
+
"@xyo-network/react-chain-provider": "~1.16.25",
|
|
56
|
+
"@xyo-network/react-chain-shared": "~1.16.25",
|
|
57
|
+
"@xyo-network/xl1-network-model": "~1.16.25",
|
|
58
|
+
"@xyo-network/xl1-protocol": "~1.14.13",
|
|
59
|
+
"@xyo-network/xl1-protocol-sdk": "~1.16.25"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@emotion/react": "~11.14.0",
|
|
@@ -70,7 +70,7 @@
|
|
|
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.
|
|
73
|
+
"@xyo-network/react-chain-model": "~1.16.25",
|
|
74
74
|
"eslint": "^9.39.1",
|
|
75
75
|
"react": "~19.2.0",
|
|
76
76
|
"react-dom": "~19.2.0",
|