@xyo-network/bowser-system-info-payload-plugin 7.0.2 → 7.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.
@@ -1,5 +1,2 @@
1
- export * from './Payload.ts';
2
- export { BowserSystemInfoPayloadPlugin, BowserSystemInfoPayloadPlugin as default } from './Plugin.ts';
3
- export * from './Schema.ts';
4
- export * from './Template.ts';
1
+ export * from '@xyo-network/payload-plugins/bowser-system-info';
5
2
  //# sourceMappingURL=index.d.ts.map
@@ -1 +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"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,cAAc,iDAAiD,CAAA"}
@@ -1,41 +1,3 @@
1
- // src/Payload.ts
2
- import {
3
- zodAsFactory,
4
- zodIsFactory,
5
- zodToFactory
6
- } from "@ariestools/sdk";
7
- import { PayloadZodOfSchema } from "@xyo-network/sdk";
8
- import * as z from "zod/mini";
9
-
10
- // src/Schema.ts
11
- import { asSchema } from "@xyo-network/sdk";
12
- var BowserSystemInfoSchema = asSchema("network.xyo.system.info.bowser", true);
13
-
14
- // src/Payload.ts
15
- var BowserSystemInfoPayloadZod = z.extend(PayloadZodOfSchema(BowserSystemInfoSchema), { bowser: z.optional(z.custom()) });
16
- var isBowserSystemInfoPayload = zodIsFactory(BowserSystemInfoPayloadZod);
17
- var asBowserSystemInfoPayload = zodAsFactory(BowserSystemInfoPayloadZod, "asBowserSystemInfoPayload");
18
- var toBowserSystemInfoPayload = zodToFactory(BowserSystemInfoPayloadZod, "toBowserSystemInfoPayload");
19
-
20
- // src/Plugin.ts
21
- import { createPayloadPlugin } from "@xyo-network/sdk";
22
-
23
- // src/Template.ts
24
- var bowserSystemInfoPayloadTemplate = () => ({ schema: BowserSystemInfoSchema });
25
-
26
- // src/Plugin.ts
27
- var BowserSystemInfoPayloadPlugin = () => createPayloadPlugin({
28
- schema: BowserSystemInfoSchema,
29
- template: bowserSystemInfoPayloadTemplate
30
- });
31
- export {
32
- BowserSystemInfoPayloadPlugin,
33
- BowserSystemInfoPayloadZod,
34
- BowserSystemInfoSchema,
35
- asBowserSystemInfoPayload,
36
- bowserSystemInfoPayloadTemplate,
37
- BowserSystemInfoPayloadPlugin as default,
38
- isBowserSystemInfoPayload,
39
- toBowserSystemInfoPayload
40
- };
1
+ // src/index.ts
2
+ export * from "@xyo-network/payload-plugins/bowser-system-info";
41
3
  //# sourceMappingURL=index.mjs.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/Payload.ts", "../../src/Schema.ts", "../../src/Plugin.ts", "../../src/Template.ts"],
4
- "sourcesContent": ["import {\n zodAsFactory, zodIsFactory, zodToFactory,\n} from '@ariestools/sdk'\nimport { PayloadZodOfSchema } from '@xyo-network/sdk'\nimport type { Parser } from 'bowser'\nimport * as z from 'zod/mini'\n\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const BowserSystemInfoPayloadZod = z.extend(PayloadZodOfSchema(BowserSystemInfoSchema), { bowser: z.optional(z.custom<Parser.ParsedResult>()) })\n\nexport type BowserSystemInfoPayload = z.infer<typeof BowserSystemInfoPayloadZod>\n\nexport const isBowserSystemInfoPayload = zodIsFactory(BowserSystemInfoPayloadZod)\nexport const asBowserSystemInfoPayload = zodAsFactory(BowserSystemInfoPayloadZod, 'asBowserSystemInfoPayload')\nexport const toBowserSystemInfoPayload = zodToFactory(BowserSystemInfoPayloadZod, 'toBowserSystemInfoPayload')\n", "import { asSchema } from '@xyo-network/sdk'\n\nexport type BowserSystemInfoSchema = typeof BowserSystemInfoSchema\nexport const BowserSystemInfoSchema = asSchema('network.xyo.system.info.bowser', true)\n", "import { createPayloadPlugin } from '@xyo-network/sdk'\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 type { BowserSystemInfoPayload } from './Payload.ts'\nimport { BowserSystemInfoSchema } from './Schema.ts'\n\nexport const bowserSystemInfoPayloadTemplate = (): BowserSystemInfoPayload => ({ schema: BowserSystemInfoSchema })\n"],
5
- "mappings": ";AAAA;AAAA,EACE;AAAA,EAAc;AAAA,EAAc;AAAA,OACvB;AACP,SAAS,0BAA0B;AAEnC,YAAY,OAAO;;;ACLnB,SAAS,gBAAgB;AAGlB,IAAM,yBAAyB,SAAS,kCAAkC,IAAI;;;ADM9E,IAAM,6BAA+B,SAAO,mBAAmB,sBAAsB,GAAG,EAAE,QAAU,WAAW,SAA4B,CAAC,EAAE,CAAC;AAI/I,IAAM,4BAA4B,aAAa,0BAA0B;AACzE,IAAM,4BAA4B,aAAa,4BAA4B,2BAA2B;AACtG,IAAM,4BAA4B,aAAa,4BAA4B,2BAA2B;;;AEf7G,SAAS,2BAA2B;;;ACG7B,IAAM,kCAAkC,OAAgC,EAAE,QAAQ,uBAAuB;;;ADGzG,IAAM,gCAAgC,MAC3C,oBAA6C;AAAA,EAC3C,QAAQ;AAAA,EACR,UAAU;AACZ,CAAC;",
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["// Compatibility shim: this package re-exports from @xyo-network/payload-plugins/bowser-system-info.\nexport * from '@xyo-network/payload-plugins/bowser-system-info'\n"],
5
+ "mappings": ";AACA,cAAc;",
6
6
  "names": []
7
7
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bowser-system-info-payload-plugin",
3
- "version": "7.0.2",
3
+ "version": "7.0.4",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -30,65 +30,73 @@
30
30
  "dist",
31
31
  "README.md"
32
32
  ],
33
+ "dependencies": {
34
+ "@xyo-network/payload-plugins": "~7.0.4"
35
+ },
33
36
  "devDependencies": {
34
- "@ariestools/sdk": "^7.0.5",
37
+ "@ariestools/crypto": "~8.0.3",
38
+ "@ariestools/sdk": "~8.0.3",
39
+ "@ariestools/threads": "~8.0.3",
40
+ "@ariestools/toolchain": "~8.6.12",
41
+ "@ariestools/tsconfig": "~8.6.12",
35
42
  "@bitauth/libauth": "~3.0.0",
43
+ "@metamask/providers": "~22.1.1",
36
44
  "@noble/post-quantum": "~0.6.1",
45
+ "@opentelemetry/api": "~1.9.1",
46
+ "@opentelemetry/sdk-trace-base": "~2.9.0",
47
+ "@scure/base": "~2.2.0",
48
+ "@scure/bip39": "~2.2.0",
49
+ "@xyo-network/diviner-hash-lease": "~7.0.11",
50
+ "@xyo-network/sdk": "~7.0.11",
51
+ "@xyo-network/sdk-protocol": "~7.0.15",
52
+ "ajv": "~8.20.0",
53
+ "async-mutex": "~0.5.0",
54
+ "bowser": "~2.14.1",
55
+ "crypto-js": "~4.2.0",
56
+ "debug": "~4.4.3",
57
+ "eslint": "~10.6.0",
58
+ "eslint-import-resolver-typescript": "~4.4.5",
59
+ "ethers": "~6.17.0",
60
+ "hash-wasm": "~4.12.0",
61
+ "idb": "~8.0.3",
62
+ "node-screenlogic": "~2.1.1",
63
+ "observable-fns": "~0.6.1",
64
+ "typescript": "~6.0.3",
65
+ "webextension-polyfill": "~0.12.0",
66
+ "zod": "~4.4.3"
67
+ },
68
+ "peerDependencies": {
69
+ "@ariestools/crypto": "^8.0.3",
70
+ "@ariestools/sdk": "^8.0.3",
71
+ "@ariestools/threads": "^8.0.3",
72
+ "@bitauth/libauth": "^3.0.0",
73
+ "@metamask/providers": "^22.1.1",
74
+ "@noble/post-quantum": "^0.6.1",
37
75
  "@opentelemetry/api": "^1.9.1",
38
- "@opentelemetry/sdk-trace-base": "^2.8.0",
76
+ "@opentelemetry/sdk-trace-base": "^2.9.0",
39
77
  "@scure/base": "^2.2.0",
40
- "@scure/bip39": "~2.2.0",
41
- "@xylabs/geo": "^7.0.5",
42
- "@xylabs/threads": "^7.0.5",
43
- "@xylabs/toolchain": "~8.5.15",
44
- "@xylabs/tsconfig": "~8.5.15",
45
- "@xylabs/vitest-extended": "^7.0.5",
46
- "@xyo-network/sdk": "~7.0.5",
47
- "@xyo-network/sdk-protocol": "^7.0.8",
78
+ "@scure/bip39": "^2.2.0",
79
+ "@xyo-network/diviner-hash-lease": "^7.0.11",
80
+ "@xyo-network/sdk": "^7.0.11",
81
+ "@xyo-network/sdk-protocol": "^7.0.15",
48
82
  "ajv": "^8.20.0",
49
83
  "async-mutex": "^0.5.0",
50
84
  "bowser": "^2.14.1",
51
- "browserslist": "4.28.4",
52
- "debug": "~4.4.3",
53
- "eslint": "^10.6.0",
54
- "eslint-import-resolver-typescript": "^4.4.5",
85
+ "crypto-js": "^4.2.0",
86
+ "debug": "^4.4.3",
55
87
  "ethers": "^6.17.0",
56
88
  "hash-wasm": "^4.12.0",
57
89
  "idb": "^8.0.3",
58
- "lru-cache": "^11.5.1",
59
- "observable-fns": "~0.6.1",
60
- "typescript": "~6.0.3",
61
- "vite": "^8.1.2",
62
- "vitest": "^4.1.9",
90
+ "node-screenlogic": "^2.1.1",
91
+ "observable-fns": "^0.6.1",
92
+ "webextension-polyfill": "^0.12.0",
63
93
  "zod": "^4.4.3"
64
94
  },
