@xyo-network/react-network 9.1.1 → 10.0.0

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.
@@ -4,7 +4,24 @@ export declare const defaultNetworkConfigs: (Omit<NetworkPayload, 'schema'> & {
4
4
  schema: NetworkSchema;
5
5
  })[];
6
6
  /** @deprecated use defaultNetworkConfigs instead */
7
- export declare const networkPresets: (Omit<NetworkPayload, "schema"> & {
7
+ export declare const networkPresets: (Omit<{
8
+ schema: "network.xyo.network" & {
9
+ readonly __schema: true;
10
+ };
11
+ slug: string;
12
+ name?: string | undefined;
13
+ nodes?: {
14
+ schema: "network.xyo.network.node" & {
15
+ readonly __schema: true;
16
+ };
17
+ slug: string;
18
+ type: "archivist" | "diviner" | "bridge" | "sentinel";
19
+ uri: string;
20
+ docs?: string | undefined;
21
+ name?: string | undefined;
22
+ web?: string | undefined;
23
+ }[] | undefined;
24
+ }, "schema"> & {
8
25
  schema: NetworkSchema;
9
26
  })[];
10
27
  //# sourceMappingURL=default.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKnD,eAAO,MAAM,qBAAqB,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,GAAG;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,CAAC,EAyB/F,CAAA;AAED,oDAAoD;AACpD,eAAO,MAAM,cAAc;YA5BqD,aAAa;IA4B1C,CAAA"}
1
+ {"version":3,"file":"default.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/default.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACzD,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAKnD,eAAO,MAAM,qBAAqB,EAAE,CAAC,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC,GAAG;IAAE,MAAM,EAAE,aAAa,CAAA;CAAE,CAAC,EAyB/F,CAAA;AAED,oDAAoD;AACpD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;YA5BqD,aAAa;IA4B1C,CAAA"}
@@ -1,12 +1,80 @@
1
- export declare const findNetworkConfig: (slug: string, configs?: (Omit<import("@xyo-network/sdk-protocol-js").NetworkPayload, "schema"> & {
1
+ export declare const findNetworkConfig: (slug: string, configs?: (Omit<{
2
+ schema: "network.xyo.network" & {
3
+ readonly __schema: true;
4
+ };
5
+ slug: string;
6
+ name?: string | undefined;
7
+ nodes?: {
8
+ schema: "network.xyo.network.node" & {
9
+ readonly __schema: true;
10
+ };
11
+ slug: string;
12
+ type: "archivist" | "diviner" | "bridge" | "sentinel";
13
+ uri: string;
14
+ docs?: string | undefined;
15
+ name?: string | undefined;
16
+ web?: string | undefined;
17
+ }[] | undefined;
18
+ }, "schema"> & {
2
19
  schema: import("@xyo-network/sdk-protocol-js").NetworkSchema;
3
- })[]) => (Omit<import("@xyo-network/sdk-protocol-js").NetworkPayload, "schema"> & {
20
+ })[]) => (Omit<{
21
+ schema: "network.xyo.network" & {
22
+ readonly __schema: true;
23
+ };
24
+ slug: string;
25
+ name?: string | undefined;
26
+ nodes?: {
27
+ schema: "network.xyo.network.node" & {
28
+ readonly __schema: true;
29
+ };
30
+ slug: string;
31
+ type: "archivist" | "diviner" | "bridge" | "sentinel";
32
+ uri: string;
33
+ docs?: string | undefined;
34
+ name?: string | undefined;
35
+ web?: string | undefined;
36
+ }[] | undefined;
37
+ }, "schema"> & {
4
38
  schema: import("@xyo-network/sdk-protocol-js").NetworkSchema;
5
39
  }) | undefined;
6
40
  /** @deprecated use findNetworkConfig instead */
7
- export declare const findNetworkPreset: (slug: string, configs?: (Omit<import("@xyo-network/sdk-protocol-js").NetworkPayload, "schema"> & {
41
+ export declare const findNetworkPreset: (slug: string, configs?: (Omit<{
42
+ schema: "network.xyo.network" & {
43
+ readonly __schema: true;
44
+ };
45
+ slug: string;
46
+ name?: string | undefined;
47
+ nodes?: {
48
+ schema: "network.xyo.network.node" & {
49
+ readonly __schema: true;
50
+ };
51
+ slug: string;
52
+ type: "archivist" | "diviner" | "bridge" | "sentinel";
53
+ uri: string;
54
+ docs?: string | undefined;
55
+ name?: string | undefined;
56
+ web?: string | undefined;
57
+ }[] | undefined;
58
+ }, "schema"> & {
8
59
  schema: import("@xyo-network/sdk-protocol-js").NetworkSchema;
9
- })[]) => (Omit<import("@xyo-network/sdk-protocol-js").NetworkPayload, "schema"> & {
60
+ })[]) => (Omit<{
61
+ schema: "network.xyo.network" & {
62
+ readonly __schema: true;
63
+ };
64
+ slug: string;
65
+ name?: string | undefined;
66
+ nodes?: {
67
+ schema: "network.xyo.network.node" & {
68
+ readonly __schema: true;
69
+ };
70
+ slug: string;
71
+ type: "archivist" | "diviner" | "bridge" | "sentinel";
72
+ uri: string;
73
+ docs?: string | undefined;
74
+ name?: string | undefined;
75
+ web?: string | undefined;
76
+ }[] | undefined;
77
+ }, "schema"> & {
10
78
  schema: import("@xyo-network/sdk-protocol-js").NetworkSchema;
11
79
  }) | undefined;
12
80
  //# sourceMappingURL=find.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/find.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,EAAE;;IAA+B;;cAI9E,CAAA;AAED,gDAAgD;AAChD,eAAO,MAAM,iBAAiB,SAPU,MAAM;;;;cAOI,CAAA"}
1
+ {"version":3,"file":"find.d.ts","sourceRoot":"","sources":["../../../../src/lib/Config/find.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,EAAE;;;;;;;;;;;;;;;;;;;IAA+B;;;;;;;;;;;;;;;;;;;cAI9E,CAAA;AAED,gDAAgD;AAChD,eAAO,MAAM,iBAAiB,SAPU,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAOI,CAAA"}
@@ -1,4 +1,14 @@
1
1
  import type { NetworkNodePayload } from '@xyo-network/sdk-js';
2
- export declare const findDivinerPreset: (slug: string) => NetworkNodePayload;
2
+ export declare const findDivinerPreset: (slug: string) => {
3
+ schema: "network.xyo.network.node" & {
4
+ readonly __schema: true;
5
+ };
6
+ slug: string;
7
+ type: "archivist" | "diviner" | "bridge" | "sentinel";
8
+ uri: string;
9
+ docs?: string | undefined;
10
+ name?: string | undefined;
11
+ web?: string | undefined;
12
+ };
3
13
  export declare const divinerPresets: NetworkNodePayload[];
4
14
  //# sourceMappingURL=divinerPresets.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"divinerPresets.d.ts","sourceRoot":"","sources":["../../../src/lib/divinerPresets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAG7D,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM,uBAM7C,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAyB9C,CAAA"}
1
+ {"version":3,"file":"divinerPresets.d.ts","sourceRoot":"","sources":["../../../src/lib/divinerPresets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AAG7D,eAAO,MAAM,iBAAiB,GAAI,MAAM,MAAM;;;;;;;;;;CAM7C,CAAA;AAED,eAAO,MAAM,cAAc,EAAE,kBAAkB,EAyB9C,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-network",
3
- "version": "9.1.1",
3
+ "version": "10.0.0",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -43,41 +43,41 @@
43
43
  "devDependencies": {
44
44
  "@bitauth/libauth": "~3.0.0",
45
45
  "@metamask/providers": "^22.1.1",
46
- "@mui/material": "^9.1.1",
46
+ "@mui/material": "^9.1.2",
47
47
  "@noble/post-quantum": "~0.6.1",
48
48
  "@opentelemetry/api": "^1.9.1",
49
49
  "@opentelemetry/sdk-trace-base": "^2.8.0",
50
50
  "@scure/base": "~2.2.0",
51
51
  "@scure/bip39": "~2.2.0",
52
- "@storybook/react-vite": "~10.4.4",
52
+ "@storybook/react-vite": "~10.4.6",
53
53
  "@types/react": "^19.2.17",
54
- "@xylabs/geo": "^6.1.1",
55
- "@xylabs/react-flexbox": "^9.1.0",
56
- "@xylabs/react-select": "^9.1.0",
57
- "@xylabs/react-shared": "^9.1.0",
58
- "@xylabs/sdk-js": "^6.1.1",
59
- "@xylabs/threads": "^6.1.1",
60
- "@xylabs/toolchain": "~8.1.20",
61
- "@xylabs/tsconfig": "^8.1.20",
62
- "@xylabs/tsconfig-dom": "^8.1.20",
63
- "@xylabs/tsconfig-react": "~8.1.20",
64
- "@xyo-network/sdk-js": "^6.1.0",
65
- "@xyo-network/sdk-protocol-js": "^6.1.1",
54
+ "@xylabs/geo": "^6.1.4",
55
+ "@xylabs/react-flexbox": "^9.1.2",
56
+ "@xylabs/react-select": "^9.1.2",
57
+ "@xylabs/react-shared": "^9.1.2",
58
+ "@xylabs/sdk-js": "^6.1.4",
59
+ "@xylabs/threads": "^6.1.4",
60
+ "@xylabs/toolchain": "~8.3.0",
61
+ "@xylabs/tsconfig": "^8.3.0",
62
+ "@xylabs/tsconfig-dom": "^8.3.0",
63
+ "@xylabs/tsconfig-react": "~8.3.0",
64
+ "@xyo-network/sdk-js": "^7.0.0",
65
+ "@xyo-network/sdk-protocol-js": "^7.0.0",
66
66
  "ajv": "^8.20.0",
67
67
  "async-mutex": "^0.5.0",
68
68
  "debug": "~4.4.3",
69
- "eslint": "^10.4.1",
70
- "ethers": "^6.16.0",
69
+ "eslint": "^10.5.0",
70
+ "ethers": "^6.17.0",
71
71
  "hash-wasm": "~4.12.0",
72
72
  "idb": "^8.0.3",
73
73
  "lru-cache": "^11.5.1",
74
74
  "observable-fns": "~0.6.1",
75
75
  "react": "^19.2.7",
76
76
  "react-dom": "^19.2.7",
77
- "react-router-dom": "^7.17.0",
78
- "storybook": "^10.4.4",
77
+ "react-router-dom": "^7.18.0",
78
+ "storybook": "^10.4.6",
79
79
  "typescript": "^6.0.3",
80
- "vite": "^8.0.16",
80
+ "vite": "^8.1.0",
81
81
  "webextension-polyfill": "^0.12.0",
82
82
  "zod": "^4.4.3"
83
83
  },