@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.
Files changed (3) hide show
  1. package/index.js +1 -1
  2. package/index.mjs +1 -1
  3. 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 <Alchemy />");
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 <Alchemy />");
9619
+ throw new Error("useAlchemy must be called from within the scope of <AlchemyProvider />");
9620
9620
  }
9621
9621
  return context;
9622
9622
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipengine/alchemy",
3
- "version": "2.1.3",
3
+ "version": "2.1.5",
4
4
  "main": "./index.js",
5
5
  "types": "./index.d.ts",
6
6
  "exports": {