@xyo-network/react-standard-node 4.4.3 → 4.4.5

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.
Files changed (39) hide show
  1. package/dist/browser/index.d.ts +1066 -5
  2. package/package.json +9 -9
  3. package/dist/browser/components/ActiveStandardNode.d.ts +0 -7
  4. package/dist/browser/components/ActiveStandardNode.d.ts.map +0 -1
  5. package/dist/browser/components/index.d.ts +0 -2
  6. package/dist/browser/components/index.d.ts.map +0 -1
  7. package/dist/browser/contexts/StandardRemoteNodes/Context.d.ts +0 -3
  8. package/dist/browser/contexts/StandardRemoteNodes/Context.d.ts.map +0 -1
  9. package/dist/browser/contexts/StandardRemoteNodes/Providers.d.ts +0 -11
  10. package/dist/browser/contexts/StandardRemoteNodes/Providers.d.ts.map +0 -1
  11. package/dist/browser/contexts/StandardRemoteNodes/State.d.ts +0 -8
  12. package/dist/browser/contexts/StandardRemoteNodes/State.d.ts.map +0 -1
  13. package/dist/browser/contexts/StandardRemoteNodes/index.d.ts +0 -5
  14. package/dist/browser/contexts/StandardRemoteNodes/index.d.ts.map +0 -1
  15. package/dist/browser/contexts/StandardRemoteNodes/use.d.ts +0 -2
  16. package/dist/browser/contexts/StandardRemoteNodes/use.d.ts.map +0 -1
  17. package/dist/browser/contexts/index.d.ts +0 -2
  18. package/dist/browser/contexts/index.d.ts.map +0 -1
  19. package/dist/browser/hooks/index.d.ts +0 -2
  20. package/dist/browser/hooks/index.d.ts.map +0 -1
  21. package/dist/browser/hooks/useActiveNodeAddress.d.ts +0 -2
  22. package/dist/browser/hooks/useActiveNodeAddress.d.ts.map +0 -1
  23. package/dist/browser/index.d.ts.map +0 -1
  24. package/dist/browser/lib/Builders/MemoryNodeBuilder.d.ts +0 -311
  25. package/dist/browser/lib/Builders/MemoryNodeBuilder.d.ts.map +0 -1
  26. package/dist/browser/lib/Builders/SentinelBuilder.d.ts +0 -500
  27. package/dist/browser/lib/Builders/SentinelBuilder.d.ts.map +0 -1
  28. package/dist/browser/lib/Builders/StorageArchivistBuilder.d.ts +0 -212
  29. package/dist/browser/lib/Builders/StorageArchivistBuilder.d.ts.map +0 -1
  30. package/dist/browser/lib/Builders/index.d.ts +0 -4
  31. package/dist/browser/lib/Builders/index.d.ts.map +0 -1
  32. package/dist/browser/lib/ModuleAccountPaths.d.ts +0 -4
  33. package/dist/browser/lib/ModuleAccountPaths.d.ts.map +0 -1
  34. package/dist/browser/lib/ModuleNames.d.ts +0 -3
  35. package/dist/browser/lib/ModuleNames.d.ts.map +0 -1
  36. package/dist/browser/lib/buildNodes.d.ts +0 -4
  37. package/dist/browser/lib/buildNodes.d.ts.map +0 -1
  38. package/dist/browser/lib/index.d.ts +0 -5
  39. package/dist/browser/lib/index.d.ts.map +0 -1