65
- "peerDependencies": {
66
- "@ariestools/sdk": "^7.0",
67
- "@bitauth/libauth": "~3.0",
68
- "@noble/post-quantum": "~0.6.1",
69
- "@opentelemetry/api": "^1.9",
70
- "@opentelemetry/sdk-trace-base": "^2.7",
71
- "@scure/base": "^2.2",
72
- "@scure/bip39": "~2.2",
73
- "@xylabs/geo": "^7.0",
74
- "@xylabs/threads": "^7.0",
75
- "@xyo-network/sdk": "~7.0",
76
- "@xyo-network/sdk-protocol": "^7.0",
77
- "ajv": "^8.20",
78
- "async-mutex": "^0.5",
79
- "bowser": "^2.14",
80
- "debug": "~4.4",
81
- "ethers": "^6.16",
82
- "hash-wasm": "^4.12",
83
- "idb": "^8.0",
84
- "lru-cache": "^11.3",
85
- "observable-fns": "~0.6",
86
- "zod": "^4.4"
87
- },
88
95
  "engines": {
89
96
  "node": "^24"
90
97
  },
91
98
  "publishConfig": {
92
99
  "access": "public"
93
- }
100
+ },
101
+ "deprecated": "Use @xyo-network/payload-plugins/bowser-system-info instead. Replace @xyo-network/bowser-system-info-payload-plugin with @xyo-network/payload-plugins/bowser-system-info. This package is a compatibility shim only and will not receive further updates."
94
102
  }
@@ -1,44 +0,0 @@
1
- import type { Parser } from 'bowser';
2
- import * as z from 'zod/mini';
3
- export declare const BowserSystemInfoPayloadZod: z.ZodMiniObject<{
4
- schema: z.ZodMiniLiteral<"network.xyo.system.info.bowser" & {
5
- readonly __schema: true;
6
- }>;
7
- bowser: z.ZodMiniOptional<z.ZodMiniCustom<Parser.ParsedResult, Parser.ParsedResult>>;
8
- }, z.core.$strip>;
9
- export type BowserSystemInfoPayload = z.infer<typeof BowserSystemInfoPayloadZod>;
10
- export declare const isBowserSystemInfoPayload: <T>(value: T) => value is T & {
11
- schema: "network.xyo.system.info.bowser" & {
12
- readonly __schema: true;
13
- };
14
- bowser?: Parser.ParsedResult | undefined;
15
- };
16
- export declare const asBowserSystemInfoPayload: {
17
- <T>(value: T): (T & {
18
- schema: "network.xyo.system.info.bowser" & {
19
- readonly __schema: true;
20
- };
21
- bowser?: Parser.ParsedResult | undefined;
22
- }) | undefined;
23
- <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
24
- schema: "network.xyo.system.info.bowser" & {
25
- readonly __schema: true;
26
- };
27
- bowser?: Parser.ParsedResult | undefined;
28
- };
29
- };
30
- export declare const toBowserSystemInfoPayload: {
31
- <T>(value: T): (T & {
32
- schema: "network.xyo.system.info.bowser" & {
33
- readonly __schema: true;
34
- };
35
- bowser?: Parser.ParsedResult | undefined;
36
- }) | undefined;
37
- <T>(value: T, assert: import("@ariestools/sdk").ZodFactoryConfig): T & {
38
- schema: "network.xyo.system.info.bowser" & {
39
- readonly __schema: true;
40
- };
41
- bowser?: Parser.ParsedResult | undefined;
42
- };
43
- };
44
- //# sourceMappingURL=Payload.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Payload.d.ts","sourceRoot":"","sources":["../../src/Payload.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAA;AACpC,OAAO,KAAK,CAAC,MAAM,UAAU,CAAA;AAI7B,eAAO,MAAM,0BAA0B;;;;;iBAAgH,CAAA;AAEvJ,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEhF,eAAO,MAAM,yBAAyB;;;;;CAA2C,CAAA;AACjF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;CAAwE,CAAA;AAC9G,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;CAAwE,CAAA"}
@@ -1,7 +0,0 @@
1
- export declare const BowserSystemInfoPayloadPlugin: () => import("@xyo-network/sdk").PayloadPlugin<{
2
- schema: "network.xyo.system.info.bowser" & {
3
- readonly __schema: true;
4
- };
5
- bowser?: import("bowser").Parser.ParsedResult | undefined;
6
- }>;
7
- //# sourceMappingURL=Plugin.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Plugin.d.ts","sourceRoot":"","sources":["../../src/Plugin.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,6BAA6B;;;;;EAItC,CAAA"}
@@ -1,5 +0,0 @@
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
@@ -1 +0,0 @@
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"}
@@ -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"}