@wf-financing/ui 1.4.5 → 1.4.6

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @wf-financing/ui
2
2
 
3
+ ## 1.4.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Use jsdelivr as primary CDN
8
+
3
9
  ## 1.4.5
4
10
 
5
11
  ### Patch Changes
package/dist/index.es.js CHANGED
@@ -75411,7 +75411,7 @@ const OQ = (e, t) => {
75411
75411
  rootName: "bannerRoot",
75412
75412
  rootElement: "div",
75413
75413
  rootElementId: "banner-root"
75414
- }, oOe = [rOe, iOe, aOe], X6 = "wayflyer-headless-sdk", sOe = "https://unpkg.com/@wf-financing/headless@1/dist/index.es.js", lOe = (e) => oOe.reduce((t, n) => {
75414
+ }, oOe = [rOe, iOe, aOe], X6 = "wayflyer-headless-sdk", sOe = "https://cdn.jsdelivr.net/npm/@wf-financing/headless@1/dist/index.es.js", lOe = (e) => oOe.reduce((t, n) => {
75415
75415
  const { rootElement: r, rootElementId: i, rootName: a } = n;
75416
75416
  let o = e.getElementById(i);
75417
75417
  return o || (o = document.createElement(r), o.id = i, e.appendChild(o)), {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wf-financing/ui",
3
- "version": "1.4.5",
3
+ "version": "1.4.6",
4
4
  "exports": {
5
5
  ".": {
6
6
  "import": "./dist/index.es.js",
package/src/config/url.ts CHANGED
@@ -1 +1 @@
1
- export const HEADLESS_SDK_URL = 'https://unpkg.com/@wf-financing/headless@1/dist/index.es.js';
1
+ export const HEADLESS_SDK_URL = 'https://cdn.jsdelivr.net/npm/@wf-financing/headless@1/dist/index.es.js';