@xyo-network/react-embed 2.81.6 → 2.81.7
Sign up to get free protection for your applications and to get access to all the features.
package/package.json
CHANGED
@@ -10,30 +10,30 @@
|
|
10
10
|
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/issues"
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
|
-
"@mui/icons-material": "^5.16.
|
14
|
-
"@mui/material": "^5.16.
|
15
|
-
"@mui/styles": "^5.16.
|
16
|
-
"@xylabs/delay": "^3.
|
17
|
-
"@xylabs/react-async-effect": "^3.4.
|
18
|
-
"@xylabs/react-flexbox": "^3.4.
|
19
|
-
"@xylabs/react-select": "^3.4.
|
20
|
-
"@xylabs/react-shared": "^3.4.
|
21
|
-
"@xyo-network/huri": "^2.110.
|
22
|
-
"@xyo-network/payload-model": "^2.110.
|
23
|
-
"@xyo-network/react-error": "^2.81.
|
24
|
-
"@xyo-network/react-payload-plugin": "^2.81.
|
25
|
-
"@xyo-network/react-shared": "^2.81.
|
26
|
-
"@xyo-network/schema-cache": "^2.110.
|
13
|
+
"@mui/icons-material": "^5.16.4",
|
14
|
+
"@mui/material": "^5.16.4",
|
15
|
+
"@mui/styles": "^5.16.4",
|
16
|
+
"@xylabs/delay": "^3.6.4",
|
17
|
+
"@xylabs/react-async-effect": "^3.4.1",
|
18
|
+
"@xylabs/react-flexbox": "^3.4.1",
|
19
|
+
"@xylabs/react-select": "^3.4.1",
|
20
|
+
"@xylabs/react-shared": "^3.4.1",
|
21
|
+
"@xyo-network/huri": "^2.110.7",
|
22
|
+
"@xyo-network/payload-model": "^2.110.7",
|
23
|
+
"@xyo-network/react-error": "^2.81.7",
|
24
|
+
"@xyo-network/react-payload-plugin": "^2.81.7",
|
25
|
+
"@xyo-network/react-shared": "^2.81.7",
|
26
|
+
"@xyo-network/schema-cache": "^2.110.7",
|
27
27
|
"react": "^18.3.1",
|
28
28
|
"react-dom": "^18.3.1"
|
29
29
|
},
|
30
30
|
"devDependencies": {
|
31
31
|
"@storybook/react": "^7.6.20",
|
32
|
-
"@xylabs/ts-scripts-yarn3": "^3.12.
|
33
|
-
"@xylabs/tsconfig-react": "^3.12.
|
34
|
-
"@xyo-network/react-aggregate-price-plugin": "^2.81.
|
35
|
-
"@xyo-network/react-crypto-market-uniswap-plugin": "^2.81.
|
36
|
-
"react-router-dom": "^6.
|
32
|
+
"@xylabs/ts-scripts-yarn3": "^3.12.4",
|
33
|
+
"@xylabs/tsconfig-react": "^3.12.4",
|
34
|
+
"@xyo-network/react-aggregate-price-plugin": "^2.81.7",
|
35
|
+
"@xyo-network/react-crypto-market-uniswap-plugin": "^2.81.7",
|
36
|
+
"react-router-dom": "^6.25.1",
|
37
37
|
"typescript": "^5.5.3"
|
38
38
|
},
|
39
39
|
"peerDependencies": {
|
@@ -91,6 +91,6 @@
|
|
91
91
|
},
|
92
92
|
"sideEffects": false,
|
93
93
|
"types": "dist/browser/index.d.ts",
|
94
|
-
"version": "2.81.
|
94
|
+
"version": "2.81.7",
|
95
95
|
"type": "module"
|
96
96
|
}
|
@@ -2,7 +2,7 @@ import { Meta } from '@storybook/react'
|
|
2
2
|
import { CryptoAssetRenderPlugin } from '@xyo-network/react-aggregate-price-plugin'
|
3
3
|
import { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'
|
4
4
|
|
5
|
-
import { Template, xyoEmbedStoryBase } from './storyShared'
|
5
|
+
import { Template, xyoEmbedStoryBase } from './storyShared.js'
|
6
6
|
|
7
7
|
const AggregatePricePointer = 'https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20'
|
8
8
|
const UniswapPairPointer = 'https://beta.api.archivist.xyo.network/e36602006239d86b6e08412f7879372b2c622d74f4d6bc508a08a46fa8ad6523'
|
@@ -3,8 +3,8 @@ import { CryptoAssetRenderPlugin } from '@xyo-network/react-aggregate-price-plug
|
|
3
3
|
import { UniswapPairsRenderPlugin } from '@xyo-network/react-crypto-market-uniswap-plugin'
|
4
4
|
import { createPayloadRenderPlugin } from '@xyo-network/react-payload-plugin'
|
5
5
|
|
6
|
-
import { payloadData } from './storyPayload'
|
7
|
-
import { Template, xyoEmbedStoryBase } from './storyShared'
|
6
|
+
import { payloadData } from './storyPayload.js'
|
7
|
+
import { Template, xyoEmbedStoryBase } from './storyShared.js'
|
8
8
|
|
9
9
|
const AggregatePricePointer = 'https://api.archivist.xyo.network/1948bf4eedf90ee2b8a1f63216b7c6b3b18d7bc2834330d85bcd6ab3d6428a20'
|
10
10
|
|
@@ -1,11 +1,11 @@
|
|
1
1
|
import { Typography } from '@mui/material'
|
2
2
|
import { Decorator, Meta, StoryFn } from '@storybook/react'
|
3
3
|
|
4
|
-
import { EmbedPluginContext, EmbedPluginState } from '../EmbedPluginContext'
|
5
|
-
import { RefreshPayloadProvider } from '../RefreshPayloadContext'
|
6
|
-
import { ResolvePayloadContext, ResolvePayloadState } from '../ResolvePayloadContext'
|
7
|
-
import { ValidatePayloadProvider, ValidatePayloadProviderProps } from './Provider'
|
8
|
-
import { useValidatePayload } from './use'
|
4
|
+
import { EmbedPluginContext, EmbedPluginState } from '../EmbedPluginContext/index.js'
|
5
|
+
import { RefreshPayloadProvider } from '../RefreshPayloadContext/index.js'
|
6
|
+
import { ResolvePayloadContext, ResolvePayloadState } from '../ResolvePayloadContext/index.js'
|
7
|
+
import { ValidatePayloadProvider, ValidatePayloadProviderProps } from './Provider.js'
|
8
|
+
import { useValidatePayload } from './use.js'
|
9
9
|
|
10
10
|
const EmbedDecorator: Decorator<ValidatePayloadProviderPropsEx> = (Story, { args }) => {
|
11
11
|
const { xyoEmbedPluginContext, resolvePayloadContext, ...props } = args
|