@xyo-network/react-standard-node 2.57.7 → 2.58.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,119 +5,165 @@ export declare class SentinelBuilder {
5
5
  private account;
6
6
  private _sentinel;
7
7
  protected constructor(config: SentinelConfig, account: AccountInstance);
8
- get sentinel(): MemorySentinel<import("@xyo-network/sentinel").MemorySentinelParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
9
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
10
- readonly name?: string | undefined;
11
- readonly paging?: Record<string, {
12
- size?: number | undefined;
13
- }> | undefined;
14
- readonly schema: string;
15
- readonly security?: {
16
- readonly allowAnonymous?: boolean | undefined;
17
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
18
- readonly disallowed?: Record<string, string[]> | undefined;
19
- } | undefined;
20
- readonly storeQueries?: boolean | undefined;
21
- } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
22
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
23
- readonly name?: string | undefined;
24
- readonly paging?: Record<string, {
25
- size?: number | undefined;
26
- }> | undefined;
27
- readonly schema: "network.xyo.sentinel.config";
28
- readonly security?: {
29
- readonly allowAnonymous?: boolean | undefined;
30
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
31
- readonly disallowed?: Record<string, string[]> | undefined;
32
- } | undefined;
33
- readonly storeQueries?: boolean | undefined;
34
- } & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
35
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
36
- readonly name?: string | undefined;
37
- readonly paging?: Record<string, {
38
- size?: number | undefined;
39
- }> | undefined;
40
- readonly schema: string;
41
- readonly security?: {
42
- readonly allowAnonymous?: boolean | undefined;
43
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
44
- readonly disallowed?: Record<string, string[]> | undefined;
45
- } | undefined;
46
- readonly storeQueries?: boolean | undefined;
47
- } & Omit<{
48
- archivists?: string[] | undefined;
49
- schema: string;
50
- }, "schema"> & {
51
- schema: string;
52
- } & {
53
- schema: "network.xyo.sentinel.config";
54
- witnesses?: string[] | undefined;
55
- } & {
56
- schema: string;
57
- }, "schema"> & {
58
- schema: "network.xyo.sentinel.config";
59
- }, "schema"> & {
60
- schema: string;
61
- }, "schema"> & {
62
- schema: string;
63
- }>, import("@xyo-network/sentinel").SentinelModuleEventData>;
8
+ get sentinel(): MemorySentinel<import("@xyo-network/core").BaseParamsFields & {
9
+ account?: AccountInstance | "random" | undefined;
10
+ accountDerivationPath?: string | undefined;
11
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
12
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
13
+ readonly name?: string | undefined;
14
+ readonly paging?: Record<string, {
15
+ size?: number | undefined;
16
+ }> | undefined;
17
+ readonly schema: string;
18
+ readonly security?: {
19
+ readonly allowAnonymous?: boolean | undefined;
20
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
21
+ readonly disallowed?: Record<string, string[]> | undefined;
22
+ } | undefined;
23
+ readonly storeQueries?: boolean | undefined;
24
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
25
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
26
+ readonly name?: string | undefined;
27
+ readonly paging?: Record<string, {
28
+ size?: number | undefined;
29
+ }> | undefined;
30
+ readonly schema: string;
31
+ readonly security?: {
32
+ readonly allowAnonymous?: boolean | undefined;
33
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
34
+ readonly disallowed?: Record<string, string[]> | undefined;
35
+ } | undefined;
36
+ readonly storeQueries?: boolean | undefined;
37
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
38
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
39
+ readonly name?: string | undefined;
40
+ readonly paging?: Record<string, {
41
+ size?: number | undefined;
42
+ }> | undefined;
43
+ readonly schema: "network.xyo.sentinel.config";
44
+ readonly security?: {
45
+ readonly allowAnonymous?: boolean | undefined;
46
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
47
+ readonly disallowed?: Record<string, string[]> | undefined;
48
+ } | undefined;
49
+ readonly storeQueries?: boolean | undefined;
50
+ } & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
51
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
52
+ readonly name?: string | undefined;
53
+ readonly paging?: Record<string, {
54
+ size?: number | undefined;
55
+ }> | undefined;
56
+ readonly schema: string;
57
+ readonly security?: {
58
+ readonly allowAnonymous?: boolean | undefined;
59
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
60
+ readonly disallowed?: Record<string, string[]> | undefined;
61
+ } | undefined;
62
+ readonly storeQueries?: boolean | undefined;
63
+ } & Omit<{
64
+ archivists?: string[] | undefined;
65
+ schema: string;
66
+ }, "schema"> & {
67
+ schema: string;
68
+ } & {
69
+ schema: "network.xyo.sentinel.config";
70
+ witnesses?: string[] | undefined;
71
+ } & {
72
+ schema: string;
73
+ }, "schema"> & {
74
+ schema: "network.xyo.sentinel.config";
75
+ }, "schema"> & {
76
+ schema: string;
77
+ }, "schema"> & {
78
+ schema: string;
79
+ }, "schema"> & {
80
+ schema: string;
81
+ }, "schema"> & {
82
+ schema: string;
83
+ };
84
+ ephemeralQueryAccountEnabled?: boolean | undefined;
85
+ wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
86
+ }, import("@xyo-network/sentinel").SentinelModuleEventData>;
64
87
  static create(config: SentinelConfig, account: AccountInstance): Promise<SentinelBuilder>;
