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

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.
@@ -0,0 +1,8 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,3 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
1
+ export type BowserSystemInfoSchema = typeof BowserSystemInfoSchema;
2
+ export declare const BowserSystemInfoSchema: "network.xyo.system.info.bowser" & {
3
+ readonly __schema: true;
4
+ };
5
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Schema.d.ts","sourceRoot":"","sources":["../../src/Schema.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAClE,eAAO,MAAM,sBAAsB;;CAAmD,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { BowserSystemInfoPayload } from './Payload.ts';
2
+ export declare const bowserSystemInfoPayloadTemplate: () => BowserSystemInfoPayload;
3
+ //# sourceMappingURL=Template.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,5 @@
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
@@ -0,0 +1 @@
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"}
@@ -0,0 +1,22 @@
1
+ // src/Plugin.ts
2
+ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
3
+
4
+ // src/Schema.ts
5
+ import { asSchema } from "@xyo-network/payload-model";
6
+ var BowserSystemInfoSchema = asSchema("network.xyo.system.info.bowser", true);
7
+
8
+ // src/Template.ts
9
+ var bowserSystemInfoPayloadTemplate = () => ({ schema: BowserSystemInfoSchema });
10
+
11
+ // src/Plugin.ts
12
+ var BowserSystemInfoPayloadPlugin = () => createPayloadPlugin({
13
+ schema: BowserSystemInfoSchema,
14
+ template: bowserSystemInfoPayloadTemplate
15
+ });
16
+ export {
17
+ BowserSystemInfoPayloadPlugin,
18
+ BowserSystemInfoSchema,
19
+ bowserSystemInfoPayloadTemplate,
20
+ BowserSystemInfoPayloadPlugin as default
21
+ };
22
+ //# sourceMappingURL=index.mjs.map
@@ -0,0 +1 @@
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","import { asSchema } from '@xyo-network/payload-model'\n\nexport type BowserSystemInfoSchema = typeof BowserSystemInfoSchema\nexport const BowserSystemInfoSchema = asSchema('network.xyo.system.info.bowser', true)\n","import type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACApC,SAAS,gBAAgB;AAGlB,IAAM,yBAAyB,SAAS,kCAAkC,IAAI;;;ACA9E,IAAM,kCAAkC,OAAgC,EAAE,QAAQ,uBAAuB;;;AFGzG,IAAM,gCAAgC,MAC3C,oBAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bowser-system-info-payload-plugin",
3
- "version": "5.3.2",
3
+ "version": "5.3.4",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,13 +30,11 @@
30
30
  "types": "dist/neutral/index.d.ts",
31
31
  "files": [
32
32
  "dist",
33
- "src",
34
- "!**/*.bench.*",
35
- "!**/*.spec.*",
36
- "!**/*.test.*"
33
+ "README.md"
37
34
  ],
38
35
  "devDependencies": {
39
36
  "@xylabs/sdk-js": "^5.0.90",
37
+ "@xylabs/ts-scripts-common": "~7.5.10",
40
38
  "@xylabs/ts-scripts-yarn3": "~7.5.10",
41
39
  "@xylabs/tsconfig": "~7.5.10",
42
40
  "@xylabs/vitest-extended": "~5.0.90",
@@ -50,6 +48,9 @@
50
48
  },
51
49
  "peerDependencies": {
52
50
  "@xylabs/sdk-js": "^5",
51
+ "@xylabs/vitest-extended": "^5",
52
+ "@xyo-network/payload-model": "^5",
53
+ "@xyo-network/payload-plugin": "^5",
53
54
  "ajv": "^8",
54
55
  "bowser": "^2",
55
56
  "zod": "^4"
package/src/Payload.ts DELETED
@@ -1,9 +0,0 @@
1
- import type { Payload } from '@xyo-network/payload-model'
2
- import type { Parser } from 'bowser'
3
-
4
- import type { BowserSystemInfoSchema } from './Schema.ts'
5
-
6
- export type BowserSystemInfoPayload = Payload<{
7
- bowser?: Parser.ParsedResult
8
- schema: BowserSystemInfoSchema
9
- }>
package/src/Plugin.ts DELETED
@@ -1,11 +0,0 @@
1
- import { createPayloadPlugin } from '@xyo-network/payload-plugin'
2
-
3
- import type { BowserSystemInfoPayload } from './Payload.ts'
4
- import { BowserSystemInfoSchema } from './Schema.ts'
5
- import { bowserSystemInfoPayloadTemplate } from './Template.ts'
6
-
7
- export const BowserSystemInfoPayloadPlugin = () =>
8
- createPayloadPlugin<BowserSystemInfoPayload>({
9
- schema: BowserSystemInfoSchema,
10
- template: bowserSystemInfoPayloadTemplate,
11
- })
package/src/Schema.ts DELETED
@@ -1,4 +0,0 @@
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)
package/src/Template.ts DELETED
@@ -1,4 +0,0 @@
1
- import type { BowserSystemInfoPayload } from './Payload.ts'
2
- import { BowserSystemInfoSchema } from './Schema.ts'
3
-
4
- export const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })
package/src/index.ts DELETED
@@ -1,4 +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'