@xyo-network/react-storybook 2.32.0-rc.9 → 2.33.0
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/cjs/samplePayload.d.ts +21 -7
- package/dist/cjs/samplePayload.d.ts.map +1 -1
- package/dist/cjs/samplePayload.js +22 -8
- package/dist/cjs/samplePayload.js.map +1 -1
- package/dist/docs.json +597 -289
- package/dist/esm/samplePayload.d.ts +21 -7
- package/dist/esm/samplePayload.d.ts.map +1 -1
- package/dist/esm/samplePayload.js +21 -7
- package/dist/esm/samplePayload.js.map +1 -1
- package/package.json +22 -19
- package/src/samplePayload.ts +22 -7
|
@@ -6,14 +6,28 @@ export declare const samplePayloadFromBuilder: {
|
|
|
6
6
|
sources?: string[] | undefined;
|
|
7
7
|
timestamp?: number | undefined;
|
|
8
8
|
};
|
|
9
|
-
export declare const
|
|
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,
|
|
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"}
|
|
@@ -5,14 +5,28 @@ export const samplePayloadFromBuilder = {
|
|
|
5
5
|
.build(),
|
|
6
6
|
_archive: 'temp',
|
|
7
7
|
};
|
|
8
|
-
export const
|
|
9
|
-
_archive: 'temp',
|
|
10
|
-
_client: 'js',
|
|
11
|
-
_hash: 'a98a39e11205ceacc0cf271db4dd74dd7841fa25f26585f6cd7f2fc3f03c7d55',
|
|
12
|
-
_id: '62199875bcb044877bd6ddf3',
|
|
13
|
-
_observeDuration: 13,
|
|
14
|
-
_timestamp: 1645844597478,
|
|
8
|
+
export const sampleIdPayload = {
|
|
15
9
|
salt: '81b2372a-b4f0-4ab5-8642-c4e6de46a1cf',
|
|
16
10
|
schema: 'network.xyo.id',
|
|
17
11
|
};
|
|
12
|
+
export const 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,OAAO,EAAc,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAEpE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,GAAG,IAAI,iBAAiB,CAA2D,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;SAC/G,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;SACzB,KAAK,EAAE;IACV,QAAQ,EAAE,MAAM;CACjB,CAAA;AAED,MAAM,CAAC,MAAM,
|
|
1
|
+
{"version":3,"file":"samplePayload.js","sourceRoot":"","sources":["../../src/samplePayload.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAEpE,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,GAAG,IAAI,iBAAiB,CAA2D,EAAE,MAAM,EAAE,kBAAkB,EAAE,CAAC;SAC/G,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;SACzB,KAAK,EAAE;IACV,QAAQ,EAAE,MAAM;CACjB,CAAA;AAED,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,IAAI,EAAE,sCAAsC;IAC5C,MAAM,EAAE,gBAAgB;CACzB,CAAA;AAED,MAAM,CAAC,MAAM,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"}
|
package/package.json
CHANGED
|
@@ -10,34 +10,38 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@emotion/react": "^11.10.4",
|
|
14
|
-
"@emotion/styled": "^11.10.4",
|
|
15
|
-
"@mui/material": "^5.10.3",
|
|
16
13
|
"@storybook/addons": "^6.5.10",
|
|
17
14
|
"@storybook/api": "^6.5.10",
|
|
18
15
|
"@storybook/components": "^6.5.10",
|
|
19
16
|
"@storybook/core-events": "^6.5.10",
|
|
20
17
|
"@storybook/react": "^6.5.10",
|
|
21
18
|
"@storybook/theming": "^6.5.10",
|
|
22
|
-
"@xylabs/react-flexbox": "^2.14.
|
|
23
|
-
"@xylabs/react-invertable-theme": "^2.14.
|
|
24
|
-
"@xylabs/react-shared": "^2.14.
|
|
25
|
-
"@xyo-network/
|
|
26
|
-
"@xyo-network/
|
|
27
|
-
"@xyo-network/
|
|
28
|
-
"@xyo-network/
|
|
29
|
-
"@xyo-network/react-
|
|
30
|
-
"@xyo-network/react-
|
|
31
|
-
"@xyo-network/react-
|
|
32
|
-
"@xyo-network/react-
|
|
19
|
+
"@xylabs/react-flexbox": "^2.14.16",
|
|
20
|
+
"@xylabs/react-invertable-theme": "^2.14.16",
|
|
21
|
+
"@xylabs/react-shared": "^2.14.16",
|
|
22
|
+
"@xyo-network/api": "^2.31.0",
|
|
23
|
+
"@xyo-network/boundwitness": "^2.31.0",
|
|
24
|
+
"@xyo-network/core": "^2.31.0",
|
|
25
|
+
"@xyo-network/payload": "^2.31.0",
|
|
26
|
+
"@xyo-network/react-archivist-api": "^2.33.0",
|
|
27
|
+
"@xyo-network/react-auth": "^2.33.0",
|
|
28
|
+
"@xyo-network/react-map": "^2.33.0",
|
|
29
|
+
"@xyo-network/react-theme": "^2.33.0",
|
|
30
|
+
"@xyo-network/react-wallet-service": "^2.33.0",
|
|
33
31
|
"lodash": "^4.17.21",
|
|
34
|
-
"react": "^18.2.0",
|
|
35
|
-
"react-dom": "^18.2.0",
|
|
36
|
-
"react-router-dom": "^6.3.0",
|
|
37
32
|
"require-from-string": "^2.0.2",
|
|
38
33
|
"storybook-dark-mode": "^1.1.0",
|
|
39
34
|
"tslib": "^2.4.0"
|
|
40
35
|
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@mui/icons-material": "^5.10.3",
|
|
38
|
+
"@mui/material": "^5.10.3",
|
|
39
|
+
"@mui/styles": "^5.10.3",
|
|
40
|
+
"@xylabs/sdk-js": "^2.6.7",
|
|
41
|
+
"react": "^18.2.0",
|
|
42
|
+
"react-dom": "^18.2.0",
|
|
43
|
+
"react-router-dom": "^6.3.0"
|
|
44
|
+
},
|
|
41
45
|
"description": "Common React library for all XYO projects that use React",
|
|
42
46
|
"devDependencies": {
|
|
43
47
|
"@types/lodash": "^4.14.184"
|
|
@@ -84,6 +88,5 @@
|
|
|
84
88
|
},
|
|
85
89
|
"sideEffects": false,
|
|
86
90
|
"types": "dist/esm/index.d.ts",
|
|
87
|
-
"version": "2.
|
|
88
|
-
"stableVersion": "2.31.3"
|
|
91
|
+
"version": "2.33.0"
|
|
89
92
|
}
|
package/src/samplePayload.ts
CHANGED
|
@@ -7,13 +7,28 @@ export const samplePayloadFromBuilder = {
|
|
|
7
7
|
_archive: 'temp',
|
|
8
8
|
}
|
|
9
9
|
|
|
10
|
-
export const
|
|
11
|
-
_archive: 'temp',
|
|
12
|
-
_client: 'js',
|
|
13
|
-
_hash: 'a98a39e11205ceacc0cf271db4dd74dd7841fa25f26585f6cd7f2fc3f03c7d55',
|
|
14
|
-
_id: '62199875bcb044877bd6ddf3',
|
|
15
|
-
_observeDuration: 13,
|
|
16
|
-
_timestamp: 1645844597478,
|
|
10
|
+
export const sampleIdPayload = {
|
|
17
11
|
salt: '81b2372a-b4f0-4ab5-8642-c4e6de46a1cf',
|
|
18
12
|
schema: 'network.xyo.id',
|
|
19
13
|
}
|
|
14
|
+
|
|
15
|
+
export const sampleSystemInfoBrowserPayload = {
|
|
16
|
+
bowser: {
|
|
17
|
+
browser: {
|
|
18
|
+
name: 'Chrome',
|
|
19
|
+
version: '104.0.0.0',
|
|
20
|
+
},
|
|
21
|
+
engine: {
|
|
22
|
+
name: 'Blink',
|
|
23
|
+
},
|
|
24
|
+
os: {
|
|
25
|
+
name: 'Windows',
|
|
26
|
+
version: 'NT 10.0',
|
|
27
|
+
versionName: '10',
|
|
28
|
+
},
|
|
29
|
+
platform: {
|
|
30
|
+
type: 'desktop',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
schema: 'network.xyo.system.info.browser',
|
|
34
|
+
}
|