@xyo-network/bowser-system-info-plugin 4.0.0 → 4.1.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.
@@ -0,0 +1,29 @@
1
+ import { WitnessConfig, WitnessParams, WitnessModule } from '@xyo-network/witness-model';
2
+ import * as _xyo_network_payloadset_plugin from '@xyo-network/payloadset-plugin';
3
+ import { AbstractWitness } from '@xyo-network/abstract-witness';
4
+ import { AnyConfigSchema } from '@xyo-network/module-model';
5
+ import { Schema, Payload } from '@xyo-network/payload-model';
6
+ import Bowser from 'bowser';
7
+
8
+ type BowserSystemInfoWitnessConfigSchema = 'network.xyo.system.info.witness.bowser.config';
9
+ declare const BowserSystemInfoWitnessConfigSchema: BowserSystemInfoWitnessConfigSchema;
10
+ type BowserSystemInfoWitnessConfig = WitnessConfig<{
11
+ schema: BowserSystemInfoWitnessConfigSchema;
12
+ }>;
13
+
14
+ type BowserSystemInfoWitnessParams = WitnessParams<AnyConfigSchema<BowserSystemInfoWitnessConfig>>;
15
+ declare class BowserSystemInfoWitness<TParams extends BowserSystemInfoWitnessParams = BowserSystemInfoWitnessParams> extends AbstractWitness<TParams> implements WitnessModule {
16
+ static readonly configSchemas: Schema[];
17
+ static readonly defaultConfigSchema: Schema;
18
+ protected get bowser(): Bowser.Parser.ParsedResult;
19
+ protected observeHandler(payloads?: Payload[]): {
20
+ schema: "network.xyo.system.info.bowser";
21
+ $sources?: Lowercase<string>[] | undefined;
22
+ bowser: Bowser.Parser.ParsedResult;
23
+ }[];
24
+ }
25
+
26
+ declare const BowserSystemInfoPlugin: () => _xyo_network_payloadset_plugin.PayloadSetWitnessPlugin<BowserSystemInfoWitness<BowserSystemInfoWitnessParams>>;
27
+
28
+ export { BowserSystemInfoPlugin, BowserSystemInfoWitness, BowserSystemInfoWitnessConfigSchema, BowserSystemInfoPlugin as default };
29
+ export type { BowserSystemInfoWitnessConfig, BowserSystemInfoWitnessParams };
@@ -0,0 +1,2 @@
1
+ import '@xylabs/vitest-extended';
2
+ //# sourceMappingURL=Plugin.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Plugin.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Plugin.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
@@ -0,0 +1,2 @@
1
+ import '@xylabs/vitest-extended';
2
+ //# sourceMappingURL=Witness.dom.spec.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Witness.dom.spec.d.ts","sourceRoot":"","sources":["../../../src/spec/Witness.dom.spec.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xyo-network/bowser-system-info-plugin",
3
- "version": "4.0.0",
3
+ "version": "4.1.1",
4
4
  "description": "Typescript/Javascript Plugins for XYO Platform",
5
5
  "homepage": "https://xyo.network",
6
6
  "bugs": {
@@ -21,30 +21,30 @@
21
21
  "type": "module",
22
22
  "exports": {
23
23
  ".": {
24
- "types": "./dist/types/index.d.ts",
24
+ "types": "./dist/browser/index.d.ts",
25
25
  "default": "./dist/browser/index.mjs"
26
26
  },
27
27
  "./package.json": "./package.json"
28
28
  },
29
29
  "module": "dist/browser/index.mjs",
30
- "types": "dist/types/index.d.ts",
30
+ "types": "dist/browser/index.d.ts",
31
31
  "dependencies": {
32
- "@xyo-network/abstract-witness": "^4.0.1",
33
- "@xyo-network/bowser-system-info-payload-plugin": "^4.0.0",
34
- "@xyo-network/module-model": "^4.0.1",
35
- "@xyo-network/payload-model": "^4.0.1",
36
- "@xyo-network/payloadset-plugin": "^4.0.1",
37
- "@xyo-network/witness-model": "^4.0.1",
32
+ "@xyo-network/abstract-witness": "^4.1.7",
33
+ "@xyo-network/bowser-system-info-payload-plugin": "^4.1.1",
34
+ "@xyo-network/module-model": "^4.1.7",
35
+ "@xyo-network/payload-model": "^4.1.7",
36
+ "@xyo-network/payloadset-plugin": "^4.1.7",
37
+ "@xyo-network/witness-model": "^4.1.7",
38
38
  "bowser": "^2.11.0"
39
39
  },
40
40
  "devDependencies": {
41
- "@xylabs/ts-scripts-yarn3": "^6.5.12",
42
- "@xylabs/tsconfig-dom": "^6.5.12",
43
- "@xylabs/vitest-extended": "^4.12.31",
44
- "@xyo-network/payload-validator": "^4.0.1",
45
- "@xyo-network/payload-wrapper": "^4.0.1",
46
- "@xyo-network/schema-name-validator": "^4.0.1",
47
- "knip": "^5.61.3",
41
+ "@xylabs/ts-scripts-yarn3": "^7.0.0-rc.24",
42
+ "@xylabs/tsconfig-dom": "^7.0.0-rc.24",
43
+ "@xylabs/vitest-extended": "^4.13.23",
44
+ "@xyo-network/payload-validator": "^4.1.7",
45
+ "@xyo-network/payload-wrapper": "^4.1.7",
46
+ "@xyo-network/schema-name-validator": "^4.1.7",
47
+ "knip": "^5.62.0",
48
48
  "typescript": "^5.8.3",
49
49
  "vitest": "^3.2.4"
50
50
  },
@@ -1,4 +0,0 @@
1
- export * from './Config.ts';
2
- export { BowserSystemInfoPlugin, BowserSystemInfoPlugin as default } from './Plugin.ts';
3
- export * from './Witness.ts';
4
- //# sourceMappingURL=index.d.ts.map
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes