@xyo-network/react-embed 2.47.11 → 2.47.12

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ const ResolvePayloadProvider = ({ children, huriPayload }) => {
40
40
  }
41
41
  catch (e) {
42
42
  const error = e;
43
- setHuriError({ message: error.message, schema: module_1.XyoErrorSchema, sources: [] });
43
+ setHuriError({ message: error.message, schema: module_1.ModuleErrorSchema, sources: [] });
44
44
  }
45
45
  }
46
46
  }), [huri, payload, refreshPayload, setRefreshPayload]);
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],"mappings":";;;;;AAAA,yCAAqC;AACrC,uDAAmE;AACnE,4CAAwC;AACxC,gDAA8D;AAE9D,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,CA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ages/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L13"
29
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L14"
54
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L15"
79
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/card/BusyCard.tsx#L16"
106
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L24"
152
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L6"
177
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L27"
216
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L7"
241
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L9"
305
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L9"
321
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L28"
365
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L29"
393
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/contexts/XyoEmbedPluginContext/State.ts#L30"
418
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/types/XyoEmbedPluginProps.ts#L10"
443
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L10"
481
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L64"
512
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L12"
602
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/embed-card/XyoEmbedPluginCard.tsx#L44"
678
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/components/XyoEmbedPlugin.tsx#L10"
753
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/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/5d932f6bf7a/packages/sdk/packages/embed/src/index.ts#L1"
848
+ "url": "https://github.com/XYOracleNetwork/sdk-xyo-react-js/blob/075360828f4/packages/sdk/packages/embed/src/index.ts#L1"
849
849
  }
850
850
  ]
851
851
  }
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "react/jsx-runtime";
2
2
  import { delay } from '@xylabs/delay';
3
3
  import { useAsyncEffect } from '@xylabs/react-shared';
4
4
  import { Huri } from '@xyo-network/huri';
5
- import { XyoErrorSchema } from '@xyo-network/module';
5
+ import { ModuleErrorSchema } from '@xyo-network/module';
6
6
  import { useEffect, useState } from 'react';
7
7
  import { useRefreshPayload } from '../RefreshPayloadContext';
8
8
  import { ResolvePayloadContext } from './Context';
@@ -36,7 +36,7 @@ export const ResolvePayloadProvider = ({ children, huriPayload }) => {
36
36
  }
37
37
  catch (e) {
38
38
  const error = e;
39
- setHuriError({ message: error.message, schema: XyoErrorSchema, sources: [] });
39
+ setHuriError({ message: error.message, schema: ModuleErrorSchema, sources: [] });
40
40
  }
41
41
  }
42
42
  }, [huri, payload, refreshPayload, setRefreshPayload]);
@@ -1 +1 @@
1
- {"version":3,"file":"Provider.js","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Provider.tsx"],"names":[],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,MAAM,MAAM,GAAG,MAAM,YAAY,CAAC,KAAK,EAAE,CAAA;gBACzC,4EAA4E;gBAC5E,MAAM,KAAK,CAAC,GAAG,CAAC,CAAA;gBAEhB,IAAI,OAAO,EAAE,EAAE;oBACb,WAAW,CAAC,MAAM,KAAK,IAAI,CAAC,CAAA;oBAC5B,UAAU,CAAC,MAAM,CAAC,CAAA;oBAClB,iBAAiB,EAAE,CAAC,IAAI,CAAC,CAAA;iBAC1B;aACF;YAAC,OAAO,CAAC,EAAE;gBACV,MAAM,KAAK,GAAG,CAAU,CAAA;gBACxB,YAAY,CAAC,EAAE,OAAO,EAAE,KAAK,CAAC,OAAO,EAAE,MAAM,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,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  import { CardProps } from '@mui/material';
3
3
  import { WithChildren } from '@xylabs/react-shared';
4
- import { XyoError } from '@xyo-network/module';
4
+ import { ModuleError } from '@xyo-network/module';
5
5
  interface EmbedCardApiErrorRendererProps extends CardProps {
6
- xyoError?: XyoError;
6
+ xyoError?: ModuleError;
7
7
  }
8
8
  export declare const EmbedCardApiErrorRenderer: React.FC<WithChildren<EmbedCardApiErrorRendererProps>>;
9
9
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"EmbedCardApiErrorRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAK9C,UAAU,8BAA+B,SAAQ,SAAS;IACxD,QAAQ,CAAC,EAAE,QAAQ,CAAA;CACpB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,8BAA8B,CAAC,CAM5F,CAAA"}
1
+ {"version":3,"file":"EmbedCardApiErrorRenderer.d.ts","sourceRoot":"","sources":["../../../../../src/components/embed-card/error-handling/EmbedCardApiErrorRenderer.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AACzC,OAAO,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAA;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAKjD,UAAU,8BAA+B,SAAQ,SAAS;IACxD,QAAQ,CAAC,EAAE,WAAW,CAAA;CACvB;AAED,eAAO,MAAM,yBAAyB,EAAE,KAAK,CAAC,EAAE,CAAC,YAAY,CAAC,8BAA8B,CAAC,CAM5F,CAAA"}
@@ -1,10 +1,10 @@
1
- import { XyoError } from '@xyo-network/module';
1
+ import { ModuleError } from '@xyo-network/module';
2
2
  import { Payload } from '@xyo-network/payload-model';
3
3
  import { ContextExState } from '@xyo-network/react-shared';
4
4
  import { Dispatch, SetStateAction } from 'react';
5
5
  export interface ResolvePayloadState extends ContextExState {
6
6
  huri?: string;
7
- huriError?: XyoError;
7
+ huriError?: ModuleError;
8
8
  huriPayload?: string | Payload;
9
9
  notFound?: boolean;
10
10
  payload?: Payload;
@@ -1 +1 @@
1
- {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAC9C,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,QAAQ,CAAA;IACpB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAC3D"}
1
+ {"version":3,"file":"State.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/State.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAA;AAC1D,OAAO,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAEhD,MAAM,WAAW,mBAAoB,SAAQ,cAAc;IACzD,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,SAAS,CAAC,EAAE,WAAW,CAAA;IACvB,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,CAAA;IAC9B,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,WAAW,CAAC,EAAE,MAAM,IAAI,CAAA;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC,CAAA;CAC3D"}
package/package.json CHANGED
@@ -13,13 +13,13 @@
13
13
  "@xylabs/delay": "^2.7.6",
14
14
  "@xylabs/react-flexbox": "^2.16.11",
15
15
  "@xylabs/react-shared": "^2.16.11",
16
- "@xyo-network/huri": "^2.53.15",
17
- "@xyo-network/module": "^2.53.15",
18
- "@xyo-network/payload-model": "^2.53.15",
19
- "@xyo-network/react-error": "^2.47.11",
20
- "@xyo-network/react-payload-plugin": "^2.47.11",
21
- "@xyo-network/react-shared": "^2.47.11",
22
- "@xyo-network/utils": "^2.53.15"
16
+ "@xyo-network/huri": "^2.53.16",
17
+ "@xyo-network/module": "^2.53.16",
18
+ "@xyo-network/payload-model": "^2.53.16",
19
+ "@xyo-network/react-error": "^2.47.12",
20
+ "@xyo-network/react-payload-plugin": "^2.47.12",
21
+ "@xyo-network/react-shared": "^2.47.12",
22
+ "@xyo-network/utils": "^2.53.16"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@storybook/react": "^6.5.16",
@@ -28,8 +28,8 @@
28
28
  "@uniswap/v3-sdk": "^3.9.0",
29
29
  "@xylabs/ts-scripts-yarn3": "^2.16.1",
30
30
  "@xylabs/tsconfig-react": "^2.16.1",
31
- "@xyo-network/react-aggregate-price-plugin": "^2.47.11",
32
- "@xyo-network/react-crypto-market-uniswap-plugin": "^2.47.11",
31
+ "@xyo-network/react-aggregate-price-plugin": "^2.47.12",
32
+ "@xyo-network/react-crypto-market-uniswap-plugin": "^2.47.12",
33
33
  "require-from-string": "^2.0.2",
34
34
  "typescript": "^4.9.5"
35
35
  },
@@ -85,5 +85,5 @@
85
85
  },
86
86
  "sideEffects": false,
87
87
  "types": "dist/types/index.d.ts",
88
- "version": "2.47.11"
88
+ "version": "2.47.12"
89
89
  }
@@ -1,12 +1,12 @@
1
1
  import { CardProps } from '@mui/material'
2
2
  import { WithChildren } from '@xylabs/react-shared'
3
- import { XyoError } from '@xyo-network/module'
3
+ import { ModuleError } from '@xyo-network/module'
4
4
  import { XyoErrorAlert, XyoErrorRender } from '@xyo-network/react-error'
5
5
 
6
6
  import { EmbedErrorCard } from './EmbedErrorCard'
7
7
 
8
8
  interface EmbedCardApiErrorRendererProps extends CardProps {
9
- xyoError?: XyoError
9
+ xyoError?: ModuleError
10
10
  }
11
11
 
12
12
  export const EmbedCardApiErrorRenderer: React.FC<WithChildren<EmbedCardApiErrorRendererProps>> = ({ xyoError, children, ...props }) => {
@@ -1,7 +1,7 @@
1
1
  import { delay } from '@xylabs/delay'
2
2
  import { useAsyncEffect, WithChildren } from '@xylabs/react-shared'
3
3
  import { Huri } from '@xyo-network/huri'
4
- import { XyoError, XyoErrorSchema } from '@xyo-network/module'
4
+ import { ModuleError, ModuleErrorSchema } from '@xyo-network/module'
5
5
  import { Payload } from '@xyo-network/payload-model'
6
6
  import { useEffect, useState } from 'react'
7
7
 
@@ -25,7 +25,7 @@ export const ResolvePayloadProvider: React.FC<WithChildren<ResolvePayloadProvide
25
25
  }, [huriPayload, setRefreshPayload])
26
26
 
27
27
  const [notFound, setNotFound] = useState<boolean>()
28
- const [huriError, setHuriError] = useState<XyoError>()
28
+ const [huriError, setHuriError] = useState<ModuleError>()
29
29
 
30
30
  useAsyncEffect(
31
31
  // eslint-disable-next-line react-hooks/exhaustive-deps
@@ -44,7 +44,7 @@ export const ResolvePayloadProvider: React.FC<WithChildren<ResolvePayloadProvide
44
44
  }
45
45
  } catch (e) {
46
46
  const error = e as Error
47
- setHuriError({ message: error.message, schema: XyoErrorSchema, sources: [] })
47
+ setHuriError({ message: error.message, schema: ModuleErrorSchema, sources: [] })
48
48
  }
49
49
  }
50
50
  },
@@ -1,11 +1,11 @@
1
- import { XyoError } from '@xyo-network/module'
1
+ import { ModuleError } from '@xyo-network/module'
2
2
  import { Payload } from '@xyo-network/payload-model'
3
3
  import { ContextExState } from '@xyo-network/react-shared'
4
4
  import { Dispatch, SetStateAction } from 'react'
5
5
 
6
6
  export interface ResolvePayloadState extends ContextExState {
7
7
  huri?: string
8
- huriError?: XyoError
8
+ huriError?: ModuleError
9
9
  huriPayload?: string | Payload
10
10
  notFound?: boolean
11
11
  payload?: Payload