@xyo-network/react-chain-network 1.12.5 → 1.12.7

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,22 +1,22 @@
1
1
  export declare const ChainNetworkContext: import("react").Context<({
2
- activeNetwork?: import("@xyo-network/chain-network-model").NetworkBootstrap;
2
+ activeNetwork?: import("@xyo-network/xl1-network-model").NetworkBootstrap;
3
3
  chainNetworkError?: Error;
4
- networks?: import("@xyo-network/chain-network-model").NetworkBootstrap[];
5
- updateActiveNetwork?: (networkId: import("@xyo-network/chain-network-model").NetworkBootstrap["id"]) => void;
4
+ networks?: import("@xyo-network/xl1-network-model").NetworkBootstrap[];
5
+ updateActiveNetwork?: (networkId: import("@xyo-network/xl1-network-model").NetworkBootstrap["id"]) => void;
6
6
  } & {
7
7
  provided: true;
8
8
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
9
- activeNetwork?: import("@xyo-network/chain-network-model").NetworkBootstrap;
9
+ activeNetwork?: import("@xyo-network/xl1-network-model").NetworkBootstrap;
10
10
  chainNetworkError?: Error;
11
- networks?: import("@xyo-network/chain-network-model").NetworkBootstrap[];
12
- updateActiveNetwork?: (networkId: import("@xyo-network/chain-network-model").NetworkBootstrap["id"]) => void;
11
+ networks?: import("@xyo-network/xl1-network-model").NetworkBootstrap[];
12
+ updateActiveNetwork?: (networkId: import("@xyo-network/xl1-network-model").NetworkBootstrap["id"]) => void;
13
13
  }>, never> & {
14
14
  provided: false;
15
15
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
16
- activeNetwork?: import("@xyo-network/chain-network-model").NetworkBootstrap;
16
+ activeNetwork?: import("@xyo-network/xl1-network-model").NetworkBootstrap;
17
17
  chainNetworkError?: Error;
18
- networks?: import("@xyo-network/chain-network-model").NetworkBootstrap[];
19
- updateActiveNetwork?: (networkId: import("@xyo-network/chain-network-model").NetworkBootstrap["id"]) => void;
18
+ networks?: import("@xyo-network/xl1-network-model").NetworkBootstrap[];
19
+ updateActiveNetwork?: (networkId: import("@xyo-network/xl1-network-model").NetworkBootstrap["id"]) => void;
20
20
  }>, never> & {
21
21
  provided: false;
22
22
  })>;
@@ -1,8 +1,8 @@
1
1
  export declare const useChainNetwork: (required?: boolean) => Omit<{
2
- activeNetwork?: import("@xyo-network/chain-network-model").NetworkBootstrap;
2
+ activeNetwork?: import("@xyo-network/xl1-network-model").NetworkBootstrap;
3
3
  chainNetworkError?: Error;
4
- networks?: import("@xyo-network/chain-network-model").NetworkBootstrap[];
5
- updateActiveNetwork?: (networkId: import("@xyo-network/chain-network-model").NetworkBootstrap["id"]) => void;
4
+ networks?: import("@xyo-network/xl1-network-model").NetworkBootstrap[];
5
+ updateActiveNetwork?: (networkId: import("@xyo-network/xl1-network-model").NetworkBootstrap["id"]) => void;
6
6
  } & {
7
7
  provided: true;
8
8
  }, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<import("./state.ts").ChainNetworkState>, "provided">;
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.12.5",
4
+ "version": "1.12.7",
5
5
  "description": "XYO Layer One React SDK",
6
6
  "homepage": "https://xylabs.com",
7
7
  "bugs": {
@@ -50,9 +50,9 @@
50
50
  "@xylabs/react-promise": "~7.0.4",
51
51
  "@xylabs/react-shared": "~7.0.4",
52
52
  "@xylabs/typeof": "~5.0.10",
53
- "@xyo-network/chain-network-model": "~1.12.5",
54
- "@xyo-network/react-chain-provider": "~1.12.5",
55
- "@xyo-network/react-chain-shared": "~1.12.5",
53
+ "@xyo-network/chain-network-model": "~1.12.7",
54
+ "@xyo-network/react-chain-provider": "~1.12.7",
55
+ "@xyo-network/react-chain-shared": "~1.12.7",
56
56
  "@xyo-network/xl1-protocol": "~1.10.15"
57
57
  },
58
58
  "devDependencies": {
@@ -62,10 +62,11 @@
62
62
  "@mui/material": "~7.3.1",
63
63
  "@storybook/react-vite": "~9.1.2",
64
64
  "@types/react": "~19.1.10",
65
- "@xylabs/ts-scripts-yarn3": "~7.1.3",
66
- "@xylabs/tsconfig": "~7.1.3",
67
- "@xylabs/tsconfig-dom": "~7.1.3",
68
- "@xylabs/tsconfig-react": "~7.1.3",
65
+ "@xylabs/ts-scripts-yarn3": "~7.1.7",
66
+ "@xylabs/tsconfig": "~7.1.7",
67
+ "@xylabs/tsconfig-dom": "~7.1.7",
68
+ "@xylabs/tsconfig-react": "~7.1.7",
69
+ "eslint": "^9.33.0",
69
70
  "react": "~19.1.1",
70
71
  "react-dom": "~19.1.1",
71
72
  "react-router-dom": "~7.8.1",