@xyo-network/react-embed 2.48.7 → 2.49.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js +2 -2
- package/dist/cjs/contexts/ResolvePayloadContext/Provider.js.map +1 -1
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js +2 -2
- package/dist/cjs/contexts/ValidatePayloadContext/Provider.js.map +1 -1
- package/dist/docs.json +20 -20
- package/dist/esm/contexts/ResolvePayloadContext/Provider.js +1 -1
- package/dist/esm/contexts/ResolvePayloadContext/Provider.js.map +1 -1
- package/dist/esm/contexts/ValidatePayloadContext/Provider.js +1 -1
- package/dist/esm/contexts/ValidatePayloadContext/Provider.js.map +1 -1
- package/dist/types/contexts/ResolvePayloadContext/Provider.d.ts.map +1 -1
- package/dist/types/contexts/ValidatePayloadContext/Provider.d.ts.map +1 -1
- package/package.json +17 -17
- package/src/contexts/ResolvePayloadContext/Provider.tsx +2 -1
- package/src/contexts/ValidatePayloadContext/Provider.tsx +2 -1
@@ -4,7 +4,7 @@ exports.ResolvePayloadProvider = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
6
|
const delay_1 = require("@xylabs/delay");
|
7
|
-
const
|
7
|
+
const react_async_effect_1 = require("@xylabs/react-async-effect");
|
8
8
|
const huri_1 = require("@xyo-network/huri");
|
9
9
|
const module_1 = require("@xyo-network/module");
|
10
10
|
const react_1 = require("react");
|
@@ -23,7 +23,7 @@ const ResolvePayloadProvider = ({ children, huriPayload }) => {
|
|
23
23
|
}, [huriPayload, setRefreshPayload]);
|
24
24
|
const [notFound, setNotFound] = (0, react_1.useState)();
|
25
25
|
const [huriError, setHuriError] = (0, react_1.useState)();
|
26
|
-
(0,
|
26
|
+
(0, react_async_effect_1.useAsyncEffect)(
|
27
27
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
28
28
|
(mounted) => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
29
29
|
if (huri && !refreshPayload) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,yCAAqC;AACrC,
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,yCAAqC;AACrC,mEAA2D;AAE3D,4CAAwC;AACxC,gDAAoE;AAEpE,iCAA2C;AAE3C,oEAA4D;AAC5D,uCAAiD;AAK1C,MAAM,sBAAsB,GAAwD,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACvH,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACjD,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,GAAG,IAAA,gBAAQ,GAAU,CAAA;IAC1C,MAAM,EAAE,cAAc,EAAE,iBAAiB,EAAE,SAAS,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IAE5E,IAAA,iBAAS,EAAC,GAAG,EAAE;QACb,OAAO,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,OAAO,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;QAClE,IAAI,OAAO,WAAW,KAAK,QAAQ,EAAE;YACnC,UAAU,CAAC,WAAW,CAAC,CAAA;YACvB,iBAAiB,aAAjB,iBAAiB,uBAAjB,iBAAiB,CAAG,IAAI,CAAC,CAAA;SAC1B;IACH,CAAC,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC,CAAC,CAAA;IAEpC,MAAM,CAAC,QAAQ,EAAE,WAAW,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IACnD,MAAM,CAAC,SAAS,EAAE,YAAY,CAAC,GAAG,IAAA,gBAAQ,GAAe,CAAA;IAEzD,IAAA,mCAAc;IACZ,uDAAuD;IACvD,CA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ValidatePayloadProvider = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
5
5
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
6
6
|
const material_1 = require("@mui/material");
|
7
|
-
const
|
7
|
+
const react_async_effect_1 = require("@xylabs/react-async-effect");
|
8
8
|
const schema_cache_1 = require("@xyo-network/schema-cache");
|
9
9
|
const react_1 = require("react");
|
10
10
|
const ResolvePayloadContext_1 = require("../ResolvePayloadContext");
|
@@ -13,7 +13,7 @@ const ValidatePayloadProvider = ({ children, enabled = false }) => {
|
|
13
13
|
const { payload } = (0, ResolvePayloadContext_1.useResolvePayload)();
|
14
14
|
const [initialized, setInitialized] = (0, react_1.useState)(false);
|
15
15
|
const [valid, setValid] = (0, react_1.useState)();
|
16
|
-
(0,
|
16
|
+
(0, react_async_effect_1.useAsyncEffect)(
|
17
17
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
18
18
|
() => tslib_1.__awaiter(void 0, void 0, void 0, function* () {
|
19
19
|
if (payload && enabled) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoC;AACpC,
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAoC;AACpC,mEAA2D;AAE3D,4DAAiF;AACjF,iCAAgC;AAEhC,oEAA4D;AAC5D,uCAAkD;AAO3C,MAAM,uBAAuB,GAAyD,CAAC,EAAE,QAAQ,EAAE,OAAO,GAAG,KAAK,EAAE,EAAE,EAAE;IAC7H,MAAM,EAAE,OAAO,EAAE,GAAG,IAAA,yCAAiB,GAAE,CAAA;IACvC,MAAM,CAAC,WAAW,EAAE,cAAc,CAAC,GAAG,IAAA,gBAAQ,EAAC,KAAK,CAAC,CAAA;IACrD,MAAM,CAAC,KAAK,EAAE,QAAQ,CAAC,GAAG,IAAA,gBAAQ,GAAW,CAAA;IAE7C,IAAA,mCAAc;IACZ,uDAAuD;IACvD,GAAS,EAAE;QACT,IAAI,OAAO,IAAI,OAAO,EAAE;YACtB,MAAM,0BAAW,CAAC,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,MAAM,CAAC,CAAA;YAE9C,MAAM,mBAAmB,GAAG,OAAO,CAAC,MAAwC,CAAA;YAE5E,IAAI,0BAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,EAAE;gBACxD,MAAM,SAAS,GAAG,0BAAW,CAAC,QAAQ,CAAC,UAAU,CAAC,mBAAmB,CAAC,CAAA;gBACtE,QAAQ,CAAC,SAAS,aAAT,SAAS,uBAAT,SAAS,CAAG,OAAO,CAAC,CAAC,CAAA;aAC/B;YACD,cAAc,CAAC,IAAI,CAAC,CAAA;SACrB;IACH,CAAC,CAAA,EACD,CAAC,OAAO,EAAE,OAAO,CAAC,CACnB,CAAA;IAED,OAAO,CACL,uBAAC,gCAAsB,CAAC,QAAQ,kBAAC,KAAK,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,EAAE,YAAY,EAAE,KAAK,EAAE,gBAC9G,OAAO,CAAC,CAAC,CAAC,2DAAG,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,uBAAC,eAAI,IAAC,KAAK,EAAC,uBAAuB,GAAG,GAAI,CAAC,CAAC,CAAC,QAAQ,IAC5D,CACnC,CAAA;AACH,CAAC,CAAA;AA5BY,QAAA,uBAAuB,2BA4BnC"}
|
package/dist/docs.json
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx",
|
27
27
|
"line": 13,
|
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/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L13"
|
30
30
|
}
|
31
31
|
],
|
32
32
|
"type": {
|
@@ -51,7 +51,7 @@
|
|
51
51
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx",
|
52
52
|
"line": 14,
|
53
53
|
"character": 2,
|
54
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
54
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L14"
|
55
55
|
}
|
56
56
|
],
|
57
57
|
"type": {
|
@@ -76,7 +76,7 @@
|
|
76
76
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx",
|
77
77
|
"line": 15,
|
78
78
|
"character": 2,
|
79
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
79
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L15"
|
80
80
|
}
|
81
81
|
],
|
82
82
|
"type": {
|
@@ -103,7 +103,7 @@
|
|
103
103
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx",
|
104
104
|
"line": 16,
|
105
105
|
"character": 2,
|
106
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
106
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L16"
|
107
107
|
}
|
108
108
|
],
|
109
109
|
"type": {
|
@@ -149,7 +149,7 @@
|
|
149
149
|
"fileName": "packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts",
|
150
150
|
"line": 24,
|
151
151
|
"character": 2,
|
152
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
152
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L24"
|
153
153
|
}
|
154
154
|
],
|
155
155
|
"type": {
|
@@ -174,7 +174,7 @@
|
|
174
174
|
"fileName": "packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts",
|
175
175
|
"line": 6,
|
176
176
|
"character": 2,
|
177
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
177
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L6"
|
178
178
|
}
|
179
179
|
],
|
180
180
|
"type": {
|
@@ -213,7 +213,7 @@
|
|
213
213
|
"fileName": "packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts",
|
214
214
|
"line": 27,
|
215
215
|
"character": 2,
|
216
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
216
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L27"
|
217
217
|
}
|
218
218
|
],
|
219
219
|
"type": {
|
@@ -238,7 +238,7 @@
|
|
238
238
|
"fileName": "packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts",
|
239
239
|
"line": 7,
|
240
240
|
"character": 2,
|
241
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
241
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L7"
|
242
242
|
}
|
243
243
|
],
|
244
244
|
"type": {
|
@@ -302,7 +302,7 @@
|
|
302
302
|
"fileName": "packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts",
|
303
303
|
"line": 9,
|
304
304
|
"character": 2,
|
305
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
305
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L9"
|
306
306
|
}
|
307
307
|
],
|
308
308
|
"type": {
|
@@ -318,7 +318,7 @@
|
|
318
318
|
"fileName": "packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts",
|
319
319
|
"line": 9,
|
320
320
|
"character": 14,
|
321
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
321
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L9"
|
322
322
|
}
|
323
323
|
],
|
324
324
|
"signatures": [
|
@@ -362,7 +362,7 @@
|
|
362
362
|
"fileName": "packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts",
|
363
363
|
"line": 28,
|
364
364
|
"character": 2,
|
365
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
365
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L28"
|
366
366
|
}
|
367
367
|
],
|
368
368
|
"type": {
|
@@ -390,7 +390,7 @@
|
|
390
390
|
"fileName": "packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts",
|
391
391
|
"line": 29,
|
392
392
|
"character": 2,
|
393
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
393
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L29"
|
394
394
|
}
|
395
395
|
],
|
396
396
|
"type": {
|
@@ -415,7 +415,7 @@
|
|
415
415
|
"fileName": "packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts",
|
416
416
|
"line": 30,
|
417
417
|
"character": 2,
|
418
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
418
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L30"
|
419
419
|
}
|
420
420
|
],
|
421
421
|
"type": {
|
@@ -440,7 +440,7 @@
|
|
440
440
|
"fileName": "packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts",
|
441
441
|
"line": 10,
|
442
442
|
"character": 2,
|
443
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
443
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L10"
|
444
444
|
}
|
445
445
|
],
|
446
446
|
"type": {
|
@@ -478,7 +478,7 @@
|
|
478
478
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx",
|
479
479
|
"line": 10,
|
480
480
|
"character": 17,
|
481
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
481
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L10"
|
482
482
|
}
|
483
483
|
],
|
484
484
|
"extendedTypes": [
|
@@ -509,7 +509,7 @@
|
|
509
509
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx",
|
510
510
|
"line": 64,
|
511
511
|
"character": 13,
|
512
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
512
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L64"
|
513
513
|
}
|
514
514
|
],
|
515
515
|
"signatures": [
|
@@ -599,7 +599,7 @@
|
|
599
599
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx",
|
600
600
|
"line": 12,
|
601
601
|
"character": 13,
|
602
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
602
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L12"
|
603
603
|
}
|
604
604
|
],
|
605
605
|
"signatures": [
|
@@ -675,7 +675,7 @@
|
|
675
675
|
"fileName": "packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx",
|
676
676
|
"line": 44,
|
677
677
|
"character": 13,
|
678
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
678
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L44"
|
679
679
|
}
|
680
680
|
],
|
681
681
|
"signatures": [
|
@@ -750,7 +750,7 @@
|
|
750
750
|
"fileName": "packages/sdk/packages/embed/src/components/XyoEmbedPlugin.tsx",
|
751
751
|
"line": 10,
|
752
752
|
"character": 13,
|
753
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
753
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/components/XyoEmbedPlugin.tsx#L10"
|
754
754
|
}
|
755
755
|
],
|
756
756
|
"signatures": [
|
@@ -845,7 +845,7 @@
|
|
845
845
|
"fileName": "packages/sdk/packages/embed/src/index.ts",
|
846
846
|
"line": 1,
|
847
847
|
"character": 0,
|
848
|
-
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/
|
848
|
+
"url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/1a57ab6b1a9/packages/sdk/packages/embed/src/index.ts#L1"
|
849
849
|
}
|
850
850
|
]
|
851
851
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
2
2
|
import { delay } from '@xylabs/delay';
|
3
|
-
import { useAsyncEffect } from '@xylabs/react-
|
3
|
+
import { useAsyncEffect } from '@xylabs/react-async-effect';
|
4
4
|
import { Huri } from '@xyo-network/huri';
|
5
5
|
import { ModuleErrorSchema } from '@xyo-network/module';
|
6
6
|
import { useEffect, useState } from 'react';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,EAAE,cAAc,
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,eAAe,CAAA;AACrC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAA;AACxC,OAAO,EAAe,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAEpE,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAE3C,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAKjD,MAAM,CAAC,MAAM,sBAAsB,GAAwD,CAAC,EAAE,QAAQ,EAAE,WAAW,EAAE,EAAE,EAAE;IACvH,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAA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AAM,EAAE,iBAAiB,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,CAAA;aACjF;SACF;IACH,CAAC,EACD,CAAC,IAAI,EAAE,OAAO,EAAE,cAAc,EAAE,iBAAiB,CAAC,CACnD,CAAA;IAED,MAAM,WAAW,GAAG,GAAG,EAAE;QACvB,SAAS,EAAE,EAAE,CAAA;QACb,IAAI,IAAI,EAAE;YACR,iBAAiB,EAAE,CAAC,KAAK,CAAC,CAAA;SAC3B;IACH,CAAC,CAAA;IAED,OAAO,CACL,KAAC,qBAAqB,CAAC,QAAQ,IAAC,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,IAAI,EAAE,WAAW,EAAE,UAAU,EAAE,YACnH,QAAQ,GACsB,CAClC,CAAA;AACH,CAAC,CAAA"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as _jsx, Fragment as _Fragment } from "react/jsx-runtime";
|
2
2
|
import { Chip } from '@mui/material';
|
3
|
-
import { useAsyncEffect } from '@xylabs/react-
|
3
|
+
import { useAsyncEffect } from '@xylabs/react-async-effect';
|
4
4
|
import { SchemaCache } from '@xyo-network/schema-cache';
|
5
5
|
import { useState } from 'react';
|
6
6
|
import { useResolvePayload } from '../ResolvePayloadContext';
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,cAAc,
|
1
|
+
{"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAA;AACpC,OAAO,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAA;AAE3D,OAAO,EAAE,WAAW,EAA4B,MAAM,2B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CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAC,IAAI,IAAC,KAAK,EAAC,uBAAuB,GAAG,GAAI,CAAC,CAAC,CAAC,QAAQ,GAC5D,CACnC,CAAA;AACH,CAAC,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAQnD,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAA;AAE7C,MAAM,MAAM,2BAA2B,GAAG,IAAI,CAAC,mBAAmB,EAAE,UAAU,CAAC,CAAA;AAE/E,eAAO,MAAM,sBAAsB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,2BAA2B,CAAC,CAoDtF,CAAA"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";
|
1
|
+
{"version":3,"file":"Provider.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Provider.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AAOnD,MAAM,WAAW,4BAA4B;IAE3C,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,eAAO,MAAM,uBAAuB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,4BAA4B,CAAC,CA4BxF,CAAA"}
|
package/package.json
CHANGED
@@ -11,27 +11,27 @@
|
|
11
11
|
},
|
12
12
|
"dependencies": {
|
13
13
|
"@xylabs/delay": "^2.7.6",
|
14
|
-
"@xylabs/react-
|
15
|
-
"@xylabs/react-
|
16
|
-
"@
|
17
|
-
"@xyo-network/
|
18
|
-
"@xyo-network/
|
19
|
-
"@xyo-network/
|
20
|
-
"@xyo-network/react-
|
21
|
-
"@xyo-network/react-
|
22
|
-
"@xyo-network/
|
14
|
+
"@xylabs/react-async-effect": "^2.17.2",
|
15
|
+
"@xylabs/react-flexbox": "^2.17.2",
|
16
|
+
"@xylabs/react-shared": "^2.17.2",
|
17
|
+
"@xyo-network/huri": "^2.56.0",
|
18
|
+
"@xyo-network/module": "^2.56.0",
|
19
|
+
"@xyo-network/payload-model": "^2.56.0",
|
20
|
+
"@xyo-network/react-error": "^2.49.1",
|
21
|
+
"@xyo-network/react-payload-plugin": "^2.49.1",
|
22
|
+
"@xyo-network/react-shared": "^2.49.1",
|
23
|
+
"@xyo-network/schema-cache": "^2.56.0"
|
23
24
|
},
|
24
25
|
"devDependencies": {
|
25
|
-
"@storybook/react": "^7.0.
|
26
|
+
"@storybook/react": "^7.0.7",
|
26
27
|
"@uniswap/sdk": "^3.0.3",
|
27
28
|
"@uniswap/sdk-core": "^3.2.2",
|
28
29
|
"@uniswap/v3-sdk": "^3.9.0",
|
29
|
-
"@xylabs/ts-scripts-yarn3": "^2.
|
30
|
-
"@xylabs/tsconfig-react": "^2.
|
31
|
-
"@xyo-network/react-aggregate-price-plugin": "^2.
|
32
|
-
"@xyo-network/react-crypto-market-uniswap-plugin": "^2.
|
33
|
-
"
|
34
|
-
"typescript": "^4.9.5"
|
30
|
+
"@xylabs/ts-scripts-yarn3": "^2.17.6",
|
31
|
+
"@xylabs/tsconfig-react": "^2.17.5",
|
32
|
+
"@xyo-network/react-aggregate-price-plugin": "^2.49.1",
|
33
|
+
"@xyo-network/react-crypto-market-uniswap-plugin": "^2.49.1",
|
34
|
+
"typescript": "^5.0.4"
|
35
35
|
},
|
36
36
|
"peerDependencies": {
|
37
37
|
"@mui/icons-material": "^5",
|
@@ -85,5 +85,5 @@
|
|
85
85
|
},
|
86
86
|
"sideEffects": false,
|
87
87
|
"types": "dist/types/index.d.ts",
|
88
|
-
"version": "2.
|
88
|
+
"version": "2.49.1"
|
89
89
|
}
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { delay } from '@xylabs/delay'
|
2
|
-
import { useAsyncEffect
|
2
|
+
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
3
|
+
import { WithChildren } from '@xylabs/react-shared'
|
3
4
|
import { Huri } from '@xyo-network/huri'
|
4
5
|
import { ModuleError, ModuleErrorSchema } from '@xyo-network/module'
|
5
6
|
import { Payload } from '@xyo-network/payload-model'
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { Chip } from '@mui/material'
|
2
|
-
import { useAsyncEffect
|
2
|
+
import { useAsyncEffect } from '@xylabs/react-async-effect'
|
3
|
+
import { WithChildren } from '@xylabs/react-shared'
|
3
4
|
import { SchemaCache, SchemaNameToValidatorMap } from '@xyo-network/schema-cache'
|
4
5
|
import { useState } from 'react'
|
5
6
|
|