@memori.ai/memori-webcomponent 2.0.0 → 2.0.2

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memori.ai/memori-webcomponent",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "WebComponent to integrate a Memori in your app or website",
5
5
  "author": "Memori Srl",
6
6
  "source": "src/index.tsx",
@@ -30,6 +30,7 @@
30
30
  "access": "public",
31
31
  "registry": "https://registry.npmjs.org/"
32
32
  },
33
+ "packageManager": "yarn@3.2.3",
33
34
  "scripts": {
34
35
  "prebuild": "yarn clean",
35
36
  "build": "parcel build --no-content-hash --no-source-maps --dist-dir dist && mv dist/index.js dist/memori-webcomponent.js",
@@ -81,8 +82,20 @@
81
82
  "ecmaVersion": "latest",
82
83
  "sourceType": "module"
83
84
  },
85
+ "settings": {
86
+ "react": {
87
+ "version": "detect"
88
+ }
89
+ },
90
+ "globals": {
91
+ "JSX": "readonly",
92
+ "NodeJS": "readonly",
93
+ "MutationCallback": "readonly"
94
+ },
84
95
  "extends": [
96
+ "eslint:recommended",
85
97
  "plugin:react/recommended",
98
+ "plugin:react/jsx-runtime",
86
99
  "prettier"
87
100
  ],
88
101
  "plugins": [
@@ -206,7 +219,7 @@
206
219
  "util": "^0.12.3"
207
220
  },
208
221
  "dependencies": {
209
- "@memori.ai/memori-react": "^1.0.1",
222
+ "@memori.ai/memori-react": "^1.1.0",
210
223
  "react": "17.0.2",
211
224
  "react-dom": "17.0.2"
212
225
  }
package/src/index.tsx CHANGED
@@ -1,4 +1,3 @@
1
- import React from 'react';
2
1
  import ReactDOM from 'react-dom';
3
2
 
4
3
  import Memori from '@memori.ai/memori-react';