@xyo-network/xl1-providers 4.0.2 → 4.0.3

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.
@@ -1,14 +1,14 @@
1
1
  import { ProviderFactoryLocator } from '@xyo-network/xl1-protocol-sdk';
2
2
  /**
3
3
  * Builds an empty {@link ProviderFactoryLocator} whose context carries a default
4
- * {@link BaseConfig} — i.e. `BaseConfigZod.parse({})`.
4
+ * {@link LocatorConfig} — i.e. `LocatorConfigFieldsZod.parse({})`.
5
5
  *
6
- * The resulting config is the schema's defaults only: `chain`, `evm`, `log`,
7
- * `providers`, `remote`, `storage`, `telemetry`, and `validation` all populated
8
- * from `*ConfigZod.parse({})`. There is no
9
- * actor identity (no `name`, `accountPath`, or `healthCheckPort`) — that lives
10
- * on `ActorConfig`, not `BaseConfig`. Use this when you need a locator rooted
11
- * in protocol defaults rather than an actor's configuration.
6
+ * The resulting config is the schema's defaults only: `chain`, `connections`,
7
+ * `log`, `providerBindings`, `providers`, `telemetry`, and `validation` all
8
+ * populated from `*ConfigZod.parse({})`. There is no actor identity (no `name`,
9
+ * `accountPath`, or `healthCheckPort`) — that lives on `ActorConfig`, not
10
+ * locator process fields. Use this when you need a locator rooted in protocol
11
+ * defaults rather than an actor's configuration.
12
12
  *
13
13
  * No providers are registered on the returned locator and it is not frozen;
14
14
  * the caller is expected to register what they need and (optionally) freeze it.
@@ -27,11 +27,11 @@ import { RestDataLakeRunner as RestDataLakeRunner3, RestDataLakeViewer as RestDa
27
27
 
28
28
  // src/locators/baseConfigFactoryLocator.ts
29
29
  import {
30
- BaseConfigZod,
30
+ LocatorConfigFieldsZod,
31
31
  ProviderFactoryLocator as ProviderFactoryLocator2
32
32
  } from "@xyo-network/xl1-protocol-sdk";
33
33
  async function baseConfigFactoryLocator() {
34
- const config = BaseConfigZod.parse({});
34
+ const config = LocatorConfigFieldsZod.parse({});
35
35
  return new ProviderFactoryLocator2({
36
36
  config,
37
37
  singletons: {},