mqtt-crypto-client 0.2.1 → 0.2.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/README.md +32 -7
- package/dist/index.browser.js +9 -0
- package/dist/index.browser.js.map +7 -0
- package/package.json +6 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mqtt-crypto-client",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.2",
|
|
4
4
|
"description": "MQTT over WebSocket client with CryptoJS-compatible AES envelope encryption, heartbeat, message deduplication and request/response helpers.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"mqtt",
|
|
@@ -14,12 +14,14 @@
|
|
|
14
14
|
"type": "module",
|
|
15
15
|
"main": "./dist/index.cjs",
|
|
16
16
|
"module": "./src/index.js",
|
|
17
|
+
"browser": "./dist/index.browser.js",
|
|
17
18
|
"types": "./types/index.d.ts",
|
|
18
19
|
"unpkg": "./dist/index.iife.js",
|
|
19
20
|
"jsdelivr": "./dist/index.iife.js",
|
|
20
21
|
"exports": {
|
|
21
22
|
".": {
|
|
22
23
|
"types": "./types/index.d.ts",
|
|
24
|
+
"browser": "./dist/index.browser.js",
|
|
23
25
|
"import": "./src/index.js",
|
|
24
26
|
"require": "./dist/index.cjs"
|
|
25
27
|
},
|
|
@@ -37,7 +39,7 @@
|
|
|
37
39
|
"node": ">=18"
|
|
38
40
|
},
|
|
39
41
|
"scripts": {
|
|
40
|
-
"build": "node scripts/build-cjs.mjs && node scripts/build-
|
|
42
|
+
"build": "node scripts/build-cjs.mjs && node scripts/build-browser.mjs && node scripts/check-browser.mjs",
|
|
41
43
|
"test": "node --test",
|
|
42
44
|
"typecheck": "tsc -p tsconfig.json",
|
|
43
45
|
"prepack": "npm run build",
|
|
@@ -49,6 +51,8 @@
|
|
|
49
51
|
},
|
|
50
52
|
"devDependencies": {
|
|
51
53
|
"@types/node": "^22.10.0",
|
|
54
|
+
"acorn": "^8.19.0",
|
|
55
|
+
"acorn-walk": "^8.3.5",
|
|
52
56
|
"crypto-js": "^4.2.0",
|
|
53
57
|
"esbuild": "^0.25.0",
|
|
54
58
|
"typescript": "^5.7.0"
|