@xyo-network/module-model
Advanced tools
Comparing version 3.0.14 to 3.0.15
@@ -23,5 +23,5 @@ import type { Logger } from '@xylabs/logger'; | ||
_noOverride(functionName: string): void; | ||
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params: TModule['params'] | undefined): Promise<T>; | ||
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params: TModule['params']): Promise<T>; | ||
factory<T extends AttachableModuleInstance>(this: CreatableModule<T>, _params?: T['params'] | undefined): CreatableModuleFactory<T>; | ||
} | ||
//# sourceMappingURL=ModuleFactory.d.ts.map |
{ | ||
"name": "@xyo-network/module-model", | ||
"version": "3.0.14", | ||
"version": "3.0.15", | ||
"description": "Primary SDK for using XYO Protocol 2.0", | ||
@@ -40,7 +40,7 @@ "homepage": "https://xyo.network", | ||
"@xylabs/retry": "^4.0.5", | ||
"@xyo-network/account-model": "^3.0.14", | ||
"@xyo-network/boundwitness-model": "^3.0.14", | ||
"@xyo-network/manifest-model": "^3.0.14", | ||
"@xyo-network/module-events": "^3.0.14", | ||
"@xyo-network/payload-model": "^3.0.14" | ||
"@xyo-network/account-model": "^3.0.15", | ||
"@xyo-network/boundwitness-model": "^3.0.15", | ||
"@xyo-network/manifest-model": "^3.0.15", | ||
"@xyo-network/module-events": "^3.0.15", | ||
"@xyo-network/payload-model": "^3.0.15" | ||
}, | ||
@@ -47,0 +47,0 @@ "devDependencies": { |
@@ -61,3 +61,3 @@ import { assertEx } from '@xylabs/assert' | ||
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params: TModule['params'] | undefined): Promise<T> { | ||
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params: TModule['params']): Promise<T> { | ||
const factory = this as ModuleFactory<T> | ||
@@ -69,3 +69,3 @@ const schema = factory.creatableModule.defaultConfigSchema | ||
params, | ||
{ config: merge({}, factory.defaultParams?.config, params?.config, { schema }) }, | ||
{ config: merge({}, factory.defaultParams?.config, params.config, { schema }) }, | ||
) | ||
@@ -72,0 +72,0 @@ return factory.creatableModule.create<T>(mergedParams) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
303848