@xyo-network/react-module 2.52.0 → 2.54.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/docs.json +58 -18
- package/package.json +12 -12
- package/src/components/DetailsBox.stories.tsx +2 -2
package/dist/docs.json
CHANGED
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"fileName": "packages/modules/packages/module/src/ModuleRenderProps.tsx",
|
|
27
27
|
"line": 4,
|
|
28
28
|
"character": 2,
|
|
29
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
29
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/ModuleRenderProps.tsx#L4"
|
|
30
30
|
}
|
|
31
31
|
],
|
|
32
32
|
"type": {
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"fileName": "packages/modules/packages/module/src/ModuleRenderProps.tsx",
|
|
50
50
|
"line": 3,
|
|
51
51
|
"character": 17,
|
|
52
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
52
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/ModuleRenderProps.tsx#L3"
|
|
53
53
|
}
|
|
54
54
|
],
|
|
55
55
|
"typeParameters": [
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"fileName": "packages/modules/packages/module/src/components/Card/Diviner/Card.tsx",
|
|
86
86
|
"line": 9,
|
|
87
87
|
"character": 13,
|
|
88
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
88
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Diviner/Card.tsx#L9"
|
|
89
89
|
}
|
|
90
90
|
],
|
|
91
91
|
"signatures": [
|
|
@@ -219,7 +219,7 @@
|
|
|
219
219
|
"sources": [
|
|
220
220
|
{
|
|
221
221
|
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
222
|
-
"line":
|
|
222
|
+
"line": 799,
|
|
223
223
|
"character": 43
|
|
224
224
|
}
|
|
225
225
|
]
|
|
@@ -444,6 +444,14 @@
|
|
|
444
444
|
"type": "literal",
|
|
445
445
|
"value": "aria-autocomplete"
|
|
446
446
|
},
|
|
447
|
+
{
|
|
448
|
+
"type": "literal",
|
|
449
|
+
"value": "aria-braillelabel"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"type": "literal",
|
|
453
|
+
"value": "aria-brailleroledescription"
|
|
454
|
+
},
|
|
447
455
|
{
|
|
448
456
|
"type": "literal",
|
|
449
457
|
"value": "aria-busy"
|
|
@@ -460,6 +468,10 @@
|
|
|
460
468
|
"type": "literal",
|
|
461
469
|
"value": "aria-colindex"
|
|
462
470
|
},
|
|
471
|
+
{
|
|
472
|
+
"type": "literal",
|
|
473
|
+
"value": "aria-colindextext"
|
|
474
|
+
},
|
|
463
475
|
{
|
|
464
476
|
"type": "literal",
|
|
465
477
|
"value": "aria-colspan"
|
|
@@ -476,6 +488,10 @@
|
|
|
476
488
|
"type": "literal",
|
|
477
489
|
"value": "aria-describedby"
|
|
478
490
|
},
|
|
491
|
+
{
|
|
492
|
+
"type": "literal",
|
|
493
|
+
"value": "aria-description"
|
|
494
|
+
},
|
|
479
495
|
{
|
|
480
496
|
"type": "literal",
|
|
481
497
|
"value": "aria-details"
|
|
@@ -592,6 +608,10 @@
|
|
|
592
608
|
"type": "literal",
|
|
593
609
|
"value": "aria-rowindex"
|
|
594
610
|
},
|
|
611
|
+
{
|
|
612
|
+
"type": "literal",
|
|
613
|
+
"value": "aria-rowindextext"
|
|
614
|
+
},
|
|
595
615
|
{
|
|
596
616
|
"type": "literal",
|
|
597
617
|
"value": "aria-rowspan"
|
|
@@ -1564,7 +1584,7 @@
|
|
|
1564
1584
|
"fileName": "packages/modules/packages/module/src/components/Card/Diviner/CardContent.tsx",
|
|
1565
1585
|
"line": 7,
|
|
1566
1586
|
"character": 13,
|
|
1567
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1587
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Diviner/CardContent.tsx#L7"
|
|
1568
1588
|
}
|
|
1569
1589
|
],
|
|
1570
1590
|
"signatures": [
|
|
@@ -1861,7 +1881,7 @@
|
|
|
1861
1881
|
"sources": [
|
|
1862
1882
|
{
|
|
1863
1883
|
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
1864
|
-
"line":
|
|
1884
|
+
"line": 799,
|
|
1865
1885
|
"character": 43
|
|
1866
1886
|
}
|
|
1867
1887
|
]
|
|
@@ -1953,7 +1973,7 @@
|
|
|
1953
1973
|
"fileName": "packages/modules/packages/module/src/components/Card/Diviner/CardHeader.tsx",
|
|
1954
1974
|
"line": 7,
|
|
1955
1975
|
"character": 13,
|
|
1956
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
1976
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Diviner/CardHeader.tsx#L7"
|
|
1957
1977
|
}
|
|
1958
1978
|
],
|
|
1959
1979
|
"signatures": [
|
|
@@ -2250,7 +2270,7 @@
|
|
|
2250
2270
|
"sources": [
|
|
2251
2271
|
{
|
|
2252
2272
|
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
2253
|
-
"line":
|
|
2273
|
+
"line": 799,
|
|
2254
2274
|
"character": 43
|
|
2255
2275
|
}
|
|
2256
2276
|
]
|
|
@@ -2366,7 +2386,7 @@
|
|
|
2366
2386
|
"fileName": "packages/modules/packages/module/src/components/Card/Module/Card.tsx",
|
|
2367
2387
|
"line": 8,
|
|
2368
2388
|
"character": 13,
|
|
2369
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
2389
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Module/Card.tsx#L8"
|
|
2370
2390
|
}
|
|
2371
2391
|
],
|
|
2372
2392
|
"signatures": [
|
|
@@ -2500,7 +2520,7 @@
|
|
|
2500
2520
|
"sources": [
|
|
2501
2521
|
{
|
|
2502
2522
|
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
2503
|
-
"line":
|
|
2523
|
+
"line": 799,
|
|
2504
2524
|
"character": 43
|
|
2505
2525
|
}
|
|
2506
2526
|
]
|
|
@@ -2725,6 +2745,14 @@
|
|
|
2725
2745
|
"type": "literal",
|
|
2726
2746
|
"value": "aria-autocomplete"
|
|
2727
2747
|
},
|
|
2748
|
+
{
|
|
2749
|
+
"type": "literal",
|
|
2750
|
+
"value": "aria-braillelabel"
|
|
2751
|
+
},
|
|
2752
|
+
{
|
|
2753
|
+
"type": "literal",
|
|
2754
|
+
"value": "aria-brailleroledescription"
|
|
2755
|
+
},
|
|
2728
2756
|
{
|
|
2729
2757
|
"type": "literal",
|
|
2730
2758
|
"value": "aria-busy"
|
|
@@ -2741,6 +2769,10 @@
|
|
|
2741
2769
|
"type": "literal",
|
|
2742
2770
|
"value": "aria-colindex"
|
|
2743
2771
|
},
|
|
2772
|
+
{
|
|
2773
|
+
"type": "literal",
|
|
2774
|
+
"value": "aria-colindextext"
|
|
2775
|
+
},
|
|
2744
2776
|
{
|
|
2745
2777
|
"type": "literal",
|
|
2746
2778
|
"value": "aria-colspan"
|
|
@@ -2757,6 +2789,10 @@
|
|
|
2757
2789
|
"type": "literal",
|
|
2758
2790
|
"value": "aria-describedby"
|
|
2759
2791
|
},
|
|
2792
|
+
{
|
|
2793
|
+
"type": "literal",
|
|
2794
|
+
"value": "aria-description"
|
|
2795
|
+
},
|
|
2760
2796
|
{
|
|
2761
2797
|
"type": "literal",
|
|
2762
2798
|
"value": "aria-details"
|
|
@@ -2873,6 +2909,10 @@
|
|
|
2873
2909
|
"type": "literal",
|
|
2874
2910
|
"value": "aria-rowindex"
|
|
2875
2911
|
},
|
|
2912
|
+
{
|
|
2913
|
+
"type": "literal",
|
|
2914
|
+
"value": "aria-rowindextext"
|
|
2915
|
+
},
|
|
2876
2916
|
{
|
|
2877
2917
|
"type": "literal",
|
|
2878
2918
|
"value": "aria-rowspan"
|
|
@@ -3811,7 +3851,7 @@
|
|
|
3811
3851
|
"fileName": "packages/modules/packages/module/src/components/Card/Module/CardActions.tsx",
|
|
3812
3852
|
"line": 10,
|
|
3813
3853
|
"character": 13,
|
|
3814
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
3854
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Module/CardActions.tsx#L10"
|
|
3815
3855
|
}
|
|
3816
3856
|
],
|
|
3817
3857
|
"signatures": [
|
|
@@ -4056,7 +4096,7 @@
|
|
|
4056
4096
|
"fileName": "packages/modules/packages/module/src/components/Card/Module/CardContent.tsx",
|
|
4057
4097
|
"line": 5,
|
|
4058
4098
|
"character": 13,
|
|
4059
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
4099
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Module/CardContent.tsx#L5"
|
|
4060
4100
|
}
|
|
4061
4101
|
],
|
|
4062
4102
|
"signatures": [
|
|
@@ -4319,7 +4359,7 @@
|
|
|
4319
4359
|
"sources": [
|
|
4320
4360
|
{
|
|
4321
4361
|
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
4322
|
-
"line":
|
|
4362
|
+
"line": 799,
|
|
4323
4363
|
"character": 43
|
|
4324
4364
|
}
|
|
4325
4365
|
]
|
|
@@ -4411,7 +4451,7 @@
|
|
|
4411
4451
|
"fileName": "packages/modules/packages/module/src/components/Card/Module/CardHeader.tsx",
|
|
4412
4452
|
"line": 11,
|
|
4413
4453
|
"character": 13,
|
|
4414
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
4454
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/Card/Module/CardHeader.tsx#L11"
|
|
4415
4455
|
}
|
|
4416
4456
|
],
|
|
4417
4457
|
"signatures": [
|
|
@@ -4674,7 +4714,7 @@
|
|
|
4674
4714
|
"sources": [
|
|
4675
4715
|
{
|
|
4676
4716
|
"fileName": "node_modules/@types/react/ts5.0/index.d.ts",
|
|
4677
|
-
"line":
|
|
4717
|
+
"line": 799,
|
|
4678
4718
|
"character": 43
|
|
4679
4719
|
}
|
|
4680
4720
|
]
|
|
@@ -4790,7 +4830,7 @@
|
|
|
4790
4830
|
"fileName": "packages/modules/packages/module/src/components/DetailsBox.tsx",
|
|
4791
4831
|
"line": 15,
|
|
4792
4832
|
"character": 13,
|
|
4793
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
4833
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/DetailsBox.tsx#L15"
|
|
4794
4834
|
}
|
|
4795
4835
|
],
|
|
4796
4836
|
"signatures": [
|
|
@@ -5035,7 +5075,7 @@
|
|
|
5035
5075
|
"fileName": "packages/modules/packages/module/src/components/TableCell.tsx",
|
|
5036
5076
|
"line": 8,
|
|
5037
5077
|
"character": 13,
|
|
5038
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
5078
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/components/TableCell.tsx#L8"
|
|
5039
5079
|
}
|
|
5040
5080
|
],
|
|
5041
5081
|
"signatures": [
|
|
@@ -5297,7 +5337,7 @@
|
|
|
5297
5337
|
"fileName": "packages/modules/packages/module/src/index.ts",
|
|
5298
5338
|
"line": 1,
|
|
5299
5339
|
"character": 0,
|
|
5300
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
|
5340
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/3a07b1bc2998/packages/modules/packages/module/src/index.ts#L1"
|
|
5301
5341
|
}
|
|
5302
5342
|
]
|
|
5303
5343
|
}
|
package/package.json
CHANGED
|
@@ -10,15 +10,15 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/eth-address": "^2.
|
|
13
|
+
"@xylabs/eth-address": "^2.9.1",
|
|
14
14
|
"@xylabs/react-async-effect": "^2.17.3",
|
|
15
15
|
"@xylabs/react-button": "^2.17.3",
|
|
16
16
|
"@xylabs/react-crypto": "^2.17.3",
|
|
17
17
|
"@xylabs/react-flexbox": "^2.17.3",
|
|
18
|
-
"@xyo-network/diviner": "^2.
|
|
19
|
-
"@xyo-network/module": "^2.
|
|
20
|
-
"@xyo-network/payload-model": "^2.
|
|
21
|
-
"@xyo-network/react-shared": "^2.
|
|
18
|
+
"@xyo-network/diviner": "^2.62.1",
|
|
19
|
+
"@xyo-network/module": "^2.62.1",
|
|
20
|
+
"@xyo-network/payload-model": "^2.62.1",
|
|
21
|
+
"@xyo-network/react-shared": "^2.54.0"
|
|
22
22
|
},
|
|
23
23
|
"devDependencies": {
|
|
24
24
|
"@ethersproject/address": "^5.7.0",
|
|
@@ -26,16 +26,16 @@
|
|
|
26
26
|
"@ethersproject/networks": "^5.7.1",
|
|
27
27
|
"@ethersproject/providers": "^5.7.2",
|
|
28
28
|
"@ethersproject/solidity": "^5.7.0",
|
|
29
|
-
"@storybook/react": "^7.0.
|
|
29
|
+
"@storybook/react": "^7.0.21",
|
|
30
30
|
"@uniswap/sdk": "^3.0.3",
|
|
31
|
-
"@uniswap/sdk-core": "^3.2.
|
|
31
|
+
"@uniswap/sdk-core": "^3.2.6",
|
|
32
32
|
"@uniswap/v3-sdk": "^3.9.0",
|
|
33
33
|
"@xylabs/ts-scripts-yarn3": "^2.17.13",
|
|
34
34
|
"@xylabs/tsconfig-react": "^2.17.13",
|
|
35
|
-
"@xyo-network/archivist": "^2.
|
|
36
|
-
"@xyo-network/crypto-asset-plugin": "^2.
|
|
37
|
-
"@xyo-network/diviner-address-history": "^2.
|
|
38
|
-
"@xyo-network/node": "^2.
|
|
35
|
+
"@xyo-network/archivist": "^2.62.1",
|
|
36
|
+
"@xyo-network/crypto-asset-plugin": "^2.62.1",
|
|
37
|
+
"@xyo-network/diviner-address-history": "^2.62.1",
|
|
38
|
+
"@xyo-network/node": "^2.62.1",
|
|
39
39
|
"typescript": "^5.1.3"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
@@ -90,5 +90,5 @@
|
|
|
90
90
|
},
|
|
91
91
|
"sideEffects": false,
|
|
92
92
|
"types": "dist/types/index.d.ts",
|
|
93
|
-
"version": "2.
|
|
93
|
+
"version": "2.54.0"
|
|
94
94
|
}
|
|
@@ -2,7 +2,7 @@ import { Meta, StoryFn } from '@storybook/react'
|
|
|
2
2
|
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
|
3
3
|
import { FlexCol } from '@xylabs/react-flexbox'
|
|
4
4
|
import { MemoryArchivist } from '@xyo-network/archivist'
|
|
5
|
-
import {
|
|
5
|
+
import { CryptoMarketAssetDiviner } from '@xyo-network/crypto-asset-plugin'
|
|
6
6
|
import { DivinerModule } from '@xyo-network/diviner'
|
|
7
7
|
import { MemoryNode } from '@xyo-network/node'
|
|
8
8
|
import { useState } from 'react'
|
|
@@ -69,7 +69,7 @@ const DivinerTemplate: StoryFn<typeof ModuleDetailsBox> = (args) => {
|
|
|
69
69
|
useAsyncEffect(
|
|
70
70
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
71
71
|
async (mounted) => {
|
|
72
|
-
const diviner = await
|
|
72
|
+
const diviner = await CryptoMarketAssetDiviner.create()
|
|
73
73
|
if (mounted()) {
|
|
74
74
|
setDiviner(diviner)
|
|
75
75
|
}
|