Socket
Socket
Sign inDemoInstall

@xyo-network/module-model

Package Overview
Dependencies
Maintainers
0
Versions
699
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xyo-network/module-model - npm Package Compare versions

Comparing version 3.0.14 to 3.0.15

2

dist/neutral/CreatableModule/ModuleFactory.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc