@xyo-network/react-sentinel 4.2.14 → 4.3.0-rc.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,7 +1,5 @@
1
1
  export declare const useSentinelContext: () => {
2
- history: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/boundwitness-model").BoundWitnessFields & {
3
- schema: "network.xyo.boundwitness";
4
- })[] | undefined;
2
+ history: import("@xyo-network/boundwitness-model").BoundWitness[] | undefined;
5
3
  progress: import("./State.ts").SentinelReportProgress | undefined;
6
4
  reportingErrors: Error[] | undefined;
7
5
  sentinel: import("@xyo-network/sentinel-model").SentinelModule<import("@xylabs/object").BaseParamsFields & {
@@ -9,17 +7,99 @@ export declare const useSentinelContext: () => {
9
7
  addToResolvers?: boolean;
10
8
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
11
9
  allowNameResolution?: boolean;
12
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & {
13
- automations?: import("@xyo-network/sentinel-model").SentinelAutomationPayload[];
14
- schema: "network.xyo.sentinel.config";
15
- synchronous?: boolean;
16
- tasks: import("@xyo-network/sentinel-model").Task[];
17
- throwErrors?: boolean;
18
- }, "schema"> & {
19
- schema: "network.xyo.sentinel.config";
20
- }, "schema"> & {
21
- schema: string;
22
- };
10
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
11
+ schema: import("@xyo-network/payload-model").Schema;
12
+ readonly archiving?: {
13
+ readonly archivists?: string[] | undefined;
14
+ readonly queries?: string[] | undefined;
15
+ } | undefined;
16
+ readonly allowedQueries?: string[] | undefined;
17
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
18
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
19
+ readonly labels?: {
20
+ [x: string]: string | undefined;
21
+ } | undefined;
22
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
23
+ readonly paging?: {
24
+ [x: string]: {
25
+ size?: number | undefined;
26
+ };
27
+ } | undefined;
28
+ readonly retry?: {
29
+ backoff?: number | undefined;
30
+ interval?: number | undefined;
31
+ retries?: number | undefined;
32
+ } | undefined;
33
+ readonly security?: {
34
+ readonly allowAnonymous?: boolean | undefined;
35
+ readonly allowed?: {
36
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
37
+ } | undefined;
38
+ readonly disallowed?: {
39
+ [x: string]: Lowercase<string>[];
40
+ } | undefined;
41
+ } | undefined;
42
+ readonly sign?: boolean | undefined;
43
+ readonly storeQueries?: boolean | undefined;
44
+ readonly timestamp?: boolean | undefined;
45
+ automations?: ({
46
+ schema: "network.xyo.automation.interval";
47
+ type: "interval";
48
+ end?: number | undefined;
49
+ frequency?: number | undefined;
50
+ frequencyUnits?: "second" | "minute" | "hour" | "day" | undefined;
51
+ remaining?: number | undefined;
52
+ start: number;
53
+ } | {
54
+ schema: "network.xyo.automation.event";
55
+ type: "interval";
56
+ end?: number | undefined;
57
+ frequency?: number | undefined;
58
+ frequencyUnits?: "second" | "minute" | "hour" | "day" | undefined;
59
+ remaining?: number | undefined;
60
+ start: number;
61
+ } | {
62
+ schema: "network.xyo.automation";
63
+ type: "interval";
64
+ end?: number | undefined;
65
+ frequency?: number | undefined;
66
+ frequencyUnits?: "second" | "minute" | "hour" | "day" | undefined;
67
+ remaining?: number | undefined;
68
+ start: number;
69
+ } | {
70
+ schema: "network.xyo.automation.interval";
71
+ type: "event";
72
+ } | {
73
+ schema: "network.xyo.automation.event";
74
+ type: "event";
75
+ } | {
76
+ schema: "network.xyo.automation";
77
+ type: "event";
78
+ })[] | undefined;
79
+ synchronous?: boolean | undefined;
80
+ tasks: ({
81
+ endPoint?: "observe" | undefined;
82
+ input?: string | boolean | string[] | undefined;
83
+ mod: import("@xyo-network/module-model").ModuleIdentifier;
84
+ required?: boolean | undefined;
85
+ } | {
86
+ endPoint?: "divine" | undefined;
87
+ input?: string | boolean | string[] | undefined;
88
+ mod: import("@xyo-network/module-model").ModuleIdentifier;
89
+ required?: boolean | undefined;
90
+ } | {
91
+ endPoint?: "clear" | "all" | "commit" | "delete" | "get" | "insert" | undefined;
92
+ input?: string | boolean | string[] | undefined;
93
+ mod: import("@xyo-network/module-model").ModuleIdentifier;
94
+ required?: boolean | undefined;
95
+ } | {
96
+ endPoint?: string | undefined;
97
+ input?: string | boolean | string[] | undefined;
98
+ mod: import("@xyo-network/module-model").ModuleIdentifier;
99
+ required?: boolean | undefined;
100
+ })[];
101
+ throwErrors?: boolean | undefined;
102
+ }>;
23
103
  ephemeralQueryAccountEnabled?: boolean;
24
104
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
25
105
  }, import("@xyo-network/sentinel-model").SentinelModuleEventData<import("@xyo-network/module-model").Module<import("@xylabs/object").BaseParamsFields & {
@@ -27,11 +107,42 @@ export declare const useSentinelContext: () => {
27
107
  addToResolvers?: boolean;
28
108
  additionalSigners?: import("@xyo-network/account-model").AccountInstance[];
29
109
  allowNameResolution?: boolean;
30
- config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & Omit<import("@xyo-network/module-model").ArchivingModuleConfig & import("@xyo-network/module-model").ModuleConfigFields & import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
31
- schema: "network.xyo.module.config";
32
- }, "schema"> & {
33
- schema: string;
34
- };
110
+ config: import("@xylabs/object").DeepRestrictToStringKeys<{
111
+ schema: import("@xyo-network/payload-model").Schema;
112
+ readonly archiving?: {
113
+ readonly archivists?: string[] | undefined;
114
+ readonly queries?: string[] | undefined;
115
+ } | undefined;
116
+ readonly allowedQueries?: string[] | undefined;
117
+ readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
118
+ readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
119
+ readonly labels?: {
120
+ [x: string]: string | undefined;
121
+ } | undefined;
122
+ readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
123
+ readonly paging?: {
124
+ [x: string]: {
125
+ size?: number | undefined;
126
+ };
127
+ } | undefined;
128
+ readonly retry?: {
129
+ backoff?: number | undefined;
130
+ interval?: number | undefined;
131
+ retries?: number | undefined;
132
+ } | undefined;
133
+ readonly security?: {
134
+ readonly allowAnonymous?: boolean | undefined;
135
+ readonly allowed?: {
136
+ [x: string]: (Lowercase<string> | Lowercase<string>[])[];
137
+ } | undefined;
138
+ readonly disallowed?: {
139
+ [x: string]: Lowercase<string>[];
140
+ } | undefined;
141
+ } | undefined;
142
+ readonly sign?: boolean | undefined;
143
+ readonly storeQueries?: boolean | undefined;
144
+ readonly timestamp?: boolean | undefined;
145
+ }>;
35
146
  ephemeralQueryAccountEnabled?: boolean;
36
147
  moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
37
148
  }, import("@xyo-network/module-model").ModuleEventData<object>>>> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO9B,CAAA"}