65
- buildSentinel(): Promise<MemorySentinel<import("@xyo-network/sentinel").MemorySentinelParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
66
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
67
- readonly name?: string | undefined;
68
- readonly paging?: Record<string, {
69
- size?: number | undefined;
70
- }> | undefined;
71
- readonly schema: string;
72
- readonly security?: {
73
- readonly allowAnonymous?: boolean | undefined;
74
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
75
- readonly disallowed?: Record<string, string[]> | undefined;
76
- } | undefined;
77
- readonly storeQueries?: boolean | undefined;
78
- } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
79
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
80
- readonly name?: string | undefined;
81
- readonly paging?: Record<string, {
82
- size?: number | undefined;
83
- }> | undefined;
84
- readonly schema: "network.xyo.sentinel.config";
85
- readonly security?: {
86
- readonly allowAnonymous?: boolean | undefined;
87
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
88
- readonly disallowed?: Record<string, string[]> | undefined;
89
- } | undefined;
90
- readonly storeQueries?: boolean | undefined;
91
- } & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
92
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
93
- readonly name?: string | undefined;
94
- readonly paging?: Record<string, {
95
- size?: number | undefined;
96
- }> | undefined;
97
- readonly schema: string;
98
- readonly security?: {
99
- readonly allowAnonymous?: boolean | undefined;
100
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
101
- readonly disallowed?: Record<string, string[]> | undefined;
102
- } | undefined;
103
- readonly storeQueries?: boolean | undefined;
104
- } & Omit<{
105
- archivists?: string[] | undefined;
106
- schema: string;
107
- }, "schema"> & {
108
- schema: string;
109
- } & {
110
- schema: "network.xyo.sentinel.config";
111
- witnesses?: string[] | undefined;
112
- } & {
113
- schema: string;
114
- }, "schema"> & {
115
- schema: "network.xyo.sentinel.config";
116
- }, "schema"> & {
117
- schema: string;
118
- }, "schema"> & {
119
- schema: string;
120
- }>, import("@xyo-network/sentinel").SentinelModuleEventData>>;
88
+ buildSentinel(): Promise<MemorySentinel<import("@xyo-network/core").BaseParamsFields & {
89
+ account?: AccountInstance | "random" | undefined;
90
+ accountDerivationPath?: string | undefined;
91
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
92
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
93
+ readonly name?: string | undefined;
94
+ readonly paging?: Record<string, {
95
+ size?: number | undefined;
96
+ }> | undefined;
97
+ readonly schema: string;
98
+ readonly security?: {
99
+ readonly allowAnonymous?: boolean | undefined;
100
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
101
+ readonly disallowed?: Record<string, string[]> | undefined;
102
+ } | undefined;
103
+ readonly storeQueries?: boolean | undefined;
104
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
105
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
106
+ readonly name?: string | undefined;
107
+ readonly paging?: Record<string, {
108
+ size?: number | undefined;
109
+ }> | undefined;
110
+ readonly schema: string;
111
+ readonly security?: {
112
+ readonly allowAnonymous?: boolean | undefined;
113
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
114
+ readonly disallowed?: Record<string, string[]> | undefined;
115
+ } | undefined;
116
+ readonly storeQueries?: boolean | undefined;
117
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
118
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
119
+ readonly name?: string | undefined;
120
+ readonly paging?: Record<string, {
121
+ size?: number | undefined;
122
+ }> | undefined;
123
+ readonly schema: "network.xyo.sentinel.config";
124
+ readonly security?: {
125
+ readonly allowAnonymous?: boolean | undefined;
126
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
127
+ readonly disallowed?: Record<string, string[]> | undefined;
128
+ } | undefined;
129
+ readonly storeQueries?: boolean | undefined;
130
+ } & Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
131
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
132
+ readonly name?: string | undefined;
133
+ readonly paging?: Record<string, {
134
+ size?: number | undefined;
135
+ }> | undefined;
136
+ readonly schema: string;
137
+ readonly security?: {
138
+ readonly allowAnonymous?: boolean | undefined;
139
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
140
+ readonly disallowed?: Record<string, string[]> | undefined;
141
+ } | undefined;
142
+ readonly storeQueries?: boolean | undefined;
143
+ } & Omit<{
144
+ archivists?: string[] | undefined;
145
+ schema: string;
146
+ }, "schema"> & {
147
+ schema: string;
148
+ } & {
149
+ schema: "network.xyo.sentinel.config";
150
+ witnesses?: string[] | undefined;
151
+ } & {
152
+ schema: string;
153
+ }, "schema"> & {
154
+ schema: "network.xyo.sentinel.config";
155
+ }, "schema"> & {
156
+ schema: string;
157
+ }, "schema"> & {
158
+ schema: string;
159
+ }, "schema"> & {
160
+ schema: string;
161
+ }, "schema"> & {
162
+ schema: string;
163
+ };
164
+ ephemeralQueryAccountEnabled?: boolean | undefined;
165
+ wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
166
+ }, import("@xyo-network/sentinel").SentinelModuleEventData>>;
121
167
  private buildParams;
122
168
  }
123
169
  //# sourceMappingURL=SentinelBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SentinelBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/SentinelBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAkB,MAAM,uBAAuB,CAAA;AAEtF,qBAAa,eAAe;IAGJ,OAAO,CAAC,MAAM;IAAkB,OAAO,CAAC,OAAO;IAFrE,OAAO,CAAC,SAAS,CAA4B;IAE7C,SAAS,aAAqB,MAAM,EAAE,cAAc,EAAU,OAAO,EAAE,eAAe;IAItF,IAAI,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iEAEX;WAEY,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IAMzF,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnB,OAAO,CAAC,WAAW;CAMpB"}
1
+ {"version":3,"file":"SentinelBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/SentinelBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAE5D,OAAO,EAAE,cAAc,EAAE,cAAc,EAAkB,MAAM,uBAAuB,CAAA;AAEtF,qBAAa,eAAe;IAIxB,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IAJjB,OAAO,CAAC,SAAS,CAA4B;IAE7C,SAAS,aACC,MAAM,EAAE,cAAc,EACtB,OAAO,EAAE,eAAe;IAKlC,IAAI,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;gEAEX;WAEY,MAAM,CAAC,MAAM,EAAE,cAAc,EAAE,OAAO,EAAE,eAAe,GAAG,OAAO,CAAC,eAAe,CAAC;IAMzF,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKnB,OAAO,CAAC,WAAW;CAMpB"}
@@ -11,48 +11,195 @@ export declare class StorageArchivistBuilder {
11
11
  private node?;
12
12
  private _archivist;
13
13
  private remoteArchivist;
14
- protected constructor(config: ArchivistBuilderConfig, account: AccountInstance, node?: MemoryNode<import("@xyo-network/node").MemoryNodeParams, import("@xyo-network/node").NodeModuleEventData> | undefined);
15
- get archivist(): StorageArchivist<import("@xyo-network/archivist").StorageArchivistParams, import("@xyo-network/archivist").ArchivistModuleEventData>;
14
+ protected constructor(config: ArchivistBuilderConfig, account: AccountInstance, node?: MemoryNode<import("@xyo-network/core").BaseParamsFields & {
15
+ account?: AccountInstance | "random" | undefined;
16
+ accountDerivationPath?: string | undefined;
17
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
18
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
19
+ readonly name?: string | undefined;
20
+ readonly paging?: Record<string, {
21
+ size?: number | undefined;
22
+ }> | undefined;
23
+ readonly schema: string;
24
+ readonly security?: {
25
+ readonly allowAnonymous?: boolean | undefined;
26
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
27
+ readonly disallowed?: Record<string, string[]> | undefined;
28
+ } | undefined;
29
+ readonly storeQueries?: boolean | undefined;
30
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
31
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
32
+ readonly name?: string | undefined;
33
+ readonly paging?: Record<string, {
34
+ size?: number | undefined;
35
+ }> | undefined;
36
+ readonly schema: "network.xyo.node.config";
37
+ readonly security?: {
38
+ readonly allowAnonymous?: boolean | undefined;
39
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
40
+ readonly disallowed?: Record<string, string[]> | undefined;
41
+ } | undefined;
42
+ readonly storeQueries?: boolean | undefined;
43
+ } & Omit<{
44
+ archivist?: string | undefined;
45
+ schema: "network.xyo.node.config";
46
+ } & Omit<undefined, "schema">, "schema"> & {
47
+ schema: "network.xyo.node.config";
48
+ }, "schema"> & {
49
+ schema: string;
50
+ }, "schema"> & {
51
+ schema: string;
52
+ };
53
+ ephemeralQueryAccountEnabled?: boolean | undefined;
54
+ wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
55
+ }, import("@xyo-network/node").NodeModuleEventData> | undefined);
56
+ get archivist(): StorageArchivist<import("@xyo-network/core").BaseParamsFields & {
57
+ account?: AccountInstance | "random" | undefined;
58
+ accountDerivationPath?: string | undefined;
59
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
60
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
61
+ readonly name?: string | undefined;
62
+ readonly paging?: Record<string, {
63
+ size?: number | undefined;
64
+ }> | undefined;
65
+ readonly schema: string;
66
+ readonly security?: {
67
+ readonly allowAnonymous?: boolean | undefined;
68
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
69
+ readonly disallowed?: Record<string, string[]> | undefined;
70
+ } | undefined;
71
+ readonly storeQueries?: boolean | undefined;
72
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
73
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
74
+ readonly name?: string | undefined;
75
+ readonly paging?: Record<string, {
76
+ size?: number | undefined;
77
+ }> | undefined;
78
+ readonly schema: "network.xyo.archivist.storage.config";
79
+ readonly security?: {
80
+ readonly allowAnonymous?: boolean | undefined;
81
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
82
+ readonly disallowed?: Record<string, string[]> | undefined;
83
+ } | undefined;
84
+ readonly storeQueries?: boolean | undefined;
85
+ } & Omit<{
86
+ parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
87
+ requireAllParents?: boolean | undefined;
88
+ schema: "network.xyo.archivist.storage.config";
89
+ storeParentReads?: boolean | undefined;
90
+ } & Omit<{
91
+ maxEntries?: number | undefined;
92
+ maxEntrySize?: number | undefined;
93
+ namespace?: string | undefined;
94
+ persistAccount?: boolean | undefined;
95
+ schema: "network.xyo.archivist.storage.config";
96
+ type?: "local" | "session" | "page" | undefined;
97
+ }, "schema">, "schema"> & {
98
+ schema: "network.xyo.archivist.storage.config";
99
+ }, "schema"> & {
100
+ schema: string;
101
+ }, "schema"> & {
102
+ schema: string;
103
+ };
104
+ ephemeralQueryAccountEnabled?: boolean | undefined;
105
+ wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
106
+ }, import("@xyo-network/archivist").ArchivistModuleEventData>;
16
107
  static create(config: ArchivistBuilderConfig, account: AccountInstance, node: MemoryNode): Promise<StorageArchivistBuilder>;
17
- buildArchivist(): Promise<StorageArchivist<import("@xyo-network/archivist").StorageArchivistParams, import("@xyo-network/archivist").ArchivistModuleEventData>>;
108
+ buildArchivist(): Promise<StorageArchivist<import("@xyo-network/core").BaseParamsFields & {
109
+ account?: AccountInstance | "random" | undefined;
110
+ accountDerivationPath?: string | undefined;
111
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
112
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
113
+ readonly name?: string | undefined;
114
+ readonly paging?: Record<string, {
115
+ size?: number | undefined;
116
+ }> | undefined;
117
+ readonly schema: string;
118
+ readonly security?: {
119
+ readonly allowAnonymous?: boolean | undefined;
120
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
121
+ readonly disallowed?: Record<string, string[]> | undefined;
122
+ } | undefined;
123
+ readonly storeQueries?: boolean | undefined;
124
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
125
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
126
+ readonly name?: string | undefined;
127
+ readonly paging?: Record<string, {
128
+ size?: number | undefined;
129
+ }> | undefined;
130
+ readonly schema: "network.xyo.archivist.storage.config";
131
+ readonly security?: {
132
+ readonly allowAnonymous?: boolean | undefined;
133
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
134
+ readonly disallowed?: Record<string, string[]> | undefined;
135
+ } | undefined;
136
+ readonly storeQueries?: boolean | undefined;
137
+ } & Omit<{
138
+ parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
139
+ requireAllParents?: boolean | undefined;
140
+ schema: "network.xyo.archivist.storage.config";
141
+ storeParentReads?: boolean | undefined;
142
+ } & Omit<{
143
+ maxEntries?: number | undefined;
144
+ maxEntrySize?: number | undefined;
145
+ namespace?: string | undefined;
146
+ persistAccount?: boolean | undefined;
147
+ schema: "network.xyo.archivist.storage.config";
148
+ type?: "local" | "session" | "page" | undefined;
149
+ }, "schema">, "schema"> & {
150
+ schema: "network.xyo.archivist.storage.config";
151
+ }, "schema"> & {
152
+ schema: string;
153
+ }, "schema"> & {
154
+ schema: string;
155
+ };
156
+ ephemeralQueryAccountEnabled?: boolean | undefined;
157
+ wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
158
+ }, import("@xyo-network/archivist").ArchivistModuleEventData>>;
18
159
  buildConfig(): StorageArchivistConfig;
