@xyo-network/module-instance-plugin 2.43.8 → 2.43.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,13 +2,13 @@ import { ModuleParams } from '@xyo-network/module';
2
2
  import { PayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin';
3
3
  export declare const AbstractModuleInstancePlugin: () => PayloadSetWitnessPlugin<ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
4
4
  security?: {
5
- allowed?: Record<string, string[][]> | undefined;
5
+ allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
6
6
  disallowed?: Record<string, string[]> | undefined;
7
7
  } | undefined;
8
8
  } & {
9
9
  module?: import("@xyo-network/module").AbstractModule<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
10
10
  security?: {
11
- allowed?: Record<string, string[][]> | undefined;
11
+ allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
12
12
  disallowed?: Record<string, string[]> | undefined;
13
13
  } | undefined;
14
14
  } & {
File without changes
@@ -11,7 +11,7 @@ export declare class AbstractModuleInstanceWitness extends AbstractWitness<Abstr
11
11
  static configSchema: "network.xyo.module.instance.config";
12
12
  protected get module(): AbstractModule<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
13
13
  security?: {
14
- allowed?: Record<string, string[][]> | undefined;
14
+ allowed?: Record<string, (string | import("@xyo-network/module").CosigningAddressSet)[]> | undefined;
15
15
  disallowed?: Record<string, string[]> | undefined;
16
16
  } | undefined;
17
17
  } & {
File without changes
File without changes
File without changes
package/package.json CHANGED
@@ -10,15 +10,15 @@
10
10
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js/issues"
11
11
  },
12
12
  "dependencies": {
13
- "@xyo-network/module": "^2.43.8",
14
- "@xyo-network/module-instance-payload-plugin": "^2.43.8",
15
- "@xyo-network/payload-model": "^2.43.8",
16
- "@xyo-network/payloadset-plugin": "^2.43.8",
17
- "@xyo-network/witness": "^2.43.8",
13
+ "@xyo-network/module": "^2.43.10",
14
+ "@xyo-network/module-instance-payload-plugin": "^2.43.10",
15
+ "@xyo-network/payload-model": "^2.43.10",
16
+ "@xyo-network/payloadset-plugin": "^2.43.10",
17
+ "@xyo-network/witness": "^2.43.10",
18
18
  "lodash": "^4.17.21"
19
19
  },
20
20
  "devDependencies": {
21
- "@xylabs/ts-scripts-yarn3": "^2.12.3"
21
+ "@xylabs/ts-scripts-yarn3": "^2.12.23"
22
22
  },
23
23
  "description": "Contains the information about a module instance",
24
24
  "browser": "dist/esm/index.js",
@@ -52,6 +52,6 @@
52
52
  "url": "https://github.com/XYOracleNetwork/sdk-xyo-client-js.git"
53
53
  },
54
54
  "sideEffects": false,
55
- "types": "dist/esm/index.d.ts",
56
- "version": "2.43.8"
55
+ "types": "dist/types/index.d.ts",
56
+ "version": "2.43.10"
57
57
  }
@@ -1,23 +0,0 @@
1
- import { ModuleParams } from '@xyo-network/module';
2
- import { PayloadSetWitnessPlugin } from '@xyo-network/payloadset-plugin';
3
- export declare const AbstractModuleInstancePlugin: () => PayloadSetWitnessPlugin<ModuleParams<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
4
- security?: {
5
- allowed?: Record<string, string[][]> | undefined;
6
- disallowed?: Record<string, string[]> | undefined;
7
- } | undefined;
8
- } & {
9
- module?: import("@xyo-network/module").AbstractModule<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
10
- security?: {
11
- allowed?: Record<string, string[][]> | undefined;
12
- disallowed?: Record<string, string[]> | undefined;
13
- } | undefined;
14
- } & {
15
- schema: string;
16
- }> | undefined;
17
- schema: "network.xyo.module.instance.config";
18
- } & {
19
- targetSet?: (import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & import("@xyo-network/payload-model").PayloadSet & {
20
- schema: "network.xyo.payload.set";
21
- }) | undefined;
22
- }>>;
23
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAGlD,OAAO,EAA0B,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AAIhG,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;GAStC,CAAA"}
@@ -1,23 +0,0 @@
1
- import { AbstractModule, ModuleParams } from '@xyo-network/module';
2
- import { XyoPayload } from '@xyo-network/payload-model';
3
- import { AbstractWitness, XyoWitnessConfig } from '@xyo-network/witness';
4
- export type AbstractModuleInstanceWitnessConfigSchema = 'network.xyo.module.instance.config';
5
- export declare const AbstractModuleInstanceWitnessConfigSchema: AbstractModuleInstanceWitnessConfigSchema;
6
- export type AbstractModuleInstanceWitnessConfig = XyoWitnessConfig<{
7
- module?: AbstractModule;
8
- schema: AbstractModuleInstanceWitnessConfigSchema;
9
- }>;
10
- export declare class AbstractModuleInstanceWitness extends AbstractWitness<AbstractModuleInstanceWitnessConfig> {
11
- static configSchema: "network.xyo.module.instance.config";
12
- protected get module(): AbstractModule<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
13
- security?: {
14
- allowed?: Record<string, string[][]> | undefined;
15
- disallowed?: Record<string, string[]> | undefined;
16
- } | undefined;
17
- } & {
18
- schema: string;
19
- }> | undefined;
20
- static create(params?: ModuleParams<AbstractModuleInstanceWitnessConfig>): Promise<AbstractModuleInstanceWitness>;
21
- observe(payloads?: Partial<XyoPayload>[]): Promise<XyoPayload[]>;
22
- }
23
- //# sourceMappingURL=Witness.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Witness.d.ts","sourceRoot":"","sources":["../../src/Witness.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AAElE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAA;AACvD,OAAO,EAAE,eAAe,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAGxE,MAAM,MAAM,yCAAyC,GAAG,oCAAoC,CAAA;AAC5F,eAAO,MAAM,yCAAyC,EAAE,yCAAgF,CAAA;AAExI,MAAM,MAAM,mCAAmC,GAAG,gBAAgB,CAAC;IACjE,MAAM,CAAC,EAAE,cAAc,CAAA;IACvB,MAAM,EAAE,yCAAyC,CAAA;CAClD,CAAC,CAAA;AAEF,qBAAa,6BAA8B,SAAQ,eAAe,CAAC,mCAAmC,CAAC;IACrG,OAAgB,YAAY,uCAA4C;IAExE,SAAS,KAAK,MAAM;;;;;;;mBAEnB;WAEqB,MAAM,CAAC,MAAM,CAAC,EAAE,YAAY,CAAC,mCAAmC,CAAC,GAAG,OAAO,CAAC,6BAA6B,CAAC;IAIjH,OAAO,CAAC,QAAQ,CAAC,EAAE,OAAO,CAAC,UAAU,CAAC,EAAE,GAAG,OAAO,CAAC,UAAU,EAAE,CAAC;CAGhF"}
@@ -1,5 +0,0 @@
1
- import { AbstractModuleInstancePlugin } from './Plugin';
2
- export * from './Witness';
3
- export { AbstractModuleInstancePlugin };
4
- export default AbstractModuleInstancePlugin;
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAEvD,cAAc,WAAW,CAAA;AAEzB,OAAO,EAAE,4BAA4B,EAAE,CAAA;AAGvC,eAAe,4BAA4B,CAAA"}