@@ -1,212 +0,0 @@
1
- import type { AccountInstance } from '@xyo-network/account-model';
2
- import type { StorageArchivistConfig } from '@xyo-network/archivist-storage';
3
- import { StorageArchivist } from '@xyo-network/archivist-storage';
4
- import type { MemoryNode } from '@xyo-network/node-memory';
5
- export interface ArchivistBuilderConfig {
6
- name?: string;
7
- namespace?: string;
8
- }
9
- export declare class StorageArchivistBuilder {
10
- private config;
11
- private account;
12
- private node?;
13
- private _archivist;
14
- private remoteArchivist;
15
- protected constructor(config: ArchivistBuilderConfig, account: AccountInstance, node?: MemoryNode | undefined);
16
- get archivist(): StorageArchivist<import("@xylabs/object").BaseParamsFields & {
17
- account?: AccountInstance | "random";
18
- addToResolvers?: boolean;
19
- additionalSigners?: AccountInstance[];
20
- allowNameResolution?: boolean;
21
- config: import("@xylabs/object").DeepRestrictToStringKeys<{
22
- schema: import("@xyo-network/payload-model").Schema;
23
- readonly archiving?: {
24
- readonly archivists?: string[] | undefined;
25
- readonly queries?: string[] | undefined;
26
- } | undefined;
27
- readonly allowedQueries?: string[] | undefined;
28
- readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
29
- readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
30
- readonly labels?: {
31
- [x: string]: string | undefined;
32
- } | undefined;
33
- readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
34
- readonly paging?: {
35
- [x: string]: {
36
- size?: number | undefined;
37
- };
38
- } | undefined;
39
- readonly retry?: {
40
- backoff?: number | undefined;
41
- interval?: number | undefined;
42
- retries?: number | undefined;
43
- } | undefined;
44
- readonly security?: {
45
- readonly allowAnonymous?: boolean | undefined;
46
- readonly allowed?: {
47
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
48
- } | undefined;
49
- readonly disallowed?: {
50
- [x: string]: Lowercase<string>[];
51
- } | undefined;
52
- } | undefined;
53
- readonly sign?: boolean | undefined;
54
- readonly storeQueries?: boolean | undefined;
55
- readonly timestamp?: boolean | undefined;
56
- type?: "local" | "session" | "page" | undefined;
57
- parents?: {
58
- commit?: string[] | undefined;
59
- read?: string[] | undefined;
60
- write?: string[] | undefined;
61
- } | undefined;
62
- requireAllParents?: boolean | undefined;
63
- storage?: {
64
- indexes?: {
65
- key: {
66
- [x: string]: import("@xyo-network/archivist-model").IndexDirection;
67
- };
68
- multiEntry?: boolean | undefined;
69
- name?: string | undefined;
70
- unique?: boolean | undefined;
71
- }[] | undefined;
72
- } | undefined;
73
- storeParentReads?: boolean | undefined;
74
- maxEntries?: number | undefined;
75
- maxEntrySize?: number | undefined;
76
- namespace?: string | undefined;
77
- }>;
78
- ephemeralQueryAccountEnabled?: boolean;
79
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
80
- } & import("@xyo-network/archivist-model").ArchivistParamFields & object, import("@xyo-network/archivist-model").ArchivistModuleEventData>;
81
- static create(config: ArchivistBuilderConfig, account: AccountInstance, node: MemoryNode): Promise<StorageArchivistBuilder>;
82
- buildArchivist(): Promise<StorageArchivist<import("@xylabs/object").BaseParamsFields & {
83
- account?: AccountInstance | "random";
84
- addToResolvers?: boolean;
85
- additionalSigners?: AccountInstance[];
86
- allowNameResolution?: boolean;
87
- config: import("@xylabs/object").DeepRestrictToStringKeys<{
88
- schema: import("@xyo-network/payload-model").Schema;
89
- readonly archiving?: {
90
- readonly archivists?: string[] | undefined;
91
- readonly queries?: string[] | undefined;
92
- } | undefined;
93
- readonly allowedQueries?: string[] | undefined;
94
- readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
95
- readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
96
- readonly labels?: {
97
- [x: string]: string | undefined;
98
- } | undefined;
99
- readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
100
- readonly paging?: {
101
- [x: string]: {
102
- size?: number | undefined;
103
- };
104
- } | undefined;
105
- readonly retry?: {
106
- backoff?: number | undefined;
107
- interval?: number | undefined;
108
- retries?: number | undefined;
109
- } | undefined;
110
- readonly security?: {
111
- readonly allowAnonymous?: boolean | undefined;
112
- readonly allowed?: {
113
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
114
- } | undefined;
115
- readonly disallowed?: {
116
- [x: string]: Lowercase<string>[];
117
- } | undefined;
118
- } | undefined;
119
- readonly sign?: boolean | undefined;
120
- readonly storeQueries?: boolean | undefined;
121
- readonly timestamp?: boolean | undefined;
122
- type?: "local" | "session" | "page" | undefined;
123
- parents?: {
124
- commit?: string[] | undefined;
125
- read?: string[] | undefined;
126
- write?: string[] | undefined;
127
- } | undefined;
128
- requireAllParents?: boolean | undefined;
129
- storage?: {
130
- indexes?: {
131
- key: {
132
- [x: string]: import("@xyo-network/archivist-model").IndexDirection;
133
- };
134
- multiEntry?: boolean | undefined;
135
- name?: string | undefined;
136
- unique?: boolean | undefined;
137
- }[] | undefined;
138
- } | undefined;
139
- storeParentReads?: boolean | undefined;
140
- maxEntries?: number | undefined;
141
- maxEntrySize?: number | undefined;
142
- namespace?: string | undefined;
143
- }>;
144
- ephemeralQueryAccountEnabled?: boolean;
145
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
146
- } & import("@xyo-network/archivist-model").ArchivistParamFields & object, import("@xyo-network/archivist-model").ArchivistModuleEventData>>;
147
- buildConfig(): StorageArchivistConfig;
148
- findParentArchivist(): Promise<import("@xyo-network/archivist-model").ArchivistInstance<import("@xylabs/object").BaseParamsFields & {
149
- account?: AccountInstance | "random";
150
- addToResolvers?: boolean;
151
- additionalSigners?: AccountInstance[];
152
- allowNameResolution?: boolean;
153
- config: import("@xylabs/object").DeepRestrictToStringKeys<{
154
- schema: import("@xyo-network/payload-model").Schema;
155
- parents?: {
156
- commit?: string[] | undefined;
157
- read?: string[] | undefined;
158
- write?: string[] | undefined;
159
- } | undefined;
160
- requireAllParents?: boolean | undefined;
161
- storage?: {
162
- indexes?: {
163
- key: {
164
- [x: string]: import("@xyo-network/archivist-model").IndexDirection;
165
- };
166
- multiEntry?: boolean | undefined;
167
- name?: string | undefined;
168
- unique?: boolean | undefined;
169
- }[] | undefined;
170
- } | undefined;
171
- storeParentReads?: boolean | undefined;
172
- readonly archiving?: {
173
- readonly archivists?: string[] | undefined;
174
- readonly queries?: string[] | undefined;
175
- } | undefined;
176
- readonly allowedQueries?: string[] | undefined;
177
- readonly archivist?: import("@xyo-network/module-model").ModuleIdentifier | undefined;
178
- readonly consoleLogger?: import("@xylabs/logger").LogLevel | undefined;
179
- readonly labels?: {
180
- [x: string]: string | undefined;
181
- } | undefined;
182
- readonly name?: import("@xyo-network/module-model").ModuleName | undefined;
183
- readonly paging?: {
184
- [x: string]: {
185
- size?: number | undefined;
186
- };
187
- } | undefined;
188
- readonly retry?: {
189
- backoff?: number | undefined;
190
- interval?: number | undefined;
191
- retries?: number | undefined;
192
- } | undefined;
193
- readonly security?: {
194
- readonly allowAnonymous?: boolean | undefined;
195
- readonly allowed?: {
196
- [x: string]: (Lowercase<string> | Lowercase<string>[])[];
197
- } | undefined;
198
- readonly disallowed?: {
199
- [x: string]: Lowercase<string>[];
200
- } | undefined;
201
- } | undefined;
202
- readonly sign?: boolean | undefined;
203
- readonly storeQueries?: boolean | undefined;
204
- readonly timestamp?: boolean | undefined;
205
- }>;
206
- ephemeralQueryAccountEnabled?: boolean;
207
- moduleIdentifierTransformers?: import("@xyo-network/module-model").ModuleIdentifierTransformer[];
208
- } & import("@xyo-network/archivist-model").ArchivistParamFields & object, import("@xyo-network/archivist-model").ArchivistModuleEventData, import("@xylabs/object").DeepRestrictToStringKeys<{
209
- schema: import("@xyo-network/payload-model").Schema;
210
- }>> | undefined>;
211
- }
212
- //# sourceMappingURL=StorageArchivistBuilder.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StorageArchivistBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/StorageArchivistBuilder.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAGjE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAA;AAC5E,OAAO,EAAE,gBAAgB,EAAgC,MAAM,gCAAgC,CAAA;AAC/F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAG1D,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AACD,qBAAa,uBAAuB;IAKhC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,IAAI,CAAC;IANf,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,eAAe,CAAqC;IAE5D,SAAS,aACC,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,eAAe,EACxB,IAAI,CAAC,EAAE,UAAU,YAAA;IAG3B,IAAI,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+IAEZ;WAEY,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAO3H,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKpB,WAAW,IAAI,sBAAsB;IAc/B,mBAAmB;;;;;;;mBAas2+B,CAAC;sBAA0B,CAAC;oBAA4C,CAAC;qBAA6C,CAAC;;6BAAgF,CAAC;mBAA0C,CAAC;uBAA2B,CAAC;;;;8BAAyI,CAAC;wBAA+C,CAAC;0BAAgD,CAAC;;;4BAA+G,CAAC;8BAAqD,CAAC;mCAAuC,CAAC;gCAAwD,CAAC;;mCAAsF,CAAC;8BAAsD,CAAC;kCAA4F,CAAC;2BAAkE,CAAC;;;yBAAyG,CAAC;2BAA+E,CAAC;;wBAA2D,CAAC;;;0BAA8F,CAAC;uBAA2B,CAAC;wBAA8C,CAAC;uBAA6C,CAAC;;6BAA8E,CAAC;uCAA2C,CAAC;gCAAuD,CAAC;;;mCAAoJ,CAAC;;;;yBAA6I,CAAC;iCAAwD,CAAC;8BAAqD,CAAC;;;;;;;CADl8iC"}
@@ -1,4 +0,0 @@
1
- export * from './MemoryNodeBuilder.ts';
2
- export * from './SentinelBuilder.ts';
3
- export * from './StorageArchivistBuilder.ts';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA"}
@@ -1,4 +0,0 @@
1
- export declare const GlobalNodeOffsetPath = "15";
2
- export declare const RemoteNodeOffsetPaths: Record<string, string>;
3
- export declare const RemoteNodeArchivistOffsetPaths: Record<string, Record<string, string>>;
4
- //# sourceMappingURL=ModuleAccountPaths.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModuleAccountPaths.d.ts","sourceRoot":"","sources":["../../../src/lib/ModuleAccountPaths.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB,OAAO,CAAA;AAExC,eAAO,MAAM,qBAAqB,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAIxD,CAAA;AAED,eAAO,MAAM,8BAA8B,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAajF,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare const GlobalNode = "GlobalNode";
2
- export declare const RootStorageArchivist = "RootStorageArchivist";
3
- //# sourceMappingURL=ModuleNames.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ModuleNames.d.ts","sourceRoot":"","sources":["../../../src/lib/ModuleNames.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,UAAU,eAAe,CAAA;AAEtC,eAAO,MAAM,oBAAoB,yBAAyB,CAAA"}
@@ -1,4 +0,0 @@
1
- import type { MemoryNode } from '@xyo-network/node-memory';
2
- import type { WalletInstance } from '@xyo-network/wallet-model';
3
- export declare const BuildStandardNodes: (wallet: WalletInstance, onNodeBuilt?: (node: MemoryNode) => void) => Promise<MemoryNode[]>;
4
- //# sourceMappingURL=buildNodes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"buildNodes.d.ts","sourceRoot":"","sources":["../../../src/lib/buildNodes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAE1D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAmB/D,eAAO,MAAM,kBAAkB,WAAkB,cAAc,gBAAgB,CAAC,IAAI,EAAE,UAAU,KAAK,IAAI,KAAG,OAAO,CAAC,UAAU,EAAE,CAwB/H,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './Builders/index.ts';
2
- export * from './buildNodes.ts';
3
- export * from './ModuleAccountPaths.ts';
4
- export * from './ModuleNames.ts';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,yBAAyB,CAAA;AACvC,cAAc,kBAAkB,CAAA"}