@xyo-network/react-module 2.68.0 → 2.68.2
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/package.json
CHANGED
|
@@ -10,24 +10,24 @@
|
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@xylabs/eth-address": "^2.14.
|
|
13
|
+
"@xylabs/eth-address": "^2.14.2",
|
|
14
14
|
"@xylabs/react-button": "^3.0.39",
|
|
15
15
|
"@xylabs/react-crypto": "^3.0.39",
|
|
16
16
|
"@xylabs/react-flexbox": "^3.0.39",
|
|
17
17
|
"@xylabs/react-promise": "^3.0.39",
|
|
18
|
-
"@xyo-network/diviner": "^2.
|
|
19
|
-
"@xyo-network/module-model": "^2.
|
|
20
|
-
"@xyo-network/react-shared": "~2.68.
|
|
18
|
+
"@xyo-network/diviner": "^2.90.18",
|
|
19
|
+
"@xyo-network/module-model": "^2.90.18",
|
|
20
|
+
"@xyo-network/react-shared": "~2.68.2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
|
-
"@storybook/react": "^7.6.
|
|
23
|
+
"@storybook/react": "^7.6.16",
|
|
24
24
|
"@xylabs/react-async-effect": "^3.0.39",
|
|
25
25
|
"@xylabs/ts-scripts-yarn3": "^3.2.42",
|
|
26
26
|
"@xylabs/tsconfig-react": "^3.2.42",
|
|
27
|
-
"@xyo-network/archivist": "^2.
|
|
28
|
-
"@xyo-network/crypto-asset-plugin": "^2.87.
|
|
29
|
-
"@xyo-network/diviner-address-history": "^2.
|
|
30
|
-
"@xyo-network/node-memory": "^2.
|
|
27
|
+
"@xyo-network/archivist": "^2.90.18",
|
|
28
|
+
"@xyo-network/crypto-asset-plugin": "^2.87.10",
|
|
29
|
+
"@xyo-network/diviner-address-history": "^2.90.18",
|
|
30
|
+
"@xyo-network/node-memory": "^2.90.18",
|
|
31
31
|
"typescript": "^5.3.3"
|
|
32
32
|
},
|
|
33
33
|
"peerDependencies": {
|
|
@@ -88,6 +88,6 @@
|
|
|
88
88
|
},
|
|
89
89
|
"sideEffects": false,
|
|
90
90
|
"types": "dist/browser/index.d.ts",
|
|
91
|
-
"version": "2.68.
|
|
91
|
+
"version": "2.68.2",
|
|
92
92
|
"type": "module"
|
|
93
93
|
}
|
|
@@ -17,13 +17,13 @@ const Template: StoryFn<typeof DivinerCard> = () => {
|
|
|
17
17
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
18
18
|
async (mounted) => {
|
|
19
19
|
if (!module) {
|
|
20
|
-
const newModule = await AddressHistoryDiviner.create({
|
|
20
|
+
const newModule = (await AddressHistoryDiviner.create({
|
|
21
21
|
config: {
|
|
22
22
|
address: '',
|
|
23
23
|
name: 'AddressHistoryDiviner',
|
|
24
24
|
schema: AddressHistoryDivinerConfigSchema,
|
|
25
25
|
},
|
|
26
|
-
})
|
|
26
|
+
})) as DivinerInstance
|
|
27
27
|
if (mounted()) {
|
|
28
28
|
setModule(newModule)
|
|
29
29
|
}
|
|
@@ -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 CryptoMarketAssetDiviner.create()
|
|
72
|
+
const diviner = (await CryptoMarketAssetDiviner.create()) as DivinerInstance
|
|
73
73
|
if (mounted()) {
|
|
74
74
|
setDiviner(diviner)
|
|
75
75
|
}
|