@shipengine/alchemy 5.0.9 → 5.0.11
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.js +2 -2
- package/index.mjs +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -18926,7 +18926,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18926
18926
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
18927
18927
|
});
|
|
18928
18928
|
};
|
|
18929
|
-
const useLoadIcons = ({ cdnURL
|
|
18929
|
+
const useLoadIcons = ({ cdnURL }) => {
|
|
18930
18930
|
return React.useCallback(
|
|
18931
18931
|
(iconName) => __async(void 0, null, function* () {
|
|
18932
18932
|
const iconBrand = constants.fallbackBrandName;
|
|
@@ -18954,7 +18954,7 @@ const getDefaultLocale = () => {
|
|
|
18954
18954
|
};
|
|
18955
18955
|
const AlchemyProvider = ({
|
|
18956
18956
|
baseURL = "https://api.shipengine.com",
|
|
18957
|
-
cdnURL = "
|
|
18957
|
+
cdnURL = "https://cdn.packlink.com",
|
|
18958
18958
|
container,
|
|
18959
18959
|
children,
|
|
18960
18960
|
getToken,
|
package/index.mjs
CHANGED
|
@@ -18904,7 +18904,7 @@ var __async = (__this, __arguments, generator) => {
|
|
|
18904
18904
|
step((generator = generator.apply(__this, __arguments)).next());
|
|
18905
18905
|
});
|
|
18906
18906
|
};
|
|
18907
|
-
const useLoadIcons = ({ cdnURL
|
|
18907
|
+
const useLoadIcons = ({ cdnURL }) => {
|
|
18908
18908
|
return useCallback(
|
|
18909
18909
|
(iconName) => __async(void 0, null, function* () {
|
|
18910
18910
|
const iconBrand = constants.fallbackBrandName;
|
|
@@ -18932,7 +18932,7 @@ const getDefaultLocale = () => {
|
|
|
18932
18932
|
};
|
|
18933
18933
|
const AlchemyProvider = ({
|
|
18934
18934
|
baseURL = "https://api.shipengine.com",
|
|
18935
|
-
cdnURL = "
|
|
18935
|
+
cdnURL = "https://cdn.packlink.com",
|
|
18936
18936
|
container,
|
|
18937
18937
|
children,
|
|
18938
18938
|
getToken,
|