@xyo-network/react-node-context 3.0.1 → 3.0.2

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,"sources":["../../src/ModuleRepository/Context.ts","../../src/Node/Context.ts","../../src/NodeDrawerContext/Context.ts"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport { ModuleRepositoryContextState } from './State.ts'\n\nexport const ModuleRepositoryContext = createContextEx<ModuleRepositoryContextState>()\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { NodeContextState } from './State.ts'\n\nexport const NodeContext = createContextEx<NodeContextState>()\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport { NodeDrawerState } from './State.ts'\n\nexport const NodeDrawerContext = createContextEx<NodeDrawerState>()\n"],"mappings":";AAAA,SAASA,uBAAuB;AAIzB,IAAMC,0BAA0BD,gBAAAA;;;ACJvC,SAASE,mBAAAA,wBAAuB;AAIzB,IAAMC,cAAcD,iBAAAA;;;ACJ3B,SAASE,mBAAAA,wBAAuB;AAIzB,IAAMC,oBAAoBD,iBAAAA;","names":["createContextEx","ModuleRepositoryContext","createContextEx","NodeContext","createContextEx","NodeDrawerContext"]}
1
+ {"version":3,"sources":["../../src/ModuleRepository/Context.ts","../../src/Node/Context.ts","../../src/NodeDrawerContext/Context.ts"],"sourcesContent":["import { createContextEx } from '@xyo-network/react-shared'\n\nimport type { ModuleRepositoryContextState } from './State.ts'\n\nexport const ModuleRepositoryContext = createContextEx<ModuleRepositoryContextState>()\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport type { NodeContextState } from './State.ts'\n\nexport const NodeContext = createContextEx<NodeContextState>()\n","import { createContextEx } from '@xyo-network/react-shared'\n\nimport type { NodeDrawerState } from './State.ts'\n\nexport const NodeDrawerContext = createContextEx<NodeDrawerState>()\n"],"mappings":";AAAA,SAASA,uBAAuB;AAIzB,IAAMC,0BAA0BD,gBAAAA;;;ACJvC,SAASE,mBAAAA,wBAAuB;AAIzB,IAAMC,cAAcD,iBAAAA;;;ACJ3B,SAASE,mBAAAA,wBAAuB;AAIzB,IAAMC,oBAAoBD,iBAAAA;","names":["createContextEx","ModuleRepositoryContext","createContextEx","NodeContext","createContextEx","NodeDrawerContext"]}
package/package.json CHANGED
@@ -7,16 +7,16 @@
7
7
  },
8
8
  "bugs": {
9
9
  "email": "support@xyo.network",
10
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
10
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/module-model": "^3.0.2",
14
- "@xyo-network/node-model": "^3.0.2",
15
- "@xyo-network/react-shared": "^3.0.1"
13
+ "@xyo-network/module-model": "^3.0.3",
14
+ "@xyo-network/node-model": "^3.0.3",
15
+ "@xyo-network/react-shared": "^3.0.2"
16
16
  },
17
17
  "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15",
19
- "@xylabs/tsconfig-react": "^4.0.0-rc.15",
18
+ "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
19
+ "@xylabs/tsconfig-react": "^4.0.0-rc.20",
20
20
  "typescript": "^5.5.4"
21
21
  },
22
22
  "peerDependencies": {
@@ -53,7 +53,7 @@
53
53
  },
54
54
  "repository": {
55
55
  "type": "git",
56
- "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js.git"
56
+ "url": "git+https://github.com/XYOracleNetwork/sdk-xyo-react-js.git"
57
57
  },
58
58
  "scripts": {
59
59
  "lint-pkg": "npmPkgJsonLint .",
@@ -61,6 +61,6 @@
61
61
  },
62
62
  "sideEffects": false,
63
63
  "types": "dist/browser/index.d.ts",
64
- "version": "3.0.1",
64
+ "version": "3.0.2",
65
65
  "type": "module"
66
66
  }
@@ -1,5 +1,5 @@
1
1
  import { createContextEx } from '@xyo-network/react-shared'
2
2
 
3
- import { ModuleRepositoryContextState } from './State.ts'
3
+ import type { ModuleRepositoryContextState } from './State.ts'
4
4
 
5
5
  export const ModuleRepositoryContext = createContextEx<ModuleRepositoryContextState>()
@@ -1,5 +1,5 @@
1
- import { ModuleResolver } from '@xyo-network/module-model'
2
- import { ContextExState } from '@xyo-network/react-shared'
1
+ import type { ModuleResolver } from '@xyo-network/module-model'
2
+ import type { ContextExState } from '@xyo-network/react-shared'
3
3
 
4
4
  export interface ResolverEntries {
5
5
  [name: string]: ModuleResolver
@@ -1,5 +1,5 @@
1
1
  import { createContextEx } from '@xyo-network/react-shared'
2
2
 
3
- import { NodeContextState } from './State.ts'
3
+ import type { NodeContextState } from './State.ts'
4
4
 
5
5
  export const NodeContext = createContextEx<NodeContextState>()
package/src/Node/State.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { NodeInstance } from '@xyo-network/node-model'
1
+ import type { NodeInstance } from '@xyo-network/node-model'
2
2
  export interface NodeContextState {
3
3
  node?: NodeInstance | null
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { createContextEx } from '@xyo-network/react-shared'
2
2
 
3
- import { NodeDrawerState } from './State.ts'
3
+ import type { NodeDrawerState } from './State.ts'
4
4
 
5
5
  export const NodeDrawerContext = createContextEx<NodeDrawerState>()
@@ -1,5 +1,5 @@
1
- import { ContextExState } from '@xyo-network/react-shared'
2
- import { Dispatch, SetStateAction } from 'react'
1
+ import type { ContextExState } from '@xyo-network/react-shared'
2
+ import type { Dispatch, SetStateAction } from 'react'
3
3
 
4
4
  export interface NodeDrawerState extends ContextExState {
5
5
  open?: boolean
package/xy.config.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
1
+ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {