@xyo-network/bowser-system-info-payload-plugin 3.0.2 → 3.0.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.
- package/dist/neutral/Payload.d.ts +8 -0
- package/dist/neutral/Payload.d.ts.map +1 -0
- package/dist/neutral/Plugin.d.ts +6 -0
- package/dist/neutral/Plugin.d.ts.map +1 -0
- package/dist/neutral/Schema.d.ts +3 -0
- package/dist/neutral/Schema.d.ts.map +1 -0
- package/dist/neutral/Template.d.ts +3 -0
- package/dist/neutral/Template.d.ts.map +1 -0
- package/dist/neutral/index.d.ts +5 -22
- package/dist/neutral/index.d.ts.map +1 -0
- package/dist/neutral/index.mjs +1 -3
- package/dist/neutral/index.mjs.map +1 -1
- package/package.json +26 -26
- package/src/Payload.ts +3 -3
- package/src/Plugin.ts +1 -1
- package/src/Template.ts +2 -4
- package/xy.config.ts +2 -4
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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"}
|
package/dist/neutral/index.d.ts
CHANGED
|
@@ -1,22 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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"}
|
package/dist/neutral/index.mjs
CHANGED
|
@@ -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 { 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 { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({
|
|
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
|
-
"
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"url": "https://xyo.network"
|
|
7
|
-
},
|
|
3
|
+
"version": "3.0.4",
|
|
4
|
+
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
5
|
+
"homepage": "https://xyo.network",
|
|
8
6
|
"bugs": {
|
|
9
|
-
"
|
|
10
|
-
"
|
|
7
|
+
"url": "git+https://github.com/XYOracleNetwork/plugins/issues",
|
|
8
|
+
"email": "support@xyo.network"
|
|
11
9
|
},
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
"bowser": "^2.11.0"
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git+https://github.com/XYOracleNetwork/plugins.git"
|
|
16
13
|
},
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
"
|
|
20
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
31
|
+
"dependencies": {
|
|
32
|
+
"@xyo-network/payload-model": "^3.0.10",
|
|
33
|
+
"@xyo-network/payload-plugin": "^3.0.10",
|
|
34
|
+
"bowser": "^2.11.0"
|
|
36
35
|
},
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@xylabs/ts-scripts-yarn3": "^4.0.7",
|
|
38
|
+
"@xylabs/tsconfig": "^4.0.7",
|
|
39
|
+
"typescript": "^5.5.4"
|
|
40
40
|
},
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
41
|
+
"publishConfig": {
|
|
42
|
+
"access": "public"
|
|
43
|
+
}
|
|
44
44
|
}
|
package/src/Payload.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Payload } from '@xyo-network/payload-model'
|
|
2
|
-
import { Parser } from 'bowser'
|
|
1
|
+
import type { Payload } from '@xyo-network/payload-model'
|
|
2
|
+
import type { Parser } from 'bowser'
|
|
3
3
|
|
|
4
|
-
import { BowserSystemInfoSchema } from './Schema.ts'
|
|
4
|
+
import type { BowserSystemInfoSchema } from './Schema.ts'
|
|
5
5
|
|
|
6
6
|
export type BowserSystemInfoPayload = Payload<{
|
|
7
7
|
bowser?: Parser.ParsedResult
|
package/src/Plugin.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createPayloadPlugin } from '@xyo-network/payload-plugin'
|
|
2
2
|
|
|
3
|
-
import { BowserSystemInfoPayload } from './Payload.ts'
|
|
3
|
+
import type { BowserSystemInfoPayload } from './Payload.ts'
|
|
4
4
|
import { BowserSystemInfoSchema } from './Schema.ts'
|
|
5
5
|
import { bowserSystemInfoPayloadTemplate } from './Template.ts'
|
|
6
6
|
|
package/src/Template.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { BowserSystemInfoPayload } from './Payload.ts'
|
|
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
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { XyTsupConfig } from '@xylabs/ts-scripts-yarn3'
|
|
1
|
+
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
|
}
|