@xyo-network/xl1-protocol-sdk 3.0.5 → 3.0.7

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 (71) hide show
  1. package/dist/neutral/Archivists/MemoryArchivistFactory.d.ts +5 -2
  2. package/dist/neutral/Archivists/MemoryArchivistFactory.d.ts.map +1 -1
  3. package/dist/neutral/Archivists/archivistFactoryRegistry.d.ts +9 -0
  4. package/dist/neutral/Archivists/archivistFactoryRegistry.d.ts.map +1 -0
  5. package/dist/neutral/Archivists/connectArchivist.d.ts +4 -4
  6. package/dist/neutral/Archivists/connectArchivist.d.ts.map +1 -1
  7. package/dist/neutral/Archivists/index.d.ts +1 -0
  8. package/dist/neutral/Archivists/index.d.ts.map +1 -1
  9. package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +5 -95
  10. package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
  11. package/dist/neutral/config/Actor.d.ts +30 -573
  12. package/dist/neutral/config/Actor.d.ts.map +1 -1
  13. package/dist/neutral/config/Actors.d.ts +5 -98
  14. package/dist/neutral/config/Actors.d.ts.map +1 -1
  15. package/dist/neutral/config/Base.d.ts +5 -98
  16. package/dist/neutral/config/Base.d.ts.map +1 -1
  17. package/dist/neutral/config/Config.d.ts +20 -386
  18. package/dist/neutral/config/Config.d.ts.map +1 -1
  19. package/dist/neutral/config/HostActor.d.ts +30 -573
  20. package/dist/neutral/config/HostActor.d.ts.map +1 -1
  21. package/dist/neutral/config/index.d.ts +2 -4
  22. package/dist/neutral/config/index.d.ts.map +1 -1
  23. package/dist/neutral/config/normalizeConnectionsConfig.d.ts +2 -5
  24. package/dist/neutral/config/normalizeConnectionsConfig.d.ts.map +1 -1
  25. package/dist/neutral/config/synthesizeRpcConnectionBindings.d.ts +8 -0
  26. package/dist/neutral/config/synthesizeRpcConnectionBindings.d.ts.map +1 -0
  27. package/dist/neutral/config/transports/Mongo.d.ts +12 -0
  28. package/dist/neutral/config/transports/Mongo.d.ts.map +1 -0
  29. package/dist/neutral/config/{Remote.d.ts → transports/Rpc.d.ts} +1 -14
  30. package/dist/neutral/config/transports/Rpc.d.ts.map +1 -0
  31. package/dist/neutral/config/transports/S3.d.ts +19 -0
  32. package/dist/neutral/config/transports/S3.d.ts.map +1 -0
  33. package/dist/neutral/config/transports/Transport.d.ts +15 -6
  34. package/dist/neutral/config/transports/Transport.d.ts.map +1 -1
  35. package/dist/neutral/config/transports/index.d.ts +3 -0
  36. package/dist/neutral/config/transports/index.d.ts.map +1 -1
  37. package/dist/neutral/context/Actor.d.ts +30 -573
  38. package/dist/neutral/context/Actor.d.ts.map +1 -1
  39. package/dist/neutral/context/HostActor.d.ts +30 -573
  40. package/dist/neutral/context/HostActor.d.ts.map +1 -1
  41. package/dist/neutral/context/index.d.ts +0 -1
  42. package/dist/neutral/context/index.d.ts.map +1 -1
  43. package/dist/neutral/getFileConfig.d.ts +10 -190
  44. package/dist/neutral/getFileConfig.d.ts.map +1 -1
  45. package/dist/neutral/getFileConfig.mjs +133 -199
  46. package/dist/neutral/getFileConfig.mjs.map +4 -4
  47. package/dist/neutral/index.mjs +357 -593
  48. package/dist/neutral/index.mjs.map +4 -4
  49. package/dist/neutral/model/CreatableProviderContext.zod.d.ts +30 -573
  50. package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
  51. package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
  52. package/dist/neutral/test/index.mjs +167 -226
  53. package/dist/neutral/test/index.mjs.map +4 -4
  54. package/package.json +13 -13
  55. package/dist/neutral/config/Evm.d.ts +0 -24
  56. package/dist/neutral/config/Evm.d.ts.map +0 -1
  57. package/dist/neutral/config/Remote.d.ts.map +0 -1
  58. package/dist/neutral/config/adaptLegacyConfig.d.ts +0 -8
  59. package/dist/neutral/config/adaptLegacyConfig.d.ts.map +0 -1
  60. package/dist/neutral/config/storage/Storage.d.ts +0 -45
  61. package/dist/neutral/config/storage/Storage.d.ts.map +0 -1
  62. package/dist/neutral/config/storage/driver/Mongo.d.ts +0 -25
  63. package/dist/neutral/config/storage/driver/Mongo.d.ts.map +0 -1
  64. package/dist/neutral/config/storage/driver/S3.d.ts +0 -77
  65. package/dist/neutral/config/storage/driver/S3.d.ts.map +0 -1
  66. package/dist/neutral/config/storage/driver/index.d.ts +0 -3
  67. package/dist/neutral/config/storage/driver/index.d.ts.map +0 -1
  68. package/dist/neutral/config/storage/index.d.ts +0 -3
  69. package/dist/neutral/config/storage/index.d.ts.map +0 -1
  70. package/dist/neutral/context/getEmptyProviderContext.d.ts +0 -7
  71. package/dist/neutral/context/getEmptyProviderContext.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"HostActor.d.ts","sourceRoot":"","sources":["../../../src/context/HostActor.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5B,uCAAuC;AACvC,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiE,CAAA;AAEpG,mCAAmC;AACnC,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,C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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAAiE,CAAA;AAEpG,mCAAmC;AACnC,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AAE3E,2EAA2E;AAC3E,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAuC,CAAA;AAC5E,uEAAuE;AACvE,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAA;AACxG,yCAAyC;AACzC,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAAmE,CAAA"}
