@xyo-network/bridge-model 5.3.29 → 5.4.0

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,15 +5,15 @@ export declare const BridgeConfigSchema: "network.xyo.bridge.config" & {
5
5
  readonly __schema: true;
6
6
  };
7
7
  export type BridgeConfigSchema = typeof BridgeConfigSchema;
8
- export type BridgeClientConfig = {
8
+ export interface BridgeClientConfig {
9
9
  cache?: CacheConfig | true;
10
10
  discoverRoots?: 'start' | 'lazy';
11
11
  maxDepth?: number;
12
- };
13
- export type BridgeHostConfig = {
12
+ }
13
+ export interface BridgeHostConfig {
14
14
  cache?: CacheConfig | true;
15
15
  maxDepth?: number;
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
19
  host?: WithAdditional<BridgeHostConfig, THost>;
@@ -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,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
+ {"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,WAAW,kBAAkB;IACjC,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,WAAW,gBAAgB;IAC/B,KAAK,CAAC,EAAE,WAAW,GAAG,IAAI,CAAA;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAA;CAClB;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 // eslint-disable-next-line sonarjs/deprecation\n IsInstanceFactory, isModuleInstance, IsQueryableModuleFactory, 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 IsQueryableModuleFactory<BridgeModule>().create([BridgeConnectQuerySchema, BridgeDisconnectQuerySchema])\n\nexport const asBridgeModule = AsObjectFactory.create(isBridgeModule)\nexport const asBridgeInstance = AsObjectFactory.create(isBridgeInstance)\n\n/** @deprecated use narrowing instead [ if(is) ] */\n// eslint-disable-next-line sonarjs/deprecation, @typescript-eslint/no-deprecated\nexport const withBridgeModule = WithFactory.create(isBridgeModule)\n/** @deprecated use narrowing instead [ if(is) ] */\n// eslint-disable-next-line sonarjs/deprecation, @typescript-eslint/no-deprecated\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,EAEE;AAAA,EAAmB;AAAA,EAAkB;AAAA,EAA0B;AAAA,OAC1D;;;ACHP,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;;;AJMpF,IAAM,mBAAmB,IAAI,kBAAkC,EAAE;AAAA,EACtE,EAAE,QAAQ,WAAW;AAAA,EACrB,CAAC,gBAAgB;AACnB;AACO,IAAM,iBAAiB,IAAI,yBAAuC,EAAE,OAAO,CAAC,0BAA0B,2BAA2B,CAAC;AAElI,IAAM,iBAAiB,gBAAgB,OAAO,cAAc;AAC5D,IAAM,mBAAmB,gBAAgB,OAAO,gBAAgB;AAIhE,IAAM,mBAAmB,YAAY,OAAO,cAAc;AAG1D,IAAM,qBAAqB,YAAY,OAAO,gBAAgB;;;ADjB9D,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"]}
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, isModuleInstance, IsQueryableModuleFactory, 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 IsQueryableModuleFactory<BridgeModule>().create([BridgeConnectQuerySchema, BridgeDisconnectQuerySchema])\n\nexport const asBridgeModule = AsObjectFactory.create(isBridgeModule)\nexport const asBridgeInstance = AsObjectFactory.create(isBridgeInstance)\n\n/** @deprecated use narrowing instead [ if(is) ] */\nexport const withBridgeModule = WithFactory.create(isBridgeModule)\n/** @deprecated use narrowing instead [ if(is) ] */\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 interface BridgeClientConfig {\n cache?: CacheConfig | true\n discoverRoots?: 'start' | 'lazy'\n maxDepth?: number\n}\n\nexport interface 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,EAAkB;AAAA,EAA0B;AAAA,OAC1D;;;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,yBAAuC,EAAE,OAAO,CAAC,0BAA0B,2BAA2B,CAAC;AAElI,IAAM,iBAAiB,gBAAgB,OAAO,cAAc;AAC5D,IAAM,mBAAmB,gBAAgB,OAAO,gBAAgB;AAGhE,IAAM,mBAAmB,YAAY,OAAO,cAAc;AAE1D,IAAM,qBAAqB,YAAY,OAAO,gBAAgB;;;ADd9D,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"]}
@@ -1 +1 @@
1
- {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG/C,eAAO,MAAM,gBAAgB,iOAG5B,CAAA;AACD,eAAO,MAAM,cAAc,yPAA+G,CAAA;AAE1I,eAAO,MAAM,cAAc,oOAAyC,CAAA;AACpE,eAAO,MAAM,gBAAgB,sOAA2C,CAAA;AAExE,mDAAmD;AAEnD,eAAO,MAAM,gBAAgB,gPAAqC,CAAA;AAClE,mDAAmD;AAEnD,eAAO,MAAM,kBAAkB,kPAAuC,CAAA"}
1
+ {"version":3,"file":"typeChecks.d.ts","sourceRoot":"","sources":["../../src/typeChecks.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAG/C,eAAO,MAAM,gBAAgB,iOAG5B,CAAA;AACD,eAAO,MAAM,cAAc,yPAA+G,CAAA;AAE1I,eAAO,MAAM,cAAc,oOAAyC,CAAA;AACpE,eAAO,MAAM,gBAAgB,sOAA2C,CAAA;AAExE,mDAAmD;AACnD,eAAO,MAAM,gBAAgB,gPAAqC,CAAA;AAClE,mDAAmD;AACnD,eAAO,MAAM,kBAAkB,kPAAuC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bridge-model",
3
- "version": "5.3.29",
3
+ "version": "5.4.0",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -22,12 +22,10 @@
22
22
  "exports": {
23
23
  ".": {
24
24
  "types": "./dist/neutral/index.d.ts",
25
- "import": "./dist/neutral/index.mjs",
26
25
  "default": "./dist/neutral/index.mjs"
27
26
  },
28
27
  "./package.json": "./package.json"
29
28
  },
30
- "types": "dist/neutral/index.d.ts",
31
29
  "files": [
32
30
  "dist",
33
31
  "!**/*.bench.*",
@@ -36,27 +34,25 @@
36
34
  "README.md"
37
35
  ],
38
36
  "dependencies": {
39
- "@xyo-network/boundwitness-model": "~5.3.29",
40
- "@xyo-network/payload-model": "~5.3.29"
37
+ "@xyo-network/boundwitness-model": "~5.4.0",
38
+ "@xyo-network/payload-model": "~5.4.0"
41
39
  },
42
40
  "devDependencies": {
43
41
  "@opentelemetry/api": "^1.9.1",
44
- "@xylabs/sdk-js": "^5.0.95",
45
- "@xylabs/ts-scripts-common": "~7.8.4",
46
- "@xylabs/ts-scripts-pnpm": "~7.8.4",
47
- "@xylabs/tsconfig": "~7.8.4",
48
- "axios": "^1.14.0",
42
+ "@xylabs/sdk-js": "^5.0.97",
43
+ "@xylabs/toolchain": "~7.10.8",
44
+ "@xylabs/tsconfig": "~7.10.8",
49
45
  "pako": "~2.1.0",
50
46
  "typescript": "~5.9.3",
51
47
  "zod": "^4.3.6",
52
- "@xyo-network/module-model": "~5.3.29",
53
- "@xyo-network/account-model": "~5.3.29",
54
- "@xyo-network/previous-hash-store-model": "~5.3.29",
55
- "@xyo-network/manifest-model": "~5.3.29"
48
+ "@xyo-network/account-model": "~5.4.0",
49
+ "@xyo-network/module-model": "~5.4.0",
50
+ "@xyo-network/manifest-model": "~5.4.0",
51
+ "@xyo-network/previous-hash-store-model": "~5.4.0"
56
52
  },
57
53
  "peerDependencies": {
58
- "@xylabs/sdk-js": "^5",
59
- "@xyo-network/module-model": "~5.3.29"
54
+ "@xylabs/sdk-js": "^5.0.97",
55
+ "@xyo-network/module-model": "~5.4"
60
56
  },
61
57
  "publishConfig": {
62
58
  "access": "public"