19
- findParentArchivist(): Promise<ArchivistModule<import("@xyo-network/module-model").ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
20
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
21
- readonly name?: string | undefined;
22
- readonly paging?: Record<string, {
23
- size?: number | undefined;
24
- }> | undefined;
25
- readonly schema: string;
26
- readonly security?: {
27
- readonly allowAnonymous?: boolean | undefined;
28
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
29
- readonly disallowed?: Record<string, string[]> | undefined;
30
- } | undefined;
31
- readonly storeQueries?: boolean | undefined;
32
- } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
33
- readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
34
- readonly name?: string | undefined;
35
- readonly paging?: Record<string, {
36
- size?: number | undefined;
37
- }> | undefined;
38
- readonly schema: "network.xyo.archivist.config";
39
- readonly security?: {
40
- readonly allowAnonymous?: boolean | undefined;
41
- readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
42
- readonly disallowed?: Record<string, string[]> | undefined;
43
- } | undefined;
44
- readonly storeQueries?: boolean | undefined;
45
- } & Omit<{
46
- parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
47
- requireAllParents?: boolean | undefined;
48
- schema: "network.xyo.archivist.config";
49
- storeParentReads?: boolean | undefined;
50
- } & Omit<undefined, "schema">, "schema"> & {
51
- schema: "network.xyo.archivist.config";
52
- }, "schema"> & {
53
- schema: string;
54
- }, "schema"> & {
55
- schema: string;
56
- }, undefined>, import("@xyo-network/module-model").ModuleEventData> | undefined>;
160
+ findParentArchivist(): Promise<ArchivistModule<import("@xyo-network/core").BaseParamsFields & {
161
+ account?: AccountInstance | "random" | undefined;
162
+ accountDerivationPath?: string | undefined;
163
+ config: import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
164
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
165
+ readonly name?: string | undefined;
166
+ readonly paging?: Record<string, {
167
+ size?: number | undefined;
168
+ }> | undefined;
169
+ readonly schema: string;
170
+ readonly security?: {
171
+ readonly allowAnonymous?: boolean | undefined;
172
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
173
+ readonly disallowed?: Record<string, string[]> | undefined;
174
+ } | undefined;
175
+ readonly storeQueries?: boolean | undefined;
176
+ } & Omit<Omit<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
177
+ readonly archivist?: import("@xyo-network/module-model").ArchivistModuleConfig | undefined;
178
+ readonly name?: string | undefined;
179
+ readonly paging?: Record<string, {
180
+ size?: number | undefined;
181
+ }> | undefined;
182
+ readonly schema: "network.xyo.archivist.config";
183
+ readonly security?: {
184
+ readonly allowAnonymous?: boolean | undefined;
185
+ readonly allowed?: Record<string, (string | import("@xyo-network/module-model").CosigningAddressSet)[]> | undefined;
186
+ readonly disallowed?: Record<string, string[]> | undefined;
187
+ } | undefined;
188
+ readonly storeQueries?: boolean | undefined;
189
+ } & Omit<{
190
+ parents?: import("@xyo-network/archivist").ArchivistParents | undefined;
191
+ requireAllParents?: boolean | undefined;
192
+ schema: "network.xyo.archivist.config";
193
+ storeParentReads?: boolean | undefined;
194
+ } & Omit<undefined, "schema">, "schema"> & {
195
+ schema: "network.xyo.archivist.config";
196
+ }, "schema"> & {
197
+ schema: string;
198
+ }, "schema"> & {
199
+ schema: string;
200
+ };
201
+ ephemeralQueryAccountEnabled?: boolean | undefined;
202
+ wallet?: import("@xyo-network/wallet-model").WalletInstance | undefined;
203
+ }, import("@xyo-network/module-model").ModuleEventData> | undefined>;
57
204
  }
