@xyo-network/react-node-context 9.0.1 → 9.0.4

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 +1 @@
1
- {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/ModuleRepository/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB;4BAC6B,CAAC;;;;;;4BAAD,CAAC;;;;;;4BAAD,CAAC;;;;;GADoB,CAAA"}
1
+ {"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../src/ModuleRepository/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,uBAAuB;4BACuB,CAAC;;;;;;4BAAD,CAAC;;;;;;4BAAD,CAAC;;;;;GAD0B,CAAA"}
@@ -1,5 +1,5 @@
1
1
  import type { ContextExState } from '@xylabs/react-shared';
2
- import type { ModuleResolver } from '@xyo-network/module-model';
2
+ import type { ModuleResolver } from '@xyo-network/sdk-js';
3
3
  export type ResolverEntries = Record<string, ModuleResolver>;
4
4
  export type ModuleRepositoryContextState = ContextExState<{
5
5
  removeResolvers?: (names?: string[]) => boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/ModuleRepository/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAE5D,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC;IACxD,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAA;IAC/C,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,OAAO,CAAA;CAC1D,CAAC,CAAA"}
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/ModuleRepository/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AAEzD,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,cAAc,CAAC,CAAA;AAE5D,MAAM,MAAM,4BAA4B,GAAG,cAAc,CAAC;IACxD,eAAe,CAAC,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,KAAK,OAAO,CAAA;IAC/C,SAAS,CAAC,EAAE,eAAe,CAAA;IAC3B,eAAe,CAAC,EAAE,CAAC,SAAS,EAAE,eAAe,KAAK,OAAO,CAAA;CAC1D,CAAC,CAAA"}
@@ -1,13 +1,13 @@
1
1
  export declare const NodeContext: import("react").Context<({
2
- node?: import("@xyo-network/node-model").NodeInstance | null;
2
+ node?: import("@xyo-network/sdk-js").NodeInstance | null;
3
3
  } & {
4
4
  provided: true;
5
5
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
6
- node?: import("@xyo-network/node-model").NodeInstance | null;
6
+ node?: import("@xyo-network/sdk-js").NodeInstance | null;
7
7
  }>, never> & {
8
8
  provided: false;
9
9
  }) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
10
- node?: import("@xyo-network/node-model").NodeInstance | null;
10
+ node?: import("@xyo-network/sdk-js").NodeInstance | null;
11
11
  }>, never> & {
12
12
  provided: false;
13
13
  })>;
@@ -1,5 +1,5 @@
1
1
  import type { ContextExState } from '@xylabs/react-shared';
2
- import type { NodeInstance } from '@xyo-network/node-model';
2
+ import type { NodeInstance } from '@xyo-network/sdk-js';
3
3
  export type NodeContextState = ContextExState<{
4
4
  node?: NodeInstance | null;
5
5
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/Node/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;IAC5C,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAA;CAC3B,CAAC,CAAA"}
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../src/Node/State.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,MAAM,MAAM,gBAAgB,GAAG,cAAc,CAAC;IAC5C,IAAI,CAAC,EAAE,YAAY,GAAG,IAAI,CAAA;CAC3B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-node-context",
3
- "version": "9.0.1",
3
+ "version": "9.0.4",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -49,18 +49,17 @@
49
49
  "@opentelemetry/sdk-trace-base": "^2.7.1",
50
50
  "@scure/base": "~2.2.0",
51
51
  "@scure/bip39": "~2.2.0",
52
- "@types/react": "^19.2.15",
53
- "@xylabs/geo": "^6.0.4",
52
+ "@types/react": "^19.2.16",
53
+ "@xylabs/geo": "^6.0.7",
54
54
  "@xylabs/react-shared": "~9.0.2",
55
- "@xylabs/sdk-js": "^6.0.4",
56
- "@xylabs/threads": "^6.0.4",
57
- "@xylabs/toolchain": "~8.1.8",
58
- "@xylabs/tsconfig": "^8.1.8",
59
- "@xylabs/tsconfig-dom": "^8.1.8",
60
- "@xylabs/tsconfig-react": "~8.1.8",
61
- "@xyo-network/module-model": "^6.0.1",
62
- "@xyo-network/node-model": "^6.0.1",
63
- "@xyo-network/sdk-protocol-js": "~6.0.5",
55
+ "@xylabs/sdk-js": "^6.0.7",
56
+ "@xylabs/threads": "^6.0.7",
57
+ "@xylabs/toolchain": "~8.1.15",
58
+ "@xylabs/tsconfig": "^8.1.15",
59
+ "@xylabs/tsconfig-dom": "^8.1.15",
60
+ "@xylabs/tsconfig-react": "~8.1.15",
61
+ "@xyo-network/sdk-js": "^6.0.2",
62
+ "@xyo-network/sdk-protocol-js": "~6.0.7",
64
63
  "ajv": "^8.20.0",
65
64
  "async-mutex": "^0.5.0",
66
65
  "bn.js": "^5.2.3",
@@ -70,15 +69,12 @@
70
69
  "ethers": "^6.16.0",
71
70
  "hash-wasm": "~4.12.0",
72
71
  "idb": "^8.0.3",
73
- "lru-cache": "^11.3.6",
74
- "mapbox-gl": "^3.23.1",
72
+ "lru-cache": "^11.5.1",
75
73
  "observable-fns": "~0.6.1",
76
74
  "pako": "^2.1.0",
77
- "react": "^19.2.6",
78
- "react-dom": "^19.2.6",
79
- "store2": "~2.14.4",
75
+ "react": "^19.2.7",
76
+ "react-dom": "^19.2.7",
80
77
  "typescript": "^6.0.3",
81
- "wasm-feature-detect": "~1.8.0",
82
78
  "webextension-polyfill": "^0.12.0",
83
79
  "zod": "^4.4.3"
84
80
  },
@@ -95,8 +91,7 @@
95
91
  "@xylabs/react-shared": "~9.0",
96
92
  "@xylabs/sdk-js": "^6.0",
97
93
  "@xylabs/threads": "^6.0",
98
- "@xyo-network/module-model": "^6.0",
99
- "@xyo-network/node-model": "^6.0",
94
+ "@xyo-network/sdk-js": "^6.0",
100
95
  "@xyo-network/sdk-protocol-js": "~6.0",
101
96
  "ajv": "^8.20",
102
97
  "async-mutex": "^0.5",
@@ -107,13 +102,10 @@
107
102
  "hash-wasm": "~4.12",
108
103
  "idb": "^8.0",
109
104
  "lru-cache": "^11.3",
110
- "mapbox-gl": "^3.23",
111
105
  "observable-fns": "~0.6",
112
106
  "pako": "^2.1",
113
107
  "react": "^19.2",
114
108
  "react-dom": "^19.2",
115
- "store2": "~2.14",
116
- "wasm-feature-detect": "~1.8",
117
109
  "webextension-polyfill": "^0.12",
118
110
  "zod": "^4.4"
119
111
  },