@xyo-network/bowser-system-info-payload-plugin 5.2.4 → 5.3.2

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/bowser-system-info-payload-plugin",
3
- "version": "5.2.4",
3
+ "version": "5.3.2",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -35,19 +35,26 @@
35
35
  "!**/*.spec.*",
36
36
  "!**/*.test.*"
37
37
  ],
38
- "dependencies": {
39
- "@xyo-network/payload-model": "~5.2.14",
40
- "@xyo-network/payload-plugin": "~5.2.14",
41
- "bowser": "2.13.1"
42
- },
43
38
  "devDependencies": {
44
- "@xylabs/ts-scripts-yarn3": "~7.2.8",
45
- "@xylabs/tsconfig": "~7.2.8",
46
- "@xylabs/vitest-extended": "~5.0.49",
39
+ "@xylabs/sdk-js": "^5.0.90",
40
+ "@xylabs/ts-scripts-yarn3": "~7.5.10",
41
+ "@xylabs/tsconfig": "~7.5.10",
42
+ "@xylabs/vitest-extended": "~5.0.90",
43
+ "@xyo-network/payload-model": "~5.3.5",
44
+ "@xyo-network/payload-plugin": "~5.3.5",
45
+ "ajv": "^8.18.0",
46
+ "bowser": "~2.14.1",
47
47
  "typescript": "~5.9.3",
48
- "vitest": "~4.0.15"
48
+ "vitest": "~4.1.2",
49
+ "zod": "^4.3.6"
50
+ },
51
+ "peerDependencies": {
52
+ "@xylabs/sdk-js": "^5",
53
+ "ajv": "^8",
54
+ "bowser": "^2",
55
+ "zod": "^4"
49
56
  },
50
57
  "publishConfig": {
51
58
  "access": "public"
52
59
  }
53
- }
60
+ }
package/src/Schema.ts CHANGED
@@ -1,2 +1,4 @@
1
- export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser'
2
- export const BowserSystemInfoSchema: BowserSystemInfoSchema = 'network.xyo.system.info.bowser'
1
+ import { asSchema } from '@xyo-network/payload-model'
2
+
3
+ export type BowserSystemInfoSchema = typeof BowserSystemInfoSchema
4
+ export const BowserSystemInfoSchema = asSchema('network.xyo.system.info.bowser', true)
@@ -1,8 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model';
2
- import type { Parser } from 'bowser';
3
- import type { BowserSystemInfoSchema } from './Schema.ts';
4
- export type BowserSystemInfoPayload = Payload<{
5
- bowser?: Parser.ParsedResult;
6
- schema: BowserSystemInfoSchema;
7
- }>;
8
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACzD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AAEpC,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAEzD,MAAM,MAAM,uBAAuB,GAAG,OAAO,CAAC;IAC5C,MAAM,CAAC,EAAE,MAAM,CAAC,YAAY,CAAA;IAC5B,MAAM,EAAE,sBAAsB,CAAA;CAC/B,CAAC,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { BowserSystemInfoPayload } from './Payload.ts';
2
- export declare const BowserSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<BowserSystemInfoPayload>;
3
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAI3D,eAAO,MAAM,6BAA6B,oFAItC,CAAA"}
@@ -1,3 +0,0 @@
1
- export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser';
2
- export declare const BowserSystemInfoSchema: BowserSystemInfoSchema;
3
- //# sourceMappingURL=Schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,sBAAsB,GAAG,gCAAgC,CAAA;AACrE,eAAO,MAAM,sBAAsB,EAAE,sBAAyD,CAAA"}
@@ -1,3 +0,0 @@
1
- import type { BowserSystemInfoPayload } from './Payload.ts';
2
- export declare const bowserSystemInfoPayloadTemplate: () => BowserSystemInfoPayload;
3
- //# sourceMappingURL=Template.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Template.d.ts","sourceRoot":"","sources":["../../src/Template.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,cAAc,CAAA;AAG3D,eAAO,MAAM,+BAA+B,QAAO,uBAA+D,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './Payload.ts';
2
- export { BowserSystemInfoPayloadPlugin, BowserSystemInfoPayloadPlugin as default } from './Plugin.ts';
3
- export * from './Schema.ts';
4
- export * from './Template.ts';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA;AAC5B,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACrG,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -1,21 +0,0 @@
1
- // src/Plugin.ts
2
- import { createPayloadPlugin } from "@xyo-network/payload-plugin";
3
-
4
- // src/Schema.ts
5
- var BowserSystemInfoSchema = "network.xyo.system.info.bowser";
6
-
7
- // src/Template.ts
8
- var bowserSystemInfoPayloadTemplate = () => ({ schema: BowserSystemInfoSchema });
9
-
10
- // src/Plugin.ts
11
- var BowserSystemInfoPayloadPlugin = () => createPayloadPlugin({
12
- schema: BowserSystemInfoSchema,
13
- template: bowserSystemInfoPayloadTemplate
14
- });
15
- export {
16
- BowserSystemInfoPayloadPlugin,
17
- BowserSystemInfoSchema,
18
- bowserSystemInfoPayloadTemplate,
19
- BowserSystemInfoPayloadPlugin as default
20
- };
21
- //# sourceMappingURL=index.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\nimport { bowserSystemInfoPayloadTemplate } from './Template.ts'\n\nexport const BowserSystemInfoPayloadPlugin = () =>\n createPayloadPlugin<BowserSystemInfoPayload>({\n schema: BowserSystemInfoSchema,\n template: bowserSystemInfoPayloadTemplate,\n })\n","export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser'\nexport const BowserSystemInfoSchema: BowserSystemInfoSchema = 'network.xyo.system.info.bowser'\n","import type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,yBAAiD;;;ACEvD,IAAM,kCAAkC,OAAgC,EAAE,QAAQ,uBAAuB;;;AFGzG,IAAM,gCAAgC,MAC3C,oBAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}