58
205
  //# sourceMappingURL=StorageArchivistBuilder.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"StorageArchivistBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/StorageArchivistBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,sBAAsB,EAAgC,MAAM,wBAAwB,CAAA;AAChI,OAAO,EAAE,UAAU,EAAe,MAAM,mBAAmB,CAAA;AAG3D,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AACD,qBAAa,uBAAuB;IAIZ,OAAO,CAAC,MAAM;IAA0B,OAAO,CAAC,OAAO;IAAmB,OAAO,CAAC,IAAI,CAAC;IAH7G,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,eAAe,CAA6B;IAEpD,SAAS,aAAqB,MAAM,EAAE,sBAAsB,EAAU,OAAO,EAAE,eAAe,EAAU,IAAI,CAAC,uHAAY;IAEzH,IAAI,SAAS,yIAEZ;WAEY,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAO3H,cAAc;IAKpB,WAAW,IAAI,sBAAsB;IAc/B,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY1B"}
1
+ {"version":3,"file":"StorageArchivistBuilder.d.ts","sourceRoot":"","sources":["../../../../src/lib/Builders/StorageArchivistBuilder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAC5D,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,sBAAsB,EAAgC,MAAM,wBAAwB,CAAA;AAChI,OAAO,EAAkB,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAG9D,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB;AACD,qBAAa,uBAAuB;IAKhC,OAAO,CAAC,MAAM;IACd,OAAO,CAAC,OAAO;IACf,OAAO,CAAC,IAAI,CAAC;IANf,OAAO,CAAC,UAAU,CAA8B;IAChD,OAAO,CAAC,eAAe,CAA6B;IAEpD,SAAS,aACC,MAAM,EAAE,sBAAsB,EAC9B,OAAO,EAAE,eAAe,EACxB,IAAI,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mEAAY;IAG3B,IAAI,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kEAEZ;WAEY,MAAM,CAAC,MAAM,EAAE,sBAAsB,EAAE,OAAO,EAAE,eAAe,EAAE,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,uBAAuB,CAAC;IAO3H,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAKpB,WAAW,IAAI,sBAAsB;IAc/B,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAY1B"}
package/package.json CHANGED
@@ -13,24 +13,24 @@
13
13
  "@xylabs/react-async-effect": "~2.17.6",
14
14
  "@xylabs/react-promise": "~2.17.6",
15
15
  "@xylabs/react-shared": "~2.17.6",
16
- "@xyo-network/account-model": "~2.66.9",
17
- "@xyo-network/archivist": "~2.66.9",
18
- "@xyo-network/http-bridge": "~2.66.9",
19
- "@xyo-network/module": "~2.66.9",
20
- "@xyo-network/node": "~2.66.9",
21
- "@xyo-network/payloadset-plugin": "~2.66.9",
22
- "@xyo-network/react-network": "~2.57.7",
23
- "@xyo-network/react-node": "~2.57.7",
24
- "@xyo-network/react-shared": "~2.57.7",
25
- "@xyo-network/react-wallet": "~2.57.7",
26
- "@xyo-network/sentinel": "~2.66.9",
27
- "@xyo-network/wallet-model": "~2.66.9",
28
- "@xyo-network/witness": "~2.66.9"
16
+ "@xyo-network/account-model": "^2.67.0-rc.2",
17
+ "@xyo-network/archivist": "^2.67.0-rc.2",
18
+ "@xyo-network/http-bridge": "^2.67.0-rc.2",
19
+ "@xyo-network/module": "^2.67.0-rc.2",
20
+ "@xyo-network/node": "^2.67.0-rc.2",
21
+ "@xyo-network/payloadset-plugin": "^2.67.0-rc.2",
22
+ "@xyo-network/react-network": "~2.58.0-rc.2",
23
+ "@xyo-network/react-node": "~2.58.0-rc.2",
24
+ "@xyo-network/react-shared": "~2.58.0-rc.2",
25
+ "@xyo-network/react-wallet": "~2.58.0-rc.2",
26
+ "@xyo-network/sentinel": "^2.67.0-rc.2",
27
+ "@xyo-network/wallet-model": "^2.67.0-rc.2",
28
+ "@xyo-network/witness": "^2.67.0-rc.2"
29
29
  },
