@xyo-network/manifest-model 5.3.22 → 5.3.24

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/manifest-model",
3
- "version": "5.3.22",
3
+ "version": "5.3.24",
4
4
  "description": "Primary SDK for using XYO Protocol 2.0",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,28 +30,24 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
33
- "src",
34
33
  "!**/*.bench.*",
35
34
  "!**/*.spec.*",
36
35
  "!**/*.test.*",
37
36
  "README.md"
38
37
  ],
39
38
  "dependencies": {
40
- "@xyo-network/payload-model": "~5.3.22"
39
+ "@xyo-network/payload-model": "~5.3.24"
41
40
  },
42
41
  "devDependencies": {
43
42
  "@opentelemetry/api": "^1.9.1",
44
43
  "@types/node": "^25.5.0",
45
- "@xylabs/sdk-js": "^5.0.91",
46
- "@xylabs/ts-scripts-common": "~7.6.8",
47
- "@xylabs/ts-scripts-yarn3": "~7.6.8",
48
- "@xylabs/tsconfig": "~7.6.8",
44
+ "@xylabs/sdk-js": "^5.0.93",
45
+ "@xylabs/ts-scripts-common": "~7.6.16",
46
+ "@xylabs/ts-scripts-pnpm": "~7.6.16",
47
+ "@xylabs/tsconfig": "~7.6.16",
49
48
  "acorn": "^8.16.0",
50
49
  "axios": "^1.14.0",
51
- "cosmiconfig": "^9.0.1",
52
- "esbuild": "^0.27.4",
53
- "eslint": "^10.1.0",
54
- "rollup": "^4.60.1",
50
+ "esbuild": "^0.28.0",
55
51
  "typescript": "~5.9.3",
56
52
  "zod": "^4.3.6"
57
53
  },
@@ -62,4 +58,4 @@
62
58
  "publishConfig": {
63
59
  "access": "public"
64
60
  }
65
- }
61
+ }
package/src/Manifest.ts DELETED
@@ -1,44 +0,0 @@
1
- import type { Address, Brand } from '@xylabs/sdk-js'
2
- import { isObject } from '@xylabs/sdk-js'
3
- import type { Schema } from '@xyo-network/payload-model'
4
-
5
- export type ModuleAlias = Brand<string, { __moduleAlias: true }>
6
-
7
- export interface Manifest {
8
- description?: string
9
- }
10
-
11
- export const isManifest = (value: unknown): value is Manifest => {
12
- return isObject(value)
13
- }
14
-
15
- export interface ConfigManifest {
16
- accountPath?: string
17
- features?: string[]
18
- labels?: Record<string, string | undefined>
19
- language?: string
20
- name: string
21
- os?: string
22
- schema: Schema
23
- }
24
-
25
- export interface NodeManifest extends ModuleManifest {
26
- modules?: {
27
- private?: (ModuleManifest | ModuleAlias)[]
28
- public?: (ModuleManifest | ModuleAlias)[]
29
- }
30
- }
31
-
32
- export interface ModuleManifest extends Manifest {
33
- config: ConfigManifest
34
- lazyStart?: boolean
35
- status?: {
36
- address: Address
37
- children?: Record<Address, string | null>
38
- }
39
- }
40
-
41
- export interface PackageManifest extends Manifest {
42
- modules?: Record<ModuleAlias, ModuleManifest>
43
- nodes: NodeManifest[]
44
- }
package/src/Payload.ts DELETED
@@ -1,28 +0,0 @@
1
- export const DappPackageManifestPayloadSchema = asSchema('network.xyo.manifest.package.dapp', true)
2
- export type DappPackageManifestPayloadSchema = typeof DappPackageManifestPayloadSchema
3
-
4
- export const PackageManifestPayloadSchema = asSchema('network.xyo.manifest.package', true)
5
- export type PackageManifestPayloadSchema = typeof PackageManifestPayloadSchema
6
-
7
- export const ModuleManifestPayloadSchema = asSchema('network.xyo.module.manifest', true)
8
- export type ModuleManifestPayloadSchema = typeof ModuleManifestPayloadSchema
9
-
10
- export const NodeManifestPayloadSchema = asSchema('network.xyo.node.manifest', true)
11
- export type NodeManifestPayloadSchema = typeof NodeManifestPayloadSchema
12
-
13
- import type { Payload } from '@xyo-network/payload-model'
14
- import { asSchema, isPayloadOfSchemaType } from '@xyo-network/payload-model'
15
-
16
- import type {
17
- ModuleManifest, NodeManifest, PackageManifest,
18
- } from './Manifest.ts'
19
-
20
- export interface NodeManifestPayload extends NodeManifest {
21
- schema: NodeManifestPayloadSchema
22
- }
23
-
24
- export type ModuleManifestPayload = Payload<ModuleManifest, ModuleManifestPayloadSchema | NodeManifestPayloadSchema>
25
-
26
- export type PackageManifestPayload = Payload<PackageManifest, PackageManifestPayloadSchema>
27
-
28
- export const isPackageManifestPayload = isPayloadOfSchemaType<PackageManifestPayload>(PackageManifestPayloadSchema)
package/src/index.ts DELETED
@@ -1,2 +0,0 @@
1
- export * from './Manifest.ts'
2
- export * from './Payload.ts'