@xyo-network/bowser-system-info-payload-plugin 2.86.4 → 2.87.0-rc.1
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/node/index.cjs +52 -0
- package/dist/node/index.cjs.map +1 -0
- package/dist/node/index.js +6 -35
- package/dist/node/index.js.map +1 -1
- package/package.json +13 -12
- package/dist/node/index.mjs +0 -23
- package/dist/node/index.mjs.map +0 -1
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
|
|
20
|
+
// src/index.ts
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
BowserSystemInfoPayloadPlugin: () => BowserSystemInfoPayloadPlugin,
|
|
24
|
+
BowserSystemInfoSchema: () => BowserSystemInfoSchema,
|
|
25
|
+
bowserSystemInfoPayloadTemplate: () => bowserSystemInfoPayloadTemplate,
|
|
26
|
+
default: () => BowserSystemInfoPayloadPlugin
|
|
27
|
+
});
|
|
28
|
+
module.exports = __toCommonJS(src_exports);
|
|
29
|
+
|
|
30
|
+
// src/Plugin.ts
|
|
31
|
+
var import_payload_plugin = require("@xyo-network/payload-plugin");
|
|
32
|
+
|
|
33
|
+
// src/Schema.ts
|
|
34
|
+
var BowserSystemInfoSchema = "network.xyo.system.info.bowser";
|
|
35
|
+
|
|
36
|
+
// src/Template.ts
|
|
37
|
+
var bowserSystemInfoPayloadTemplate = () => ({
|
|
38
|
+
schema: BowserSystemInfoSchema
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
// src/Plugin.ts
|
|
42
|
+
var BowserSystemInfoPayloadPlugin = () => (0, import_payload_plugin.createPayloadPlugin)({
|
|
43
|
+
schema: BowserSystemInfoSchema,
|
|
44
|
+
template: bowserSystemInfoPayloadTemplate
|
|
45
|
+
});
|
|
46
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
47
|
+
0 && (module.exports = {
|
|
48
|
+
BowserSystemInfoPayloadPlugin,
|
|
49
|
+
BowserSystemInfoSchema,
|
|
50
|
+
bowserSystemInfoPayloadTemplate
|
|
51
|
+
});
|
|
52
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/index.ts","../../src/Plugin.ts","../../src/Schema.ts","../../src/Template.ts"],"sourcesContent":["export * from './Payload'\nexport { BowserSystemInfoPayloadPlugin, BowserSystemInfoPayloadPlugin as default } from './Plugin'\nexport * from './Schema'\nexport * from './Template'\n","import { createPayloadPlugin } from '@xyo-network/payload-plugin'\n\nimport { BowserSystemInfoPayload } from './Payload'\nimport { BowserSystemInfoSchema } from './Schema'\nimport { bowserSystemInfoPayloadTemplate } from './Template'\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'\nimport { BowserSystemInfoSchema } from './Schema'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({\n schema: BowserSystemInfoSchema,\n})\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA,4BAAoC;;;ACC7B,IAAM,yBAAiD;;;ACEvD,IAAM,kCAAkC,OAAgC;AAAA,EAC7E,QAAQ;AACV;;;AFCO,IAAM,gCAAgC,UAC3C,2CAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;","names":[]}
|
package/dist/node/index.js
CHANGED
|
@@ -1,34 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __defProp = Object.defineProperty;
|
|
3
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/index.ts
|
|
21
|
-
var src_exports = {};
|
|
22
|
-
__export(src_exports, {
|
|
23
|
-
BowserSystemInfoPayloadPlugin: () => BowserSystemInfoPayloadPlugin,
|
|
24
|
-
BowserSystemInfoSchema: () => BowserSystemInfoSchema,
|
|
25
|
-
bowserSystemInfoPayloadTemplate: () => bowserSystemInfoPayloadTemplate,
|
|
26
|
-
default: () => BowserSystemInfoPayloadPlugin
|
|
27
|
-
});
|
|
28
|
-
module.exports = __toCommonJS(src_exports);
|
|
29
|
-
|
|
30
1
|
// src/Plugin.ts
|
|
31
|
-
|
|
2
|
+
import { createPayloadPlugin } from "@xyo-network/payload-plugin";
|
|
32
3
|
|
|
33
4
|
// src/Schema.ts
|
|
34
5
|
var BowserSystemInfoSchema = "network.xyo.system.info.bowser";
|
|
@@ -39,14 +10,14 @@ var bowserSystemInfoPayloadTemplate = () => ({
|
|
|
39
10
|
});
|
|
40
11
|
|
|
41
12
|
// src/Plugin.ts
|
|
42
|
-
var BowserSystemInfoPayloadPlugin = () =>
|
|
13
|
+
var BowserSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
43
14
|
schema: BowserSystemInfoSchema,
|
|
44
15
|
template: bowserSystemInfoPayloadTemplate
|
|
45
16
|
});
|
|
46
|
-
|
|
47
|
-
0 && (module.exports = {
|
|
17
|
+
export {
|
|
48
18
|
BowserSystemInfoPayloadPlugin,
|
|
49
19
|
BowserSystemInfoSchema,
|
|
50
|
-
bowserSystemInfoPayloadTemplate
|
|
51
|
-
|
|
20
|
+
bowserSystemInfoPayloadTemplate,
|
|
21
|
+
BowserSystemInfoPayloadPlugin as default
|
|
22
|
+
};
|
|
52
23
|
//# sourceMappingURL=index.js.map
|
package/dist/node/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/
|
|
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'\nimport { BowserSystemInfoSchema } from './Schema'\nimport { bowserSystemInfoPayloadTemplate } from './Template'\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'\nimport { BowserSystemInfoSchema } from './Schema'\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":[]}
|
package/package.json
CHANGED
|
@@ -10,17 +10,16 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/plugins/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xyo-network/payload-model": "^2.
|
|
14
|
-
"@xyo-network/payload-plugin": "^2.
|
|
13
|
+
"@xyo-network/payload-model": "^2.89.0-rc.2",
|
|
14
|
+
"@xyo-network/payload-plugin": "^2.89.0-rc.2",
|
|
15
15
|
"bowser": "^2.11.0"
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
|
-
"@xylabs/ts-scripts-yarn3": "^3.2.
|
|
19
|
-
"@xylabs/tsconfig": "^3.2.
|
|
18
|
+
"@xylabs/ts-scripts-yarn3": "^3.2.42",
|
|
19
|
+
"@xylabs/tsconfig": "^3.2.42",
|
|
20
20
|
"typescript": "^5.3.3"
|
|
21
21
|
},
|
|
22
22
|
"description": "Typescript/Javascript Plugins for XYO Platform",
|
|
23
|
-
"docs": "dist/docs.json",
|
|
24
23
|
"exports": {
|
|
25
24
|
".": {
|
|
26
25
|
"browser": {
|
|
@@ -35,19 +34,20 @@
|
|
|
35
34
|
},
|
|
36
35
|
"node": {
|
|
37
36
|
"require": {
|
|
38
|
-
"types": "./dist/node/index.d.
|
|
39
|
-
"default": "./dist/node/index.
|
|
37
|
+
"types": "./dist/node/index.d.cts",
|
|
38
|
+
"default": "./dist/node/index.cjs"
|
|
40
39
|
},
|
|
41
40
|
"import": {
|
|
42
41
|
"types": "./dist/node/index.d.mts",
|
|
43
|
-
"default": "./dist/node/index.
|
|
42
|
+
"default": "./dist/node/index.js"
|
|
44
43
|
}
|
|
45
44
|
}
|
|
46
45
|
},
|
|
47
46
|
"./package.json": "./package.json"
|
|
48
47
|
},
|
|
49
|
-
"main": "dist/node/index.
|
|
50
|
-
"module": "dist/node/index.
|
|
48
|
+
"main": "dist/node/index.cjs",
|
|
49
|
+
"module": "dist/node/index.js",
|
|
50
|
+
"types": "dist/node/index.d.ts",
|
|
51
51
|
"homepage": "https://xyo.network",
|
|
52
52
|
"license": "LGPL-3.0-only",
|
|
53
53
|
"publishConfig": {
|
|
@@ -58,6 +58,7 @@
|
|
|
58
58
|
"url": "https://github.com/XYOracleNetwork/plugins.git"
|
|
59
59
|
},
|
|
60
60
|
"sideEffects": false,
|
|
61
|
-
"
|
|
62
|
-
"
|
|
61
|
+
"version": "2.87.0-rc.1",
|
|
62
|
+
"type": "module",
|
|
63
|
+
"stableVersion": "2.86.5"
|
|
63
64
|
}
|
package/dist/node/index.mjs
DELETED
|
@@ -1,23 +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 = () => ({
|
|
9
|
-
schema: BowserSystemInfoSchema
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
// src/Plugin.ts
|
|
13
|
-
var BowserSystemInfoPayloadPlugin = () => createPayloadPlugin({
|
|
14
|
-
schema: BowserSystemInfoSchema,
|
|
15
|
-
template: bowserSystemInfoPayloadTemplate
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
BowserSystemInfoPayloadPlugin,
|
|
19
|
-
BowserSystemInfoSchema,
|
|
20
|
-
bowserSystemInfoPayloadTemplate,
|
|
21
|
-
BowserSystemInfoPayloadPlugin as default
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=index.mjs.map
|
package/dist/node/index.mjs.map
DELETED
|
@@ -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 { BowserSystemInfoPayload } from './Payload'\nimport { BowserSystemInfoSchema } from './Schema'\nimport { bowserSystemInfoPayloadTemplate } from './Template'\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'\nimport { BowserSystemInfoSchema } from './Schema'\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":[]}
|