@shipengine/alchemy 2.1.3 → 2.1.5
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 +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -9638,7 +9638,7 @@ const AlchemyProvider = ({
|
|
|
9638
9638
|
const useAlchemy = () => {
|
|
9639
9639
|
const context = React.useContext(AlchemyContext);
|
|
9640
9640
|
if (!context) {
|
|
9641
|
-
throw new Error("useAlchemy must be called from within the scope of <
|
|
9641
|
+
throw new Error("useAlchemy must be called from within the scope of <AlchemyProvider />");
|
|
9642
9642
|
}
|
|
9643
9643
|
return context;
|
|
9644
9644
|
};
|
package/index.mjs
CHANGED
|
@@ -9616,7 +9616,7 @@ const AlchemyProvider = ({
|
|
|
9616
9616
|
const useAlchemy = () => {
|
|
9617
9617
|
const context = useContext(AlchemyContext);
|
|
9618
9618
|
if (!context) {
|
|
9619
|
-
throw new Error("useAlchemy must be called from within the scope of <
|
|
9619
|
+
throw new Error("useAlchemy must be called from within the scope of <AlchemyProvider />");
|
|
9620
9620
|
}
|
|
9621
9621
|
return context;
|
|
9622
9622
|
};
|