@fluid-app/portal-sdk 0.1.174 → 0.1.175
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/{PortalContentApiProvider-DNZj3MTz.cjs → PortalContentApiProvider-CqfumtyH.cjs} +4 -4
- package/dist/PortalContentApiProvider-CqfumtyH.cjs.map +1 -0
- package/dist/{PortalContentApiProvider-D0xhS3Ge.mjs → PortalContentApiProvider-CvYJD4mj.mjs} +4 -4
- package/dist/PortalContentApiProvider-CvYJD4mj.mjs.map +1 -0
- package/dist/{ProductsScreen-fPFSKVOn.cjs → ProductsScreen-BGFL7B9Y.cjs} +2 -2
- package/dist/{ProductsScreen-fPFSKVOn.cjs.map → ProductsScreen-BGFL7B9Y.cjs.map} +1 -1
- package/dist/{ProductsScreen-DIdRGVvA.mjs → ProductsScreen-BUCzY4c8.mjs} +2 -2
- package/dist/{ProductsScreen-CeNMvU4d.mjs → ProductsScreen-CJWgYPY9.mjs} +2 -2
- package/dist/{ProductsScreen-CeNMvU4d.mjs.map → ProductsScreen-CJWgYPY9.mjs.map} +1 -1
- package/dist/{ProductsScreen-iQf4zOus.cjs → ProductsScreen-CyOr92nO.cjs} +2 -2
- package/dist/{ShareablesScreen-Bl6aT0vn.cjs → ShareablesScreen-BYySYuY1.cjs} +2 -2
- package/dist/{ShareablesScreen-Bl6aT0vn.cjs.map → ShareablesScreen-BYySYuY1.cjs.map} +1 -1
- package/dist/{ShareablesScreen-D2JbmO7a.mjs → ShareablesScreen-Ca0VOB6e.mjs} +2 -2
- package/dist/{ShareablesScreen-D2JbmO7a.mjs.map → ShareablesScreen-Ca0VOB6e.mjs.map} +1 -1
- package/dist/{ShareablesScreen-CfchbhSH.mjs → ShareablesScreen-Cr-WyfrQ.mjs} +2 -2
- package/dist/{ShareablesScreen-CtuGiQ7_.cjs → ShareablesScreen-PPfy8gtj.cjs} +2 -2
- package/dist/index.cjs +8 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -2
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts +1 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +8 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +14 -17
- package/dist/PortalContentApiProvider-D0xhS3Ge.mjs.map +0 -1
- package/dist/PortalContentApiProvider-DNZj3MTz.cjs.map +0 -1
package/dist/{PortalContentApiProvider-DNZj3MTz.cjs → PortalContentApiProvider-CqfumtyH.cjs}
RENAMED
|
@@ -8987,7 +8987,7 @@ async function proxyUrlFetch(url, proxyEndpoint = "/api/proxy-url") {
|
|
|
8987
8987
|
return urlProxyResponseSchema.parse(data);
|
|
8988
8988
|
}
|
|
8989
8989
|
//#endregion
|
|
8990
|
-
//#region
|
|
8990
|
+
//#region src/adapters/file-picker-api-adapter.ts
|
|
8991
8991
|
/**
|
|
8992
8992
|
* Maps a BFF DAM asset to the file-picker port's DamAssetCreateResponse shape.
|
|
8993
8993
|
*
|
|
@@ -9044,7 +9044,7 @@ function mapAssetPathCreateResponse(response) {
|
|
|
9044
9044
|
* (served by the hosting app, not the BFF) for CORS bypass, identical
|
|
9045
9045
|
* to the legacy adapter behaviour.
|
|
9046
9046
|
*/
|
|
9047
|
-
function
|
|
9047
|
+
function createFilePickerApiAdapter(client) {
|
|
9048
9048
|
return {
|
|
9049
9049
|
createDamAsset: async (params) => {
|
|
9050
9050
|
const formData = new FormData();
|
|
@@ -9751,7 +9751,7 @@ function PortalContentApiProvider({ children }) {
|
|
|
9751
9751
|
const productsApi = require_PortalProductsApiProvider.usePortalProductsApi();
|
|
9752
9752
|
const contentApi = (0, react.useMemo)(() => createPortalContentDomainApiAdapter(client, productsApi), [client, productsApi]);
|
|
9753
9753
|
const playlistsAdapter = (0, react.useMemo)(() => createPortalContentPlaylistsAdapter(client), [client]);
|
|
9754
|
-
const filePickerApi = (0, react.useMemo)(() =>
|
|
9754
|
+
const filePickerApi = (0, react.useMemo)(() => createFilePickerApiAdapter(client), [client]);
|
|
9755
9755
|
const ctx = (0, react.useMemo)(() => ({
|
|
9756
9756
|
productsApi,
|
|
9757
9757
|
playlistsAdapter,
|
|
@@ -9813,4 +9813,4 @@ Object.defineProperty(exports, "usePortalContentContext", {
|
|
|
9813
9813
|
}
|
|
9814
9814
|
});
|
|
9815
9815
|
|
|
9816
|
-
//# sourceMappingURL=PortalContentApiProvider-
|
|
9816
|
+
//# sourceMappingURL=PortalContentApiProvider-CqfumtyH.cjs.map
|