@xyo-network/xl1-protocol-sdk 1.24.30 → 1.24.32
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +5 -7
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +32 -44
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +7 -9
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Config.d.ts +31 -41
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +32 -44
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/Remote.d.ts +27 -18
- package/dist/neutral/config/Remote.d.ts.map +1 -1
- package/dist/neutral/context/Actor.d.ts +32 -44
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +32 -44
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +10 -14
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +32 -29
- package/dist/neutral/getFileConfig.mjs.map +1 -1
- package/dist/neutral/index.mjs +34 -29
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +32 -44
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +32 -29
- package/dist/neutral/test/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/config/Remote.ts +44 -31
|
@@ -33,16 +33,14 @@ export declare abstract class AbstractCreatableProvider<TParams extends Creatabl
|
|
|
33
33
|
silent: boolean;
|
|
34
34
|
};
|
|
35
35
|
remote: {
|
|
36
|
-
rpc
|
|
37
|
-
protocol:
|
|
36
|
+
rpc?: {
|
|
37
|
+
protocol: string;
|
|
38
38
|
url: string;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
rpc: {
|
|
42
|
-
protocol: "postMessage";
|
|
39
|
+
} | {
|
|
40
|
+
protocol: string;
|
|
43
41
|
networkId: string;
|
|
44
42
|
sessionId: string;
|
|
45
|
-
};
|
|
43
|
+
} | undefined;
|
|
46
44
|
};
|
|
47
45
|
storage: {
|
|
48
46
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbstractCreatableProvider.d.ts","sourceRoot":"","sources":["../../../src/CreatableProvider/AbstractCreatableProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAY,MAAM,gBAAgB,CAAA;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE1E,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAAE,yBAAyB,EAAE,uBAAuB,EAC9E,WAAW,EACZ,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,8BAAsB,yBAAyB,CAAC,OAAO,SAAS,uBAAuB,GAAG,uBAAuB,EAC/G,UAAU,SAAS,0BAA0B,GAAG,0BAA0B,CAAE,SAAQ,iBAAiB,CAAC,OAAO,EAAE,UAAU,CACzH,YAAW,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC;IACrD,YAAY,EAAE,WAAW,CAAK;IAE9B,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;IAEvD,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;IAE1C,IAAa,MAAM,gDAElB;IAED,IAAa,KAAK,mDAEjB;IAED,IAAa,MAAM,oDAElB;IAED,SAAS,KAAK,MAAM
|
|
1
|
+
{"version":3,"file":"AbstractCreatableProvider.d.ts","sourceRoot":"","sources":["../../../src/CreatableProvider/AbstractCreatableProvider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAY,MAAM,gBAAgB,CAAA;AAC5D,OAAO,KAAK,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAE1E,OAAO,KAAK,EACV,iBAAiB,EACjB,0BAA0B,EAAE,yBAAyB,EAAE,uBAAuB,EAC9E,WAAW,EACZ,MAAM,wBAAwB,CAAA;AAC/B,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAEtD,8BAAsB,yBAAyB,CAAC,OAAO,SAAS,uBAAuB,GAAG,uBAAuB,EAC/G,UAAU,SAAS,0BAA0B,GAAG,0BAA0B,CAAE,SAAQ,iBAAiB,CAAC,OAAO,EAAE,UAAU,CACzH,YAAW,IAAI,CAAC,yBAAyB,EAAE,SAAS,CAAC;IACrD,YAAY,EAAE,WAAW,CAAK;IAE9B,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC,SAAS,CAAC,GAAG,SAAS,CAAA;IAEvD,QAAQ,CAAC,QAAQ,CAAC,OAAO,EAAE,eAAe,CAAA;IAE1C,IAAa,MAAM,gDAElB;IAED,IAAa,KAAK,mDAEjB;IAED,IAAa,MAAM,oDAElB;IAED,SAAS,KAAK,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAEnB;IAED,SAAS,KAAK,OAAO,uDAEpB;IAED,SAAS,KAAK,OAAO,qIAEpB;IAED,MAAM,CAAC,OAAO,CAAC,SAAS,SAAS,yBAAyB,EAAE,aAAa,SAAS,eAAe,EAAE,GAAG,eAAe,EAAE,EACrH,IAAI,EAAE,iBAAiB,CAAC,SAAS,CAAC,EAClC,YAAY,EAAE,aAAa,EAC3B,MAAM,EAAE,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,EAAE,SAAS,CAAC;WAMxB,aAAa,CAAC,CAAC,SAAS,yBAAyB,EACrE,MAAM,GAAE,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAM;IAgB7B,eAAe,CAAC,SAAS,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC;IAI1F,kBAAkB,CAAC,SAAS,SAAS,QAAQ,CAAC,eAAe,CAAC,EAAE,OAAO,EAAE,SAAS,CAAC,SAAS,CAAC;CAGpG"}
|
|
@@ -29,18 +29,16 @@ export declare const ActorConfigZod: z.ZodObject<{
|
|
|
29
29
|
}>>;
|
|
30
30
|
silent: z.ZodDefault<z.ZodBoolean>;
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
|
-
remote: z.ZodDefault<z.
|
|
33
|
-
rpc: z.ZodObject<{
|
|
34
|
-
protocol: z.ZodDefault<z.
|
|
32
|
+
remote: z.ZodDefault<z.ZodObject<{
|
|
33
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
34
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
35
35
|
url: z.ZodString;
|
|
36
|
-
}, z.core.$strip
|
|
37
|
-
|
|
38
|
-
rpc: z.ZodObject<{
|
|
39
|
-
protocol: z.ZodDefault<z.ZodLiteral<"postMessage">>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
40
38
|
networkId: z.ZodString;
|
|
41
39
|
sessionId: z.ZodString;
|
|
42
|
-
}, z.core.$strip
|
|
43
|
-
}, z.core.$strip
|
|
40
|
+
}, z.core.$strip>]>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
44
42
|
storage: z.ZodDefault<z.ZodObject<{
|
|
45
43
|
mongo: z.ZodOptional<z.ZodObject<{
|
|
46
44
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -103,16 +101,14 @@ export declare const isActorConfig: <T>(value: T) => value is T & {
|
|
|
103
101
|
silent: boolean;
|
|
104
102
|
};
|
|
105
103
|
remote: {
|
|
106
|
-
rpc
|
|
107
|
-
protocol:
|
|
104
|
+
rpc?: {
|
|
105
|
+
protocol: string;
|
|
108
106
|
url: string;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
rpc: {
|
|
112
|
-
protocol: "postMessage";
|
|
107
|
+
} | {
|
|
108
|
+
protocol: string;
|
|
113
109
|
networkId: string;
|
|
114
110
|
sessionId: string;
|
|
115
|
-
};
|
|
111
|
+
} | undefined;
|
|
116
112
|
};
|
|
117
113
|
storage: {
|
|
118
114
|
mongo?: {
|
|
@@ -176,16 +172,14 @@ export declare const asActorConfig: {
|
|
|
176
172
|
silent: boolean;
|
|
177
173
|
};
|
|
178
174
|
remote: {
|
|
179
|
-
rpc
|
|
180
|
-
protocol:
|
|
175
|
+
rpc?: {
|
|
176
|
+
protocol: string;
|
|
181
177
|
url: string;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
rpc: {
|
|
185
|
-
protocol: "postMessage";
|
|
178
|
+
} | {
|
|
179
|
+
protocol: string;
|
|
186
180
|
networkId: string;
|
|
187
181
|
sessionId: string;
|
|
188
|
-
};
|
|
182
|
+
} | undefined;
|
|
189
183
|
};
|
|
190
184
|
storage: {
|
|
191
185
|
mongo?: {
|
|
@@ -248,16 +242,14 @@ export declare const asActorConfig: {
|
|
|
248
242
|
silent: boolean;
|
|
249
243
|
};
|
|
250
244
|
remote: {
|
|
251
|
-
rpc
|
|
252
|
-
protocol:
|
|
245
|
+
rpc?: {
|
|
246
|
+
protocol: string;
|
|
253
247
|
url: string;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
rpc: {
|
|
257
|
-
protocol: "postMessage";
|
|
248
|
+
} | {
|
|
249
|
+
protocol: string;
|
|
258
250
|
networkId: string;
|
|
259
251
|
sessionId: string;
|
|
260
|
-
};
|
|
252
|
+
} | undefined;
|
|
261
253
|
};
|
|
262
254
|
storage: {
|
|
263
255
|
mongo?: {
|
|
@@ -322,16 +314,14 @@ export declare const toActorConfig: {
|
|
|
322
314
|
silent: boolean;
|
|
323
315
|
};
|
|
324
316
|
remote: {
|
|
325
|
-
rpc
|
|
326
|
-
protocol:
|
|
317
|
+
rpc?: {
|
|
318
|
+
protocol: string;
|
|
327
319
|
url: string;
|
|
328
|
-
}
|
|
329
|
-
|
|
330
|
-
rpc: {
|
|
331
|
-
protocol: "postMessage";
|
|
320
|
+
} | {
|
|
321
|
+
protocol: string;
|
|
332
322
|
networkId: string;
|
|
333
323
|
sessionId: string;
|
|
334
|
-
};
|
|
324
|
+
} | undefined;
|
|
335
325
|
};
|
|
336
326
|
storage: {
|
|
337
327
|
mongo?: {
|
|
@@ -394,16 +384,14 @@ export declare const toActorConfig: {
|
|
|
394
384
|
silent: boolean;
|
|
395
385
|
};
|
|
396
386
|
remote: {
|
|
397
|
-
rpc
|
|
398
|
-
protocol:
|
|
387
|
+
rpc?: {
|
|
388
|
+
protocol: string;
|
|
399
389
|
url: string;
|
|
400
|
-
}
|
|
401
|
-
|
|
402
|
-
rpc: {
|
|
403
|
-
protocol: "postMessage";
|
|
390
|
+
} | {
|
|
391
|
+
protocol: string;
|
|
404
392
|
networkId: string;
|
|
405
393
|
sessionId: string;
|
|
406
|
-
};
|
|
394
|
+
} | undefined;
|
|
407
395
|
};
|
|
408
396
|
storage: {
|
|
409
397
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/config/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvC,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"Actor.d.ts","sourceRoot":"","sources":["../../../src/config/Actor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvC,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAYzB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAExD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAA+B,CAAA;AACzD,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA;AAC1E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAgD,CAAA"}
|
|
@@ -29,18 +29,16 @@ export declare const BaseConfigZod: z.ZodObject<{
|
|
|
29
29
|
}>>;
|
|
30
30
|
silent: z.ZodDefault<z.ZodBoolean>;
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
|
-
remote: z.ZodDefault<z.
|
|
33
|
-
rpc: z.ZodObject<{
|
|
34
|
-
protocol: z.ZodDefault<z.
|
|
32
|
+
remote: z.ZodDefault<z.ZodObject<{
|
|
33
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
34
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
35
35
|
url: z.ZodString;
|
|
36
|
-
}, z.core.$strip
|
|
37
|
-
|
|
38
|
-
rpc: z.ZodObject<{
|
|
39
|
-
protocol: z.ZodDefault<z.ZodLiteral<"postMessage">>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
40
38
|
networkId: z.ZodString;
|
|
41
39
|
sessionId: z.ZodString;
|
|
42
|
-
}, z.core.$strip
|
|
43
|
-
}, z.core.$strip
|
|
40
|
+
}, z.core.$strip>]>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
44
42
|
storage: z.ZodDefault<z.ZodObject<{
|
|
45
43
|
mongo: z.ZodOptional<z.ZodObject<{
|
|
46
44
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"Base.d.ts","sourceRoot":"","sources":["../../../src/config/Base.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAUvB,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAQxB,CAAA;AAEF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAA"}
|
|
@@ -32,18 +32,16 @@ export declare const ActorsConfigZod: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
|
32
32
|
}>>;
|
|
33
33
|
silent: z.ZodDefault<z.ZodBoolean>;
|
|
34
34
|
}, z.z.core.$strip>>;
|
|
35
|
-
remote: z.ZodDefault<z.
|
|
36
|
-
rpc: z.ZodObject<{
|
|
37
|
-
protocol: z.ZodDefault<z.
|
|
35
|
+
remote: z.ZodDefault<z.ZodObject<{
|
|
36
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
37
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
38
38
|
url: z.ZodString;
|
|
39
|
-
}, z.z.core.$strip
|
|
40
|
-
|
|
41
|
-
rpc: z.ZodObject<{
|
|
42
|
-
protocol: z.ZodDefault<z.ZodLiteral<"postMessage">>;
|
|
39
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
40
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
43
41
|
networkId: z.ZodString;
|
|
44
42
|
sessionId: z.ZodString;
|
|
45
|
-
}, z.z.core.$strip
|
|
46
|
-
}, z.z.core.$strip
|
|
43
|
+
}, z.z.core.$strip>]>>;
|
|
44
|
+
}, z.z.core.$strip>>;
|
|
47
45
|
storage: z.ZodDefault<z.ZodObject<{
|
|
48
46
|
mongo: z.ZodOptional<z.ZodObject<{
|
|
49
47
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -112,18 +110,16 @@ export declare const ConfigZod: z.ZodObject<{
|
|
|
112
110
|
}>>;
|
|
113
111
|
silent: z.ZodDefault<z.ZodBoolean>;
|
|
114
112
|
}, z.z.core.$strip>>;
|
|
115
|
-
remote: z.ZodDefault<z.
|
|
116
|
-
rpc: z.ZodObject<{
|
|
117
|
-
protocol: z.ZodDefault<z.
|
|
113
|
+
remote: z.ZodDefault<z.ZodObject<{
|
|
114
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
115
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
118
116
|
url: z.ZodString;
|
|
119
|
-
}, z.z.core.$strip
|
|
120
|
-
|
|
121
|
-
rpc: z.ZodObject<{
|
|
122
|
-
protocol: z.ZodDefault<z.ZodLiteral<"postMessage">>;
|
|
117
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
118
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
123
119
|
networkId: z.ZodString;
|
|
124
120
|
sessionId: z.ZodString;
|
|
125
|
-
}, z.z.core.$strip
|
|
126
|
-
}, z.z.core.$strip
|
|
121
|
+
}, z.z.core.$strip>]>>;
|
|
122
|
+
}, z.z.core.$strip>>;
|
|
127
123
|
storage: z.ZodDefault<z.ZodObject<{
|
|
128
124
|
mongo: z.ZodOptional<z.ZodObject<{
|
|
129
125
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -187,18 +183,16 @@ export declare const ConfigZod: z.ZodObject<{
|
|
|
187
183
|
}>>;
|
|
188
184
|
silent: z.ZodDefault<z.ZodBoolean>;
|
|
189
185
|
}, z.z.core.$strip>>;
|
|
190
|
-
remote: z.ZodDefault<z.
|
|
191
|
-
rpc: z.ZodObject<{
|
|
192
|
-
protocol: z.ZodDefault<z.
|
|
186
|
+
remote: z.ZodDefault<z.ZodObject<{
|
|
187
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
188
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
193
189
|
url: z.ZodString;
|
|
194
|
-
}, z.z.core.$strip
|
|
195
|
-
|
|
196
|
-
rpc: z.ZodObject<{
|
|
197
|
-
protocol: z.ZodDefault<z.ZodLiteral<"postMessage">>;
|
|
190
|
+
}, z.z.core.$strip>, z.ZodObject<{
|
|
191
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
198
192
|
networkId: z.ZodString;
|
|
199
193
|
sessionId: z.ZodString;
|
|
200
|
-
}, z.z.core.$strip
|
|
201
|
-
}, z.z.core.$strip
|
|
194
|
+
}, z.z.core.$strip>]>>;
|
|
195
|
+
}, z.z.core.$strip>>;
|
|
202
196
|
storage: z.ZodDefault<z.ZodObject<{
|
|
203
197
|
mongo: z.ZodOptional<z.ZodObject<{
|
|
204
198
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -263,16 +257,14 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
263
257
|
silent: boolean;
|
|
264
258
|
};
|
|
265
259
|
remote: {
|
|
266
|
-
rpc
|
|
267
|
-
protocol:
|
|
260
|
+
rpc?: {
|
|
261
|
+
protocol: string;
|
|
268
262
|
url: string;
|
|
269
|
-
}
|
|
270
|
-
|
|
271
|
-
rpc: {
|
|
272
|
-
protocol: "postMessage";
|
|
263
|
+
} | {
|
|
264
|
+
protocol: string;
|
|
273
265
|
networkId: string;
|
|
274
266
|
sessionId: string;
|
|
275
|
-
};
|
|
267
|
+
} | undefined;
|
|
276
268
|
};
|
|
277
269
|
storage: {
|
|
278
270
|
mongo?: {
|
|
@@ -332,16 +324,14 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
332
324
|
silent: boolean;
|
|
333
325
|
};
|
|
334
326
|
remote: {
|
|
335
|
-
rpc
|
|
336
|
-
protocol:
|
|
327
|
+
rpc?: {
|
|
328
|
+
protocol: string;
|
|
337
329
|
url: string;
|
|
338
|
-
}
|
|
339
|
-
|
|
340
|
-
rpc: {
|
|
341
|
-
protocol: "postMessage";
|
|
330
|
+
} | {
|
|
331
|
+
protocol: string;
|
|
342
332
|
networkId: string;
|
|
343
333
|
sessionId: string;
|
|
344
|
-
};
|
|
334
|
+
} | undefined;
|
|
345
335
|
};
|
|
346
336
|
storage: {
|
|
347
337
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAKnB,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAA;AAED,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAA;AAKnB,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KAC1B,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAChE,CAAA;AAED,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;qBAAuJ,CAAA;AAEnL,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE1D,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAC4F,CAAA;AAElH,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAC9C,MAAM,MAAM,SAAS,GAAG,MAAM,YAAY,CAAA;AAE1C,wBAAgB,aAAa,CAC3B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAQ5B"}
|
|
@@ -29,18 +29,16 @@ export declare const HostActorConfigZod: z.ZodObject<{
|
|
|
29
29
|
}>>;
|
|
30
30
|
silent: z.ZodDefault<z.ZodBoolean>;
|
|
31
31
|
}, z.core.$strip>>;
|
|
32
|
-
remote: z.ZodDefault<z.
|
|
33
|
-
rpc: z.ZodObject<{
|
|
34
|
-
protocol: z.ZodDefault<z.
|
|
32
|
+
remote: z.ZodDefault<z.ZodObject<{
|
|
33
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
34
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
35
35
|
url: z.ZodString;
|
|
36
|
-
}, z.core.$strip
|
|
37
|
-
|
|
38
|
-
rpc: z.ZodObject<{
|
|
39
|
-
protocol: z.ZodDefault<z.ZodLiteral<"postMessage">>;
|
|
36
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
37
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
40
38
|
networkId: z.ZodString;
|
|
41
39
|
sessionId: z.ZodString;
|
|
42
|
-
}, z.core.$strip
|
|
43
|
-
}, z.core.$strip
|
|
40
|
+
}, z.core.$strip>]>>;
|
|
41
|
+
}, z.core.$strip>>;
|
|
44
42
|
storage: z.ZodDefault<z.ZodObject<{
|
|
45
43
|
mongo: z.ZodOptional<z.ZodObject<{
|
|
46
44
|
connectionString: z.ZodOptional<z.ZodString>;
|
|
@@ -105,16 +103,14 @@ export declare const isHostActorConfig: <T>(value: T) => value is T & {
|
|
|
105
103
|
silent: boolean;
|
|
106
104
|
};
|
|
107
105
|
remote: {
|
|
108
|
-
rpc
|
|
109
|
-
protocol:
|
|
106
|
+
rpc?: {
|
|
107
|
+
protocol: string;
|
|
110
108
|
url: string;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
rpc: {
|
|
114
|
-
protocol: "postMessage";
|
|
109
|
+
} | {
|
|
110
|
+
protocol: string;
|
|
115
111
|
networkId: string;
|
|
116
112
|
sessionId: string;
|
|
117
|
-
};
|
|
113
|
+
} | undefined;
|
|
118
114
|
};
|
|
119
115
|
storage: {
|
|
120
116
|
mongo?: {
|
|
@@ -180,16 +176,14 @@ export declare const asHostActorConfig: {
|
|
|
180
176
|
silent: boolean;
|
|
181
177
|
};
|
|
182
178
|
remote: {
|
|
183
|
-
rpc
|
|
184
|
-
protocol:
|
|
179
|
+
rpc?: {
|
|
180
|
+
protocol: string;
|
|
185
181
|
url: string;
|
|
186
|
-
}
|
|
187
|
-
|
|
188
|
-
rpc: {
|
|
189
|
-
protocol: "postMessage";
|
|
182
|
+
} | {
|
|
183
|
+
protocol: string;
|
|
190
184
|
networkId: string;
|
|
191
185
|
sessionId: string;
|
|
192
|
-
};
|
|
186
|
+
} | undefined;
|
|
193
187
|
};
|
|
194
188
|
storage: {
|
|
195
189
|
mongo?: {
|
|
@@ -254,16 +248,14 @@ export declare const asHostActorConfig: {
|
|
|
254
248
|
silent: boolean;
|
|
255
249
|
};
|
|
256
250
|
remote: {
|
|
257
|
-
rpc
|
|
258
|
-
protocol:
|
|
251
|
+
rpc?: {
|
|
252
|
+
protocol: string;
|
|
259
253
|
url: string;
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
rpc: {
|
|
263
|
-
protocol: "postMessage";
|
|
254
|
+
} | {
|
|
255
|
+
protocol: string;
|
|
264
256
|
networkId: string;
|
|
265
257
|
sessionId: string;
|
|
266
|
-
};
|
|
258
|
+
} | undefined;
|
|
267
259
|
};
|
|
268
260
|
storage: {
|
|
269
261
|
mongo?: {
|
|
@@ -330,16 +322,14 @@ export declare const toHostActorConfig: {
|
|
|
330
322
|
silent: boolean;
|
|
331
323
|
};
|
|
332
324
|
remote: {
|
|
333
|
-
rpc
|
|
334
|
-
protocol:
|
|
325
|
+
rpc?: {
|
|
326
|
+
protocol: string;
|
|
335
327
|
url: string;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
rpc: {
|
|
339
|
-
protocol: "postMessage";
|
|
328
|
+
} | {
|
|
329
|
+
protocol: string;
|
|
340
330
|
networkId: string;
|
|
341
331
|
sessionId: string;
|
|
342
|
-
};
|
|
332
|
+
} | undefined;
|
|
343
333
|
};
|
|
344
334
|
storage: {
|
|
345
335
|
mongo?: {
|
|
@@ -404,16 +394,14 @@ export declare const toHostActorConfig: {
|
|
|
404
394
|
silent: boolean;
|
|
405
395
|
};
|
|
406
396
|
remote: {
|
|
407
|
-
rpc
|
|
408
|
-
protocol:
|
|
397
|
+
rpc?: {
|
|
398
|
+
protocol: string;
|
|
409
399
|
url: string;
|
|
410
|
-
}
|
|
411
|
-
|
|
412
|
-
rpc: {
|
|
413
|
-
protocol: "postMessage";
|
|
400
|
+
} | {
|
|
401
|
+
protocol: string;
|
|
414
402
|
networkId: string;
|
|
415
403
|
sessionId: string;
|
|
416
|
-
};
|
|
404
|
+
} | undefined;
|
|
417
405
|
};
|
|
418
406
|
storage: {
|
|
419
407
|
mongo?: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/config/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvC,eAAO,MAAM,kBAAkB
|
|
1
|
+
{"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/config/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAIvC,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAa7B,CAAA;AAEF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmC,CAAA;AACjE,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwD,CAAA;AACtF,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAwD,CAAA"}
|
|
@@ -1,28 +1,37 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
export declare const RpcRemoteConfigBaseZod: z.ZodObject<{
|
|
3
|
+
protocol: z.ZodString;
|
|
4
|
+
}, z.core.$strip>;
|
|
5
|
+
export type RpcRemoteConfigBase = z.infer<typeof RpcRemoteConfigBaseZod>;
|
|
2
6
|
export declare const HttpRpcRemoteConfigZod: z.ZodObject<{
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
url: z.ZodString;
|
|
6
|
-
}, z.core.$strip>;
|
|
7
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
8
|
+
url: z.ZodString;
|
|
7
9
|
}, z.core.$strip>;
|
|
10
|
+
export type HttpRpcRemoteConfig = z.infer<typeof HttpRpcRemoteConfigZod>;
|
|
8
11
|
export declare const PostMessageRpcRemoteConfigZod: z.ZodObject<{
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
sessionId: z.ZodString;
|
|
13
|
-
}, z.core.$strip>;
|
|
12
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
13
|
+
networkId: z.ZodString;
|
|
14
|
+
sessionId: z.ZodString;
|
|
14
15
|
}, z.core.$strip>;
|
|
15
|
-
export
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
}, z.core.$strip>;
|
|
16
|
+
export type PostMessageRpcRemoteConfig = z.infer<typeof PostMessageRpcRemoteConfigZod>;
|
|
17
|
+
export declare const RpcRemoteConfigZod: z.ZodUnion<readonly [z.ZodObject<{
|
|
18
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
19
|
+
url: z.ZodString;
|
|
20
20
|
}, z.core.$strip>, z.ZodObject<{
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
22
|
+
networkId: z.ZodString;
|
|
23
|
+
sessionId: z.ZodString;
|
|
24
|
+
}, z.core.$strip>]>;
|
|
25
|
+
export type RpcRemoteConfig = z.infer<typeof RpcRemoteConfigZod>;
|
|
26
|
+
export declare const RemoteConfigZod: z.ZodObject<{
|
|
27
|
+
rpc: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
28
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
29
|
+
url: z.ZodString;
|
|
30
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
31
|
+
protocol: z.ZodDefault<z.ZodString>;
|
|
23
32
|
networkId: z.ZodString;
|
|
24
33
|
sessionId: z.ZodString;
|
|
25
|
-
}, z.core.$strip
|
|
26
|
-
}, z.core.$strip
|
|
34
|
+
}, z.core.$strip>]>>;
|
|
35
|
+
}, z.core.$strip>;
|
|
27
36
|
export type RemoteConfig = z.infer<typeof RemoteConfigZod>;
|
|
28
37
|
//# sourceMappingURL=Remote.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Remote.d.ts","sourceRoot":"","sources":["../../../src/config/Remote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvC,eAAO,MAAM,sBAAsB
|
|
1
|
+
{"version":3,"file":"Remote.d.ts","sourceRoot":"","sources":["../../../src/config/Remote.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvC,eAAO,MAAM,sBAAsB;;iBAKiB,CAAA;AAEpD,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAExE,eAAO,MAAM,sBAAsB;;;iBASuB,CAAA;AAE1D,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAExE,eAAO,MAAM,6BAA6B;;;;iBAauB,CAAA;AAEjE,MAAM,MAAM,0BAA0B,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEtF,eAAO,MAAM,kBAAkB;;;;;;;mBACqD,CAAA;AAEpF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEhE,eAAO,MAAM,eAAe;;;;;;;;;iBAAmH,CAAA;AAE/I,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA"}
|