@shipengine/alchemy 0.1.3 → 0.2.0

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/index.mjs CHANGED
@@ -7471,7 +7471,7 @@ const Ya = /* @__PURE__ */ kp(Va), HR = ({ brandName: e, cdnURL: t }) => {
7471
7471
  }
7472
7472
  })();
7473
7473
  }, [t, e]), r;
7474
- }, Wf = mt(void 0), UL = ({
7474
+ }, Wf = mt(void 0), VL = ({
7475
7475
  baseURL: e = "https://api.shipengine.com",
7476
7476
  brandName: t = Er.BrandName.FALLBACK,
7477
7477
  cdnURL: r = "https://cdn.packlink.com",
@@ -9753,11 +9753,11 @@ var Xf = /* @__PURE__ */ function() {
9753
9753
  Xf.type = "languageDetector";
9754
9754
  const WL = ({ resources: e }) => ep(() => ue.createInstance(
9755
9755
  {
9756
- defaultNS: "default",
9756
+ defaultNS: "common",
9757
9757
  fallbackLng: "en",
9758
- fallbackNS: "default",
9758
+ fallbackNS: "common",
9759
9759
  load: "languageOnly",
9760
- ns: ["default"],
9760
+ ns: ["common"],
9761
9761
  overloadTranslationOptionHandler: (t) => ({ defaultValue: t[1] }),
9762
9762
  react: {
9763
9763
  useSuspense: !1
@@ -9780,7 +9780,7 @@ const WL = ({ resources: e }) => ep(() => ue.createInstance(
9780
9780
  }), jL = ({ children: e, fallback: t, resources: r }) => {
9781
9781
  const { scope: n } = MR(), a = WL({ resources: r });
9782
9782
  return /* @__PURE__ */ me("div", { className: n, children: /* @__PURE__ */ me(np, { value: NL(n), children: /* @__PURE__ */ me(ip, { i18n: a, children: /* @__PURE__ */ me(zR, { fallback: t, children: e }) }) }) });
9783
- }, VL = (e, t, r) => ({ resources: n, ...a }) => {
9783
+ }, GL = (e, t, r) => ({ resources: n, ...a }) => {
9784
9784
  const i = r;
9785
9785
  return n && Object.keys(r).forEach((o) => {
9786
9786
  Object.keys(r[o]).forEach((s) => {
@@ -9790,13 +9790,15 @@ const WL = ({ resources: e }) => ep(() => ue.createInstance(
9790
9790
  };
9791
9791
  });
9792
9792
  }), /* @__PURE__ */ me(jL, { resources: i, fallback: t, children: /* @__PURE__ */ me(e, { ...a }) });
9793
+ }, ZL = {
9794
+ createElement: GL
9793
9795
  };
9794
9796
  export {
9795
- UL as Alchemy,
9797
+ VL as Alchemy,
9796
9798
  Wf as AlchemyContext,
9797
9799
  jL as Element,
9798
9800
  zR as ErrorBoundary,
9799
- VL as createElement,
9801
+ ZL as default,
9800
9802
  NL as memoizedCreateCache,
9801
9803
  MR as useAlchemy,
9802
9804
  WL as useI18n,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "0.1.3",
3
+ "version": "0.2.0",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {