@xyo-network/react-embed 5.3.2 → 5.3.4
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/types/contexts/EmbedPluginContext/Context.d.ts +12 -2
- package/dist/types/contexts/EmbedPluginContext/Context.d.ts.map +1 -1
- package/dist/types/contexts/EmbedPluginContext/use.d.ts +1 -1
- package/dist/types/contexts/EmbedPluginContext/use.d.ts.map +1 -1
- package/dist/types/contexts/RefreshPayloadContext/Context.d.ts +14 -2
- package/dist/types/contexts/RefreshPayloadContext/Context.d.ts.map +1 -1
- package/dist/types/contexts/RefreshPayloadContext/use.d.ts +1 -1
- package/dist/types/contexts/RefreshPayloadContext/use.d.ts.map +1 -1
- package/dist/types/contexts/ResolvePayloadContext/Context.d.ts +22 -2
- package/dist/types/contexts/ResolvePayloadContext/Context.d.ts.map +1 -1
- package/dist/types/contexts/ResolvePayloadContext/use.d.ts +1 -1
- package/dist/types/contexts/ResolvePayloadContext/use.d.ts.map +1 -1
- package/dist/types/contexts/ValidatePayloadContext/Context.d.ts +14 -2
- package/dist/types/contexts/ValidatePayloadContext/Context.d.ts.map +1 -1
- package/dist/types/contexts/ValidatePayloadContext/use.d.ts +1 -1
- package/dist/types/contexts/ValidatePayloadContext/use.d.ts.map +1 -1
- package/package.json +17 -17
@@ -1,7 +1,17 @@
|
|
1
|
-
export declare const EmbedPluginContext: import("react").Context<import("./State.ts").EmbedPluginBase & {
|
1
|
+
export declare const EmbedPluginContext: import("react").Context<(import("./State.ts").EmbedPluginBase & {
|
2
2
|
activePlugin?: import("@xyo-network/react-payload-plugin").PayloadRenderPlugin;
|
3
3
|
setActivePlugin?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/react-payload-plugin").PayloadRenderPlugin | undefined>>;
|
4
4
|
} & {
|
5
5
|
provided: true;
|
6
|
-
}
|
6
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<import("./State.ts").EmbedPluginBase & {
|
7
|
+
activePlugin?: import("@xyo-network/react-payload-plugin").PayloadRenderPlugin;
|
8
|
+
setActivePlugin?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/react-payload-plugin").PayloadRenderPlugin | undefined>>;
|
9
|
+
}>, never> & {
|
10
|
+
provided: false;
|
11
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<import("./State.ts").EmbedPluginBase & {
|
12
|
+
activePlugin?: import("@xyo-network/react-payload-plugin").PayloadRenderPlugin;
|
13
|
+
setActivePlugin?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/react-payload-plugin").PayloadRenderPlugin | undefined>>;
|
14
|
+
}>, never> & {
|
15
|
+
provided: false;
|
16
|
+
})>;
|
7
17
|
//# sourceMappingURL=Context.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;GAAsC,CAAA"}
|
@@ -3,5 +3,5 @@ export declare const useEmbedPluginState: () => Omit<import("./State.ts").EmbedP
|
|
3
3
|
setActivePlugin?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/react-payload-plugin").PayloadRenderPlugin | undefined>>;
|
4
4
|
} & {
|
5
5
|
provided: true;
|
6
|
-
}, "provided"> | Omit<
|
6
|
+
}, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<import("./State.ts").EmbedPluginState>, "provided">;
|
7
7
|
//# sourceMappingURL=use.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/EmbedPluginContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,mBAAmB;;;;;kIAA8D,CAAA"}
|
@@ -1,8 +1,20 @@
|
|
1
|
-
export declare const RefreshPayloadContext: import("react").Context<{
|
1
|
+
export declare const RefreshPayloadContext: import("react").Context<({
|
2
2
|
onRefresh?: () => void;
|
3
3
|
refreshPayload?: boolean;
|
4
4
|
setRefreshPayload?: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
5
5
|
} & {
|
6
6
|
provided: true;
|
7
|
-
}
|
7
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
|
8
|
+
onRefresh?: () => void;
|
9
|
+
refreshPayload?: boolean;
|
10
|
+
setRefreshPayload?: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
11
|
+
}>, never> & {
|
12
|
+
provided: false;
|
13
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
|
14
|
+
onRefresh?: () => void;
|
15
|
+
refreshPayload?: boolean;
|
16
|
+
setRefreshPayload?: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
17
|
+
}>, never> & {
|
18
|
+
provided: false;
|
19
|
+
})>;
|
8
20
|
//# sourceMappingURL=Context.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;GAAyC,CAAA"}
|
@@ -4,5 +4,5 @@ export declare const useRefreshPayload: () => Omit<{
|
|
4
4
|
setRefreshPayload?: import("react").Dispatch<import("react").SetStateAction<boolean | undefined>>;
|
5
5
|
} & {
|
6
6
|
provided: true;
|
7
|
-
}, "provided"> | Omit<
|
7
|
+
}, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<import("./State.ts").RefreshPayloadState>, "provided">;
|
8
8
|
//# sourceMappingURL=use.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/RefreshPayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;qIAAoE,CAAA"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare const ResolvePayloadContext: import("react").Context<{
|
1
|
+
export declare const ResolvePayloadContext: import("react").Context<({
|
2
2
|
huri?: string;
|
3
3
|
huriError?: import("@xyo-network/payload-model").ModuleError;
|
4
4
|
huriPayload?: string | import("@xyo-network/payload-model").Payload;
|
@@ -8,5 +8,25 @@ export declare const ResolvePayloadContext: import("react").Context<{
|
|
8
8
|
setPayload?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/payload-model").Payload | undefined>>;
|
9
9
|
} & {
|
10
10
|
provided: true;
|
11
|
-
}
|
11
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
|
12
|
+
huri?: string;
|
13
|
+
huriError?: import("@xyo-network/payload-model").ModuleError;
|
14
|
+
huriPayload?: string | import("@xyo-network/payload-model").Payload;
|
15
|
+
notFound?: boolean;
|
16
|
+
payload?: import("@xyo-network/payload-model").Payload;
|
17
|
+
refreshHuri?: () => void;
|
18
|
+
setPayload?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/payload-model").Payload | undefined>>;
|
19
|
+
}>, never> & {
|
20
|
+
provided: false;
|
21
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
|
22
|
+
huri?: string;
|
23
|
+
huriError?: import("@xyo-network/payload-model").ModuleError;
|
24
|
+
huriPayload?: string | import("@xyo-network/payload-model").Payload;
|
25
|
+
notFound?: boolean;
|
26
|
+
payload?: import("@xyo-network/payload-model").Payload;
|
27
|
+
refreshHuri?: () => void;
|
28
|
+
setPayload?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/payload-model").Payload | undefined>>;
|
29
|
+
}>, never> & {
|
30
|
+
provided: false;
|
31
|
+
})>;
|
12
32
|
//# sourceMappingURL=Context.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAAyC,CAAA"}
|
@@ -8,5 +8,5 @@ export declare const useResolvePayload: () => Omit<{
|
|
8
8
|
setPayload?: import("react").Dispatch<import("react").SetStateAction<import("@xyo-network/payload-model").Payload | undefined>>;
|
9
9
|
} & {
|
10
10
|
provided: true;
|
11
|
-
}, "provided"> | Omit<
|
11
|
+
}, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<import("./State.ts").ResolvePayloadState>, "provided">;
|
12
12
|
//# sourceMappingURL=use.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ResolvePayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,iBAAiB;;;;;;;;;;qIAAoE,CAAA"}
|
@@ -1,8 +1,20 @@
|
|
1
|
-
export declare const ValidatePayloadContext: import("react").Context<{
|
1
|
+
export declare const ValidatePayloadContext: import("react").Context<({
|
2
2
|
enabled?: boolean;
|
3
3
|
schema?: string;
|
4
4
|
validPayload?: boolean;
|
5
5
|
} & {
|
6
6
|
provided: true;
|
7
|
-
}
|
7
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").ProvidedContextExState<{
|
8
|
+
enabled?: boolean;
|
9
|
+
schema?: string;
|
10
|
+
validPayload?: boolean;
|
11
|
+
}>, never> & {
|
12
|
+
provided: false;
|
13
|
+
}) | (import("@xylabs/react-shared").FixedValues<import("@xylabs/react-shared").NotProvidedContextExState<{
|
14
|
+
enabled?: boolean;
|
15
|
+
schema?: string;
|
16
|
+
validPayload?: boolean;
|
17
|
+
}>, never> & {
|
18
|
+
provided: false;
|
19
|
+
})>;
|
8
20
|
//# sourceMappingURL=Context.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB
|
1
|
+
{"version":3,"file":"Context.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/Context.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;GAA0C,CAAA"}
|
@@ -4,5 +4,5 @@ export declare const useValidatePayload: () => Omit<{
|
|
4
4
|
validPayload?: boolean;
|
5
5
|
} & {
|
6
6
|
provided: true;
|
7
|
-
}, "provided"> | Omit<
|
7
|
+
}, "provided"> | Omit<import("@xylabs/react-shared").NotProvidedContextExState<import("./State.ts").ValidatePayloadState>, "provided">;
|
8
8
|
//# sourceMappingURL=use.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;
|
1
|
+
{"version":3,"file":"use.d.ts","sourceRoot":"","sources":["../../../../src/contexts/ValidatePayloadContext/use.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,kBAAkB;;;;;;sIAAqE,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xyo-network/react-embed",
|
3
|
-
"version": "5.3.
|
3
|
+
"version": "5.3.4",
|
4
4
|
"description": "Common React library for all XYO projects that use React",
|
5
5
|
"keywords": [
|
6
6
|
"xyo",
|
@@ -39,18 +39,18 @@
|
|
39
39
|
"module": "dist/browser/index.mjs",
|
40
40
|
"types": "dist/types/index.d.ts",
|
41
41
|
"dependencies": {
|
42
|
-
"@xylabs/delay": "^4.9.
|
43
|
-
"@xylabs/react-async-effect": "^6.3.
|
44
|
-
"@xylabs/react-error": "^6.3.
|
45
|
-
"@xylabs/react-flexbox": "^6.3.
|
46
|
-
"@xylabs/react-hooks": "^6.3.
|
47
|
-
"@xylabs/react-select": "^6.3.
|
48
|
-
"@xylabs/react-shared": "^6.3.
|
49
|
-
"@xyo-network/huri": "^3.15.
|
50
|
-
"@xyo-network/payload-model": "^3.15.
|
51
|
-
"@xyo-network/react-payload-plugin": "^5.3.
|
52
|
-
"@xyo-network/react-shared": "^5.3.
|
53
|
-
"@xyo-network/schema-cache": "^3.15.
|
42
|
+
"@xylabs/delay": "^4.9.18",
|
43
|
+
"@xylabs/react-async-effect": "^6.3.1",
|
44
|
+
"@xylabs/react-error": "^6.3.1",
|
45
|
+
"@xylabs/react-flexbox": "^6.3.1",
|
46
|
+
"@xylabs/react-hooks": "^6.3.1",
|
47
|
+
"@xylabs/react-select": "^6.3.1",
|
48
|
+
"@xylabs/react-shared": "^6.3.1",
|
49
|
+
"@xyo-network/huri": "^3.15.10",
|
50
|
+
"@xyo-network/payload-model": "^3.15.10",
|
51
|
+
"@xyo-network/react-payload-plugin": "^5.3.4",
|
52
|
+
"@xyo-network/react-shared": "^5.3.4",
|
53
|
+
"@xyo-network/schema-cache": "^3.15.10"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@emotion/react": "^11.14.0",
|
@@ -59,10 +59,10 @@
|
|
59
59
|
"@mui/material": "^7.1.0",
|
60
60
|
"@storybook/react": "^8.6.12",
|
61
61
|
"@types/react": "^19.1.4",
|
62
|
-
"@xylabs/ts-scripts-yarn3": "^6.5.
|
63
|
-
"@xylabs/tsconfig-react": "^6.5.
|
64
|
-
"@xyo-network/react-aggregate-price-plugin": "^5.3.
|
65
|
-
"@xyo-network/react-crypto-market-uniswap-plugin": "^5.3.
|
62
|
+
"@xylabs/ts-scripts-yarn3": "^6.5.6",
|
63
|
+
"@xylabs/tsconfig-react": "^6.5.6",
|
64
|
+
"@xyo-network/react-aggregate-price-plugin": "^5.3.4",
|
65
|
+
"@xyo-network/react-crypto-market-uniswap-plugin": "^5.3.4",
|
66
66
|
"react": "^19.1.0",
|
67
67
|
"react-dom": "^19.1.0",
|
68
68
|
"react-router-dom": "^7.6.0",
|