uneeq-js 3.16.1 → 3.16.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.
@@ -1,4 +1,5 @@
1
1
  export declare enum DhopMessageType {
2
+ ClientInfo = "client_info",
2
3
  ClientGone = "client_gone",
3
4
  CustomerConcurrencyLimitReached = "customer_concurrency_limit_reached",
4
5
  Config = "config",
@@ -0,0 +1 @@
1
+ export declare const UNEEQ_JS_SDK_VERSION: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "uneeq-js",
3
- "version": "3.16.1",
3
+ "version": "3.16.2",
4
4
  "description": "In development",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -21,10 +21,10 @@
21
21
  "!dist/test"
22
22
  ],
23
23
  "scripts": {
24
- "start": "npx esbuild src/index.ts --bundle --format=esm --outdir=dist/esm --splitting --target=es2022 --external:rxjs --platform=browser --define:global=globalThis --entry-names=[name] --chunk-names=chunks/[name]-[hash] --watch",
24
+ "start": "npx esbuild src/index.ts --bundle --format=esm --outdir=dist/esm --splitting --target=es2022 --external:rxjs --platform=browser --define:global=globalThis --define:__SDK_VERSION__=\\\"$npm_package_version\\\" --entry-names=[name] --chunk-names=chunks/[name]-[hash] --watch",
25
25
  "build": "npm run build:umd && npm run build:esm",
26
26
  "build:umd": "npx webpack --mode production --config webpack.config.js",
27
- "build:esm": "npx esbuild src/index.ts --bundle --format=esm --outdir=dist/esm --splitting --minify --target=es2022 --external:rxjs --platform=browser --define:global=globalThis --entry-names=[name] --chunk-names=chunks/[name]-[hash]",
27
+ "build:esm": "npx esbuild src/index.ts --bundle --format=esm --outdir=dist/esm --splitting --minify --target=es2022 --external:rxjs --platform=browser --define:global=globalThis --define:__SDK_VERSION__=\\\"$npm_package_version\\\" --entry-names=[name] --chunk-names=chunks/[name]-[hash]",
28
28
  "test": "jest src",
29
29
  "lint": "npx eslint src/ --fix"
30
30
  },