From a9d5d50c154d732ec56981e96c24e9b117e171f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=90=E5=B9=B3=E5=85=AD?= Date: Tue, 5 Dec 2023 20:35:00 -0600 Subject: [PATCH] Update README.md Update cdn link as a more version agnostic form --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index dd44bc0..886681f 100644 --- a/README.md +++ b/README.md @@ -138,7 +138,7 @@ const App = () => { - View a deployed demo [here](https://ziping-liu-corporation.github.io/react-adobe-embed/#/light). ## Installation via CDN -You can also load this as a CDN script via [jsdelivr using this link](https://cdn.jsdelivr.net/npm/react-adobe-embed@11.2/dist/react-adobe-embed.cdn.js). By default the latest version can be accessed publically through the CD workflow as well, at [ziping-liu-corporation.github.io/react-adobe-embed/dist/react-adobe-embed.cdn.js](https://ziping-liu-corporation.github.io/react-adobe-embed/dist/react-adobe-embed.cdn.js). +You can also load this as a CDN script via [jsdelivr through their version aliased delivery here](https://cdn.jsdelivr.net/npm/react-adobe-embed@11/dist/react-adobe-embed.cdn.min.js). Also, the latest version can be accessed publically through the CD workflow as well, at [ziping-liu-corporation.github.io/react-adobe-embed/dist/react-adobe-embed.cdn.js](https://ziping-liu-corporation.github.io/react-adobe-embed/dist/react-adobe-embed.cdn.js).
*For now this CDN bundle is only accessible in the form of a UMD bundle, through a global named `ReactViewAdobe` (and accessible via `window.ReactViewAdobe`) that provides access to the default export from `react-adobe-embed` package, or also known by its name as a named export [`ReactViewAdobe`](https://github.com/ZIPING-LIU-CORPORATION/react-adobe-embed/blob/slave/src/index.tsx#L109).*