@xyo-network/node-model 3.9.2 → 3.9.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.
- package/dist/neutral/index.d.ts +13 -470
- package/package.json +5 -5
package/dist/neutral/index.d.ts
CHANGED
|
@@ -6,10 +6,8 @@ import { Module, ModuleEventArgs, ModuleConfig, AnyConfigSchema, ModuleParams, M
|
|
|
6
6
|
import { Address } from '@xylabs/hex';
|
|
7
7
|
import * as _xyo_network_account_model from '@xyo-network/account-model';
|
|
8
8
|
import { AccountInstance } from '@xyo-network/account-model';
|
|
9
|
-
import * as _xyo_network_payload_model from '@xyo-network/payload-model';
|
|
10
9
|
import { Payload, Query } from '@xyo-network/payload-model';
|
|
11
10
|
import { EventData } from '@xyo-network/module-events';
|
|
12
|
-
import * as _xylabs_logger from '@xylabs/logger';
|
|
13
11
|
import { ObjectTypeShape } from '@xylabs/typeof';
|
|
14
12
|
|
|
15
13
|
declare const ChildCertificationSchema: "network.xyo.child.certification";
|
|
@@ -85,42 +83,7 @@ declare const asAttachableNodeInstance: {
|
|
|
85
83
|
addToResolvers?: boolean;
|
|
86
84
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
87
85
|
allowNameResolution?: boolean;
|
|
88
|
-
config:
|
|
89
|
-
schema: _xyo_network_payload_model.Schema;
|
|
90
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
91
|
-
readonly archiving?: {
|
|
92
|
-
readonly archivists?: string[] | undefined;
|
|
93
|
-
readonly queries?: string[] | undefined;
|
|
94
|
-
} | undefined;
|
|
95
|
-
readonly allowedQueries?: string[] | undefined;
|
|
96
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
97
|
-
readonly labels?: {
|
|
98
|
-
[x: string]: string | undefined;
|
|
99
|
-
} | undefined;
|
|
100
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
101
|
-
readonly paging?: {
|
|
102
|
-
[x: string]: {
|
|
103
|
-
size?: number | undefined;
|
|
104
|
-
};
|
|
105
|
-
} | undefined;
|
|
106
|
-
readonly retry?: {
|
|
107
|
-
backoff?: number | undefined;
|
|
108
|
-
interval?: number | undefined;
|
|
109
|
-
retries?: number | undefined;
|
|
110
|
-
} | undefined;
|
|
111
|
-
readonly security?: {
|
|
112
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
113
|
-
readonly allowed?: {
|
|
114
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
115
|
-
} | undefined;
|
|
116
|
-
readonly disallowed?: {
|
|
117
|
-
[x: string]: Lowercase<string>[];
|
|
118
|
-
} | undefined;
|
|
119
|
-
} | undefined;
|
|
120
|
-
readonly sign?: boolean | undefined;
|
|
121
|
-
readonly storeQueries?: boolean | undefined;
|
|
122
|
-
readonly timestamp?: boolean | undefined;
|
|
123
|
-
}>;
|
|
86
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
124
87
|
ephemeralQueryAccountEnabled?: boolean;
|
|
125
88
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
126
89
|
}, NodeModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -129,42 +92,7 @@ declare const asAttachableNodeInstance: {
|
|
|
129
92
|
addToResolvers?: boolean;
|
|
130
93
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
131
94
|
allowNameResolution?: boolean;
|
|
132
|
-
config:
|
|
133
|
-
schema: _xyo_network_payload_model.Schema;
|
|
134
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
135
|
-
readonly archiving?: {
|
|
136
|
-
readonly archivists?: string[] | undefined;
|
|
137
|
-
readonly queries?: string[] | undefined;
|
|
138
|
-
} | undefined;
|
|
139
|
-
readonly allowedQueries?: string[] | undefined;
|
|
140
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
141
|
-
readonly labels?: {
|
|
142
|
-
[x: string]: string | undefined;
|
|
143
|
-
} | undefined;
|
|
144
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
145
|
-
readonly paging?: {
|
|
146
|
-
[x: string]: {
|
|
147
|
-
size?: number | undefined;
|
|
148
|
-
};
|
|
149
|
-
} | undefined;
|
|
150
|
-
readonly retry?: {
|
|
151
|
-
backoff?: number | undefined;
|
|
152
|
-
interval?: number | undefined;
|
|
153
|
-
retries?: number | undefined;
|
|
154
|
-
} | undefined;
|
|
155
|
-
readonly security?: {
|
|
156
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
157
|
-
readonly allowed?: {
|
|
158
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
159
|
-
} | undefined;
|
|
160
|
-
readonly disallowed?: {
|
|
161
|
-
[x: string]: Lowercase<string>[];
|
|
162
|
-
} | undefined;
|
|
163
|
-
} | undefined;
|
|
164
|
-
readonly sign?: boolean | undefined;
|
|
165
|
-
readonly storeQueries?: boolean | undefined;
|
|
166
|
-
readonly timestamp?: boolean | undefined;
|
|
167
|
-
}>;
|
|
95
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
168
96
|
ephemeralQueryAccountEnabled?: boolean;
|
|
169
97
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
170
98
|
}, NodeModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableNodeInstance<_xylabs_object.BaseParamsFields & {
|
|
@@ -172,42 +100,7 @@ declare const asAttachableNodeInstance: {
|
|
|
172
100
|
addToResolvers?: boolean;
|
|
173
101
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
174
102
|
allowNameResolution?: boolean;
|
|
175
|
-
config:
|
|
176
|
-
schema: _xyo_network_payload_model.Schema;
|
|
177
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
178
|
-
readonly archiving?: {
|
|
179
|
-
readonly archivists?: string[] | undefined;
|
|
180
|
-
readonly queries?: string[] | undefined;
|
|
181
|
-
} | undefined;
|
|
182
|
-
readonly allowedQueries?: string[] | undefined;
|
|
183
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
184
|
-
readonly labels?: {
|
|
185
|
-
[x: string]: string | undefined;
|
|
186
|
-
} | undefined;
|
|
187
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
188
|
-
readonly paging?: {
|
|
189
|
-
[x: string]: {
|
|
190
|
-
size?: number | undefined;
|
|
191
|
-
};
|
|
192
|
-
} | undefined;
|
|
193
|
-
readonly retry?: {
|
|
194
|
-
backoff?: number | undefined;
|
|
195
|
-
interval?: number | undefined;
|
|
196
|
-
retries?: number | undefined;
|
|
197
|
-
} | undefined;
|
|
198
|
-
readonly security?: {
|
|
199
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
200
|
-
readonly allowed?: {
|
|
201
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
202
|
-
} | undefined;
|
|
203
|
-
readonly disallowed?: {
|
|
204
|
-
[x: string]: Lowercase<string>[];
|
|
205
|
-
} | undefined;
|
|
206
|
-
} | undefined;
|
|
207
|
-
readonly sign?: boolean | undefined;
|
|
208
|
-
readonly storeQueries?: boolean | undefined;
|
|
209
|
-
readonly timestamp?: boolean | undefined;
|
|
210
|
-
}>;
|
|
103
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
211
104
|
ephemeralQueryAccountEnabled?: boolean;
|
|
212
105
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
213
106
|
}, NodeModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -258,42 +151,7 @@ declare const isNodeInstance: _xylabs_object.TypeCheck<NodeInstance<_xylabs_obje
|
|
|
258
151
|
addToResolvers?: boolean;
|
|
259
152
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
260
153
|
allowNameResolution?: boolean;
|
|
261
|
-
config:
|
|
262
|
-
schema: _xyo_network_payload_model.Schema;
|
|
263
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
264
|
-
readonly archiving?: {
|
|
265
|
-
readonly archivists?: string[] | undefined;
|
|
266
|
-
readonly queries?: string[] | undefined;
|
|
267
|
-
} | undefined;
|
|
268
|
-
readonly allowedQueries?: string[] | undefined;
|
|
269
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
270
|
-
readonly labels?: {
|
|
271
|
-
[x: string]: string | undefined;
|
|
272
|
-
} | undefined;
|
|
273
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
274
|
-
readonly paging?: {
|
|
275
|
-
[x: string]: {
|
|
276
|
-
size?: number | undefined;
|
|
277
|
-
};
|
|
278
|
-
} | undefined;
|
|
279
|
-
readonly retry?: {
|
|
280
|
-
backoff?: number | undefined;
|
|
281
|
-
interval?: number | undefined;
|
|
282
|
-
retries?: number | undefined;
|
|
283
|
-
} | undefined;
|
|
284
|
-
readonly security?: {
|
|
285
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
286
|
-
readonly allowed?: {
|
|
287
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
288
|
-
} | undefined;
|
|
289
|
-
readonly disallowed?: {
|
|
290
|
-
[x: string]: Lowercase<string>[];
|
|
291
|
-
} | undefined;
|
|
292
|
-
} | undefined;
|
|
293
|
-
readonly sign?: boolean | undefined;
|
|
294
|
-
readonly storeQueries?: boolean | undefined;
|
|
295
|
-
readonly timestamp?: boolean | undefined;
|
|
296
|
-
}>;
|
|
154
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
297
155
|
ephemeralQueryAccountEnabled?: boolean;
|
|
298
156
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
299
157
|
}, NodeModuleEventData>>;
|
|
@@ -302,42 +160,7 @@ declare const isNodeModule: _xyo_network_module_model.ModuleTypeCheck<NodeModule
|
|
|
302
160
|
addToResolvers?: boolean;
|
|
303
161
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
304
162
|
allowNameResolution?: boolean;
|
|
305
|
-
config:
|
|
306
|
-
schema: _xyo_network_payload_model.Schema;
|
|
307
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
308
|
-
readonly archiving?: {
|
|
309
|
-
readonly archivists?: string[] | undefined;
|
|
310
|
-
readonly queries?: string[] | undefined;
|
|
311
|
-
} | undefined;
|
|
312
|
-
readonly allowedQueries?: string[] | undefined;
|
|
313
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
314
|
-
readonly labels?: {
|
|
315
|
-
[x: string]: string | undefined;
|
|
316
|
-
} | undefined;
|
|
317
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
318
|
-
readonly paging?: {
|
|
319
|
-
[x: string]: {
|
|
320
|
-
size?: number | undefined;
|
|
321
|
-
};
|
|
322
|
-
} | undefined;
|
|
323
|
-
readonly retry?: {
|
|
324
|
-
backoff?: number | undefined;
|
|
325
|
-
interval?: number | undefined;
|
|
326
|
-
retries?: number | undefined;
|
|
327
|
-
} | undefined;
|
|
328
|
-
readonly security?: {
|
|
329
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
330
|
-
readonly allowed?: {
|
|
331
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
332
|
-
} | undefined;
|
|
333
|
-
readonly disallowed?: {
|
|
334
|
-
[x: string]: Lowercase<string>[];
|
|
335
|
-
} | undefined;
|
|
336
|
-
} | undefined;
|
|
337
|
-
readonly sign?: boolean | undefined;
|
|
338
|
-
readonly storeQueries?: boolean | undefined;
|
|
339
|
-
readonly timestamp?: boolean | undefined;
|
|
340
|
-
}>;
|
|
163
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
341
164
|
ephemeralQueryAccountEnabled?: boolean;
|
|
342
165
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
343
166
|
}, NodeModuleEventData>>;
|
|
@@ -347,42 +170,7 @@ declare const asNodeModule: {
|
|
|
347
170
|
addToResolvers?: boolean;
|
|
348
171
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
349
172
|
allowNameResolution?: boolean;
|
|
350
|
-
config:
|
|
351
|
-
schema: _xyo_network_payload_model.Schema;
|
|
352
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
353
|
-
readonly archiving?: {
|
|
354
|
-
readonly archivists?: string[] | undefined;
|
|
355
|
-
readonly queries?: string[] | undefined;
|
|
356
|
-
} | undefined;
|
|
357
|
-
readonly allowedQueries?: string[] | undefined;
|
|
358
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
359
|
-
readonly labels?: {
|
|
360
|
-
[x: string]: string | undefined;
|
|
361
|
-
} | undefined;
|
|
362
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
363
|
-
readonly paging?: {
|
|
364
|
-
[x: string]: {
|
|
365
|
-
size?: number | undefined;
|
|
366
|
-
};
|
|
367
|
-
} | undefined;
|
|
368
|
-
readonly retry?: {
|
|
369
|
-
backoff?: number | undefined;
|
|
370
|
-
interval?: number | undefined;
|
|
371
|
-
retries?: number | undefined;
|
|
372
|
-
} | undefined;
|
|
373
|
-
readonly security?: {
|
|
374
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
375
|
-
readonly allowed?: {
|
|
376
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
377
|
-
} | undefined;
|
|
378
|
-
readonly disallowed?: {
|
|
379
|
-
[x: string]: Lowercase<string>[];
|
|
380
|
-
} | undefined;
|
|
381
|
-
} | undefined;
|
|
382
|
-
readonly sign?: boolean | undefined;
|
|
383
|
-
readonly storeQueries?: boolean | undefined;
|
|
384
|
-
readonly timestamp?: boolean | undefined;
|
|
385
|
-
}>;
|
|
173
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
386
174
|
ephemeralQueryAccountEnabled?: boolean;
|
|
387
175
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
388
176
|
}, NodeModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -391,42 +179,7 @@ declare const asNodeModule: {
|
|
|
391
179
|
addToResolvers?: boolean;
|
|
392
180
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
393
181
|
allowNameResolution?: boolean;
|
|
394
|
-
config:
|
|
395
|
-
schema: _xyo_network_payload_model.Schema;
|
|
396
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
397
|
-
readonly archiving?: {
|
|
398
|
-
readonly archivists?: string[] | undefined;
|
|
399
|
-
readonly queries?: string[] | undefined;
|
|
400
|
-
} | undefined;
|
|
401
|
-
readonly allowedQueries?: string[] | undefined;
|
|
402
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
403
|
-
readonly labels?: {
|
|
404
|
-
[x: string]: string | undefined;
|
|
405
|
-
} | undefined;
|
|
406
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
407
|
-
readonly paging?: {
|
|
408
|
-
[x: string]: {
|
|
409
|
-
size?: number | undefined;
|
|
410
|
-
};
|
|
411
|
-
} | undefined;
|
|
412
|
-
readonly retry?: {
|
|
413
|
-
backoff?: number | undefined;
|
|
414
|
-
interval?: number | undefined;
|
|
415
|
-
retries?: number | undefined;
|
|
416
|
-
} | undefined;
|
|
417
|
-
readonly security?: {
|
|
418
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
419
|
-
readonly allowed?: {
|
|
420
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
421
|
-
} | undefined;
|
|
422
|
-
readonly disallowed?: {
|
|
423
|
-
[x: string]: Lowercase<string>[];
|
|
424
|
-
} | undefined;
|
|
425
|
-
} | undefined;
|
|
426
|
-
readonly sign?: boolean | undefined;
|
|
427
|
-
readonly storeQueries?: boolean | undefined;
|
|
428
|
-
readonly timestamp?: boolean | undefined;
|
|
429
|
-
}>;
|
|
182
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
430
183
|
ephemeralQueryAccountEnabled?: boolean;
|
|
431
184
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
432
185
|
}, NodeModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<NodeModule<_xylabs_object.BaseParamsFields & {
|
|
@@ -434,42 +187,7 @@ declare const asNodeModule: {
|
|
|
434
187
|
addToResolvers?: boolean;
|
|
435
188
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
436
189
|
allowNameResolution?: boolean;
|
|
437
|
-
config:
|
|
438
|
-
schema: _xyo_network_payload_model.Schema;
|
|
439
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
440
|
-
readonly archiving?: {
|
|
441
|
-
readonly archivists?: string[] | undefined;
|
|
442
|
-
readonly queries?: string[] | undefined;
|
|
443
|
-
} | undefined;
|
|
444
|
-
readonly allowedQueries?: string[] | undefined;
|
|
445
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
446
|
-
readonly labels?: {
|
|
447
|
-
[x: string]: string | undefined;
|
|
448
|
-
} | undefined;
|
|
449
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
450
|
-
readonly paging?: {
|
|
451
|
-
[x: string]: {
|
|
452
|
-
size?: number | undefined;
|
|
453
|
-
};
|
|
454
|
-
} | undefined;
|
|
455
|
-
readonly retry?: {
|
|
456
|
-
backoff?: number | undefined;
|
|
457
|
-
interval?: number | undefined;
|
|
458
|
-
retries?: number | undefined;
|
|
459
|
-
} | undefined;
|
|
460
|
-
readonly security?: {
|
|
461
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
462
|
-
readonly allowed?: {
|
|
463
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
464
|
-
} | undefined;
|
|
465
|
-
readonly disallowed?: {
|
|
466
|
-
[x: string]: Lowercase<string>[];
|
|
467
|
-
} | undefined;
|
|
468
|
-
} | undefined;
|
|
469
|
-
readonly sign?: boolean | undefined;
|
|
470
|
-
readonly storeQueries?: boolean | undefined;
|
|
471
|
-
readonly timestamp?: boolean | undefined;
|
|
472
|
-
}>;
|
|
190
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
473
191
|
ephemeralQueryAccountEnabled?: boolean;
|
|
474
192
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
475
193
|
}, NodeModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -480,42 +198,7 @@ declare const asNodeInstance: {
|
|
|
480
198
|
addToResolvers?: boolean;
|
|
481
199
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
482
200
|
allowNameResolution?: boolean;
|
|
483
|
-
config:
|
|
484
|
-
schema: _xyo_network_payload_model.Schema;
|
|
485
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
486
|
-
readonly archiving?: {
|
|
487
|
-
readonly archivists?: string[] | undefined;
|
|
488
|
-
readonly queries?: string[] | undefined;
|
|
489
|
-
} | undefined;
|
|
490
|
-
readonly allowedQueries?: string[] | undefined;
|
|
491
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
492
|
-
readonly labels?: {
|
|
493
|
-
[x: string]: string | undefined;
|
|
494
|
-
} | undefined;
|
|
495
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
496
|
-
readonly paging?: {
|
|
497
|
-
[x: string]: {
|
|
498
|
-
size?: number | undefined;
|
|
499
|
-
};
|
|
500
|
-
} | undefined;
|
|
501
|
-
readonly retry?: {
|
|
502
|
-
backoff?: number | undefined;
|
|
503
|
-
interval?: number | undefined;
|
|
504
|
-
retries?: number | undefined;
|
|
505
|
-
} | undefined;
|
|
506
|
-
readonly security?: {
|
|
507
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
508
|
-
readonly allowed?: {
|
|
509
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
510
|
-
} | undefined;
|
|
511
|
-
readonly disallowed?: {
|
|
512
|
-
[x: string]: Lowercase<string>[];
|
|
513
|
-
} | undefined;
|
|
514
|
-
} | undefined;
|
|
515
|
-
readonly sign?: boolean | undefined;
|
|
516
|
-
readonly storeQueries?: boolean | undefined;
|
|
517
|
-
readonly timestamp?: boolean | undefined;
|
|
518
|
-
}>;
|
|
201
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
519
202
|
ephemeralQueryAccountEnabled?: boolean;
|
|
520
203
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
521
204
|
}, NodeModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined;
|
|
@@ -524,42 +207,7 @@ declare const asNodeInstance: {
|
|
|
524
207
|
addToResolvers?: boolean;
|
|
525
208
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
526
209
|
allowNameResolution?: boolean;
|
|
527
|
-
config:
|
|
528
|
-
schema: _xyo_network_payload_model.Schema;
|
|
529
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
530
|
-
readonly archiving?: {
|
|
531
|
-
readonly archivists?: string[] | undefined;
|
|
532
|
-
readonly queries?: string[] | undefined;
|
|
533
|
-
} | undefined;
|
|
534
|
-
readonly allowedQueries?: string[] | undefined;
|
|
535
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
536
|
-
readonly labels?: {
|
|
537
|
-
[x: string]: string | undefined;
|
|
538
|
-
} | undefined;
|
|
539
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
540
|
-
readonly paging?: {
|
|
541
|
-
[x: string]: {
|
|
542
|
-
size?: number | undefined;
|
|
543
|
-
};
|
|
544
|
-
} | undefined;
|
|
545
|
-
readonly retry?: {
|
|
546
|
-
backoff?: number | undefined;
|
|
547
|
-
interval?: number | undefined;
|
|
548
|
-
retries?: number | undefined;
|
|
549
|
-
} | undefined;
|
|
550
|
-
readonly security?: {
|
|
551
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
552
|
-
readonly allowed?: {
|
|
553
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
554
|
-
} | undefined;
|
|
555
|
-
readonly disallowed?: {
|
|
556
|
-
[x: string]: Lowercase<string>[];
|
|
557
|
-
} | undefined;
|
|
558
|
-
} | undefined;
|
|
559
|
-
readonly sign?: boolean | undefined;
|
|
560
|
-
readonly storeQueries?: boolean | undefined;
|
|
561
|
-
readonly timestamp?: boolean | undefined;
|
|
562
|
-
}>;
|
|
210
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
563
211
|
ephemeralQueryAccountEnabled?: boolean;
|
|
564
212
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
565
213
|
}, NodeModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<NodeInstance<_xylabs_object.BaseParamsFields & {
|
|
@@ -567,42 +215,7 @@ declare const asNodeInstance: {
|
|
|
567
215
|
addToResolvers?: boolean;
|
|
568
216
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
569
217
|
allowNameResolution?: boolean;
|
|
570
|
-
config:
|
|
571
|
-
schema: _xyo_network_payload_model.Schema;
|
|
572
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
573
|
-
readonly archiving?: {
|
|
574
|
-
readonly archivists?: string[] | undefined;
|
|
575
|
-
readonly queries?: string[] | undefined;
|
|
576
|
-
} | undefined;
|
|
577
|
-
readonly allowedQueries?: string[] | undefined;
|
|
578
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
579
|
-
readonly labels?: {
|
|
580
|
-
[x: string]: string | undefined;
|
|
581
|
-
} | undefined;
|
|
582
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
583
|
-
readonly paging?: {
|
|
584
|
-
[x: string]: {
|
|
585
|
-
size?: number | undefined;
|
|
586
|
-
};
|
|
587
|
-
} | undefined;
|
|
588
|
-
readonly retry?: {
|
|
589
|
-
backoff?: number | undefined;
|
|
590
|
-
interval?: number | undefined;
|
|
591
|
-
retries?: number | undefined;
|
|
592
|
-
} | undefined;
|
|
593
|
-
readonly security?: {
|
|
594
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
595
|
-
readonly allowed?: {
|
|
596
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
597
|
-
} | undefined;
|
|
598
|
-
readonly disallowed?: {
|
|
599
|
-
[x: string]: Lowercase<string>[];
|
|
600
|
-
} | undefined;
|
|
601
|
-
} | undefined;
|
|
602
|
-
readonly sign?: boolean | undefined;
|
|
603
|
-
readonly storeQueries?: boolean | undefined;
|
|
604
|
-
readonly timestamp?: boolean | undefined;
|
|
605
|
-
}>;
|
|
218
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
606
219
|
ephemeralQueryAccountEnabled?: boolean;
|
|
607
220
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
608
221
|
}, NodeModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType;
|
|
@@ -612,42 +225,7 @@ declare const withNodeModule: <R>(mod: any, closure: (mod: NodeModule<_xylabs_ob
|
|
|
612
225
|
addToResolvers?: boolean;
|
|
613
226
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
614
227
|
allowNameResolution?: boolean;
|
|
615
|
-
config:
|
|
616
|
-
schema: _xyo_network_payload_model.Schema;
|
|
617
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
618
|
-
readonly archiving?: {
|
|
619
|
-
readonly archivists?: string[] | undefined;
|
|
620
|
-
readonly queries?: string[] | undefined;
|
|
621
|
-
} | undefined;
|
|
622
|
-
readonly allowedQueries?: string[] | undefined;
|
|
623
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
624
|
-
readonly labels?: {
|
|
625
|
-
[x: string]: string | undefined;
|
|
626
|
-
} | undefined;
|
|
627
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
628
|
-
readonly paging?: {
|
|
629
|
-
[x: string]: {
|
|
630
|
-
size?: number | undefined;
|
|
631
|
-
};
|
|
632
|
-
} | undefined;
|
|
633
|
-
readonly retry?: {
|
|
634
|
-
backoff?: number | undefined;
|
|
635
|
-
interval?: number | undefined;
|
|
636
|
-
retries?: number | undefined;
|
|
637
|
-
} | undefined;
|
|
638
|
-
readonly security?: {
|
|
639
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
640
|
-
readonly allowed?: {
|
|
641
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
642
|
-
} | undefined;
|
|
643
|
-
readonly disallowed?: {
|
|
644
|
-
[x: string]: Lowercase<string>[];
|
|
645
|
-
} | undefined;
|
|
646
|
-
} | undefined;
|
|
647
|
-
readonly sign?: boolean | undefined;
|
|
648
|
-
readonly storeQueries?: boolean | undefined;
|
|
649
|
-
readonly timestamp?: boolean | undefined;
|
|
650
|
-
}>;
|
|
228
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
651
229
|
ephemeralQueryAccountEnabled?: boolean;
|
|
652
230
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
653
231
|
}, NodeModuleEventData>) => R) => R | undefined;
|
|
@@ -656,42 +234,7 @@ declare const withNodeInstance: <R>(mod: any, closure: (mod: NodeInstance<_xylab
|
|
|
656
234
|
addToResolvers?: boolean;
|
|
657
235
|
additionalSigners?: _xyo_network_account_model.AccountInstance[];
|
|
658
236
|
allowNameResolution?: boolean;
|
|
659
|
-
config:
|
|
660
|
-
schema: _xyo_network_payload_model.Schema;
|
|
661
|
-
readonly archivist?: _xyo_network_module_model.ModuleIdentifier | undefined;
|
|
662
|
-
readonly archiving?: {
|
|
663
|
-
readonly archivists?: string[] | undefined;
|
|
664
|
-
readonly queries?: string[] | undefined;
|
|
665
|
-
} | undefined;
|
|
666
|
-
readonly allowedQueries?: string[] | undefined;
|
|
667
|
-
readonly consoleLogger?: _xylabs_logger.LogLevel | undefined;
|
|
668
|
-
readonly labels?: {
|
|
669
|
-
[x: string]: string | undefined;
|
|
670
|
-
} | undefined;
|
|
671
|
-
readonly name?: _xyo_network_module_model.ModuleName | undefined;
|
|
672
|
-
readonly paging?: {
|
|
673
|
-
[x: string]: {
|
|
674
|
-
size?: number | undefined;
|
|
675
|
-
};
|
|
676
|
-
} | undefined;
|
|
677
|
-
readonly retry?: {
|
|
678
|
-
backoff?: number | undefined;
|
|
679
|
-
interval?: number | undefined;
|
|
680
|
-
retries?: number | undefined;
|
|
681
|
-
} | undefined;
|
|
682
|
-
readonly security?: {
|
|
683
|
-
readonly allowAnonymous?: boolean | undefined;
|
|
684
|
-
readonly allowed?: {
|
|
685
|
-
[x: string]: (Lowercase<string> | Lowercase<string>[])[];
|
|
686
|
-
} | undefined;
|
|
687
|
-
readonly disallowed?: {
|
|
688
|
-
[x: string]: Lowercase<string>[];
|
|
689
|
-
} | undefined;
|
|
690
|
-
} | undefined;
|
|
691
|
-
readonly sign?: boolean | undefined;
|
|
692
|
-
readonly storeQueries?: boolean | undefined;
|
|
693
|
-
readonly timestamp?: boolean | undefined;
|
|
694
|
-
}>;
|
|
237
|
+
config: _xyo_network_module_model.AnyConfigSchema<NodeConfig>;
|
|
695
238
|
ephemeralQueryAccountEnabled?: boolean;
|
|
696
239
|
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[];
|
|
697
240
|
}, NodeModuleEventData>) => R) => R | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/node-model",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -32,10 +32,10 @@
|
|
|
32
32
|
"@xylabs/hex": "^4.5.1",
|
|
33
33
|
"@xylabs/object": "^4.5.1",
|
|
34
34
|
"@xylabs/typeof": "^4.5.1",
|
|
35
|
-
"@xyo-network/account-model": "^3.9.
|
|
36
|
-
"@xyo-network/module-events": "^3.9.
|
|
37
|
-
"@xyo-network/module-model": "^3.9.
|
|
38
|
-
"@xyo-network/payload-model": "^3.9.
|
|
35
|
+
"@xyo-network/account-model": "^3.9.4",
|
|
36
|
+
"@xyo-network/module-events": "^3.9.4",
|
|
37
|
+
"@xyo-network/module-model": "^3.9.4",
|
|
38
|
+
"@xyo-network/payload-model": "^3.9.4"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@xylabs/ts-scripts-yarn3": "^5.0.24",
|