Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xyo-network/module-model

Package Overview
Dependencies
Maintainers
5
Versions
707
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.11 to 3.0.12

6

dist/neutral/CreatableModule/CreatableModule.d.ts

@@ -7,3 +7,3 @@ import type { Address } from '@xylabs/hex';

export type CreatableModuleFactory<T extends AttachableModuleInstance | void = void> = Omit<CreatableModule<T extends AttachableModuleInstance ? T : AttachableModuleInstance>, 'new' | 'create'> & {
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params?: T['params']): Promise<T>;
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params: T['params']): Promise<T>;
};

@@ -16,4 +16,4 @@ export interface CreatableModule<T extends AttachableModuleInstance = AttachableModuleInstance> {

_noOverride(functionName: string): void;
create<T extends AttachableModuleInstance>(this: CreatableModule<T>, params?: T['params']): Promise<T>;
factory<T extends AttachableModuleInstance>(this: CreatableModule<T>, params?: T['params']): CreatableModuleFactory<T>;
create<T extends AttachableModuleInstance>(this: CreatableModule<T>, params: T['params']): Promise<T>;
factory<T extends AttachableModuleInstance>(this: CreatableModule<T>, params: T['params']): CreatableModuleFactory<T>;
}

@@ -20,0 +20,0 @@ export declare function creatableModule<TModule extends AttachableModuleInstance = AttachableModuleInstance>(): <U extends CreatableModule<TModule>>(constructor: U) => void;

{
"name": "@xyo-network/module-model",
"version": "3.0.11",
"version": "3.0.12",
"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.11",
"@xyo-network/boundwitness-model": "^3.0.11",
"@xyo-network/manifest-model": "^3.0.11",
"@xyo-network/module-events": "^3.0.11",
"@xyo-network/payload-model": "^3.0.11"
"@xyo-network/account-model": "^3.0.12",
"@xyo-network/boundwitness-model": "^3.0.12",
"@xyo-network/manifest-model": "^3.0.12",
"@xyo-network/module-events": "^3.0.12",
"@xyo-network/payload-model": "^3.0.12"
},

@@ -47,0 +47,0 @@ "devDependencies": {

@@ -12,3 +12,3 @@ import type { Address } from '@xylabs/hex'

> & {
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params?: T['params']): Promise<T>
create<T extends AttachableModuleInstance>(this: CreatableModuleFactory<T>, params: T['params']): Promise<T>
}

@@ -22,4 +22,4 @@

_noOverride(functionName: string): void
create<T extends AttachableModuleInstance>(this: CreatableModule<T>, params?: T['params']): Promise<T>
factory<T extends AttachableModuleInstance>(this: CreatableModule<T>, params?: T['params']): CreatableModuleFactory<T>
create<T extends AttachableModuleInstance>(this: CreatableModule<T>, params: T['params']): Promise<T>
factory<T extends AttachableModuleInstance>(this: CreatableModule<T>, params: T['params']): CreatableModuleFactory<T>
}

@@ -26,0 +26,0 @@

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