@xyo-network/node-view 5.3.24 → 5.3.26

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 (2) hide show
  1. package/README.md +3429 -10
  2. package/package.json +17 -17
package/README.md CHANGED
@@ -1,23 +1,3442 @@
1
+ [![logo][]](https://xyo.network)
2
+
1
3
  # @xyo-network/node-view
2
4
 
3
- [![logo][]](https://xyo.network)
5
+ [![npm][npm-badge]][npm-link]
6
+ [![license][license-badge]][license-link]
7
+
8
+ > Primary SDK for using XYO Protocol 2.0
9
+
10
+ ## Install
11
+
12
+ Using npm:
13
+
14
+ ```sh
15
+ npm install {{name}}
16
+ ```
17
+
18
+ Using yarn:
4
19
 
5
- Version: 5.0.2
20
+ ```sh
21
+ yarn add {{name}}
22
+ ```
6
23
 
7
- Primary SDK for using XYO Protocol 2.0
24
+ Using pnpm:
8
25
 
9
- ## Documentation
26
+ ```sh
27
+ pnpm add {{name}}
28
+ ```
10
29
 
11
- [TypeDoc Generated Documentation](https://gitbook.xyo.network/xyo-data-lab/xyo-reference/package-documentation/xyo-network__node-view)
30
+ Using bun:
31
+
32
+ ```sh
33
+ bun add {{name}}
34
+ ```
12
35
 
13
- Part of [sdk-xyo-client-js](https://www.npmjs.com/package/@xyo-network/sdk-xyo-client-js)
14
36
 
15
37
  ## License
16
38
 
17
- > See the [LICENSE](LICENSE) file for license details
39
+ See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
40
+
41
+ ## Reference
42
+
43
+ ### packages
44
+
45
+ ### modules
46
+
47
+ ### packages
48
+
49
+ ### node
50
+
51
+ ### packages
52
+
53
+ ### view
54
+
55
+ ### .temp-typedoc
56
+
57
+ ### classes
58
+
59
+ ### <a id="ViewNode"></a>ViewNode
60
+
61
+ [**@xyo-network/node-view**](#../README)
62
+
63
+ ***
64
+
65
+ ## Extends
66
+
67
+ - `MemoryNode`\<`TParams`, `TEventData`\>
68
+
69
+ ## Type Parameters
70
+
71
+ ### TParams
72
+
73
+ `TParams` *extends* [`ViewNodeParams`](#../type-aliases/ViewNodeParams) = [`ViewNodeParams`](#../type-aliases/ViewNodeParams)
74
+
75
+ ### TEventData
76
+
77
+ `TEventData` *extends* `NodeModuleEventData` = `NodeModuleEventData`
78
+
79
+ ## Implements
80
+
81
+ - `AttachableNodeInstance`\<`TParams`, `TEventData`\>
82
+
83
+ ## Constructors
84
+
85
+ ### Constructor
86
+
87
+ ```ts
88
+ new ViewNode<TParams, TEventData>(key, params): ViewNode<TParams, TEventData>;
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ #### key
94
+
95
+ `unknown`
96
+
97
+ #### params
98
+
99
+ `Partial`\<`TParams` & `RequiredCreatableParams`\>
100
+
101
+ ### Returns
102
+
103
+ `ViewNode`\<`TParams`, `TEventData`\>
104
+
105
+ ### Inherited from
106
+
107
+ ```ts
108
+ MemoryNode<TParams, TEventData>.constructor
109
+ ```
110
+
111
+ ## Properties
112
+
113
+ ### allowRandomAccount
114
+
115
+ ```ts
116
+ readonly static allowRandomAccount: boolean;
117
+ ```
118
+
119
+ ### Inherited from
120
+
121
+ ```ts
122
+ MemoryNode.allowRandomAccount
123
+ ```
124
+
125
+ ***
126
+
127
+ ### defaultLogger
128
+
129
+ ```ts
130
+ static defaultLogger: Logger;
131
+ ```
132
+
133
+ ### Inherited from
134
+
135
+ ```ts
136
+ MemoryNode.defaultLogger
137
+ ```
138
+
139
+ ***
140
+
141
+ ### enableLazyLoad
142
+
143
+ ```ts
144
+ static enableLazyLoad: boolean;
145
+ ```
146
+
147
+ ### Inherited from
148
+
149
+ ```ts
150
+ MemoryNode.enableLazyLoad
151
+ ```
152
+
153
+ ***
154
+
155
+ ### privateConstructorKey
156
+
157
+ ```ts
158
+ protected static privateConstructorKey: string;
159
+ ```
160
+
161
+ ### Inherited from
162
+
163
+ ```ts
164
+ MemoryNode.privateConstructorKey
165
+ ```
166
+
167
+ ***
168
+
169
+ ### \_account
170
+
171
+ ```ts
172
+ protected _account: AccountInstance | undefined;
173
+ ```
174
+
175
+ ### Inherited from
176
+
177
+ ```ts
178
+ MemoryNode._account
179
+ ```
180
+
181
+ ***
182
+
183
+ ### \_cachedManifests
184
+
185
+ ```ts
186
+ protected _cachedManifests: LRUCache<number, ModuleManifestPayload, unknown>;
187
+ ```
188
+
189
+ ### Inherited from
190
+
191
+ ```ts
192
+ MemoryNode._cachedManifests
193
+ ```
194
+
195
+ ***
196
+
197
+ ### \_globalReentrancyMutex
198
+
199
+ ```ts
200
+ protected _globalReentrancyMutex: Mutex | undefined;
201
+ ```
202
+
203
+ ### Inherited from
204
+
205
+ ```ts
206
+ MemoryNode._globalReentrancyMutex
207
+ ```
208
+
209
+ ***
210
+
211
+ ### \_lastError?
212
+
213
+ ```ts
214
+ protected optional _lastError?: ModuleDetailsError;
215
+ ```
216
+
217
+ ### Inherited from
218
+
219
+ ```ts
220
+ MemoryNode._lastError
221
+ ```
222
+
223
+ ***
224
+
225
+ ### \_moduleConfigQueryValidator
226
+
227
+ ```ts
228
+ protected _moduleConfigQueryValidator: Queryable | undefined;
229
+ ```
230
+
231
+ ### Inherited from
232
+
233
+ ```ts
234
+ MemoryNode._moduleConfigQueryValidator
235
+ ```
236
+
237
+ ***
238
+
239
+ ### \_supportedQueryValidator
240
+
241
+ ```ts
242
+ protected _supportedQueryValidator: Queryable | undefined;
243
+ ```
244
+
245
+ ### Inherited from
246
+
247
+ ```ts
248
+ MemoryNode._supportedQueryValidator
249
+ ```
250
+
251
+ ***
252
+
253
+ ### useNewResolver
254
+
255
+ ```ts
256
+ readonly static useNewResolver: false = false;
257
+ ```
258
+
259
+ ### Inherited from
260
+
261
+ ```ts
262
+ MemoryNode.useNewResolver
263
+ ```
264
+
265
+ ***
266
+
267
+ ### uniqueName
268
+
269
+ ```ts
270
+ readonly static uniqueName: string;
271
+ ```
272
+
273
+ ### Inherited from
274
+
275
+ ```ts
276
+ MemoryNode.uniqueName
277
+ ```
278
+
279
+ ***
280
+
281
+ ### registeredModuleMap
282
+
283
+ ```ts
284
+ protected registeredModuleMap: Partial<Record<Address, AttachableModuleInstance>>;
285
+ ```
286
+
287
+ ### Inherited from
288
+
289
+ ```ts
290
+ MemoryNode.registeredModuleMap
291
+ ```
292
+
293
+ ***
294
+
295
+ ### configSchemas
296
+
297
+ ```ts
298
+ readonly static configSchemas: Schema[];
299
+ ```
300
+
301
+ ### Overrides
302
+
303
+ ```ts
304
+ MemoryNode.configSchemas
305
+ ```
306
+
307
+ ***
308
+
309
+ ### defaultConfigSchema
310
+
311
+ ```ts
312
+ readonly static defaultConfigSchema: Schema = ViewNodeConfigSchema;
313
+ ```
314
+
315
+ ### Overrides
316
+
317
+ ```ts
318
+ MemoryNode.defaultConfigSchema
319
+ ```
320
+
321
+ ***
322
+
323
+ ### labels
324
+
325
+ ```ts
326
+ readonly static labels: object;
327
+ ```
328
+
329
+ ### ModuleLimitationLabelName
330
+
331
+ ```ts
332
+ ModuleLimitationLabelName: string;
333
+ ```
334
+
335
+ ### Overrides
336
+
337
+ ```ts
338
+ MemoryNode.labels
339
+ ```
340
+
341
+ ## Accessors
342
+
343
+ ### account
344
+
345
+ ### Get Signature
346
+
347
+ ```ts
348
+ get account(): AccountInstance;
349
+ ```
350
+
351
+ #### Returns
352
+
353
+ `AccountInstance`
354
+
355
+ ### Implementation of
356
+
357
+ ```ts
358
+ AttachableNodeInstance.account
359
+ ```
360
+
361
+ ### Inherited from
362
+
363
+ ```ts
364
+ MemoryNode.account
365
+ ```
366
+
367
+ ***
368
+
369
+ ### additionalSigners
370
+
371
+ ### Get Signature
372
+
373
+ ```ts
374
+ get additionalSigners(): AccountInstance[];
375
+ ```
376
+
377
+ #### Returns
378
+
379
+ `AccountInstance`[]
380
+
381
+ ### Inherited from
382
+
383
+ ```ts
384
+ MemoryNode.additionalSigners
385
+ ```
386
+
387
+ ***
388
+
389
+ ### address
390
+
391
+ ### Get Signature
392
+
393
+ ```ts
394
+ get address(): Lowercase<string> & object & object;
395
+ ```
396
+
397
+ #### Returns
398
+
399
+ `Lowercase`\<`string`\> & `object` & `object`
400
+
401
+ ### Implementation of
402
+
403
+ ```ts
404
+ AttachableNodeInstance.address
405
+ ```
406
+
407
+ ### Inherited from
408
+
409
+ ```ts
410
+ MemoryNode.address
411
+ ```
412
+
413
+ ***
414
+
415
+ ### allowAnonymous
416
+
417
+ ### Get Signature
418
+
419
+ ```ts
420
+ get allowAnonymous(): boolean;
421
+ ```
422
+
423
+ #### Returns
424
+
425
+ `boolean`
426
+
427
+ ### Inherited from
428
+
429
+ ```ts
430
+ MemoryNode.allowAnonymous
431
+ ```
432
+
433
+ ***
434
+
435
+ ### allowNameResolution
436
+
437
+ ### Get Signature
438
+
439
+ ```ts
440
+ get allowNameResolution(): boolean;
441
+ ```
442
+
443
+ #### Returns
444
+
445
+ `boolean`
446
+
447
+ ### Inherited from
448
+
449
+ ```ts
450
+ MemoryNode.allowNameResolution
451
+ ```
452
+
453
+ ***
454
+
455
+ ### archiving
456
+
457
+ ### Get Signature
458
+
459
+ ```ts
460
+ get archiving():
461
+ | {
462
+ archivists?: ModuleIdentifier[];
463
+ queries?: Schema[];
464
+ }
465
+ | undefined;
466
+ ```
467
+
468
+ #### Returns
469
+
470
+ \| \{
471
+ `archivists?`: `ModuleIdentifier`[];
472
+ `queries?`: `Schema`[];
473
+ \}
474
+ \| `undefined`
475
+
476
+ ### Inherited from
477
+
478
+ ```ts
479
+ MemoryNode.archiving
480
+ ```
481
+
482
+ ***
483
+
484
+ ### archivist
485
+
486
+ ### Get Signature
487
+
488
+ ```ts
489
+ get archivist(): ModuleIdentifier | undefined;
490
+ ```
491
+
492
+ #### Returns
493
+
494
+ `ModuleIdentifier` \| `undefined`
495
+
496
+ ### Inherited from
497
+
498
+ ```ts
499
+ MemoryNode.archivist
500
+ ```
501
+
502
+ ***
503
+
504
+ ### config
505
+
506
+ ### Get Signature
507
+
508
+ ```ts
509
+ get config(): TParams["config"] & object;
510
+ ```
511
+
512
+ #### Returns
513
+
514
+ `TParams`\[`"config"`\] & `object`
515
+
516
+ ### Implementation of
517
+
518
+ ```ts
519
+ AttachableNodeInstance.config
520
+ ```
521
+
522
+ ### Inherited from
523
+
524
+ ```ts
525
+ MemoryNode.config
526
+ ```
527
+
528
+ ***
529
+
530
+ ### dead
531
+
532
+ ### Get Signature
533
+
534
+ ```ts
535
+ get dead(): boolean;
536
+ ```
537
+
538
+ #### Returns
539
+
540
+ `boolean`
541
+
542
+ ### Inherited from
543
+
544
+ ```ts
545
+ MemoryNode.dead
546
+ ```
547
+
548
+ ***
549
+
550
+ ### ephemeralQueryAccountEnabled
551
+
552
+ ### Get Signature
553
+
554
+ ```ts
555
+ get ephemeralQueryAccountEnabled(): boolean;
556
+ ```
557
+
558
+ #### Returns
559
+
560
+ `boolean`
561
+
562
+ ### Inherited from
563
+
564
+ ```ts
565
+ MemoryNode.ephemeralQueryAccountEnabled
566
+ ```
567
+
568
+ ***
569
+
570
+ ### globalReentrancyMutex
571
+
572
+ ### Get Signature
573
+
574
+ ```ts
575
+ get globalReentrancyMutex(): Mutex | undefined;
576
+ ```
577
+
578
+ #### Returns
579
+
580
+ `Mutex` \| `undefined`
581
+
582
+ ### Inherited from
583
+
584
+ ```ts
585
+ MemoryNode.globalReentrancyMutex
586
+ ```
587
+
588
+ ***
589
+
590
+ ### id
591
+
592
+ ### Get Signature
593
+
594
+ ```ts
595
+ get id(): string;
596
+ ```
597
+
598
+ The name (if specified) or address of the module
599
+
600
+ #### Returns
601
+
602
+ `string`
603
+
604
+ ### Implementation of
605
+
606
+ ```ts
607
+ AttachableNodeInstance.id
608
+ ```
609
+
610
+ ### Inherited from
611
+
612
+ ```ts
613
+ MemoryNode.id
614
+ ```
615
+
616
+ ***
617
+
618
+ ### logger
619
+
620
+ ### Get Signature
621
+
622
+ ```ts
623
+ get logger(): Logger | undefined;
624
+ ```
625
+
626
+ #### Returns
627
+
628
+ `Logger` \| `undefined`
629
+
630
+ ### Inherited from
631
+
632
+ ```ts
633
+ MemoryNode.logger
634
+ ```
635
+
636
+ ***
637
+
638
+ ### priority
639
+
640
+ ### Get Signature
641
+
642
+ ```ts
643
+ get priority(): 2;
644
+ ```
645
+
646
+ #### Returns
647
+
648
+ `2`
649
+
650
+ ### Implementation of
651
+
652
+ ```ts
653
+ AttachableNodeInstance.priority
654
+ ```
655
+
656
+ ### Inherited from
657
+
658
+ ```ts
659
+ MemoryNode.priority
660
+ ```
661
+
662
+ ***
663
+
664
+ ### reentrancy
665
+
666
+ ### Get Signature
667
+
668
+ ```ts
669
+ get reentrancy():
670
+ | {
671
+ action: "skip" | "wait";
672
+ scope: "global";
673
+ }
674
+ | undefined;
675
+ ```
676
+
677
+ #### Returns
678
+
679
+ \| \{
680
+ `action`: `"skip"` \| `"wait"`;
681
+ `scope`: `"global"`;
682
+ \}
683
+ \| `undefined`
684
+
685
+ ### Inherited from
686
+
687
+ ```ts
688
+ MemoryNode.reentrancy
689
+ ```
690
+
691
+ ***
692
+
693
+ ### statusReporter
694
+
695
+ ### Get Signature
696
+
697
+ ```ts
698
+ get statusReporter():
699
+ | ModuleStatusReporter & CreatableStatusReporter<void>
700
+ | undefined;
701
+ ```
702
+
703
+ The status reporter used to broadcast lifecycle changes.
704
+
705
+ #### Returns
706
+
707
+ \| `ModuleStatusReporter` & `CreatableStatusReporter`\<`void`\>
708
+ \| `undefined`
709
+
710
+ ### Inherited from
711
+
712
+ ```ts
713
+ MemoryNode.statusReporter
714
+ ```
715
+
716
+ ***
717
+
718
+ ### timestamp
719
+
720
+ ### Get Signature
721
+
722
+ ```ts
723
+ get timestamp(): boolean;
724
+ ```
725
+
726
+ #### Returns
727
+
728
+ `boolean`
729
+
730
+ ### Inherited from
731
+
732
+ ```ts
733
+ MemoryNode.timestamp
734
+ ```
735
+
736
+ ***
737
+
738
+ ### moduleConfigQueryValidator
739
+
740
+ ### Get Signature
741
+
742
+ ```ts
743
+ get protected moduleConfigQueryValidator(): Queryable;
744
+ ```
745
+
746
+ #### Returns
747
+
748
+ `Queryable`
749
+
750
+ ### Inherited from
751
+
752
+ ```ts
753
+ MemoryNode.moduleConfigQueryValidator
754
+ ```
755
+
756
+ ***
757
+
758
+ ### supportedQueryValidator
759
+
760
+ ### Get Signature
761
+
762
+ ```ts
763
+ get protected supportedQueryValidator(): Queryable;
764
+ ```
765
+
766
+ #### Returns
767
+
768
+ `Queryable`
769
+
770
+ ### Inherited from
771
+
772
+ ```ts
773
+ MemoryNode.supportedQueryValidator
774
+ ```
775
+
776
+ ***
777
+
778
+ ### downResolver
779
+
780
+ ### Get Signature
781
+
782
+ ```ts
783
+ get downResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
784
+ ```
785
+
786
+ #### Returns
787
+
788
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
789
+
790
+ ### Implementation of
791
+
792
+ ```ts
793
+ AttachableNodeInstance.downResolver
794
+ ```
795
+
796
+ ### Inherited from
797
+
798
+ ```ts
799
+ MemoryNode.downResolver
800
+ ```
801
+
802
+ ***
803
+
804
+ ### modName
805
+
806
+ ### Get Signature
807
+
808
+ ```ts
809
+ get modName(): string | undefined;
810
+ ```
811
+
812
+ #### Returns
813
+
814
+ `string` \| `undefined`
815
+
816
+ ### Implementation of
817
+
818
+ ```ts
819
+ AttachableNodeInstance.modName
820
+ ```
821
+
822
+ ### Inherited from
823
+
824
+ ```ts
825
+ MemoryNode.modName
826
+ ```
827
+
828
+ ***
829
+
830
+ ### moduleIdentifierTransformers
831
+
832
+ ### Get Signature
833
+
834
+ ```ts
835
+ get moduleIdentifierTransformers(): ModuleIdentifierTransformer[];
836
+ ```
837
+
838
+ #### Returns
839
+
840
+ `ModuleIdentifierTransformer`[]
841
+
842
+ ### Inherited from
843
+
844
+ ```ts
845
+ MemoryNode.moduleIdentifierTransformers
846
+ ```
847
+
848
+ ***
849
+
850
+ ### privateResolver
851
+
852
+ ### Get Signature
853
+
854
+ ```ts
855
+ get privateResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
856
+ ```
857
+
858
+ #### Returns
859
+
860
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
861
+
862
+ ### Implementation of
863
+
864
+ ```ts
865
+ AttachableNodeInstance.privateResolver
866
+ ```
867
+
868
+ ### Inherited from
869
+
870
+ ```ts
871
+ MemoryNode.privateResolver
872
+ ```
873
+
874
+ ***
875
+
876
+ ### root
877
+
878
+ ### Get Signature
879
+
880
+ ```ts
881
+ get root(): this;
882
+ ```
883
+
884
+ #### Returns
885
+
886
+ `this`
887
+
888
+ ### Inherited from
889
+
890
+ ```ts
891
+ MemoryNode.root
892
+ ```
893
+
894
+ ***
895
+
896
+ ### timeBudget
897
+
898
+ ### Get Signature
899
+
900
+ ```ts
901
+ get timeBudget(): number | undefined;
902
+ ```
903
+
904
+ #### Returns
905
+
906
+ `number` \| `undefined`
907
+
908
+ ### Inherited from
909
+
910
+ ```ts
911
+ MemoryNode.timeBudget
912
+ ```
913
+
914
+ ***
915
+
916
+ ### upResolver
917
+
918
+ ### Get Signature
919
+
920
+ ```ts
921
+ get upResolver(): CompositeModuleResolver<CompositeModuleResolverParams>;
922
+ ```
923
+
924
+ #### Returns
925
+
926
+ `CompositeModuleResolver`\<`CompositeModuleResolverParams`\>
927
+
928
+ ### Implementation of
929
+
930
+ ```ts
931
+ AttachableNodeInstance.upResolver
932
+ ```
933
+
934
+ ### Inherited from
935
+
936
+ ```ts
937
+ MemoryNode.upResolver
938
+ ```
939
+
940
+ ***
941
+
942
+ ### ids
943
+
944
+ ### Get Signature
945
+
946
+ ```ts
947
+ get ids(): ModuleIdentifier[] | undefined;
948
+ ```
949
+
950
+ #### Returns
951
+
952
+ `ModuleIdentifier`[] \| `undefined`
953
+
954
+ ***
955
+
956
+ ### queries
957
+
958
+ ### Get Signature
959
+
960
+ ```ts
961
+ get queries(): Schema[];
962
+ ```
963
+
964
+ #### Returns
965
+
966
+ `Schema`[]
967
+
968
+ ### Implementation of
969
+
970
+ ```ts
971
+ AttachableNodeInstance.queries
972
+ ```
973
+
974
+ ### Overrides
975
+
976
+ ```ts
977
+ MemoryNode.queries
978
+ ```
979
+
980
+ ***
981
+
982
+ ### source
983
+
984
+ ### Get Signature
985
+
986
+ ```ts
987
+ get source(): ModuleIdentifier | undefined;
988
+ ```
989
+
990
+ #### Returns
991
+
992
+ `ModuleIdentifier` \| `undefined`
993
+
994
+ ## Methods
995
+
996
+ ### \_getRootFunction()
997
+
998
+ ```ts
999
+ static _getRootFunction(funcName): any;
1000
+ ```
1001
+
1002
+ ### Parameters
1003
+
1004
+ #### funcName
1005
+
1006
+ `string`
1007
+
1008
+ ### Returns
1009
+
1010
+ `any`
1011
+
1012
+ ### Inherited from
1013
+
1014
+ ```ts
1015
+ MemoryNode._getRootFunction
1016
+ ```
1017
+
1018
+ ***
1019
+
1020
+ ### \_noOverride()
1021
+
1022
+ ```ts
1023
+ static _noOverride(functionName): void;
1024
+ ```
1025
+
1026
+ ### Parameters
1027
+
1028
+ #### functionName
1029
+
1030
+ `string`
1031
+
1032
+ ### Returns
1033
+
1034
+ `void`
1035
+
1036
+ ### Inherited from
1037
+
1038
+ ```ts
1039
+ MemoryNode._noOverride
1040
+ ```
1041
+
1042
+ ***
1043
+
1044
+ ### createHandler()
1045
+
1046
+ ```ts
1047
+ static createHandler<T>(inInstance): Promise<T & AbstractModule<any, any>>;
1048
+ ```
1049
+
1050
+ Static hook called during creation to perform additional initialization.
1051
+ Override in subclasses to customize post-construction setup.
1052
+
1053
+ ### Type Parameters
1054
+
1055
+ #### T
1056
+
1057
+ `T` *extends* `CreatableInstance`\<`CreatableParams`, `EventData`\>
1058
+
1059
+ ### Parameters
1060
+
1061
+ #### inInstance
1062
+
1063
+ `T`
1064
+
1065
+ ### Returns
1066
+
1067
+ `Promise`\<`T` & `AbstractModule`\<`any`, `any`\>\>
1068
+
1069
+ The instance, potentially modified
1070
+
1071
+ ### Inherited from
1072
+
1073
+ ```ts
1074
+ MemoryNode.createHandler
1075
+ ```
1076
+
1077
+ ***
1078
+
1079
+ ### determineAccount()
1080
+
1081
+ ```ts
1082
+ static determineAccount(params): Promise<AccountInstance>;
1083
+ ```
1084
+
1085
+ ### Parameters
1086
+
1087
+ #### params
1088
+
1089
+ ##### account?
1090
+
1091
+ `AccountInstance` \| `"random"`
1092
+
1093
+ ##### accountPath?
1094
+
1095
+ `string`
1096
+
1097
+ ##### wallet?
1098
+
1099
+ `WalletInstance`
1100
+
1101
+ ### Returns
1102
+
1103
+ `Promise`\<`AccountInstance`\>
1104
+
1105
+ ### Inherited from
1106
+
1107
+ ```ts
1108
+ MemoryNode.determineAccount
1109
+ ```
1110
+
1111
+ ***
1112
+
1113
+ ### factory()
1114
+
1115
+ ```ts
1116
+ static factory<TModule>(this, params?): CreatableModuleFactory<TModule>;
1117
+ ```
1118
+
1119
+ ### Type Parameters
1120
+
1121
+ #### TModule
1122
+
1123
+ `TModule` *extends* `CreatableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1124
+
1125
+ ### Parameters
1126
+
1127
+ #### this
1128
+
1129
+ `CreatableModule`\<`TModule`\>
1130
+
1131
+ #### params?
1132
+
1133
+ `Partial`\<`TModule`\[`"params"`\]\>
1134
+
1135
+ ### Returns
1136
+
1137
+ `CreatableModuleFactory`\<`TModule`\>
1138
+
1139
+ ### Inherited from
1140
+
1141
+ ```ts
1142
+ MemoryNode.factory
1143
+ ```
1144
+
1145
+ ***
1146
+
1147
+ ### isAllowedSchema()
1148
+
1149
+ ```ts
1150
+ static isAllowedSchema(schema): boolean;
1151
+ ```
1152
+
1153
+ ### Parameters
1154
+
1155
+ #### schema
1156
+
1157
+ `Schema`
1158
+
1159
+ ### Returns
1160
+
1161
+ `boolean`
1162
+
1163
+ ### Inherited from
1164
+
1165
+ ```ts
1166
+ MemoryNode.isAllowedSchema
1167
+ ```
1168
+
1169
+ ***
1170
+
1171
+ ### paramsHandler()
1172
+
1173
+ ```ts
1174
+ static paramsHandler<T>(inParams?): Promise<T["params"]>;
1175
+ ```
1176
+
1177
+ Static hook called during creation to validate and transform params.
1178
+ Override in subclasses to add default values or validation.
1179
+
1180
+ ### Type Parameters
1181
+
1182
+ #### T
1183
+
1184
+ `T` *extends* `AttachableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
1185
+
1186
+ ### Parameters
1187
+
1188
+ #### inParams?
1189
+
1190
+ `Partial`\<`T`\[`"params"`\]\>
1191
+
1192
+ ### Returns
1193
+
1194
+ `Promise`\<`T`\[`"params"`\]\>
1195
+
1196
+ The processed params ready for construction
1197
+
1198
+ ### Inherited from
1199
+
1200
+ ```ts
1201
+ MemoryNode.paramsHandler
1202
+ ```
1203
+
1204
+ ***
1205
+
1206
+ ### \_getRootFunction()
1207
+
1208
+ ```ts
1209
+ _getRootFunction(funcName): any;
1210
+ ```
1211
+
1212
+ ### Parameters
1213
+
1214
+ #### funcName
1215
+
1216
+ `string`
1217
+
1218
+ ### Returns
1219
+
1220
+ `any`
1221
+
1222
+ ### Inherited from
1223
+
1224
+ ```ts
1225
+ MemoryNode._getRootFunction
1226
+ ```
1227
+
1228
+ ***
1229
+
1230
+ ### busy()
1231
+
1232
+ ```ts
1233
+ busy<R>(closure): Promise<R>;
1234
+ ```
1235
+
1236
+ ### Type Parameters
1237
+
1238
+ #### R
1239
+
1240
+ `R`
1241
+
1242
+ ### Parameters
1243
+
1244
+ #### closure
1245
+
1246
+ () => `Promise`\<`R`\>
1247
+
1248
+ ### Returns
1249
+
1250
+ `Promise`\<`R`\>
1251
+
1252
+ ### Inherited from
1253
+
1254
+ ```ts
1255
+ MemoryNode.busy
1256
+ ```
1257
+
1258
+ ***
1259
+
1260
+ ### emit()
1261
+
1262
+ ```ts
1263
+ emit<TEventName, TEventArgs>(eventName, eventArgs): Promise<void>;
1264
+ ```
1265
+
1266
+ Emits an event, invoking all registered listeners concurrently.
1267
+
1268
+ ### Type Parameters
1269
+
1270
+ #### TEventName
1271
+
1272
+ `TEventName` *extends* `string` \| `number` \| `symbol` = keyof `TEventData`
1273
+
1274
+ #### TEventArgs
1275
+
1276
+ `TEventArgs` *extends* `EventArgs` = `TEventData`\[`TEventName`\]
1277
+
1278
+ ### Parameters
1279
+
1280
+ #### eventName
1281
+
1282
+ `TEventName`
1283
+
1284
+ The event to emit.
1285
+
1286
+ #### eventArgs
1287
+
1288
+ `TEventArgs`
1289
+
1290
+ The data to pass to listeners.
1291
+
1292
+ ### Returns
1293
+
1294
+ `Promise`\<`void`\>
1295
+
1296
+ ### Implementation of
1297
+
1298
+ ```ts
1299
+ AttachableNodeInstance.emit
1300
+ ```
1301
+
1302
+ ### Inherited from
1303
+
1304
+ ```ts
1305
+ MemoryNode.emit
1306
+ ```
1307
+
1308
+ ***
1309
+
1310
+ ### isSupportedQuery()
1311
+
1312
+ ```ts
1313
+ isSupportedQuery(query, assert?): boolean;
1314
+ ```
1315
+
1316
+ ### Parameters
1317
+
1318
+ #### query
1319
+
1320
+ `Schema`
1321
+
1322
+ #### assert?
1323
+
1324
+ `string` \| `boolean`
1325
+
1326
+ ### Returns
1327
+
1328
+ `boolean`
1329
+
1330
+ ### Inherited from
1331
+
1332
+ ```ts
1333
+ MemoryNode.isSupportedQuery
1334
+ ```
1335
+
1336
+ ***
1337
+
1338
+ ### previousHash()
1339
+
1340
+ ```ts
1341
+ previousHash(): Promisable<string | undefined>;
1342
+ ```
1343
+
1344
+ ### Returns
1345
+
1346
+ `Promisable`\<`string` \| `undefined`\>
1347
+
1348
+ ### Implementation of
1349
+
1350
+ ```ts
1351
+ AttachableNodeInstance.previousHash
1352
+ ```
1353
+
1354
+ ### Inherited from
1355
+
1356
+ ```ts
1357
+ MemoryNode.previousHash
1358
+ ```
1359
+
1360
+ ***
1361
+
1362
+ ### query()
1363
+
1364
+ ```ts
1365
+ query<T, TConfig>(
1366
+ query,
1367
+ payloads?,
1368
+ queryConfig?): Promise<ModuleQueryResult>;
1369
+ ```
1370
+
1371
+ ### Type Parameters
1372
+
1373
+ #### T
1374
+
1375
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1376
+
1377
+ #### TConfig
1378
+
1379
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1380
+
1381
+ ### Parameters
1382
+
1383
+ #### query
1384
+
1385
+ `T`
1386
+
1387
+ #### payloads?
1388
+
1389
+ `Payload`[]
1390
+
1391
+ #### queryConfig?
1392
+
1393
+ `TConfig`
1394
+
1395
+ ### Returns
1396
+
1397
+ `Promise`\<`ModuleQueryResult`\>
1398
+
1399
+ ### Implementation of
1400
+
1401
+ ```ts
1402
+ AttachableNodeInstance.query
1403
+ ```
1404
+
1405
+ ### Inherited from
1406
+
1407
+ ```ts
1408
+ MemoryNode.query
1409
+ ```
1410
+
1411
+ ***
1412
+
1413
+ ### queryable()
1414
+
1415
+ ```ts
1416
+ queryable<T, TConfig>(
1417
+ query,
1418
+ payloads?,
1419
+ queryConfig?): Promise<boolean>;
1420
+ ```
1421
+
1422
+ ### Type Parameters
1423
+
1424
+ #### T
1425
+
1426
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
1427
+
1428
+ #### TConfig
1429
+
1430
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
1431
+
1432
+ ### Parameters
1433
+
1434
+ #### query
1435
+
1436
+ `T`
1437
+
1438
+ #### payloads?
1439
+
1440
+ `Payload`[]
1441
+
1442
+ #### queryConfig?
1443
+
1444
+ `TConfig`
1445
+
1446
+ ### Returns
1447
+
1448
+ `Promise`\<`boolean`\>
1449
+
1450
+ ### Implementation of
1451
+
1452
+ ```ts
1453
+ AttachableNodeInstance.queryable
1454
+ ```
1455
+
1456
+ ### Inherited from
1457
+
1458
+ ```ts
1459
+ MemoryNode.queryable
1460
+ ```
1461
+
1462
+ ***
1463
+
1464
+ ### \_checkDead()
1465
+
1466
+ ```ts
1467
+ protected _checkDead(): void;
1468
+ ```
1469
+
1470
+ ### Returns
1471
+
1472
+ `void`
1473
+
1474
+ ### Inherited from
1475
+
1476
+ ```ts
1477
+ MemoryNode._checkDead
1478
+ ```
1479
+
1480
+ ***
1481
+
1482
+ ### archivistInstance()
1483
+
1484
+ ### Call Signature
1485
+
1486
+ ```ts
1487
+ protected archivistInstance(): Promise<
1488
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
1489
+ | undefined>;
1490
+ ```
1491
+
1492
+ #### Returns
1493
+
1494
+ `Promise`\<
1495
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
1496
+ \| `undefined`\>
1497
+
1498
+ #### Inherited from
1499
+
1500
+ ```ts
1501
+ MemoryNode.archivistInstance
1502
+ ```
1503
+
1504
+ ### Call Signature
1505
+
1506
+ ```ts
1507
+ protected archivistInstance(required): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>>;
1508
+ ```
1509
+
1510
+ #### Parameters
1511
+
1512
+ ##### required
1513
+
1514
+ `true`
1515
+
1516
+ #### Returns
1517
+
1518
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>\>
1519
+
1520
+ #### Inherited from
1521
+
1522
+ ```ts
1523
+ MemoryNode.archivistInstance
1524
+ ```
1525
+
1526
+ ***
1527
+
1528
+ ### bindHashes()
1529
+
1530
+ ```ts
1531
+ protected bindHashes(
1532
+ hashes,
1533
+ schema,
1534
+ account?): PromiseEx<unknown, AccountInstance>;
1535
+ ```
1536
+
1537
+ ### Parameters
1538
+
1539
+ #### hashes
1540
+
1541
+ `BrandedHash`[]
1542
+
1543
+ #### schema
1544
+
1545
+ `Schema`[]
1546
+
1547
+ #### account?
1548
+
1549
+ `AccountInstance`
1550
+
1551
+ ### Returns
1552
+
1553
+ `PromiseEx`\<`unknown`, `AccountInstance`\>
1554
+
1555
+ ### Inherited from
1556
+
1557
+ ```ts
1558
+ MemoryNode.bindHashes
1559
+ ```
1560
+
1561
+ ***
1562
+
1563
+ ### bindHashesInternal()
1564
+
1565
+ ```ts
1566
+ protected bindHashesInternal(
1567
+ hashes,
1568
+ schema,
1569
+ account?): Promise<{
1570
+ schema: "network.xyo.boundwitness" & object;
1571
+ addresses: Lowercase<string> & object & object[];
1572
+ payload_hashes: BrandedHash[];
1573
+ payload_schemas: BrandedSchema<string>[];
1574
+ previous_hashes: (BrandedHash | null)[];
1575
+ $destination?: Lowercase<string> & object & object;
1576
+ $sourceQuery?: BrandedHash;
1577
+ $signatures: (BrandedHex | null)[];
1578
+ }>;
1579
+ ```
1580
+
1581
+ ### Parameters
1582
+
1583
+ #### hashes
1584
+
1585
+ `BrandedHash`[]
1586
+
1587
+ #### schema
1588
+
1589
+ `Schema`[]
1590
+
1591
+ #### account?
1592
+
1593
+ `AccountInstance`
1594
+
1595
+ ### Returns
1596
+
1597
+ `Promise`\<\{
1598
+ `schema`: `"network.xyo.boundwitness"` & `object`;
1599
+ `addresses`: `Lowercase`\<`string`\> & `object` & `object`[];
1600
+ `payload_hashes`: `BrandedHash`[];
1601
+ `payload_schemas`: `BrandedSchema`\<`string`\>[];
1602
+ `previous_hashes`: (`BrandedHash` \| `null`)[];
1603
+ `$destination?`: `Lowercase`\<`string`\> & `object` & `object`;
1604
+ `$sourceQuery?`: `BrandedHash`;
1605
+ `$signatures`: (`BrandedHex` \| `null`)[];
1606
+ \}\>
1607
+
1608
+ ### Inherited from
1609
+
1610
+ ```ts
1611
+ MemoryNode.bindHashesInternal
1612
+ ```
1613
+
1614
+ ***
1615
+
1616
+ ### bindQuery()
1617
+
1618
+ ```ts
1619
+ protected bindQuery<T>(
1620
+ query,
1621
+ payloads?,
1622
+ account?,
1623
+ additionalSigners?): PromiseEx<[UnsignedQueryBoundWitness, Payload[], Payload[]], AccountInstance>;
1624
+ ```
1625
+
1626
+ ### Type Parameters
1627
+
1628
+ #### T
1629
+
1630
+ `T` *extends* `Query`
1631
+
1632
+ ### Parameters
1633
+
1634
+ #### query
1635
+
1636
+ `T`
1637
+
1638
+ #### payloads?
1639
+
1640
+ `Payload`[]
1641
+
1642
+ #### account?
1643
+
1644
+ `AccountInstance`
1645
+
1646
+ #### additionalSigners?
1647
+
1648
+ `AccountInstance`[]
1649
+
1650
+ ### Returns
1651
+
1652
+ `PromiseEx`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\], `AccountInstance`\>
1653
+
1654
+ ### Inherited from
1655
+
1656
+ ```ts
1657
+ MemoryNode.bindQuery
1658
+ ```
1659
+
1660
+ ***
1661
+
1662
+ ### bindQueryInternal()
1663
+
1664
+ ```ts
1665
+ protected bindQueryInternal<T>(
1666
+ query,
1667
+ payloads?,
1668
+ account?,
1669
+ additionalSigners?): Promise<[UnsignedQueryBoundWitness, Payload[], Payload[]]>;
1670
+ ```
1671
+
1672
+ ### Type Parameters
1673
+
1674
+ #### T
1675
+
1676
+ `T` *extends* `Query`
1677
+
1678
+ ### Parameters
1679
+
1680
+ #### query
1681
+
1682
+ `T`
1683
+
1684
+ #### payloads?
1685
+
1686
+ `Payload`[]
1687
+
1688
+ #### account?
1689
+
1690
+ `AccountInstance`
1691
+
1692
+ #### additionalSigners?
1693
+
1694
+ `AccountInstance`[]
1695
+
1696
+ ### Returns
1697
+
1698
+ `Promise`\<\[`UnsignedQueryBoundWitness`, `Payload`[], `Payload`[]\]\>
1699
+
1700
+ ### Inherited from
1701
+
1702
+ ```ts
1703
+ MemoryNode.bindQueryInternal
1704
+ ```
1705
+
1706
+ ***
1707
+
1708
+ ### bindQueryResult()
1709
+
1710
+ ```ts
1711
+ protected bindQueryResult<T>(
1712
+ query,
1713
+ payloads,
1714
+ additionalWitnesses?,
1715
+ errors?): Promise<ModuleQueryResult>;
1716
+ ```
1717
+
1718
+ ### Type Parameters
1719
+
1720
+ #### T
1721
+
1722
+ `T` *extends* `Query`
1723
+
1724
+ ### Parameters
1725
+
1726
+ #### query
1727
+
1728
+ `T`
1729
+
1730
+ #### payloads
1731
+
1732
+ `Payload`[]
1733
+
1734
+ #### additionalWitnesses?
1735
+
1736
+ `AccountInstance`[]
1737
+
1738
+ #### errors?
1739
+
1740
+ `ModuleError`[]
1741
+
1742
+ ### Returns
1743
+
1744
+ `Promise`\<`ModuleQueryResult`\>
1745
+
1746
+ ### Inherited from
1747
+
1748
+ ```ts
1749
+ MemoryNode.bindQueryResult
1750
+ ```
1751
+
1752
+ ***
1753
+
1754
+ ### generateDescribe()
1755
+
1756
+ ```ts
1757
+ protected generateDescribe(): Promise<ModuleDescriptionPayload>;
1758
+ ```
1759
+
1760
+ ### Returns
1761
+
1762
+ `Promise`\<`ModuleDescriptionPayload`\>
1763
+
1764
+ ### Inherited from
1765
+
1766
+ ```ts
1767
+ MemoryNode.generateDescribe
1768
+ ```
1769
+
1770
+ ***
1771
+
1772
+ ### ~~getArchivist()~~
1773
+
1774
+ ```ts
1775
+ protected getArchivist(): Promise<
1776
+ | ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>
1777
+ | undefined>;
1778
+ ```
1779
+
1780
+ ### Returns
1781
+
1782
+ `Promise`\<
1783
+ \| `ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>
1784
+ \| `undefined`\>
1785
+
1786
+ ### Deprecated
1787
+
1788
+ use archivistInstance() instead
1789
+
1790
+ ### Inherited from
1791
+
1792
+ ```ts
1793
+ MemoryNode.getArchivist
1794
+ ```
1795
+
1796
+ ***
1797
+
1798
+ ### isAllowedArchivingQuery()
1799
+
1800
+ ```ts
1801
+ protected isAllowedArchivingQuery(schema): boolean;
1802
+ ```
1803
+
1804
+ ### Parameters
1805
+
1806
+ #### schema
1807
+
1808
+ `Schema`
1809
+
1810
+ ### Returns
1811
+
1812
+ `boolean`
1813
+
1814
+ ### Inherited from
1815
+
1816
+ ```ts
1817
+ MemoryNode.isAllowedArchivingQuery
1818
+ ```
1819
+
1820
+ ***
1821
+
1822
+ ### moduleAddressHandler()
1823
+
1824
+ ```ts
1825
+ protected moduleAddressHandler(): Promisable<(AddressPayload | AddressPreviousHashPayload)[]>;
1826
+ ```
1827
+
1828
+ ### Returns
1829
+
1830
+ `Promisable`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
1831
+
1832
+ ### Inherited from
1833
+
1834
+ ```ts
1835
+ MemoryNode.moduleAddressHandler
1836
+ ```
1837
+
1838
+ ***
1839
+
1840
+ ### stateHandler()
1841
+
1842
+ ```ts
1843
+ protected stateHandler(): Promise<Payload[]>;
1844
+ ```
1845
+
1846
+ ### Returns
1847
+
1848
+ `Promise`\<`Payload`[]\>
1849
+
1850
+ ### Inherited from
1851
+
1852
+ ```ts
1853
+ MemoryNode.stateHandler
1854
+ ```
1855
+
1856
+ ***
1857
+
1858
+ ### stopHandler()
1859
+
1860
+ ```ts
1861
+ protected stopHandler(): Promise<void>;
1862
+ ```
1863
+
1864
+ Override in subclasses to define stop behavior. Throw an error on failure.
1865
+
1866
+ ### Returns
1867
+
1868
+ `Promise`\<`void`\>
1869
+
1870
+ ### Inherited from
1871
+
1872
+ ```ts
1873
+ MemoryNode.stopHandler
1874
+ ```
1875
+
1876
+ ***
1877
+
1878
+ ### subscribeHandler()
1879
+
1880
+ ```ts
1881
+ protected subscribeHandler(): void;
1882
+ ```
1883
+
1884
+ ### Returns
1885
+
1886
+ `void`
1887
+
1888
+ ### Inherited from
1889
+
1890
+ ```ts
1891
+ MemoryNode.subscribeHandler
1892
+ ```
1893
+
1894
+ ***
1895
+
1896
+ ### validateConfig()
1897
+
1898
+ ```ts
1899
+ protected validateConfig(config?, parents?): boolean;
1900
+ ```
1901
+
1902
+ ### Parameters
1903
+
1904
+ #### config?
1905
+
1906
+ `unknown`
1907
+
1908
+ #### parents?
1909
+
1910
+ `string`[]
1911
+
1912
+ ### Returns
1913
+
1914
+ `boolean`
1915
+
1916
+ ### Inherited from
1917
+
1918
+ ```ts
1919
+ MemoryNode.validateConfig
1920
+ ```
1921
+
1922
+ ***
1923
+
1924
+ ### addParent()
1925
+
1926
+ ```ts
1927
+ addParent(mod): void;
1928
+ ```
1929
+
1930
+ ### Parameters
1931
+
1932
+ #### mod
1933
+
1934
+ `ModuleInstance`
1935
+
1936
+ ### Returns
1937
+
1938
+ `void`
1939
+
1940
+ ### Implementation of
1941
+
1942
+ ```ts
1943
+ AttachableNodeInstance.addParent
1944
+ ```
1945
+
1946
+ ### Inherited from
1947
+
1948
+ ```ts
1949
+ MemoryNode.addParent
1950
+ ```
1951
+
1952
+ ***
1953
+
1954
+ ### certifyParents()
1955
+
1956
+ ```ts
1957
+ certifyParents(): Promise<Payload[]>;
1958
+ ```
1959
+
1960
+ ### Returns
1961
+
1962
+ `Promise`\<`Payload`[]\>
1963
+
1964
+ ### Inherited from
1965
+
1966
+ ```ts
1967
+ MemoryNode.certifyParents
1968
+ ```
1969
+
1970
+ ***
1971
+
1972
+ ### createHandler()
1973
+
1974
+ ```ts
1975
+ createHandler(): Promise<void>;
1976
+ ```
1977
+
1978
+ ### Returns
1979
+
1980
+ `Promise`\<`void`\>
1981
+
1982
+ ### Inherited from
1983
+
1984
+ ```ts
1985
+ MemoryNode.createHandler
1986
+ ```
1987
+
1988
+ ***
1989
+
1990
+ ### manifestQuery()
1991
+
1992
+ ```ts
1993
+ manifestQuery(account, maxDepth?): Promise<ModuleQueryResult<ModuleManifestPayload>>;
1994
+ ```
1995
+
1996
+ ### Parameters
1997
+
1998
+ #### account
1999
+
2000
+ `AccountInstance`
2001
+
2002
+ #### maxDepth?
2003
+
2004
+ `number`
2005
+
2006
+ ### Returns
2007
+
2008
+ `Promise`\<`ModuleQueryResult`\<`ModuleManifestPayload`\>\>
2009
+
2010
+ ### Implementation of
2011
+
2012
+ ```ts
2013
+ AttachableNodeInstance.manifestQuery
2014
+ ```
2015
+
2016
+ ### Inherited from
2017
+
2018
+ ```ts
2019
+ MemoryNode.manifestQuery
2020
+ ```
2021
+
2022
+ ***
2023
+
2024
+ ### moduleAddress()
2025
+
2026
+ ```ts
2027
+ moduleAddress(): Promise<(AddressPayload | AddressPreviousHashPayload)[]>;
2028
+ ```
2029
+
2030
+ ### Returns
2031
+
2032
+ `Promise`\<(`AddressPayload` \| `AddressPreviousHashPayload`)[]\>
2033
+
2034
+ ### Implementation of
2035
+
2036
+ ```ts
2037
+ AttachableNodeInstance.moduleAddress
2038
+ ```
2039
+
2040
+ ### Inherited from
2041
+
2042
+ ```ts
2043
+ MemoryNode.moduleAddress
2044
+ ```
2045
+
2046
+ ***
2047
+
2048
+ ### parents()
2049
+
2050
+ ```ts
2051
+ parents(): Promisable<NodeInstance<NodeParams<AnyConfigSchema<NodeConfig>>, NodeModuleEventData>[]>;
2052
+ ```
2053
+
2054
+ ### Returns
2055
+
2056
+ `Promisable`\<`NodeInstance`\<`NodeParams`\<`AnyConfigSchema`\<`NodeConfig`\>\>, `NodeModuleEventData`\>[]\>
2057
+
2058
+ ### Implementation of
2059
+
2060
+ ```ts
2061
+ AttachableNodeInstance.parents
2062
+ ```
2063
+
2064
+ ### Inherited from
2065
+
2066
+ ```ts
2067
+ MemoryNode.parents
2068
+ ```
2069
+
2070
+ ***
2071
+
2072
+ ### removeParent()
2073
+
2074
+ ```ts
2075
+ removeParent(address): void;
2076
+ ```
2077
+
2078
+ ### Parameters
2079
+
2080
+ #### address
2081
+
2082
+ `BrandedAddress`
2083
+
2084
+ ### Returns
2085
+
2086
+ `void`
2087
+
2088
+ ### Implementation of
2089
+
2090
+ ```ts
2091
+ AttachableNodeInstance.removeParent
2092
+ ```
2093
+
2094
+ ### Inherited from
2095
+
2096
+ ```ts
2097
+ MemoryNode.removeParent
2098
+ ```
2099
+
2100
+ ***
2101
+
2102
+ ### resolveIdentifier()
2103
+
2104
+ ```ts
2105
+ resolveIdentifier(id, options?): Promise<BrandedAddress | undefined>;
2106
+ ```
2107
+
2108
+ ### Parameters
2109
+
2110
+ #### id
2111
+
2112
+ `ModuleIdentifier`
2113
+
2114
+ #### options?
2115
+
2116
+ `ObjectFilterOptions`\<`AnyObject`\>
2117
+
2118
+ ### Returns
2119
+
2120
+ `Promise`\<`BrandedAddress` \| `undefined`\>
2121
+
2122
+ ### Inherited from
2123
+
2124
+ ```ts
2125
+ MemoryNode.resolveIdentifier
2126
+ ```
2127
+
2128
+ ***
2129
+
2130
+ ### resolvePrivate()
2131
+
2132
+ ### Call Signature
2133
+
2134
+ ```ts
2135
+ resolvePrivate<T>(all, options?): Promise<T[]>;
2136
+ ```
2137
+
2138
+ #### Type Parameters
2139
+
2140
+ ##### T
2141
+
2142
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2143
+
2144
+ #### Parameters
2145
+
2146
+ ##### all
2147
+
2148
+ `"*"`
2149
+
2150
+ ##### options?
2151
+
2152
+ `ModuleFilterOptions`\<`T`\>
2153
+
2154
+ #### Returns
2155
+
2156
+ `Promise`\<`T`[]\>
2157
+
2158
+ #### Implementation of
2159
+
2160
+ ```ts
2161
+ AttachableNodeInstance.resolvePrivate
2162
+ ```
2163
+
2164
+ #### Inherited from
2165
+
2166
+ ```ts
2167
+ MemoryNode.resolvePrivate
2168
+ ```
2169
+
2170
+ ### Call Signature
2171
+
2172
+ ```ts
2173
+ resolvePrivate<T>(id, options?): Promise<T | undefined>;
2174
+ ```
2175
+
2176
+ #### Type Parameters
2177
+
2178
+ ##### T
2179
+
2180
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
2181
+
2182
+ #### Parameters
2183
+
2184
+ ##### id
2185
+
2186
+ `ModuleIdentifier`
2187
+
2188
+ ##### options?
2189
+
2190
+ `ModuleFilterOptions`\<`T`\>
2191
+
2192
+ #### Returns
2193
+
2194
+ `Promise`\<`T` \| `undefined`\>
2195
+
2196
+ #### Implementation of
2197
+
2198
+ ```ts
2199
+ AttachableNodeInstance.resolvePrivate
2200
+ ```
2201
+
2202
+ #### Inherited from
2203
+
2204
+ ```ts
2205
+ MemoryNode.resolvePrivate
2206
+ ```
2207
+
2208
+ ***
2209
+
2210
+ ### siblings()
2211
+
2212
+ ```ts
2213
+ siblings(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2214
+ ```
2215
+
2216
+ ### Returns
2217
+
2218
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2219
+
2220
+ ### Implementation of
2221
+
2222
+ ```ts
2223
+ AttachableNodeInstance.siblings
2224
+ ```
2225
+
2226
+ ### Inherited from
2227
+
2228
+ ```ts
2229
+ MemoryNode.siblings
2230
+ ```
2231
+
2232
+ ***
2233
+
2234
+ ### state()
2235
+
2236
+ ```ts
2237
+ state(): Promise<Payload[]>;
2238
+ ```
2239
+
2240
+ ### Returns
2241
+
2242
+ `Promise`\<`Payload`[]\>
2243
+
2244
+ ### Implementation of
2245
+
2246
+ ```ts
2247
+ AttachableNodeInstance.state
2248
+ ```
2249
+
2250
+ ### Inherited from
2251
+
2252
+ ```ts
2253
+ MemoryNode.state
2254
+ ```
2255
+
2256
+ ***
2257
+
2258
+ ### stateQuery()
2259
+
2260
+ ```ts
2261
+ stateQuery(account): Promise<ModuleQueryResult>;
2262
+ ```
2263
+
2264
+ ### Parameters
2265
+
2266
+ #### account
2267
+
2268
+ `AccountInstance`
2269
+
2270
+ ### Returns
2271
+
2272
+ `Promise`\<`ModuleQueryResult`\>
2273
+
2274
+ ### Implementation of
2275
+
2276
+ ```ts
2277
+ AttachableNodeInstance.stateQuery
2278
+ ```
2279
+
2280
+ ### Inherited from
2281
+
2282
+ ```ts
2283
+ MemoryNode.stateQuery
2284
+ ```
2285
+
2286
+ ***
2287
+
2288
+ ### subscribe()
2289
+
2290
+ ```ts
2291
+ subscribe(_queryAccount?): void;
2292
+ ```
2293
+
2294
+ ### Parameters
2295
+
2296
+ #### \_queryAccount?
2297
+
2298
+ `AccountInstance`
2299
+
2300
+ ### Returns
2301
+
2302
+ `void`
2303
+
2304
+ ### Inherited from
2305
+
2306
+ ```ts
2307
+ MemoryNode.subscribe
2308
+ ```
2309
+
2310
+ ***
2311
+
2312
+ ### resolveArchivingArchivists()
2313
+
2314
+ ```ts
2315
+ protected resolveArchivingArchivists(): Promise<ArchivistInstance<ArchivistParams<AnyConfigSchema<ArchivistConfig>>, ArchivistModuleEventData, Payload>[]>;
2316
+ ```
2317
+
2318
+ ### Returns
2319
+
2320
+ `Promise`\<`ArchivistInstance`\<`ArchivistParams`\<`AnyConfigSchema`\<`ArchivistConfig`\>\>, `ArchivistModuleEventData`, `Payload`\>[]\>
2321
+
2322
+ ### Inherited from
2323
+
2324
+ ```ts
2325
+ MemoryNode.resolveArchivingArchivists
2326
+ ```
2327
+
2328
+ ***
2329
+
2330
+ ### sendQuery()
2331
+
2332
+ ```ts
2333
+ protected sendQuery<T, P, R>(
2334
+ queryPayload,
2335
+ payloads?,
2336
+ account?): Promise<R[]>;
2337
+ ```
2338
+
2339
+ ### Type Parameters
2340
+
2341
+ #### T
2342
+
2343
+ `T` *extends* `Query`
2344
+
2345
+ #### P
2346
+
2347
+ `P` *extends* `Payload` = `Payload`
2348
+
2349
+ #### R
2350
+
2351
+ `R` *extends* `Payload` = `Payload`
2352
+
2353
+ ### Parameters
2354
+
2355
+ #### queryPayload
2356
+
2357
+ `T`
2358
+
2359
+ #### payloads?
2360
+
2361
+ `P`[]
2362
+
2363
+ #### account?
2364
+
2365
+ `AccountInstance`
2366
+
2367
+ ### Returns
2368
+
2369
+ `Promise`\<`R`[]\>
2370
+
2371
+ ### Inherited from
2372
+
2373
+ ```ts
2374
+ MemoryNode.sendQuery
2375
+ ```
2376
+
2377
+ ***
2378
+
2379
+ ### sendQueryRaw()
2380
+
2381
+ ```ts
2382
+ protected sendQueryRaw<T, P, R>(
2383
+ queryPayload,
2384
+ payloads?,
2385
+ account?): Promise<ModuleQueryResult<R>>;
2386
+ ```
2387
+
2388
+ ### Type Parameters
2389
+
2390
+ #### T
2391
+
2392
+ `T` *extends* `Query`
2393
+
2394
+ #### P
2395
+
2396
+ `P` *extends* `Payload` = `Payload`
2397
+
2398
+ #### R
2399
+
2400
+ `R` *extends* `Payload` = `Payload`
2401
+
2402
+ ### Parameters
2403
+
2404
+ #### queryPayload
2405
+
2406
+ `T`
2407
+
2408
+ #### payloads?
2409
+
2410
+ `P`[]
2411
+
2412
+ #### account?
2413
+
2414
+ `AccountInstance`
2415
+
2416
+ ### Returns
2417
+
2418
+ `Promise`\<`ModuleQueryResult`\<`R`\>\>
2419
+
2420
+ ### Inherited from
2421
+
2422
+ ```ts
2423
+ MemoryNode.sendQueryRaw
2424
+ ```
2425
+
2426
+ ***
2427
+
2428
+ ### storeToArchivists()
2429
+
2430
+ ```ts
2431
+ protected storeToArchivists(payloads): Promise<Payload[]>;
2432
+ ```
2433
+
2434
+ ### Parameters
2435
+
2436
+ #### payloads
2437
+
2438
+ `Payload`[]
2439
+
2440
+ ### Returns
2441
+
2442
+ `Promise`\<`Payload`[]\>
2443
+
2444
+ ### Inherited from
2445
+
2446
+ ```ts
2447
+ MemoryNode.storeToArchivists
2448
+ ```
2449
+
2450
+ ***
2451
+
2452
+ ### isNode()
2453
+
2454
+ ```ts
2455
+ static isNode(mod): boolean;
2456
+ ```
2457
+
2458
+ ### Parameters
2459
+
2460
+ #### mod
2461
+
2462
+ `unknown`
2463
+
2464
+ ### Returns
2465
+
2466
+ `boolean`
2467
+
2468
+ ### Inherited from
2469
+
2470
+ ```ts
2471
+ MemoryNode.isNode
2472
+ ```
2473
+
2474
+ ***
2475
+
2476
+ ### attach()
2477
+
2478
+ ```ts
2479
+ attach(id, external?): Promise<BrandedAddress | undefined>;
2480
+ ```
2481
+
2482
+ ### Parameters
2483
+
2484
+ #### id
2485
+
2486
+ `ModuleIdentifier`
2487
+
2488
+ #### external?
2489
+
2490
+ `boolean`
2491
+
2492
+ ### Returns
2493
+
2494
+ `Promise`\<`BrandedAddress` \| `undefined`\>
2495
+
2496
+ ### Implementation of
2497
+
2498
+ ```ts
2499
+ AttachableNodeInstance.attach
2500
+ ```
2501
+
2502
+ ### Inherited from
2503
+
2504
+ ```ts
2505
+ MemoryNode.attach
2506
+ ```
2507
+
2508
+ ***
2509
+
2510
+ ### attachQuery()
2511
+
2512
+ ```ts
2513
+ attachQuery(
2514
+ id,
2515
+ external?,
2516
+ account?): Promise<ModuleQueryResult<AddressPayload>>;
2517
+ ```
2518
+
2519
+ ### Parameters
2520
+
2521
+ #### id
2522
+
2523
+ `ModuleIdentifier`
2524
+
2525
+ #### external?
2526
+
2527
+ `boolean`
2528
+
2529
+ #### account?
2530
+
2531
+ `AccountInstance`
2532
+
2533
+ ### Returns
2534
+
2535
+ `Promise`\<`ModuleQueryResult`\<`AddressPayload`\>\>
2536
+
2537
+ ### Implementation of
2538
+
2539
+ ```ts
2540
+ AttachableNodeInstance.attachQuery
2541
+ ```
2542
+
2543
+ ### Inherited from
2544
+
2545
+ ```ts
2546
+ MemoryNode.attachQuery
2547
+ ```
2548
+
2549
+ ***
2550
+
2551
+ ### attached()
2552
+
2553
+ ```ts
2554
+ attached(): Promise<BrandedAddress[]>;
2555
+ ```
2556
+
2557
+ ### Returns
2558
+
2559
+ `Promise`\<`BrandedAddress`[]\>
2560
+
2561
+ ### Implementation of
2562
+
2563
+ ```ts
2564
+ AttachableNodeInstance.attached
2565
+ ```
2566
+
2567
+ ### Inherited from
2568
+
2569
+ ```ts
2570
+ MemoryNode.attached
2571
+ ```
2572
+
2573
+ ***
2574
+
2575
+ ### attachedHandler()
2576
+
2577
+ ```ts
2578
+ attachedHandler(): Promise<BrandedAddress[]>;
2579
+ ```
2580
+
2581
+ ### Returns
2582
+
2583
+ `Promise`\<`BrandedAddress`[]\>
2584
+
2585
+ ### Inherited from
2586
+
2587
+ ```ts
2588
+ MemoryNode.attachedHandler
2589
+ ```
2590
+
2591
+ ***
2592
+
2593
+ ### attachedQuery()
2594
+
2595
+ ```ts
2596
+ attachedQuery(account?): Promise<ModuleQueryResult<AddressPayload>>;
2597
+ ```
2598
+
2599
+ ### Parameters
2600
+
2601
+ #### account?
2602
+
2603
+ `AccountInstance`
2604
+
2605
+ ### Returns
2606
+
2607
+ `Promise`\<`ModuleQueryResult`\<`AddressPayload`\>\>
2608
+
2609
+ ### Implementation of
2610
+
2611
+ ```ts
2612
+ AttachableNodeInstance.attachedQuery
2613
+ ```
2614
+
2615
+ ### Inherited from
2616
+
2617
+ ```ts
2618
+ MemoryNode.attachedQuery
2619
+ ```
2620
+
2621
+ ***
2622
+
2623
+ ### certify()
2624
+
2625
+ ```ts
2626
+ certify(id): Promise<ChildCertificationFields | undefined>;
2627
+ ```
2628
+
2629
+ ### Parameters
2630
+
2631
+ #### id
2632
+
2633
+ `ModuleIdentifier`
2634
+
2635
+ ### Returns
2636
+
2637
+ `Promise`\<`ChildCertificationFields` \| `undefined`\>
2638
+
2639
+ ### Implementation of
2640
+
2641
+ ```ts
2642
+ AttachableNodeInstance.certify
2643
+ ```
2644
+
2645
+ ### Inherited from
2646
+
2647
+ ```ts
2648
+ MemoryNode.certify
2649
+ ```
2650
+
2651
+ ***
2652
+
2653
+ ### certifyQuery()
2654
+
2655
+ ```ts
2656
+ certifyQuery(id, account?): Promise<ModuleQueryResult<ChildCertification>>;
2657
+ ```
2658
+
2659
+ ### Parameters
2660
+
2661
+ #### id
2662
+
2663
+ `ModuleIdentifier`
2664
+
2665
+ #### account?
2666
+
2667
+ `AccountInstance`
2668
+
2669
+ ### Returns
2670
+
2671
+ `Promise`\<`ModuleQueryResult`\<`ChildCertification`\>\>
2672
+
2673
+ ### Implementation of
2674
+
2675
+ ```ts
2676
+ AttachableNodeInstance.certifyQuery
2677
+ ```
2678
+
2679
+ ### Inherited from
2680
+
2681
+ ```ts
2682
+ MemoryNode.certifyQuery
2683
+ ```
2684
+
2685
+ ***
2686
+
2687
+ ### detach()
2688
+
2689
+ ```ts
2690
+ detach(id): Promise<BrandedAddress | undefined>;
2691
+ ```
2692
+
2693
+ ### Parameters
2694
+
2695
+ #### id
2696
+
2697
+ `ModuleIdentifier`
2698
+
2699
+ ### Returns
2700
+
2701
+ `Promise`\<`BrandedAddress` \| `undefined`\>
2702
+
2703
+ ### Implementation of
2704
+
2705
+ ```ts
2706
+ AttachableNodeInstance.detach
2707
+ ```
2708
+
2709
+ ### Inherited from
2710
+
2711
+ ```ts
2712
+ MemoryNode.detach
2713
+ ```
2714
+
2715
+ ***
2716
+
2717
+ ### detachQuery()
2718
+
2719
+ ```ts
2720
+ detachQuery(id, account?): Promise<ModuleQueryResult<AddressPayload>>;
2721
+ ```
2722
+
2723
+ ### Parameters
2724
+
2725
+ #### id
2726
+
2727
+ `ModuleIdentifier`
2728
+
2729
+ #### account?
2730
+
2731
+ `AccountInstance`
2732
+
2733
+ ### Returns
2734
+
2735
+ `Promise`\<`ModuleQueryResult`\<`AddressPayload`\>\>
2736
+
2737
+ ### Implementation of
2738
+
2739
+ ```ts
2740
+ AttachableNodeInstance.detachQuery
2741
+ ```
2742
+
2743
+ ### Inherited from
2744
+
2745
+ ```ts
2746
+ MemoryNode.detachQuery
2747
+ ```
2748
+
2749
+ ***
2750
+
2751
+ ### manifest()
2752
+
2753
+ ```ts
2754
+ manifest(maxDepth?, ignoreAddresses?): Promise<ModuleManifestPayload>;
2755
+ ```
2756
+
2757
+ ### Parameters
2758
+
2759
+ #### maxDepth?
2760
+
2761
+ `number`
2762
+
2763
+ #### ignoreAddresses?
2764
+
2765
+ `BrandedAddress`[]
2766
+
2767
+ ### Returns
2768
+
2769
+ `Promise`\<`ModuleManifestPayload`\>
2770
+
2771
+ ### Implementation of
2772
+
2773
+ ```ts
2774
+ AttachableNodeInstance.manifest
2775
+ ```
2776
+
2777
+ ### Inherited from
2778
+
2779
+ ```ts
2780
+ MemoryNode.manifest
2781
+ ```
2782
+
2783
+ ***
2784
+
2785
+ ### registered()
2786
+
2787
+ ```ts
2788
+ registered(): Promise<BrandedAddress[]>;
2789
+ ```
2790
+
2791
+ ### Returns
2792
+
2793
+ `Promise`\<`BrandedAddress`[]\>
2794
+
2795
+ ### Implementation of
2796
+
2797
+ ```ts
2798
+ AttachableNodeInstance.registered
2799
+ ```
2800
+
2801
+ ### Inherited from
2802
+
2803
+ ```ts
2804
+ MemoryNode.registered
2805
+ ```
2806
+
2807
+ ***
2808
+
2809
+ ### registeredQuery()
2810
+
2811
+ ```ts
2812
+ registeredQuery(account?): Promise<ModuleQueryResult<AddressPayload>>;
2813
+ ```
2814
+
2815
+ ### Parameters
2816
+
2817
+ #### account?
2818
+
2819
+ `AccountInstance`
2820
+
2821
+ ### Returns
2822
+
2823
+ `Promise`\<`ModuleQueryResult`\<`AddressPayload`\>\>
2824
+
2825
+ ### Implementation of
2826
+
2827
+ ```ts
2828
+ AttachableNodeInstance.registeredQuery
2829
+ ```
2830
+
2831
+ ### Inherited from
2832
+
2833
+ ```ts
2834
+ MemoryNode.registeredQuery
2835
+ ```
2836
+
2837
+ ***
2838
+
2839
+ ### attachedPrivateModules()
2840
+
2841
+ ```ts
2842
+ protected attachedPrivateModules(maxDepth?): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
2843
+ ```
2844
+
2845
+ ### Parameters
2846
+
2847
+ #### maxDepth?
2848
+
2849
+ `number`
2850
+
2851
+ ### Returns
2852
+
2853
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
2854
+
2855
+ ### Inherited from
2856
+
2857
+ ```ts
2858
+ MemoryNode.attachedPrivateModules
2859
+ ```
2860
+
2861
+ ***
2862
+
2863
+ ### generateConfigAndAddress()
2864
+
2865
+ ```ts
2866
+ protected generateConfigAndAddress(maxDepth?): Promise<Payload[]>;
2867
+ ```
2868
+
2869
+ ### Parameters
2870
+
2871
+ #### maxDepth?
2872
+
2873
+ `number`
2874
+
2875
+ ### Returns
2876
+
2877
+ `Promise`\<`Payload`[]\>
2878
+
2879
+ ### Inherited from
2880
+
2881
+ ```ts
2882
+ MemoryNode.generateConfigAndAddress
2883
+ ```
2884
+
2885
+ ***
2886
+
2887
+ ### manifestHandler()
2888
+
2889
+ ```ts
2890
+ protected manifestHandler(maxDepth?, ignoreAddresses?): Promise<ModuleManifestPayload>;
2891
+ ```
2892
+
2893
+ ### Parameters
2894
+
2895
+ #### maxDepth?
2896
+
2897
+ `number`
2898
+
2899
+ #### ignoreAddresses?
2900
+
2901
+ `BrandedAddress`[]
2902
+
2903
+ ### Returns
2904
+
2905
+ `Promise`\<`ModuleManifestPayload`\>
2906
+
2907
+ ### Inherited from
2908
+
2909
+ ```ts
2910
+ MemoryNode.manifestHandler
2911
+ ```
2912
+
2913
+ ***
2914
+
2915
+ ### queryHandler()
2916
+
2917
+ ```ts
2918
+ protected queryHandler<T, TConfig>(
2919
+ query,
2920
+ payloads?,
2921
+ queryConfig?): Promise<ModuleQueryHandlerResult>;
2922
+ ```
2923
+
2924
+ ### Type Parameters
2925
+
2926
+ #### T
2927
+
2928
+ `T` *extends* `UnsignedQueryBoundWitness` = `UnsignedQueryBoundWitness`
2929
+
2930
+ #### TConfig
2931
+
2932
+ `TConfig` *extends* `ModuleConfig` = `ModuleConfig`
2933
+
2934
+ ### Parameters
2935
+
2936
+ #### query
2937
+
2938
+ `T`
2939
+
2940
+ #### payloads?
2941
+
2942
+ `Payload`[]
2943
+
2944
+ #### queryConfig?
2945
+
2946
+ `TConfig`
2947
+
2948
+ ### Returns
2949
+
2950
+ `Promise`\<`ModuleQueryHandlerResult`\>
2951
+
2952
+ ### Inherited from
2953
+
2954
+ ```ts
2955
+ MemoryNode.queryHandler
2956
+ ```
2957
+
2958
+ ***
2959
+
2960
+ ### attachHandler()
2961
+
2962
+ ```ts
2963
+ attachHandler(id, external?): Promise<Lowercase<string> & object & object>;
2964
+ ```
2965
+
2966
+ ### Parameters
2967
+
2968
+ #### id
2969
+
2970
+ `ModuleIdentifier`
2971
+
2972
+ #### external?
2973
+
2974
+ `boolean`
2975
+
2976
+ ### Returns
2977
+
2978
+ `Promise`\<`Lowercase`\<`string`\> & `object` & `object`\>
2979
+
2980
+ ### Inherited from
2981
+
2982
+ ```ts
2983
+ MemoryNode.attachHandler
2984
+ ```
2985
+
2986
+ ***
2987
+
2988
+ ### certifyHandler()
2989
+
2990
+ ```ts
2991
+ certifyHandler(id): Promise<ChildCertificationFields>;
2992
+ ```
2993
+
2994
+ ### Parameters
2995
+
2996
+ #### id
2997
+
2998
+ `ModuleIdentifier`
2999
+
3000
+ ### Returns
3001
+
3002
+ `Promise`\<`ChildCertificationFields`\>
3003
+
3004
+ ### Inherited from
3005
+
3006
+ ```ts
3007
+ MemoryNode.certifyHandler
3008
+ ```
3009
+
3010
+ ***
3011
+
3012
+ ### detachHandler()
3013
+
3014
+ ```ts
3015
+ detachHandler(id): Promise<Lowercase<string> & object & object | undefined>;
3016
+ ```
3017
+
3018
+ ### Parameters
3019
+
3020
+ #### id
3021
+
3022
+ `ModuleIdentifier`
3023
+
3024
+ ### Returns
3025
+
3026
+ `Promise`\<`Lowercase`\<`string`\> & `object` & `object` \| `undefined`\>
3027
+
3028
+ ### Inherited from
3029
+
3030
+ ```ts
3031
+ MemoryNode.detachHandler
3032
+ ```
3033
+
3034
+ ***
3035
+
3036
+ ### privateChildren()
3037
+
3038
+ ```ts
3039
+ privateChildren(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3040
+ ```
3041
+
3042
+ ### Returns
3043
+
3044
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3045
+
3046
+ ### Implementation of
3047
+
3048
+ ```ts
3049
+ AttachableNodeInstance.privateChildren
3050
+ ```
3051
+
3052
+ ### Inherited from
3053
+
3054
+ ```ts
3055
+ MemoryNode.privateChildren
3056
+ ```
3057
+
3058
+ ***
3059
+
3060
+ ### publicChildren()
3061
+
3062
+ ```ts
3063
+ publicChildren(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3064
+ ```
3065
+
3066
+ ### Returns
3067
+
3068
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3069
+
3070
+ ### Implementation of
3071
+
3072
+ ```ts
3073
+ AttachableNodeInstance.publicChildren
3074
+ ```
3075
+
3076
+ ### Inherited from
3077
+
3078
+ ```ts
3079
+ MemoryNode.publicChildren
3080
+ ```
3081
+
3082
+ ***
3083
+
3084
+ ### register()
3085
+
3086
+ ```ts
3087
+ register(mod): Promise<void>;
3088
+ ```
3089
+
3090
+ ### Parameters
3091
+
3092
+ #### mod
3093
+
3094
+ `AttachableModuleInstance`
3095
+
3096
+ ### Returns
3097
+
3098
+ `Promise`\<`void`\>
3099
+
3100
+ ### Implementation of
3101
+
3102
+ ```ts
3103
+ AttachableNodeInstance.register
3104
+ ```
3105
+
3106
+ ### Inherited from
3107
+
3108
+ ```ts
3109
+ MemoryNode.register
3110
+ ```
3111
+
3112
+ ***
3113
+
3114
+ ### registeredHandler()
3115
+
3116
+ ```ts
3117
+ registeredHandler(): Promisable<BrandedAddress[]>;
3118
+ ```
3119
+
3120
+ ### Returns
3121
+
3122
+ `Promisable`\<`BrandedAddress`[]\>
3123
+
3124
+ ### Inherited from
3125
+
3126
+ ```ts
3127
+ MemoryNode.registeredHandler
3128
+ ```
3129
+
3130
+ ***
3131
+
3132
+ ### registeredModules()
3133
+
3134
+ ```ts
3135
+ registeredModules(): AttachableModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[];
3136
+ ```
3137
+
3138
+ ### Returns
3139
+
3140
+ `AttachableModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]
3141
+
3142
+ ### Implementation of
3143
+
3144
+ ```ts
3145
+ AttachableNodeInstance.registeredModules
3146
+ ```
3147
+
3148
+ ### Inherited from
3149
+
3150
+ ```ts
3151
+ MemoryNode.registeredModules
3152
+ ```
3153
+
3154
+ ***
3155
+
3156
+ ### unregister()
3157
+
3158
+ ```ts
3159
+ unregister(mod): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>>;
3160
+ ```
3161
+
3162
+ ### Parameters
3163
+
3164
+ #### mod
3165
+
3166
+ `ModuleInstance`
3167
+
3168
+ ### Returns
3169
+
3170
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>\>
3171
+
3172
+ ### Implementation of
3173
+
3174
+ ```ts
3175
+ AttachableNodeInstance.unregister
3176
+ ```
3177
+
3178
+ ### Inherited from
3179
+
3180
+ ```ts
3181
+ MemoryNode.unregister
3182
+ ```
3183
+
3184
+ ***
3185
+
3186
+ ### ~~resolve()~~
3187
+
3188
+ ### Call Signature
3189
+
3190
+ ```ts
3191
+ resolve(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3192
+ ```
3193
+
3194
+ #### Returns
3195
+
3196
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3197
+
3198
+ #### Deprecated
3199
+
3200
+ do not pass undefined. If trying to get all, pass '*'
3201
+
3202
+ #### Implementation of
3203
+
3204
+ ```ts
3205
+ AttachableNodeInstance.resolve
3206
+ ```
3207
+
3208
+ #### Overrides
3209
+
3210
+ ```ts
3211
+ MemoryNode.resolve
3212
+ ```
3213
+
3214
+ ### Call Signature
3215
+
3216
+ ```ts
3217
+ resolve<T>(all, options?): Promise<T[]>;
3218
+ ```
3219
+
3220
+ #### Type Parameters
3221
+
3222
+ ##### T
3223
+
3224
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
3225
+
3226
+ #### Parameters
3227
+
3228
+ ##### all
3229
+
3230
+ `"*"`
3231
+
3232
+ ##### options?
3233
+
3234
+ `ModuleFilterOptions`\<`T`\>
3235
+
3236
+ #### Returns
3237
+
3238
+ `Promise`\<`T`[]\>
3239
+
3240
+ #### Deprecated
3241
+
3242
+ do not pass undefined. If trying to get all, pass '*'
3243
+
3244
+ #### Implementation of
3245
+
3246
+ ```ts
3247
+ AttachableNodeInstance.resolve
3248
+ ```
3249
+
3250
+ #### Overrides
3251
+
3252
+ ```ts
3253
+ MemoryNode.resolve
3254
+ ```
3255
+
3256
+ ### Call Signature
3257
+
3258
+ ```ts
3259
+ resolve<T>(id, options?): Promise<T | undefined>;
3260
+ ```
3261
+
3262
+ #### Type Parameters
3263
+
3264
+ ##### T
3265
+
3266
+ `T` *extends* `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\> = `ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>
3267
+
3268
+ #### Parameters
3269
+
3270
+ ##### id
3271
+
3272
+ `ModuleIdentifier`
3273
+
3274
+ ##### options?
3275
+
3276
+ `ModuleFilterOptions`\<`T`\>
3277
+
3278
+ #### Returns
3279
+
3280
+ `Promise`\<`T` \| `undefined`\>
3281
+
3282
+ #### Deprecated
3283
+
3284
+ do not pass undefined. If trying to get all, pass '*'
3285
+
3286
+ #### Implementation of
3287
+
3288
+ ```ts
3289
+ AttachableNodeInstance.resolve
3290
+ ```
3291
+
3292
+ #### Overrides
3293
+
3294
+ ```ts
3295
+ MemoryNode.resolve
3296
+ ```
3297
+
3298
+ ***
3299
+
3300
+ ### attachUsingAddress()
3301
+
3302
+ ```ts
3303
+ protected attachUsingAddress(address): Promise<BrandedAddress>;
3304
+ ```
3305
+
3306
+ ### Parameters
3307
+
3308
+ #### address
3309
+
3310
+ `BrandedAddress`
3311
+
3312
+ ### Returns
3313
+
3314
+ `Promise`\<`BrandedAddress`\>
3315
+
3316
+ ### Overrides
3317
+
3318
+ ```ts
3319
+ MemoryNode.attachUsingAddress
3320
+ ```
3321
+
3322
+ ***
3323
+
3324
+ ### attachedPublicModules()
3325
+
3326
+ ```ts
3327
+ protected attachedPublicModules(): Promise<ModuleInstance<QueryableModuleParams<AnyConfigSchema<ModuleConfig>>, ModuleEventData<object>>[]>;
3328
+ ```
3329
+
3330
+ ### Returns
3331
+
3332
+ `Promise`\<`ModuleInstance`\<`QueryableModuleParams`\<`AnyConfigSchema`\<`ModuleConfig`\>\>, `ModuleEventData`\<`object`\>\>[]\>
3333
+
3334
+ ### Overrides
3335
+
3336
+ ```ts
3337
+ MemoryNode.attachedPublicModules
3338
+ ```
3339
+
3340
+ ***
3341
+
3342
+ ### detachUsingAddress()
3343
+
3344
+ ```ts
3345
+ protected detachUsingAddress(address): Promise<BrandedAddress>;
3346
+ ```
3347
+
3348
+ ### Parameters
3349
+
3350
+ #### address
3351
+
3352
+ `BrandedAddress`
3353
+
3354
+ ### Returns
3355
+
3356
+ `Promise`\<`BrandedAddress`\>
3357
+
3358
+ ### Overrides
3359
+
3360
+ ```ts
3361
+ MemoryNode.detachUsingAddress
3362
+ ```
3363
+
3364
+ ***
3365
+
3366
+ ### startHandler()
3367
+
3368
+ ```ts
3369
+ protected startHandler(): Promise<void>;
3370
+ ```
3371
+
3372
+ ### Returns
3373
+
3374
+ `Promise`\<`void`\>
3375
+
3376
+ ### Overrides
3377
+
3378
+ ```ts
3379
+ MemoryNode.startHandler
3380
+ ```
3381
+
3382
+ ### type-aliases
3383
+
3384
+ ### <a id="ViewNodeConfig"></a>ViewNodeConfig
3385
+
3386
+ [**@xyo-network/node-view**](#../README)
3387
+
3388
+ ***
3389
+
3390
+ ```ts
3391
+ type ViewNodeConfig = NodeConfig<{
3392
+ ids: ModuleIdentifier[];
3393
+ source: ModuleIdentifier;
3394
+ }, ViewNodeConfigSchema>;
3395
+ ```
3396
+
3397
+ ### <a id="ViewNodeConfigSchema"></a>ViewNodeConfigSchema
3398
+
3399
+ [**@xyo-network/node-view**](#../README)
3400
+
3401
+ ***
3402
+
3403
+ ```ts
3404
+ type ViewNodeConfigSchema = typeof ViewNodeConfigSchema;
3405
+ ```
3406
+
3407
+ ### <a id="ViewNodeParams"></a>ViewNodeParams
3408
+
3409
+ [**@xyo-network/node-view**](#../README)
3410
+
3411
+ ***
3412
+
3413
+ ```ts
3414
+ type ViewNodeParams = NodeParams<AnyConfigSchema<ViewNodeConfig>>;
3415
+ ```
3416
+
3417
+ ### variables
3418
+
3419
+ ### <a id="ViewNodeConfigSchema"></a>ViewNodeConfigSchema
3420
+
3421
+ [**@xyo-network/node-view**](#../README)
3422
+
3423
+ ***
3424
+
3425
+ ```ts
3426
+ const ViewNodeConfigSchema: "network.xyo.node.view.config" & object;
3427
+ ```
3428
+
3429
+ ## Type Declaration
3430
+
3431
+ ### \_\_schema
18
3432
 
19
- ## Credits
3433
+ ```ts
3434
+ readonly __schema: true;
3435
+ ```
20
3436
 
21
- [Made with 🔥 and ❄️ by XYO](https://xyo.network)
22
3437
 
23
- [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
3438
+ [logo]: https://cdn.xy.company/img/brand/XYO_full_colored.png
3439
+ [npm-badge]: https://img.shields.io/npm/v/@xyo-network/node-view.svg
3440
+ [npm-link]: https://www.npmjs.com/package/@xyo-network/node-view
3441
+ [license-badge]: https://img.shields.io/npm/l/@xyo-network/node-view.svg
3442
+ [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE