@xyo-network/module-instance-payload-plugin 4.1.1 → 4.2.0

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.
@@ -1,21 +1,5 @@
1
- import { Payload } from '@xyo-network/payload-model';
2
- import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
3
-
4
- type AbstractModuleInstanceSchema = 'network.xyo.module.instance';
5
- declare const AbstractModuleInstanceSchema: AbstractModuleInstanceSchema;
6
-
7
- interface AbstractModuleInstanceQueryConfig {
8
- cost?: string;
9
- }
10
- type AbstractModuleInstancePayload = Payload<{
11
- address: string;
12
- queries?: Record<string, AbstractModuleInstanceQueryConfig>;
13
- schema: AbstractModuleInstanceSchema;
14
- }>;
15
-
16
- declare const ModuleInstancePayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<AbstractModuleInstancePayload>;
17
-
18
- declare const moduleInstancePayloadTemplate: () => Partial<AbstractModuleInstancePayload>;
19
-
20
- export { AbstractModuleInstanceSchema, ModuleInstancePayloadPlugin, ModuleInstancePayloadPlugin as default, moduleInstancePayloadTemplate };
21
- export type { AbstractModuleInstancePayload, AbstractModuleInstanceQueryConfig };
1
+ export * from './Payload.ts';
2
+ export { ModuleInstancePayloadPlugin as default, ModuleInstancePayloadPlugin } from './Plugin.ts';
3
+ export * from './Schema.ts';
4
+ export * from './Template.ts';
5
+ //# sourceMappingURL=index.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/module-instance-payload-plugin",
3
- "version": "4.1.1",
3
+ "version": "4.2.0",
4
4
  "description": "Contains the information about a module instance",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -29,14 +29,13 @@
29
29
  "module": "dist/neutral/index.mjs",
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/payload-model": "^4.1.7",
33
- "@xyo-network/payload-plugin": "^4.1.7"
32
+ "@xyo-network/payload-model": "^4.3.0",
33
+ "@xyo-network/payload-plugin": "^4.3.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
37
- "@xylabs/tsconfig": "^7.0.0-rc.24",
38
- "@xylabs/vitest-extended": "^4.13.23",
39
- "knip": "^5.62.0",
36
+ "@xylabs/ts-scripts-yarn3": "^7.0.1",
37
+ "@xylabs/tsconfig": "^7.0.1",
38
+ "@xylabs/vitest-extended": "^4.15.1",
40
39
  "typescript": "^5.8.3",
41
40
  "vitest": "^3.2.4"
42
41
  },