@xyo-network/bridge-model 5.3.2 → 5.3.4
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/Config.d.ts
CHANGED
|
@@ -16,8 +16,6 @@ export type BridgeHostConfig = {
|
|
|
16
16
|
};
|
|
17
17
|
export type BridgeConfig<TConfig extends Payload | EmptyObject | void = void, TSchema extends Schema | void = void, TClient extends EmptyObject | void = void, THost extends EmptyObject | void = void> = ModuleConfig<WithAdditional<{
|
|
18
18
|
client?: WithAdditional<BridgeClientConfig, TClient>;
|
|
19
|
-
/** @deprecated use client.discoverRoots instead */
|
|
20
|
-
discoverRoots?: 'start' | 'lazy';
|
|
21
19
|
host?: WithAdditional<BridgeHostConfig, THost>;
|
|
22
20
|
schema: TConfig extends Payload ? TConfig['schema'] : BridgeConfigSchema;
|
|
23
21
|
}, TConfig>, TSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACP,MAAM,4BAA4B,CAAA;AAGnC,eAAO,MAAM,kBAAkB;;CAA8C,CAAA;AAC7E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,YAAY,CACtB,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EACnD,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,EACpC,OAAO,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,EACzC,KAAK,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IACrC,YAAY,CACd,cAAc,CACZ;IACE,MAAM,CAAC,EAAE,cAAc,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAA;IACpD,
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../src/Config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AACjE,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC1E,OAAO,KAAK,EACV,OAAO,EACP,MAAM,EACP,MAAM,4BAA4B,CAAA;AAGnC,eAAO,MAAM,kBAAkB;;CAA8C,CAAA;AAC7E,MAAM,MAAM,kBAAkB,GAAG,OAAO,kBAAkB,CAAA;AAE1D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,gBAAgB,GAAG;IAC7B,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,YAAY,CACtB,OAAO,SAAS,OAAO,GAAG,WAAW,GAAG,IAAI,GAAG,IAAI,EACnD,OAAO,SAAS,MAAM,GAAG,IAAI,GAAG,IAAI,EACpC,OAAO,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,EACzC,KAAK,SAAS,WAAW,GAAG,IAAI,GAAG,IAAI,IACrC,YAAY,CACd,cAAc,CACZ;IACE,MAAM,CAAC,EAAE,cAAc,CAAC,kBAAkB,EAAE,OAAO,CAAC,CAAA;IACpD,IAAI,CAAC,EAAE,cAAc,CAAC,gBAAgB,EAAE,KAAK,CAAC,CAAA;IAC9C,MAAM,EAAE,OAAO,SAAS,OAAO,GAAG,OAAO,CAAC,QAAQ,CAAC,GAAG,kBAAkB,CAAA;CACzE,EACD,OAAO,CACR,EACD,OAAO,CACR,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/Connect.ts","../../src/Queries/Disconnect.ts","../../src/Queries/Expose.ts","../../src/Queries/Unexpose.ts","../../src/attachable/AttachableInstance.ts","../../src/Config.ts"],"sourcesContent":["import { AsObjectFactory } from '@xylabs/sdk-js'\n\nimport { isAttachableBridgeInstance } from './isAttachableInstance.ts'\n\nexport const asAttachableBridgeInstance = AsObjectFactory.create(isAttachableBridgeInstance)\n","import type { ObjectTypeShape, TypeCheck } from '@xylabs/sdk-js'\nimport { IsObjectFactory } from '@xylabs/sdk-js'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isBridgeInstance } from '../typeChecks.ts'\nimport type { AttachableBridgeInstance } from './AttachableInstance.ts'\n\nexport const requiredAttachableBridgeInstanceFunctions: ObjectTypeShape = {}\n\n// we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableBridgeInstance>()\n\nexport const isAttachableBridgeInstance: TypeCheck<AttachableBridgeInstance> = factory.create(requiredAttachableBridgeInstanceFunctions, [\n isBridgeInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/sdk-js'\nimport {\n IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory,\n} from '@xyo-network/module-model'\n\nimport type { BridgeInstance } from './Instance.ts'\nimport type { BridgeModule } from './Module.ts'\nimport { BridgeConnectQuerySchema, BridgeDisconnectQuerySchema } from './Queries/index.ts'\n\nexport const isBridgeInstance = new IsInstanceFactory<BridgeInstance>().create(\n { expose: 'function' },\n [isModuleInstance],\n)\nexport const isBridgeModule = new IsModuleFactory<BridgeModule>().create([BridgeConnectQuerySchema, BridgeDisconnectQuerySchema])\n\nexport const asBridgeModule = AsObjectFactory.create(isBridgeModule)\nexport const asBridgeInstance = AsObjectFactory.create(isBridgeInstance)\nexport const withBridgeModule = WithFactory.create(isBridgeModule)\nexport const withBridgeInstance = WithFactory.create(isBridgeInstance)\n","import type { ModuleIdentifier } from '@xyo-network/module-model'\nimport { asSchema, type Query } from '@xyo-network/payload-model'\n\nexport const BridgeConnectQuerySchema = asSchema('network.xyo.query.bridge.connect', true)\nexport type BridgeConnectQuerySchema = typeof BridgeConnectQuerySchema\n\nexport type BridgeConnectQuery = Query<{\n id?: ModuleIdentifier\n maxDepth?: number\n schema: BridgeConnectQuerySchema\n}>\n","import type { ModuleIdentifier } from '@xyo-network/module-model'\nimport { asSchema, type Query } from '@xyo-network/payload-model'\n\nexport const BridgeDisconnectQuerySchema = asSchema('network.xyo.query.bridge.disconnect', true)\nexport type BridgeDisconnectQuerySchema = typeof BridgeDisconnectQuerySchema\n\nexport type BridgeDisconnectQuery = Query<{\n id?: ModuleIdentifier\n maxDepth?: number\n schema: BridgeDisconnectQuerySchema\n}>\n","import type { ModuleIdentifier } from '@xyo-network/module-model'\nimport {\n asSchema, type Payload, type Query,\n} from '@xyo-network/payload-model'\n\nexport const BridgeExposeQuerySchema = asSchema('network.xyo.query.bridge.expose', true)\nexport type BridgeExposeQuerySchema = typeof BridgeExposeQuerySchema\n\nexport interface BridgeExposeOptions {\n maxDepth?: number\n required?: boolean\n}\n\nexport const ModuleFilterPayloadSchema = asSchema('network.xyo.module.filter', true)\nexport type ModuleFilterPayloadSchema = typeof ModuleFilterPayloadSchema\n\nexport type ModuleFilterPayload = Payload<{ id: ModuleIdentifier } & BridgeExposeOptions, ModuleFilterPayloadSchema>\n\nexport type BridgeExposeQuery = Query<void, BridgeExposeQuerySchema>\n","import { asSchema, type Query } from '@xyo-network/payload-model'\n\nimport type { BridgeExposeOptions } from './Expose.ts'\n\nexport const BridgeUnexposeQuerySchema = asSchema('network.xyo.query.bridge.unexpose', true)\nexport type BridgeUnexposeQuerySchema = typeof BridgeUnexposeQuerySchema\n\nexport interface BridgeUnexposeOptions extends BridgeExposeOptions {}\n\nexport type BridgeUnexposeQuery = Query<void, BridgeUnexposeQuerySchema>\n","import type { TypeCheck } from '@xylabs/sdk-js'\nimport { IsObjectFactory } from '@xylabs/sdk-js'\nimport type { AttachableModuleInstance } from '@xyo-network/module-model'\n\nimport type { BridgeModuleEventData } from '../EventData.ts'\nimport type { BridgeInstance } from '../Instance.ts'\nimport type { BridgeModule } from '../Module.ts'\nimport type { BridgeParams } from '../Params.ts'\n\nexport interface AttachableBridgeInstance<\n TParams extends BridgeParams = BridgeParams,\n TEventData extends BridgeModuleEventData = BridgeModuleEventData,\n> extends BridgeModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n BridgeInstance<TParams, TEventData> {}\n\nexport type AttachableBridgeInstanceTypeCheck<T extends AttachableBridgeInstance = AttachableBridgeInstance> = TypeCheck<T>\n\nexport class IsAttachableBridgeInstanceFactory<T extends AttachableBridgeInstance = AttachableBridgeInstance> extends IsObjectFactory<T> {}\n","import type { EmptyObject, WithAdditional } from '@xylabs/sdk-js'\nimport type { CacheConfig, ModuleConfig } from '@xyo-network/module-model'\nimport type {\n Payload,\n Schema,\n} from '@xyo-network/payload-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const BridgeConfigSchema = asSchema('network.xyo.bridge.config', true)\nexport type BridgeConfigSchema = typeof BridgeConfigSchema\n\nexport type BridgeClientConfig = {\n cache?: CacheConfig | true\n discoverRoots?: 'start' | 'lazy'\n maxDepth?: number\n}\n\nexport type BridgeHostConfig = {\n cache?: CacheConfig | true\n maxDepth?: number\n}\n\nexport type BridgeConfig<\n TConfig extends Payload | EmptyObject | void = void,\n TSchema extends Schema | void = void,\n TClient extends EmptyObject | void = void,\n THost extends EmptyObject | void = void,\n> = ModuleConfig<\n WithAdditional<\n {\n client?: WithAdditional<BridgeClientConfig, TClient>\n
|
|
1
|
+
{"version":3,"sources":["../../src/attachable/asAttachableInstance.ts","../../src/attachable/isAttachableInstance.ts","../../src/typeChecks.ts","../../src/Queries/Connect.ts","../../src/Queries/Disconnect.ts","../../src/Queries/Expose.ts","../../src/Queries/Unexpose.ts","../../src/attachable/AttachableInstance.ts","../../src/Config.ts"],"sourcesContent":["import { AsObjectFactory } from '@xylabs/sdk-js'\n\nimport { isAttachableBridgeInstance } from './isAttachableInstance.ts'\n\nexport const asAttachableBridgeInstance = AsObjectFactory.create(isAttachableBridgeInstance)\n","import type { ObjectTypeShape, TypeCheck } from '@xylabs/sdk-js'\nimport { IsObjectFactory } from '@xylabs/sdk-js'\nimport { isAttachableModuleInstance } from '@xyo-network/module-model'\n\nimport { isBridgeInstance } from '../typeChecks.ts'\nimport type { AttachableBridgeInstance } from './AttachableInstance.ts'\n\nexport const requiredAttachableBridgeInstanceFunctions: ObjectTypeShape = {}\n\n// we do not use IsInstanceFactory here to prevent a cycle\nconst factory = new IsObjectFactory<AttachableBridgeInstance>()\n\nexport const isAttachableBridgeInstance: TypeCheck<AttachableBridgeInstance> = factory.create(requiredAttachableBridgeInstanceFunctions, [\n isBridgeInstance,\n isAttachableModuleInstance,\n])\n","import { AsObjectFactory } from '@xylabs/sdk-js'\nimport {\n IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory,\n} from '@xyo-network/module-model'\n\nimport type { BridgeInstance } from './Instance.ts'\nimport type { BridgeModule } from './Module.ts'\nimport { BridgeConnectQuerySchema, BridgeDisconnectQuerySchema } from './Queries/index.ts'\n\nexport const isBridgeInstance = new IsInstanceFactory<BridgeInstance>().create(\n { expose: 'function' },\n [isModuleInstance],\n)\nexport const isBridgeModule = new IsModuleFactory<BridgeModule>().create([BridgeConnectQuerySchema, BridgeDisconnectQuerySchema])\n\nexport const asBridgeModule = AsObjectFactory.create(isBridgeModule)\nexport const asBridgeInstance = AsObjectFactory.create(isBridgeInstance)\nexport const withBridgeModule = WithFactory.create(isBridgeModule)\nexport const withBridgeInstance = WithFactory.create(isBridgeInstance)\n","import type { ModuleIdentifier } from '@xyo-network/module-model'\nimport { asSchema, type Query } from '@xyo-network/payload-model'\n\nexport const BridgeConnectQuerySchema = asSchema('network.xyo.query.bridge.connect', true)\nexport type BridgeConnectQuerySchema = typeof BridgeConnectQuerySchema\n\nexport type BridgeConnectQuery = Query<{\n id?: ModuleIdentifier\n maxDepth?: number\n schema: BridgeConnectQuerySchema\n}>\n","import type { ModuleIdentifier } from '@xyo-network/module-model'\nimport { asSchema, type Query } from '@xyo-network/payload-model'\n\nexport const BridgeDisconnectQuerySchema = asSchema('network.xyo.query.bridge.disconnect', true)\nexport type BridgeDisconnectQuerySchema = typeof BridgeDisconnectQuerySchema\n\nexport type BridgeDisconnectQuery = Query<{\n id?: ModuleIdentifier\n maxDepth?: number\n schema: BridgeDisconnectQuerySchema\n}>\n","import type { ModuleIdentifier } from '@xyo-network/module-model'\nimport {\n asSchema, type Payload, type Query,\n} from '@xyo-network/payload-model'\n\nexport const BridgeExposeQuerySchema = asSchema('network.xyo.query.bridge.expose', true)\nexport type BridgeExposeQuerySchema = typeof BridgeExposeQuerySchema\n\nexport interface BridgeExposeOptions {\n maxDepth?: number\n required?: boolean\n}\n\nexport const ModuleFilterPayloadSchema = asSchema('network.xyo.module.filter', true)\nexport type ModuleFilterPayloadSchema = typeof ModuleFilterPayloadSchema\n\nexport type ModuleFilterPayload = Payload<{ id: ModuleIdentifier } & BridgeExposeOptions, ModuleFilterPayloadSchema>\n\nexport type BridgeExposeQuery = Query<void, BridgeExposeQuerySchema>\n","import { asSchema, type Query } from '@xyo-network/payload-model'\n\nimport type { BridgeExposeOptions } from './Expose.ts'\n\nexport const BridgeUnexposeQuerySchema = asSchema('network.xyo.query.bridge.unexpose', true)\nexport type BridgeUnexposeQuerySchema = typeof BridgeUnexposeQuerySchema\n\nexport interface BridgeUnexposeOptions extends BridgeExposeOptions {}\n\nexport type BridgeUnexposeQuery = Query<void, BridgeUnexposeQuerySchema>\n","import type { TypeCheck } from '@xylabs/sdk-js'\nimport { IsObjectFactory } from '@xylabs/sdk-js'\nimport type { AttachableModuleInstance } from '@xyo-network/module-model'\n\nimport type { BridgeModuleEventData } from '../EventData.ts'\nimport type { BridgeInstance } from '../Instance.ts'\nimport type { BridgeModule } from '../Module.ts'\nimport type { BridgeParams } from '../Params.ts'\n\nexport interface AttachableBridgeInstance<\n TParams extends BridgeParams = BridgeParams,\n TEventData extends BridgeModuleEventData = BridgeModuleEventData,\n> extends BridgeModule<TParams, TEventData>,\n AttachableModuleInstance<TParams, TEventData>,\n BridgeInstance<TParams, TEventData> {}\n\nexport type AttachableBridgeInstanceTypeCheck<T extends AttachableBridgeInstance = AttachableBridgeInstance> = TypeCheck<T>\n\nexport class IsAttachableBridgeInstanceFactory<T extends AttachableBridgeInstance = AttachableBridgeInstance> extends IsObjectFactory<T> {}\n","import type { EmptyObject, WithAdditional } from '@xylabs/sdk-js'\nimport type { CacheConfig, ModuleConfig } from '@xyo-network/module-model'\nimport type {\n Payload,\n Schema,\n} from '@xyo-network/payload-model'\nimport { asSchema } from '@xyo-network/payload-model'\n\nexport const BridgeConfigSchema = asSchema('network.xyo.bridge.config', true)\nexport type BridgeConfigSchema = typeof BridgeConfigSchema\n\nexport type BridgeClientConfig = {\n cache?: CacheConfig | true\n discoverRoots?: 'start' | 'lazy'\n maxDepth?: number\n}\n\nexport type BridgeHostConfig = {\n cache?: CacheConfig | true\n maxDepth?: number\n}\n\nexport type BridgeConfig<\n TConfig extends Payload | EmptyObject | void = void,\n TSchema extends Schema | void = void,\n TClient extends EmptyObject | void = void,\n THost extends EmptyObject | void = void,\n> = ModuleConfig<\n WithAdditional<\n {\n client?: WithAdditional<BridgeClientConfig, TClient>\n host?: WithAdditional<BridgeHostConfig, THost>\n schema: TConfig extends Payload ? TConfig['schema'] : BridgeConfigSchema\n },\n TConfig\n >,\n TSchema\n>\n"],"mappings":";AAAA,SAAS,mBAAAA,wBAAuB;;;ACChC,SAAS,uBAAuB;AAChC,SAAS,kCAAkC;;;ACF3C,SAAS,uBAAuB;AAChC;AAAA,EACE;AAAA,EAAmB;AAAA,EAAiB;AAAA,EAAkB;AAAA,OACjD;;;ACFP,SAAS,gBAA4B;AAE9B,IAAM,2BAA2B,SAAS,oCAAoC,IAAI;;;ACFzF,SAAS,YAAAC,iBAA4B;AAE9B,IAAM,8BAA8BA,UAAS,uCAAuC,IAAI;;;ACF/F;AAAA,EACE,YAAAC;AAAA,OACK;AAEA,IAAM,0BAA0BA,UAAS,mCAAmC,IAAI;AAQhF,IAAM,4BAA4BA,UAAS,6BAA6B,IAAI;;;ACbnF,SAAS,YAAAC,iBAA4B;AAI9B,IAAM,4BAA4BA,UAAS,qCAAqC,IAAI;;;AJKpF,IAAM,mBAAmB,IAAI,kBAAkC,EAAE;AAAA,EACtE,EAAE,QAAQ,WAAW;AAAA,EACrB,CAAC,gBAAgB;AACnB;AACO,IAAM,iBAAiB,IAAI,gBAA8B,EAAE,OAAO,CAAC,0BAA0B,2BAA2B,CAAC;AAEzH,IAAM,iBAAiB,gBAAgB,OAAO,cAAc;AAC5D,IAAM,mBAAmB,gBAAgB,OAAO,gBAAgB;AAChE,IAAM,mBAAmB,YAAY,OAAO,cAAc;AAC1D,IAAM,qBAAqB,YAAY,OAAO,gBAAgB;;;ADX9D,IAAM,4CAA6D,CAAC;AAG3E,IAAM,UAAU,IAAI,gBAA0C;AAEvD,IAAM,6BAAkE,QAAQ,OAAO,2CAA2C;AAAA,EACvI;AAAA,EACA;AACF,CAAC;;;ADXM,IAAM,6BAA6BC,iBAAgB,OAAO,0BAA0B;;;AOH3F,SAAS,mBAAAC,wBAAuB;AAiBzB,IAAM,oCAAN,cAA+GA,iBAAmB;AAAC;;;ACZ1I,SAAS,YAAAC,iBAAgB;AAElB,IAAM,qBAAqBA,UAAS,6BAA6B,IAAI;","names":["AsObjectFactory","asSchema","asSchema","asSchema","AsObjectFactory","IsObjectFactory","asSchema"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xyo-network/bridge-model",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"description": "Primary SDK for using XYO Protocol 2.0",
|
|
5
5
|
"homepage": "https://xyo.network",
|
|
6
6
|
"bugs": {
|
|
@@ -36,16 +36,19 @@
|
|
|
36
36
|
"!**/*.test.*"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@
|
|
40
|
-
"@xyo-network/
|
|
41
|
-
"@xyo-network/
|
|
42
|
-
"@xyo-network/payload-model": "~5.3.2"
|
|
39
|
+
"@xyo-network/boundwitness-model": "~5.3.4",
|
|
40
|
+
"@xyo-network/module-model": "~5.3.4",
|
|
41
|
+
"@xyo-network/payload-model": "~5.3.4"
|
|
43
42
|
},
|
|
44
43
|
"devDependencies": {
|
|
44
|
+
"@xylabs/sdk-js": "^5.0.79",
|
|
45
45
|
"@xylabs/ts-scripts-yarn3": "~7.3.2",
|
|
46
46
|
"@xylabs/tsconfig": "~7.3.2",
|
|
47
47
|
"typescript": "~5.9.3"
|
|
48
48
|
},
|
|
49
|
+
"peerDependencies": {
|
|
50
|
+
"@xylabs/sdk-js": "^5"
|
|
51
|
+
},
|
|
49
52
|
"publishConfig": {
|
|
50
53
|
"access": "public"
|
|
51
54
|
}
|
package/src/Config.ts
CHANGED
|
@@ -29,8 +29,6 @@ export type BridgeConfig<
|
|
|
29
29
|
WithAdditional<
|
|
30
30
|
{
|
|
31
31
|
client?: WithAdditional<BridgeClientConfig, TClient>
|
|
32
|
-
/** @deprecated use client.discoverRoots instead */
|
|
33
|
-
discoverRoots?: 'start' | 'lazy'
|
|
34
32
|
host?: WithAdditional<BridgeHostConfig, THost>
|
|
35
33
|
schema: TConfig extends Payload ? TConfig['schema'] : BridgeConfigSchema
|
|
36
34
|
},
|