@screeb/sdk-react 0.1.4 → 0.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 (2) hide show
  1. package/dist/es/index.js +2 -2
  2. package/package.json +1 -1
package/dist/es/index.js CHANGED
@@ -328,8 +328,8 @@ var ScreebProvider = function (_a) {
328
328
  var useScreebContext = function () {
329
329
  var context = React.useContext(ScreebContext);
330
330
  if (context === undefined) {
331
- // eslint-disable-next-line quotes
332
- throw new Error('"useScreeb" must be used within `ScreebProvider`.');
331
+ // eslint-disable-next-line no-console
332
+ console.warn("`useScreeb` must be used within `ScreebProvider`.");
333
333
  }
334
334
  return context;
335
335
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@screeb/sdk-react",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Screeb's browser sdk, optimized for React.",
5
5
  "keywords": [
6
6
  "product discovery",