1
+ {"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../src/contexts/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAO9B,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/react-sentinel",
3
- "version": "4.2.14",
3
+ "version": "4.3.0-rc.2",
4
4
  "description": "Common React library for all XYO projects that use React",
5
5
  "keywords": [
6
6
  "xyo",
@@ -49,19 +49,19 @@
49
49
  "@xylabs/react-button": "^5.3.13",
50
50
  "@xylabs/react-flexbox": "^5.3.13",
51
51
  "@xylabs/react-promise": "^5.3.13",
52
- "@xyo-network/account-model": "^3.5.2",
53
- "@xyo-network/archivist-model": "^3.5.2",
54
- "@xyo-network/boundwitness-model": "^3.5.2",
55
- "@xyo-network/module-model": "^3.5.2",
56
- "@xyo-network/payload-model": "^3.5.2",
57
- "@xyo-network/react-module": "^4.2.14",
58
- "@xyo-network/react-node": "^4.2.14",
59
- "@xyo-network/react-payload-raw-info": "^4.2.14",
60
- "@xyo-network/react-shared": "^4.2.14",
61
- "@xyo-network/react-witness": "^4.2.14",
62
- "@xyo-network/sentinel-memory": "^3.5.2",
63
- "@xyo-network/sentinel-model": "^3.5.2",
64
- "@xyo-network/witness-model": "^3.5.2"
52
+ "@xyo-network/account-model": "^3.6.0-rc.14",
53
+ "@xyo-network/archivist-model": "^3.6.0-rc.14",
54
+ "@xyo-network/boundwitness-model": "^3.6.0-rc.14",
55
+ "@xyo-network/module-model": "^3.6.0-rc.14",
56
+ "@xyo-network/payload-model": "^3.6.0-rc.14",
57
+ "@xyo-network/react-module": "^4.3.0-rc.2",
58
+ "@xyo-network/react-node": "^4.3.0-rc.2",
59
+ "@xyo-network/react-payload-raw-info": "^4.3.0-rc.2",
60
+ "@xyo-network/react-shared": "^4.3.0-rc.2",
61
+ "@xyo-network/react-witness": "^4.3.0-rc.2",
62
+ "@xyo-network/sentinel-memory": "^3.6.0-rc.14",
63
+ "@xyo-network/sentinel-model": "^3.6.0-rc.14",
64
+ "@xyo-network/witness-model": "^3.6.0-rc.14"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@emotion/react": "^11.14.0",
@@ -72,10 +72,10 @@
72
72
  "@storybook/react": "^8.4.7",
73
73
  "@xylabs/ts-scripts-yarn3": "^4.2.6",
74
74
  "@xylabs/tsconfig-react": "^4.2.6",
75
- "@xyo-network/account": "^3.5.2",
76
- "@xyo-network/evm-call-witness": "^3.1.2",
77
- "@xyo-network/manifest": "^3.5.2",
78
- "@xyo-network/module-factory-locator": "^3.5.2",
75
+ "@xyo-network/account": "^3.6.0-rc.14",
76
+ "@xyo-network/evm-call-witness": "^3.2.0-rc.3",
77
+ "@xyo-network/manifest": "^3.6.0-rc.14",
78
+ "@xyo-network/module-factory-locator": "^3.6.0-rc.14",
79
79
  "ethers": "^6.13.4",
80
80
  "react": "^18.3.1",
81
81
  "react-dom": "^18.3.1",
@@ -100,5 +100,6 @@
100
100
  "publishConfig": {
101
101
  "access": "public"
102
102
  },
103
- "docs": "dist/docs.json"
103
+ "docs": "dist/docs.json",
104
+ "stableVersion": "4.2.14"
104
105
  }