@xyo-network/bowser-system-info-payload-plugin 3.0.3 → 3.0.5

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,6 @@
1
+ import { BowserSystemInfoSchema } from './Schema.ts';
2
+ export declare const BowserSystemInfoPayloadPlugin: () => import("@xyo-network/payload-plugin").PayloadPlugin<import("@xyo-network/payload-model").SchemaFields & import("@xyo-network/payload-model").PayloadFields & {
3
+ bowser?: import("bowser").Parser.ParsedResult;
4
+ schema: BowserSystemInfoSchema;
5
+ }>;
6
+ //# sourceMappingURL=Plugin.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AAGpD,eAAO,MAAM,6BAA6B;;;EAItC,CAAA"}
@@ -0,0 +1,3 @@
1
+ export type BowserSystemInfoSchema = 'network.xyo.system.info.bowser';
2
+ export declare const BowserSystemInfoSchema: BowserSystemInfoSchema;
3
+ //# sourceMappingURL=Schema.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -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"}
@@ -1,22 +1,5 @@
1
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
2
- import { Payload } from '@xyo-network/payload-model';
3
- import * as bowser from 'bowser';
4
- import { Parser } from 'bowser';
5
- import * as _xyo_network_payload_plugin from '@xyo-network/payload-plugin';
6
-
7
- type BowserSystemInfoSchema = 'network.xyo.system.info.bowser';
8
- declare const BowserSystemInfoSchema: BowserSystemInfoSchema;
9
-
10
- type BowserSystemInfoPayload = Payload<{
11
- bowser?: Parser.ParsedResult;
12
- schema: BowserSystemInfoSchema;
13
- }>;
14
-
15
- declare const BowserSystemInfoPayloadPlugin: () => _xyo_network_payload_plugin.PayloadPlugin<_xyo_network_payload_model.SchemaFields & _xyo_network_payload_model.PayloadFields & {
16
- bowser?: bowser.Parser.ParsedResult;
17
- schema: BowserSystemInfoSchema;
18
- }>;
19
-
20
- declare const bowserSystemInfoPayloadTemplate: () => BowserSystemInfoPayload;
21
-
22
- export { type BowserSystemInfoPayload, BowserSystemInfoPayloadPlugin, BowserSystemInfoSchema, bowserSystemInfoPayloadTemplate, BowserSystemInfoPayloadPlugin as default };
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;AAE5B,OAAO,EAAE,6BAA6B,EAAE,6BAA6B,IAAI,OAAO,EAAE,MAAM,aAAa,CAAA;AACrG,cAAc,aAAa,CAAA;AAC3B,cAAc,eAAe,CAAA"}
@@ -5,9 +5,7 @@ import { createPayloadPlugin } from "@xyo-network/payload-plugin";
5
5
  var BowserSystemInfoSchema = "network.xyo.system.info.bowser";
6
6
 
7
7
  // src/Template.ts
8
- var bowserSystemInfoPayloadTemplate = () => ({
9
- schema: BowserSystemInfoSchema
10
- });
8
+ var bowserSystemInfoPayloadTemplate = () => ({ schema: BowserSystemInfoSchema });
11
9
 
12
10
  // src/Plugin.ts
13
11
  var BowserSystemInfoPayloadPlugin = () => createPayloadPlugin({
@@ -1 +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","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 => ({\n schema: BowserSystemInfoSchema,\n})\n"],"mappings":";AAAA,SAAS,2BAA2B;;;ACC7B,IAAM,yBAAiD;;;ACEvD,IAAM,kCAAkC,OAAgC;AAAA,EAC7E,QAAQ;AACV;;;AFCO,IAAM,gCAAgC,MAC3C,oBAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
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":[]}
package/package.json CHANGED
@@ -1,25 +1,24 @@
1
1
  {
2
2
  "name": "@xyo-network/bowser-system-info-payload-plugin",
3
- "author": {
4
- "email": "support@xyo.network",
5
- "name": "XYO Development Team",
6
- "url": "https://xyo.network"
7
- },
3
+ "version": "3.0.5",
4
+ "description": "Typescript/Javascript Plugins for XYO Platform",
5
+ "homepage": "https://xyo.network",
8
6
  "bugs": {
9
- "email": "support@xyo.network",
10
- "url": "git+https://github.com/XYOracleNetwork/plugins/issues"
7
+ "url": "git+https://github.com/XYOracleNetwork/plugins/issues",
8
+ "email": "support@xyo.network"
11
9
  },
12
- "dependencies": {
13
- "@xyo-network/payload-model": "^3.0.3",
14
- "@xyo-network/payload-plugin": "^3.0.3",
15
- "bowser": "^2.11.0"
10
+ "repository": {
11
+ "type": "git",
12
+ "url": "git+https://github.com/XYOracleNetwork/plugins.git"
16
13
  },
17
- "devDependencies": {
18
- "@xylabs/ts-scripts-yarn3": "^4.0.0-rc.20",
19
- "@xylabs/tsconfig": "^4.0.0-rc.20",
20
- "typescript": "^5.5.4"
14
+ "license": "LGPL-3.0-only",
15
+ "author": {
16
+ "name": "XYO Development Team",
17
+ "email": "support@xyo.network",
18
+ "url": "https://xyo.network"
21
19
  },
22
- "description": "Typescript/Javascript Plugins for XYO Platform",
20
+ "sideEffects": false,
21
+ "type": "module",
23
22
  "exports": {
24
23
  ".": {
25
24
  "types": "./dist/neutral/index.d.ts",
@@ -29,16 +28,17 @@
29
28
  },
30
29
  "module": "dist/neutral/index.mjs",
31
30
  "types": "dist/neutral/index.d.ts",
32
- "homepage": "https://xyo.network",
33
- "license": "LGPL-3.0-only",
34
- "publishConfig": {
35
- "access": "public"
31
+ "dependencies": {
32
+ "@xyo-network/payload-model": "^3.0.11",
33
+ "@xyo-network/payload-plugin": "^3.0.11",
34
+ "bowser": "^2.11.0"
36
35
  },
37
- "repository": {
38
- "type": "git",
39
- "url": "git+https://github.com/XYOracleNetwork/plugins.git"
36
+ "devDependencies": {
37
+ "@xylabs/ts-scripts-yarn3": "^4.0.7",
38
+ "@xylabs/tsconfig": "^4.0.7",
39
+ "typescript": "^5.5.4"
40
40
  },
41
- "sideEffects": false,
42
- "version": "3.0.3",
43
- "type": "module"
41
+ "publishConfig": {
42
+ "access": "public"
43
+ }
44
44
  }
package/src/Template.ts CHANGED
@@ -1,6 +1,4 @@
1
1
  import type { BowserSystemInfoPayload } from './Payload.ts'
2
2
  import { BowserSystemInfoSchema } from './Schema.ts'
3
3
 
4
- export const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({
5
- schema: BowserSystemInfoSchema,
6
- })
4
+ export const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })
package/xy.config.ts CHANGED
@@ -2,9 +2,7 @@ import type { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
2
2
  const config: XyTsupConfig = {
3
3
  compile: {
4
4
  browser: {},
5
- neutral: {
6
- src: true,
7
- },
5
+ neutral: { src: true },
8
6
  node: {},
9
7
  },
10
8
  }