30
30
  "devDependencies": {
31
- "@storybook/react": "^7.1.0",
32
- "@xylabs/ts-scripts-yarn3": "^2.18.11",
33
- "@xylabs/tsconfig-react": "^2.18.11",
31
+ "@storybook/react": "^7.1.1",
32
+ "@xylabs/ts-scripts-yarn3": "^2.19.0",
33
+ "@xylabs/tsconfig-react": "^2.19.0",
34
34
  "typescript": "^5.1.6"
35
35
  },
36
36
  "peerDependencies": {
@@ -85,5 +85,6 @@
85
85
  },
86
86
  "sideEffects": false,
87
87
  "types": "dist/types/index.d.ts",
88
- "version": "2.57.7"
88
+ "version": "2.58.0-rc.2",
89
+ "stableVersion": "2.57.7"
89
90
  }
@@ -1,12 +1,12 @@
1
1
  import { AccountInstance } from '@xyo-network/account-model'
2
2
  import { MemoryArchivist, MemoryArchivistConfig, MemoryArchivistConfigSchema } from '@xyo-network/archivist'
3
3
  import { HttpBridge, HttpBridgeConfigSchema } from '@xyo-network/http-bridge'
4
- import { Module } from '@xyo-network/module'
4
+ import { ModuleInstance } from '@xyo-network/module'
5
5
  import { MemoryNode, NodeConfigSchema } from '@xyo-network/node'
6
6
  import { PayloadSetPluginResolver } from '@xyo-network/payloadset-plugin'
7
7
  import { assertDefinedEx } from '@xyo-network/react-shared'
8
8
  import { SentinelConfig } from '@xyo-network/sentinel'
9
- import { WitnessModule } from '@xyo-network/witness'
9
+ import { WitnessInstance, WitnessModule } from '@xyo-network/witness'
10
10
 
11
11
  import { SentinelBuilder } from './SentinelBuilder'
12
12
  import { StorageArchivistBuilder } from './StorageArchivistBuilder'
@@ -68,7 +68,7 @@ export class MemoryNodeBuilder {
68
68
  return sentinel
69
69
  }
70
70
 
71
- async addWitnesses(pluginSetResolver: PayloadSetPluginResolver, witnesses: (() => Promise<WitnessModule>)[] = []) {
71
+ async addWitnesses(pluginSetResolver: PayloadSetPluginResolver, witnesses: (() => Promise<WitnessInstance>)[] = []) {
72
72
  await Promise.all(
73
73
  pluginSetResolver.witnesses().map(async (pluginSet, index) => {
74
74
  // Pass the prebuilt witness at the same index
@@ -86,7 +86,7 @@ export class MemoryNodeBuilder {
86
86
  )
87
87
  }
88
88
 
89
- async attach(module: Module, external?: boolean, safeAttach?: boolean) {
89
+ async attach(module: ModuleInstance, external?: boolean, safeAttach?: boolean) {
90
90
  try {
91
91
  if (safeAttach) {
92
92
  const existingModule = (await this.node.resolve({ address: [module.address] })).pop()