@@ -1,4 +1,3 @@
1
1
  export * from './Actor.ts';
2
- export * from './getEmptyProviderContext.ts';
3
2
  export * from './HostActor.ts';
4
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,8BAA8B,CAAA;AAC5C,cAAc,gBAAgB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/context/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAA;AAC1B,cAAc,gBAAgB,CAAA"}
@@ -11,16 +11,6 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
11
11
  readonly __address: true;
12
12
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
13
13
  };
14
- evm: {
15
- chainId?: string | undefined;
16
- infura?: {
17
- projectId?: string | undefined;
18
- projectSecret?: string | undefined;
19
- } | undefined;
20
- jsonRpc?: {
21
- url?: string | undefined;
22
- } | undefined;
23
- };
24
14
  log: {
25
15
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
26
16
  silent: boolean;
@@ -38,9 +28,11 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
38
28
  password?: string | undefined;
39
29
  username?: string | undefined;
40
30
  } | {
41
- protocol: string;
42
- url: string;
43
31
  type: "rpc";
32
+ protocol: string;
33
+ url?: string | undefined;
34
+ networkId?: string | undefined;
35
+ sessionId?: string | undefined;
44
36
  } | {
45
37
  type: "rest";
46
38
  baseUrl: string;
@@ -55,6 +47,7 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
55
47
  } | {
56
48
  type: "evm-rpc";
57
49
  url: string;
50
+ chainId?: string | undefined;
58
51
  } | {
59
52
  type: "memory";
60
53
  }>;
@@ -67,89 +60,6 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
67
60
  moniker: string;
68
61
  labels?: string[] | undefined;
69
62
  }[];
70
- remote: {
71
- rpc?: {
72
- protocol: string;
73
- url: string;
74
- } | {
75
- protocol: string;
76
- networkId: string;
77
- sessionId: string;
78
- } | undefined;
79
- };
80
- transports: Record<string, {
81
- root: string;
82
- type: "lmdb";
83
- access?: "read" | "write" | undefined;
84
- store?: string | undefined;
85
- } | {
86
- type: "mongo";
87
- connectionString?: string | undefined;
88
- database?: string | undefined;
89
- domain?: string | undefined;
90
- password?: string | undefined;
91
- username?: string | undefined;
92
- } | {
93
- protocol: string;
94
- url: string;
95
- type: "rpc";
96
- } | {
97
- type: "rest";
98
- baseUrl: string;
99
- } | {
100
- type: "s3";
101
- bucket?: string | undefined;
102
- prefix?: string | undefined;
103
- readUrl?: string | undefined;
104
- accessKeyId?: string | undefined;
105
- accountId?: string | undefined;
106
- secretAccessKey?: string | undefined;
107
- } | {
108
- type: "evm-rpc";
109
- url: string;
110
- } | {
111
- type: "memory";
112
- }>;
113
- storage: {
114
- mongo?: {
115
- connectionString?: string | undefined;
116
- database?: string | undefined;
117
- domain?: string | undefined;
118
- password?: string | undefined;
119
- username?: string | undefined;
120
- } | undefined;
121
- root?: string | undefined;
122
- s3?: {
123
- accessKeyId?: string | undefined;
124
- accountId?: string | undefined;
125
- chainState?: {
126
- accessKeyId?: string | undefined;
127
- accountId?: string | undefined;
128
- bucket?: string | undefined;
129
- prefix?: string | undefined;
130
- readUrl?: string | undefined;
131
- secretAccessKey?: string | undefined;
132
- } | undefined;
133
- finalized?: {
134
- accessKeyId?: string | undefined;
135
- accountId?: string | undefined;
136
- bucket?: string | undefined;
137
- prefix?: string | undefined;
138
- readUrl?: string | undefined;
139
- secretAccessKey?: string | undefined;
140
- } | undefined;
141
- index?: {
142
- accessKeyId?: string | undefined;
143
- accountId?: string | undefined;
144
- bucket?: string | undefined;
145
- prefix?: string | undefined;
146
- readUrl?: string | undefined;
147
- secretAccessKey?: string | undefined;
148
- } | undefined;
149
- prefix?: string | undefined;
150
- secretAccessKey?: string | undefined;
151
- } | undefined;
152
- };
153
63
  telemetry: {
154
64
  metrics?: {
155
65
  scrape: {
@@ -185,16 +95,6 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
185
95
  readonly __address: true;
186
96
  }) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
187
97
  };
188
- evm: {
189
- chainId?: string | undefined;
190
- infura?: {
191
- projectId?: string | undefined;
192
- projectSecret?: string | undefined;
193
- } | undefined;
194
- jsonRpc?: {
195
- url?: string | undefined;
196
- } | undefined;
197
- };
198
98
  log: {
199
99
  logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
200
100
  silent: boolean;
@@ -212,9 +112,11 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
212
112
  password?: string | undefined;
213
113
  username?: string | undefined;
214
114
  } | {
215
- protocol: string;
216
- url: string;
217
115
  type: "rpc";
116
+ protocol: string;
117
+ url?: string | undefined;
118
+ networkId?: string | undefined;
119
+ sessionId?: string | undefined;
218
120
  } | {
219
121
  type: "rest";
220
122
  baseUrl: string;
@@ -229,6 +131,7 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
229
131
  } | {
230
132
  type: "evm-rpc";
231
133
  url: string;
134
+ chainId?: string | undefined;
232
135
  } | {
233
136
  type: "memory";
234
137
  }>;
@@ -241,89 +144,6 @@ export declare function getFileConfig(searchPlaces?: string[]): Promise<{
241
144
  moniker: string;
242
145
  labels?: string[] | undefined;
243
146
  }[];
244
- remote: {
245
- rpc?: {
246
- protocol: string;
247
- url: string;
248
- } | {
249
- protocol: string;
250
- networkId: string;
251
- sessionId: string;
252
- } | undefined;
253
- };
254
- transports: Record<string, {
255
- root: string;
256
- type: "lmdb";
257
- access?: "read" | "write" | undefined;
258
- store?: string | undefined;
259
- } | {
260
- type: "mongo";
261
- connectionString?: string | undefined;
262
- database?: string | undefined;
263
- domain?: string | undefined;
264
- password?: string | undefined;
265
- username?: string | undefined;
266
- } | {
267
- protocol: string;
268
- url: string;
269
- type: "rpc";
270
- } | {
271
- type: "rest";
272
- baseUrl: string;
273
- } | {
274
- type: "s3";
275
- bucket?: string | undefined;
276
- prefix?: string | undefined;
277
- readUrl?: string | undefined;
278
- accessKeyId?: string | undefined;
279
- accountId?: string | undefined;
280
- secretAccessKey?: string | undefined;
281
- } | {
282
- type: "evm-rpc";
283
- url: string;
284
- } | {
285
- type: "memory";
286
- }>;
287
- storage: {
288
- mongo?: {
289
- connectionString?: string | undefined;
290
- database?: string | undefined;
291
- domain?: string | undefined;
292
- password?: string | undefined;
293
- username?: string | undefined;
294
- } | undefined;
295
- root?: string | undefined;
296
- s3?: {
297
- accessKeyId?: string | undefined;
298
- accountId?: string | undefined;
299
- chainState?: {
300
- accessKeyId?: string | undefined;
301
- accountId?: string | undefined;
302
- bucket?: string | undefined;
303
- prefix?: string | undefined;
304
- readUrl?: string | undefined;
305
- secretAccessKey?: string | undefined;
306
- } | undefined;
307
- finalized?: {
308
- accessKeyId?: string | undefined;
309
- accountId?: string | undefined;
310
- bucket?: string | undefined;
311
- prefix?: string | undefined;
312
- readUrl?: string | undefined;
313
- secretAccessKey?: string | undefined;
314
- } | undefined;
315
- index?: {
316
- accessKeyId?: string | undefined;
317
- accountId?: string | undefined;
318
- bucket?: string | undefined;
319
- prefix?: string | undefined;
320
- readUrl?: string | undefined;
321
- secretAccessKey?: string | undefined;
322
- } | undefined;
323
- prefix?: string | undefined;
324
- secretAccessKey?: string | undefined;
325
- } | undefined;
326
- };
327
147
  telemetry: {
328
148
  metrics?: {
329
149
  scrape: {
@@ -1 +1 @@
1
- {"version":3,"file":"getFileConfig.d.ts","sourceRoot":"","sources":["../../src/getFileConfig.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAsB,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiB1D"}
1
+ {"version":3,"file":"getFileConfig.d.ts","sourceRoot":"","sources":["../../src/getFileConfig.ts"],"names":[],"mappings":"AAgBA;;;GAGG;AACH,wBAAsB,aAAa,CAAC,YAAY,CAAC,EAAE,MAAM,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiB1D"}