@aptly-sdk/hq 0.0.2 → 0.0.4

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/dist/index.js CHANGED
@@ -471,10 +471,7 @@ const BrookProvider = ({
471
471
  apiKey
472
472
  }) => {
473
473
  const config = {
474
- apiKey: apiKey || "apiKey",
475
- // todo: remove these on prod
476
- verbose: true,
477
- host: "ws://localhost:8787"
474
+ apiKey: apiKey || "apiKey"
478
475
  };
479
476
  const [client, setClient] = useState(new Brook(config));
480
477
  useEffect(() => {
package/package.json CHANGED
@@ -1,12 +1,10 @@
1
1
  {
2
2
  "name": "@aptly-sdk/hq",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "description": "Chat support widget SDK for NextJS applications powered by Aptly.",
5
- "main": "index.js",
6
- "module": "./index.js",
7
5
  "exports": {
8
6
  ".": {
9
- "default": "./index.js"
7
+ "default": "./dist/index.js"
10
8
  }
11
9
  },
12
10
  "type": "module",
@@ -16,8 +14,7 @@
16
14
  "scripts": {
17
15
  "test": "echo \"Error: no test specified\" && exit 1",
18
16
  "build:css": "node -e \"require('fs').mkdirSync('dist', { recursive: true })\" && postcss src/global.css -o dist/global.css",
19
- "build": "npm run build:css && rollup -c",
20
- "prepublishOnly": "npm run build"
17
+ "build": "npm run build:css && rollup -c"
21
18
  },
22
19
  "keywords": [
23
20
  "realtime",
package/index.js DELETED
@@ -1,2 +0,0 @@
1
- export * from "./dist/index.js";
2
- export { default } from "./dist/index.js";