@xyo-network/react-node 2.41.33 → 2.41.34

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,6 +1,11 @@
1
1
  import { ModuleResolver } from '@xyo-network/module-model';
2
2
  export declare const useMemoryNodeUpdates: () => {
3
3
  resolver: ModuleResolver<import("@xyo-network/module-model").Module<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
4
+ security?: {
5
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
6
+ disallowed?: Record<string, string[]> | undefined;
7
+ } | undefined;
8
+ } & {
4
9
  schema: string;
5
10
  }>> | undefined;
6
11
  };
@@ -1 +1 @@
1
- {"version":3,"file":"useMemoryNodeUpdates.d.ts","sourceRoot":"","sources":["../../../src/contexts/useMemoryNodeUpdates.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAM1D,eAAO,MAAM,oBAAoB;;;;CAahC,CAAA"}
1
+ {"version":3,"file":"useMemoryNodeUpdates.d.ts","sourceRoot":"","sources":["../../../src/contexts/useMemoryNodeUpdates.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAM1D,eAAO,MAAM,oBAAoB;;;;;;;;;CAahC,CAAA"}
@@ -1,5 +1,10 @@
1
1
  import { Module, ModuleFilter } from '@xyo-network/module';
2
2
  export declare const useModules: (filter?: ModuleFilter) => Module<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
3
+ security?: {
4
+ allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
5
+ disallowed?: Record<string, string[]> | undefined;
6
+ } | undefined;
7
+ } & {
3
8
  schema: string;
4
9
  }>[] | undefined;
5
10
  //# sourceMappingURL=useModules.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAM1D,eAAO,MAAM,UAAU,YAAa,YAAY;;gBAgB/C,CAAA"}
1
+ {"version":3,"file":"useModules.d.ts","sourceRoot":"","sources":["../../../src/contexts/useModules.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAM1D,eAAO,MAAM,UAAU,YAAa,YAAY;;;;;;;gBAgB/C,CAAA"}
@@ -1,10 +1,25 @@
1
1
  import { NodeModule } from '@xyo-network/node';
2
2
  import { Dispatch } from 'react';
3
3
  export declare const useNode: <T extends NodeModule<import("@xyo-network/module-model").Module<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
4
+ security?: {
5
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
6
+ disallowed?: Record<string, string[]> | undefined;
7
+ } | undefined;
8
+ } & {
4
9
  schema: string;
5
10
  }>> = NodeModule<import("@xyo-network/module-model").Module<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
11
+ security?: {
12
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
13
+ disallowed?: Record<string, string[]> | undefined;
14
+ } | undefined;
15
+ } & {
6
16
  schema: string;
7
17
  }>>>(required?: boolean) => [T | undefined, Dispatch<NodeModule<import("@xyo-network/module-model").Module<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
18
+ security?: {
19
+ allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
20
+ disallowed?: Record<string, string[]> | undefined;
21
+ } | undefined;
22
+ } & {
8
23
  schema: string;
9
24
  }>>> | undefined];
10
25
  //# sourceMappingURL=useNode.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useNode.d.ts","sourceRoot":"","sources":["../../../src/contexts/useNode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAIhC,eAAO,MAAM,OAAO;;;;;;iBAInB,CAAA"}
1
+ {"version":3,"file":"useNode.d.ts","sourceRoot":"","sources":["../../../src/contexts/useNode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAIhC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;iBAInB,CAAA"}
package/package.json CHANGED
@@ -10,22 +10,22 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@mui/lab": "^5.0.0-alpha.115",
14
- "@xylabs/react-flexbox": "^2.15.8",
15
- "@xylabs/react-shared": "^2.15.8",
16
- "@xyo-network/archivist": "^2.43.7",
17
- "@xyo-network/diviner-model": "^2.43.7",
18
- "@xyo-network/diviner-wrapper": "^2.43.7",
19
- "@xyo-network/module": "^2.43.7",
20
- "@xyo-network/module-model": "^2.43.7",
21
- "@xyo-network/node": "^2.43.7",
22
- "@xyo-network/payload-model": "^2.43.7",
23
- "@xyo-network/react-shared": "^2.41.33",
24
- "@xyo-network/witness": "^2.43.7",
13
+ "@mui/lab": "^5.0.0-alpha.116",
14
+ "@xylabs/react-flexbox": "^2.15.9",
15
+ "@xylabs/react-shared": "^2.15.9",
16
+ "@xyo-network/archivist": "^2.43.9",
17
+ "@xyo-network/diviner-model": "^2.43.9",
18
+ "@xyo-network/diviner-wrapper": "^2.43.9",
19
+ "@xyo-network/module": "^2.43.9",
20
+ "@xyo-network/module-model": "^2.43.9",
21
+ "@xyo-network/node": "^2.43.9",
22
+ "@xyo-network/payload-model": "^2.43.9",
23
+ "@xyo-network/react-shared": "^2.41.34",
24
+ "@xyo-network/witness": "^2.43.9",
25
25
  "lodash": "^4.17.21"
26
26
  },
27
27
  "devDependencies": {
28
- "@xylabs/ts-scripts-yarn3": "2.12.0"
28
+ "@xylabs/ts-scripts-yarn3": "2.12.21"
29
29
  },
30
30
  "peerDependencies": {
31
31
  "@mui/icons-material": "^5",
@@ -78,5 +78,5 @@
78
78
  },
79
79
  "sideEffects": false,
80
80
  "types": "dist/esm/index.d.ts",
81
- "version": "2.41.33"
81
+ "version": "2.41.34"
82
82
  }