@xyo-network/witness-model
Advanced tools
Comparing version 2.111.3 to 3.0.0
@@ -1,13 +0,305 @@ | ||
export * from './attachable/index.ts'; | ||
export * from './Config.ts'; | ||
export * from './CustomInstance.ts'; | ||
export * from './CustomModule.ts'; | ||
export * from './EventData.ts'; | ||
export * from './EventsModels/index.ts'; | ||
export * from './Instance.ts'; | ||
export * from './Module.ts'; | ||
export * from './Params.ts'; | ||
export * from './Queries/index.ts'; | ||
export * from './QueryFunctions.ts'; | ||
export * from './typeChecks.ts'; | ||
//# sourceMappingURL=index.d.ts.map | ||
import * as _xylabs_promise from '@xylabs/promise'; | ||
import { Promisable } from '@xylabs/promise'; | ||
import * as _xylabs_object from '@xylabs/object'; | ||
import { EmptyObject, WithAdditional, TypeCheck, IsObjectFactory, ObjectTypeShape } from '@xylabs/object'; | ||
import * as _xyo_network_module_model from '@xyo-network/module-model'; | ||
import { ModuleInstance, ModuleEventArgs, ModuleEventData, ModuleConfig, AnyConfigSchema, ModuleParams, Module, ModuleQueryResult, AttachableModuleInstance, ModuleQueries } from '@xyo-network/module-model'; | ||
import * as _xyo_network_payload_model from '@xyo-network/payload-model'; | ||
import { Payload, Query } from '@xyo-network/payload-model'; | ||
import { EventData } from '@xyo-network/module-events'; | ||
import * as _xyo_network_account_model from '@xyo-network/account-model'; | ||
import { AccountInstance } from '@xyo-network/account-model'; | ||
type ObserveEndEventArgs<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload, TOut extends Payload = Payload> = ModuleEventArgs<T, { | ||
errors?: Error[]; | ||
inPayloads?: TIn[]; | ||
outPayloads?: TOut[]; | ||
}>; | ||
interface ObserveEndEventData<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload, TOut extends Payload = Payload> extends EventData { | ||
observeEnd: ObserveEndEventArgs<T, TIn, TOut>; | ||
} | ||
type ObserveStartEventArgs<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload> = ModuleEventArgs<T, { | ||
inPayloads?: TIn[]; | ||
}>; | ||
interface ObserveStartEventData<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload> extends EventData { | ||
observeStart: ObserveStartEventArgs<T, TIn>; | ||
} | ||
type WitnessModuleEventData<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload, TOut extends Payload = Payload> = ObserveEndEventData<T, TIn, TOut> & ObserveStartEventData<T, TIn> & ModuleEventData<T>; | ||
declare const WitnessConfigSchema: "network.xyo.witness.config"; | ||
type WitnessConfigSchema = typeof WitnessConfigSchema; | ||
type WitnessConfig<TConfig extends EmptyObject | Payload | void = void, TSchema extends string | void = void> = ModuleConfig<WithAdditional<{ | ||
schema: TConfig extends Payload ? TConfig['schema'] : WitnessConfigSchema; | ||
}, TConfig>, TSchema>; | ||
type WitnessParams<TConfig extends AnyConfigSchema<WitnessConfig> = AnyConfigSchema<WitnessConfig>, TAdditionalParams extends EmptyObject | void = void> = ModuleParams<TConfig, TAdditionalParams>; | ||
interface WitnessModule<TParams extends WitnessParams = WitnessParams, TEvents extends WitnessModuleEventData = WitnessModuleEventData> extends Module<TParams, TEvents> { | ||
} | ||
interface WitnessQueryFunctions<TIn extends Payload = Payload, TOut extends Payload = Payload> { | ||
observe: (payloads?: TIn[]) => Promisable<TOut[]>; | ||
observeQuery: (payloads?: TIn[], account?: AccountInstance) => Promisable<ModuleQueryResult<TOut>>; | ||
} | ||
interface WitnessInstance<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEvents extends WitnessModuleEventData = WitnessModuleEventData> extends WitnessModule<TParams, TEvents>, WitnessQueryFunctions<TIn, TOut>, ModuleInstance<TParams, TEvents> { | ||
} | ||
interface AttachableWitnessInstance<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEventData extends WitnessModuleEventData = WitnessModuleEventData> extends WitnessInstance<TParams, TIn, TOut, TEventData>, AttachableModuleInstance<TParams, TEventData> { | ||
} | ||
type AttachableWitnessInstanceTypeCheck<T extends AttachableWitnessInstance = AttachableWitnessInstance> = TypeCheck<T>; | ||
declare class IsAttachableWitnessInstanceFactory<T extends AttachableWitnessInstance = AttachableWitnessInstance> extends IsObjectFactory<T> { | ||
} | ||
declare const asAttachableWitnessInstance: { | ||
<TType extends AttachableWitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined; | ||
<TType extends AttachableWitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<AttachableWitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType; | ||
}; | ||
declare const requiredAttachableWitnessInstanceFunctions: ObjectTypeShape; | ||
declare const isAttachableWitnessInstance: TypeCheck<AttachableWitnessInstance>; | ||
type CustomWitnessModule<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEvents extends WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut> = WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut>> = Module<TParams, TEvents>; | ||
type CustomWitnessInstance<TParams extends WitnessParams = WitnessParams, TIn extends Payload = Payload, TOut extends Payload = Payload, TEvents extends WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut> = WitnessModuleEventData<WitnessInstance<TParams, TIn, TOut>, TIn, TOut>> = CustomWitnessModule<TParams, TIn, TOut, TEvents> & WitnessQueryFunctions<TIn, TOut> & ModuleInstance; | ||
type WitnessObserveQuerySchema = 'network.xyo.query.witness.observe'; | ||
declare const WitnessObserveQuerySchema: WitnessObserveQuerySchema; | ||
type WitnessObserveQuery = Query<{ | ||
payloads?: string[]; | ||
schema: WitnessObserveQuerySchema; | ||
}>; | ||
type WitnessQueries = WitnessObserveQuery; | ||
type WitnessModuleQueries = ModuleQueries | WitnessQueries; | ||
declare const isWitnessInstance: _xylabs_object.TypeCheck<WitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>; | ||
declare const isWitnessModule: _xyo_network_module_model.ModuleTypeCheck<WitnessModule<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, WitnessModuleEventData>>; | ||
declare const asWitnessModule: { | ||
<TType extends WitnessModule<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined; | ||
<TType extends WitnessModule<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WitnessModule<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, WitnessModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType; | ||
}; | ||
declare const asWitnessInstance: { | ||
<TType extends WitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, config?: _xylabs_object.TypeCheckConfig): TType | undefined; | ||
<TType extends WitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>(value: _xylabs_promise.AnyNonPromise, assert: _xylabs_object.StringOrAlertFunction<WitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>>, config?: _xylabs_object.TypeCheckConfig): TType; | ||
}; | ||
declare const withWitnessModule: <R>(mod: any, closure: (mod: WitnessModule<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, WitnessModuleEventData>) => R) => R | undefined; | ||
declare const withWitnessInstance: <R>(mod: any, closure: (mod: WitnessInstance<_xylabs_object.BaseParamsFields & { | ||
account?: _xyo_network_account_model.AccountInstance | "random"; | ||
addToResolvers?: boolean; | ||
additionalSigners?: _xyo_network_account_model.AccountInstance[]; | ||
allowNameResolution?: boolean; | ||
config: _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & _xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & Omit<_xyo_network_module_model.ArchivingModuleConfig & _xyo_network_module_model.ModuleConfigFields & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: "network.xyo.witness.config"; | ||
}, "schema"> & { | ||
schema: string; | ||
}; | ||
ephemeralQueryAccountEnabled?: boolean; | ||
moduleIdentifierTransformers?: _xyo_network_module_model.ModuleIdentifierTransformer[]; | ||
}, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, { | ||
schema: string; | ||
} & _xyo_network_payload_model.PayloadFields, WitnessModuleEventData>) => R) => R | undefined; | ||
export { type AttachableWitnessInstance, type AttachableWitnessInstanceTypeCheck, type CustomWitnessInstance, type CustomWitnessModule, IsAttachableWitnessInstanceFactory, type ObserveEndEventArgs, type ObserveEndEventData, type ObserveStartEventArgs, type ObserveStartEventData, type WitnessConfig, WitnessConfigSchema, type WitnessInstance, type WitnessModule, type WitnessModuleEventData, type WitnessModuleQueries, type WitnessObserveQuery, WitnessObserveQuerySchema, type WitnessParams, type WitnessQueries, type WitnessQueryFunctions, asAttachableWitnessInstance, asWitnessInstance, asWitnessModule, isAttachableWitnessInstance, isWitnessInstance, isWitnessModule, requiredAttachableWitnessInstanceFunctions, withWitnessInstance, withWitnessModule }; |
@@ -15,41 +15,22 @@ { | ||
"@xylabs/promise": "^3.6.12", | ||
"@xyo-network/account-model": "^2.111.3", | ||
"@xyo-network/module-events": "^2.111.3", | ||
"@xyo-network/module-model": "^2.111.3", | ||
"@xyo-network/payload-model": "^2.111.3" | ||
"@xyo-network/account-model": "^3.0.0", | ||
"@xyo-network/module-events": "^3.0.0", | ||
"@xyo-network/module-model": "^3.0.0", | ||
"@xyo-network/payload-model": "^3.0.0" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^3.15.14", | ||
"@xylabs/tsconfig": "^3.15.14", | ||
"@xylabs/ts-scripts-yarn3": "next", | ||
"@xylabs/tsconfig": "next", | ||
"typescript": "^5.5.4" | ||
}, | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
"types": "dist/node/index.d.ts", | ||
"types": "dist/neutral/index.d.ts", | ||
"exports": { | ||
".": { | ||
"browser": { | ||
"require": { | ||
"types": "./dist/browser/index.d.cts", | ||
"default": "./dist/browser/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/browser/index.d.mts", | ||
"default": "./dist/browser/index.mjs" | ||
} | ||
}, | ||
"node": { | ||
"require": { | ||
"types": "./dist/node/index.d.cts", | ||
"default": "./dist/node/index.cjs" | ||
}, | ||
"import": { | ||
"types": "./dist/node/index.d.mts", | ||
"default": "./dist/node/index.mjs" | ||
} | ||
} | ||
"types": "./dist/neutral/index.d.ts", | ||
"default": "./dist/neutral/index.mjs" | ||
}, | ||
"./package.json": "./package.json" | ||
}, | ||
"main": "dist/node/index.cjs", | ||
"module": "dist/node/index.mjs", | ||
"module": "dist/neutral/index.mjs", | ||
"homepage": "https://xyo.network", | ||
@@ -65,4 +46,4 @@ "license": "LGPL-3.0-only", | ||
"sideEffects": false, | ||
"version": "2.111.3", | ||
"version": "3.0.0", | ||
"type": "module" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47976
27
567
1
+ Added@types/node@22.7.5(transitive)
+ Added@xylabs/arraybuffer@4.3.4(transitive)
+ Added@xylabs/assert@4.3.4(transitive)
+ Added@xylabs/delay@4.3.4(transitive)
+ Added@xylabs/error@4.3.4(transitive)
+ Added@xylabs/exists@4.3.4(transitive)
+ Added@xylabs/forget@4.3.4(transitive)
+ Added@xylabs/hex@4.3.4(transitive)
+ Added@xylabs/logger@4.3.4(transitive)
+ Added@xylabs/object@4.3.4(transitive)
+ Added@xylabs/promise@4.3.4(transitive)
+ Added@xylabs/retry@4.3.4(transitive)
+ Added@xylabs/timer@4.3.4(transitive)
+ Added@xylabs/typeof@4.3.4(transitive)
+ Added@xyo-network/account-model@3.3.3(transitive)
+ Added@xyo-network/boundwitness-model@3.3.3(transitive)
+ Added@xyo-network/data@3.3.3(transitive)
+ Added@xyo-network/key-model@3.3.3(transitive)
+ Added@xyo-network/manifest-model@3.3.3(transitive)
+ Added@xyo-network/module-events@3.3.3(transitive)
+ Added@xyo-network/module-model@3.3.3(transitive)
+ Added@xyo-network/payload-model@3.3.3(transitive)
+ Added@xyo-network/previous-hash-store-model@3.3.3(transitive)
+ Addedethers@6.13.4(transitive)
+ Addedtslib@2.7.0(transitive)
+ Addedundici-types@6.19.8(transitive)
- Removed@types/lodash@4.17.13(transitive)
- Removed@types/lodash-es@4.17.12(transitive)
- Removed@types/node@18.15.13(transitive)
- Removed@xylabs/arraybuffer@3.6.12(transitive)
- Removed@xylabs/delay@3.6.12(transitive)
- Removed@xylabs/exists@3.6.12(transitive)
- Removed@xylabs/forget@3.6.12(transitive)
- Removed@xylabs/hex@3.6.12(transitive)
- Removed@xylabs/lodash@3.6.12(transitive)
- Removed@xylabs/retry@3.6.12(transitive)
- Removed@xylabs/timer@3.6.12(transitive)
- Removed@xylabs/typeof@3.6.12(transitive)
- Removed@xyo-network/account-model@2.111.3(transitive)
- Removed@xyo-network/boundwitness-model@2.111.3(transitive)
- Removed@xyo-network/data@2.111.3(transitive)
- Removed@xyo-network/key-model@2.111.3(transitive)
- Removed@xyo-network/manifest-model@2.111.3(transitive)
- Removed@xyo-network/module-events@2.111.3(transitive)
- Removed@xyo-network/module-model@2.111.3(transitive)
- Removed@xyo-network/payload-model@2.111.3(transitive)
- Removed@xyo-network/previous-hash-store-model@2.111.3(transitive)
- Removedethers@6.13.2(transitive)
- Removedtslib@2.4.0(transitive)