@xyo-network/react-storybook 2.32.0 → 2.32.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.
@@ -6,14 +6,28 @@ export declare const samplePayloadFromBuilder: {
6
6
  sources?: string[] | undefined;
7
7
  timestamp?: number | undefined;
8
8
  };
9
- export declare const samplePayload: {
10
- _archive: string;
11
- _client: string;
12
- _hash: string;
13
- _id: string;
14
- _observeDuration: number;
15
- _timestamp: number;
9
+ export declare const sampleIdPayload: {
16
10
  salt: string;
17
11
  schema: string;
18
12
  };
13
+ export declare const sampleSystemInfoBrowserPayload: {
14
+ bowser: {
15
+ browser: {
16
+ name: string;
17
+ version: string;
18
+ };
19
+ engine: {
20
+ name: string;
21
+ };
22
+ os: {
23
+ name: string;
24
+ version: string;
25
+ versionName: string;
26
+ };
27
+ platform: {
28
+ type: string;
29
+ };
30
+ };
31
+ schema: string;
32
+ };
19
33
  //# sourceMappingURL=samplePayload.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"samplePayload.d.ts","sourceRoot":"","sources":["../../src/samplePayload.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;YACW,kBAAkB;UAAQ,MAAM;;;;CAI/E,CAAA;AAED,eAAO,MAAM,aAAa;;;;;;;;;CASzB,CAAA"}
1
+ {"version":3,"file":"samplePayload.d.ts","sourceRoot":"","sources":["../../src/samplePayload.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;YACW,kBAAkB;UAAQ,MAAM;;;;CAI/E,CAAA;AAED,eAAO,MAAM,eAAe;;;CAG3B,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;CAmB1C,CAAA"}
@@ -1,18 +1,32 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.samplePayload = exports.samplePayloadFromBuilder = void 0;
3
+ exports.sampleSystemInfoBrowserPayload = exports.sampleIdPayload = exports.samplePayloadFromBuilder = void 0;
4
4
  const payload_1 = require("@xyo-network/payload");
5
5
  exports.samplePayloadFromBuilder = Object.assign(Object.assign({}, new payload_1.XyoPayloadBuilder({ schema: 'network.xyo.temp' })
6
6
  .fields({ test: 'hello' })
7
7
  .build()), { _archive: 'temp' });
8
- exports.samplePayload = {
9
- _archive: 'temp',
10
- _client: 'js',
11
- _hash: 'a98a39e11205ceacc0cf271db4dd74dd7841fa25f26585f6cd7f2fc3f03c7d55',
12
- _id: '62199875bcb044877bd6ddf3',
13
- _observeDuration: 13,
14
- _timestamp: 1645844597478,
8
+ exports.sampleIdPayload = {
15
9
  salt: '81b2372a-b4f0-4ab5-8642-c4e6de46a1cf',
16
10
  schema: 'network.xyo.id',
17
11
  };
12
+ exports.sampleSystemInfoBrowserPayload = {
13
+ bowser: {
14
+ browser: {
15
+ name: 'Chrome',
16
+ version: '104.0.0.0',
17
+ },
18
+ engine: {
19
+ name: 'Blink',
20
+ },
21
+ os: {
22
+ name: 'Windows',
23
+ version: 'NT 10.0',
24
+ versionName: '10',
25
+ },
26
+ platform: {
27
+ type: 'desktop',
28
+ },
29
+ },
30
+ schema: 'network.xyo.system.info.browser',
31
+ };
18
32
  //# sourceMappingURL=samplePayload.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"samplePayload.js","sourceRoot":"","sources":["../../src/samplePayload.ts"],"names":[],"mappings":";;;AAAA,kDAAoE;AAEvD,QAAA,wBAAwB,mCAChC,IAAI,2BAAiB,CAA2D,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;KAC/G,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;KACzB,KAAK,EAAE,KACV,QAAQ,EAAE,MAAM,IACjB;AAEY,QAAA,aAAa,GAAG;IAC3B,QAAQ,EAAE,MAAM;IAChB,OAAO,EAAE,IAAI;IACb,KAAK,EAAE,kEAAkE;IACzE,GAAG,EAAE,0BAA0B;IAC/B,gBAAgB,EAAE,EAAE;IACpB,UAAU,EAAE,aAAa;IACzB,IAAI,EAAE,sCAAsC;IAC5C,MAAM,EAAE,gBAAgB;CACzB,CAAA"}
1
+ {"version":3,"file":"samplePayload.js","sourceRoot":"","sources":["../../src/samplePayload.ts"],"names":[],"mappings":";;;AAAA,kDAAoE;AAEvD,QAAA,wBAAwB,mCAChC,IAAI,2BAAiB,CAA2D,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;KAC/G,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;KACzB,KAAK,EAAE,KACV,QAAQ,EAAE,MAAM,IACjB;AAEY,QAAA,eAAe,GAAG;IAC7B,IAAI,EAAE,sCAAsC;IAC5C,MAAM,EAAE,gBAAgB;CACzB,CAAA;AAEY,QAAA,8BAA8B,GAAG;IAC5C,MAAM,EAAE;QACN,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,OAAO,EAAE,WAAW;SACrB;QACD,MAAM,EAAE;YACN,IAAI,EAAE,OAAO;SACd;QACD,EAAE,EAAE;YACF,IAAI,EAAE,SAAS;YACf,OAAO,EAAE,SAAS;YAClB,WAAW,EAAE,IAAI;SAClB;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;SAChB;KACF;IACD,MAAM,EAAE,iCAAiC;CAC1C,CAAA"}