@xyo-network/witness-model
Advanced tools
Comparing version 3.0.2 to 3.0.3
@@ -10,15 +10,15 @@ { | ||
"email": "support@xyo.network", | ||
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues" | ||
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues" | ||
}, | ||
"dependencies": { | ||
"@xylabs/object": "^4.0.0", | ||
"@xylabs/promise": "^4.0.0", | ||
"@xyo-network/account-model": "^3.0.2", | ||
"@xyo-network/module-events": "^3.0.2", | ||
"@xyo-network/module-model": "^3.0.2", | ||
"@xyo-network/payload-model": "^3.0.2" | ||
"@xylabs/object": "^4.0.2", | ||
"@xylabs/promise": "^4.0.2", | ||
"@xyo-network/account-model": "^3.0.3", | ||
"@xyo-network/module-events": "^3.0.3", | ||
"@xyo-network/module-model": "^3.0.3", | ||
"@xyo-network/payload-model": "^3.0.3" | ||
}, | ||
"devDependencies": { | ||
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.15", | ||
"@xylabs/tsconfig": "^4.0.0-rc.15", | ||
"@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20", | ||
"@xylabs/tsconfig": "^4.0.0-rc.20", | ||
"typescript": "^5.5.4" | ||
@@ -43,7 +43,7 @@ }, | ||
"type": "git", | ||
"url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git" | ||
"url": "git+https://github.com/XYOracleNetwork/sdk-xyo-client-js.git" | ||
}, | ||
"sideEffects": false, | ||
"version": "3.0.2", | ||
"version": "3.0.3", | ||
"type": "module" | ||
} |
@@ -1,8 +0,9 @@ | ||
import { IsObjectFactory, TypeCheck } from '@xylabs/object' | ||
import { AttachableModuleInstance } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { TypeCheck } from '@xylabs/object' | ||
import { IsObjectFactory } from '@xylabs/object' | ||
import type { AttachableModuleInstance } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
import { WitnessModuleEventData } from '../EventData.ts' | ||
import { WitnessInstance } from '../Instance.ts' | ||
import { WitnessParams } from '../Params.ts' | ||
import type { WitnessModuleEventData } from '../EventData.ts' | ||
import type { WitnessInstance } from '../Instance.ts' | ||
import type { WitnessParams } from '../Params.ts' | ||
@@ -9,0 +10,0 @@ export interface AttachableWitnessInstance< |
@@ -1,6 +0,7 @@ | ||
import { IsObjectFactory, ObjectTypeShape, TypeCheck } from '@xylabs/object' | ||
import type { ObjectTypeShape, TypeCheck } from '@xylabs/object' | ||
import { IsObjectFactory } from '@xylabs/object' | ||
import { isAttachableModuleInstance } from '@xyo-network/module-model' | ||
import { isWitnessInstance } from '../typeChecks.ts' | ||
import { AttachableWitnessInstance } from './AttachableInstance.ts' | ||
import type { AttachableWitnessInstance } from './AttachableInstance.ts' | ||
@@ -7,0 +8,0 @@ export const requiredAttachableWitnessInstanceFunctions: ObjectTypeShape = {} |
@@ -1,4 +0,4 @@ | ||
import { EmptyObject, WithAdditional } from '@xylabs/object' | ||
import { ModuleConfig } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { EmptyObject, WithAdditional } from '@xylabs/object' | ||
import type { ModuleConfig } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
@@ -5,0 +5,0 @@ export const WitnessConfigSchema = 'network.xyo.witness.config' as const |
@@ -1,9 +0,9 @@ | ||
import { ModuleInstance } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { ModuleInstance } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
import { CustomWitnessModule } from './CustomModule.ts' | ||
import { WitnessModuleEventData } from './EventData.ts' | ||
import { WitnessInstance } from './Instance.ts' | ||
import { WitnessParams } from './Params.ts' | ||
import { WitnessQueryFunctions } from './QueryFunctions.ts' | ||
import type { CustomWitnessModule } from './CustomModule.ts' | ||
import type { WitnessModuleEventData } from './EventData.ts' | ||
import type { WitnessInstance } from './Instance.ts' | ||
import type { WitnessParams } from './Params.ts' | ||
import type { WitnessQueryFunctions } from './QueryFunctions.ts' | ||
@@ -10,0 +10,0 @@ export type CustomWitnessInstance< |
@@ -1,7 +0,7 @@ | ||
import { Module } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { Module } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
import { WitnessModuleEventData } from './EventData.ts' | ||
import { WitnessInstance } from './Instance.ts' | ||
import { WitnessParams } from './Params.ts' | ||
import type { WitnessModuleEventData } from './EventData.ts' | ||
import type { WitnessInstance } from './Instance.ts' | ||
import type { WitnessParams } from './Params.ts' | ||
@@ -8,0 +8,0 @@ export type CustomWitnessModule< |
@@ -1,5 +0,5 @@ | ||
import { ModuleEventData, ModuleInstance } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { ModuleEventData, ModuleInstance } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
import { ObserveEndEventData, ObserveStartEventData } from './EventsModels/index.ts' | ||
import type { ObserveEndEventData, ObserveStartEventData } from './EventsModels/index.ts' | ||
@@ -6,0 +6,0 @@ export type WitnessModuleEventData< |
@@ -1,4 +0,4 @@ | ||
import { EventData } from '@xyo-network/module-events' | ||
import { ModuleEventArgs, ModuleInstance } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { EventData } from '@xyo-network/module-events' | ||
import type { ModuleEventArgs, ModuleInstance } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
@@ -5,0 +5,0 @@ export type ObserveEndEventArgs< |
@@ -1,4 +0,4 @@ | ||
import { EventData } from '@xyo-network/module-events' | ||
import { ModuleEventArgs, ModuleInstance } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { EventData } from '@xyo-network/module-events' | ||
import type { ModuleEventArgs, ModuleInstance } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
@@ -5,0 +5,0 @@ export type ObserveStartEventArgs<T extends ModuleInstance = ModuleInstance, TIn extends Payload = Payload> = ModuleEventArgs< |
@@ -1,8 +0,8 @@ | ||
import { ModuleInstance } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { ModuleInstance } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
import { WitnessModuleEventData } from './EventData.ts' | ||
import { WitnessModule } from './Module.ts' | ||
import { WitnessParams } from './Params.ts' | ||
import { WitnessQueryFunctions } from './QueryFunctions.ts' | ||
import type { WitnessModuleEventData } from './EventData.ts' | ||
import type { WitnessModule } from './Module.ts' | ||
import type { WitnessParams } from './Params.ts' | ||
import type { WitnessQueryFunctions } from './QueryFunctions.ts' | ||
@@ -9,0 +9,0 @@ export interface WitnessInstance< |
@@ -1,7 +0,7 @@ | ||
import { Module } from '@xyo-network/module-model' | ||
import type { Module } from '@xyo-network/module-model' | ||
import { WitnessModuleEventData } from './EventData.ts' | ||
import { WitnessParams } from './Params.ts' | ||
import type { WitnessModuleEventData } from './EventData.ts' | ||
import type { WitnessParams } from './Params.ts' | ||
export interface WitnessModule<TParams extends WitnessParams = WitnessParams, TEvents extends WitnessModuleEventData = WitnessModuleEventData> | ||
extends Module<TParams, TEvents> {} |
@@ -1,5 +0,5 @@ | ||
import { EmptyObject } from '@xylabs/object' | ||
import { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model' | ||
import type { EmptyObject } from '@xylabs/object' | ||
import type { AnyConfigSchema, ModuleParams } from '@xyo-network/module-model' | ||
import { WitnessConfig } from './Config.ts' | ||
import type { WitnessConfig } from './Config.ts' | ||
@@ -6,0 +6,0 @@ export type WitnessParams< |
@@ -1,4 +0,4 @@ | ||
import { ModuleQueries } from '@xyo-network/module-model' | ||
import type { ModuleQueries } from '@xyo-network/module-model' | ||
import { WitnessObserveQuery } from './Observe.ts' | ||
import type { WitnessObserveQuery } from './Observe.ts' | ||
@@ -5,0 +5,0 @@ export * from './Observe.ts' |
@@ -1,2 +0,2 @@ | ||
import { Query } from '@xyo-network/payload-model' | ||
import type { Query } from '@xyo-network/payload-model' | ||
@@ -3,0 +3,0 @@ export type WitnessObserveQuerySchema = 'network.xyo.query.witness.observe' |
@@ -1,5 +0,5 @@ | ||
import { Promisable } from '@xylabs/promise' | ||
import { AccountInstance } from '@xyo-network/account-model' | ||
import { ModuleQueryResult } from '@xyo-network/module-model' | ||
import { Payload } from '@xyo-network/payload-model' | ||
import type { Promisable } from '@xylabs/promise' | ||
import type { AccountInstance } from '@xyo-network/account-model' | ||
import type { ModuleQueryResult } from '@xyo-network/module-model' | ||
import type { Payload } from '@xyo-network/payload-model' | ||
@@ -6,0 +6,0 @@ export interface WitnessQueryFunctions<TIn extends Payload = Payload, TOut extends Payload = Payload> { |
import { AsObjectFactory } from '@xylabs/object' | ||
import { IsInstanceFactory, IsModuleFactory, isModuleInstance, WithFactory } from '@xyo-network/module-model' | ||
import { WitnessInstance } from './Instance.ts' | ||
import { WitnessModule } from './Module.ts' | ||
import type { WitnessInstance } from './Instance.ts' | ||
import type { WitnessModule } from './Module.ts' | ||
import { WitnessObserveQuerySchema } from './Queries/index.ts' | ||
@@ -7,0 +7,0 @@ |
@@ -1,2 +0,2 @@ | ||
import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3' | ||
import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3' | ||
const config: XyTsupConfig = { | ||
@@ -3,0 +3,0 @@ compile: { |
Sorry, the diff of this file is not supported yet
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
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
48468
569
374