mysa-js-sdk 2.0.3 → 2.1.1
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/CHANGELOG.md +21 -0
- package/README.md +9 -33
- package/dist/index.cjs +65 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +59 -2
- package/dist/index.d.ts +59 -2
- package/dist/index.js +66 -2
- package/dist/index.js.map +1 -1
- package/package.json +21 -38
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mysa-js-sdk",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A JavaScript SDK for accessing Mysa smart thermostats.",
|
|
@@ -11,22 +11,25 @@
|
|
|
11
11
|
"api"
|
|
12
12
|
],
|
|
13
13
|
"publishConfig": {
|
|
14
|
-
"provenance": true
|
|
14
|
+
"provenance": true,
|
|
15
|
+
"access": "public"
|
|
15
16
|
},
|
|
16
17
|
"author": {
|
|
17
18
|
"name": "Pascal Bourque",
|
|
18
19
|
"email": "pascal@cosmos.moi"
|
|
19
20
|
},
|
|
20
21
|
"bugs": {
|
|
21
|
-
"url": "https://github.com/bourquep/
|
|
22
|
+
"url": "https://github.com/bourquep/mysa2mqtt/issues"
|
|
22
23
|
},
|
|
23
|
-
"homepage": "https://github.com/bourquep/mysa-js-sdk",
|
|
24
|
+
"homepage": "https://github.com/bourquep/mysa2mqtt/tree/main/packages/mysa-js-sdk",
|
|
24
25
|
"repository": {
|
|
25
26
|
"type": "git",
|
|
26
|
-
"url": "git+https://github.com/bourquep/
|
|
27
|
+
"url": "git+https://github.com/bourquep/mysa2mqtt.git",
|
|
28
|
+
"directory": "packages/mysa-js-sdk"
|
|
27
29
|
},
|
|
28
30
|
"files": [
|
|
29
31
|
"README.md",
|
|
32
|
+
"CHANGELOG.md",
|
|
30
33
|
"LICENSE.txt",
|
|
31
34
|
"dist"
|
|
32
35
|
],
|
|
@@ -35,50 +38,30 @@
|
|
|
35
38
|
"module": "dist/index.mjs",
|
|
36
39
|
"types": "dist/index.d.ts",
|
|
37
40
|
"engines": {
|
|
38
|
-
"node": ">=
|
|
41
|
+
"node": ">=24.15.0"
|
|
39
42
|
},
|
|
40
43
|
"browser": false,
|
|
41
44
|
"scripts": {
|
|
42
45
|
"example": "tsx --watch ./example/main.ts",
|
|
43
46
|
"example:raw": "MYSA_OUTPUT_RAW_DATA=true tsx --watch ./example/main.ts",
|
|
44
47
|
"lint": "eslint --max-warnings 0 src/**/*.ts",
|
|
45
|
-
"
|
|
48
|
+
"typecheck": "tsc --noEmit -p tsconfig.json",
|
|
46
49
|
"build": "tsup",
|
|
47
50
|
"build:docs": "typedoc"
|
|
48
51
|
},
|
|
49
|
-
"overrides": {
|
|
50
|
-
"brace-expansion": "^2.0.2"
|
|
51
|
-
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@aws-sdk/client-iot": "3.
|
|
54
|
-
"@aws-sdk/credential-providers": "3.
|
|
55
|
-
"amazon-cognito-identity-js": "6.3.
|
|
56
|
-
"aws-iot-device-sdk-v2": "1.
|
|
57
|
-
"dayjs": "1.11.
|
|
58
|
-
"lodash": "4.
|
|
59
|
-
"nanoid": "5.1.
|
|
53
|
+
"@aws-sdk/client-iot": "3.1090.0",
|
|
54
|
+
"@aws-sdk/credential-providers": "3.1090.0",
|
|
55
|
+
"amazon-cognito-identity-js": "6.3.20",
|
|
56
|
+
"aws-iot-device-sdk-v2": "1.27.0",
|
|
57
|
+
"dayjs": "1.11.21",
|
|
58
|
+
"lodash": "4.18.1",
|
|
59
|
+
"nanoid": "5.1.16"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|
|
62
|
-
"@
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
67
|
-
"dotenv": "17.2.3",
|
|
68
|
-
"eslint": "9.39.1",
|
|
69
|
-
"eslint-plugin-jsdoc": "61.4.1",
|
|
70
|
-
"eslint-plugin-tsdoc": "0.5.0",
|
|
71
|
-
"pino": "10.1.0",
|
|
72
|
-
"pino-pretty": "13.1.2",
|
|
73
|
-
"prettier": "3.6.2",
|
|
74
|
-
"prettier-plugin-jsdoc": "1.5.0",
|
|
75
|
-
"prettier-plugin-organize-imports": "4.3.0",
|
|
76
|
-
"semantic-release": "25.0.2",
|
|
77
|
-
"tsup": "8.5.0",
|
|
78
|
-
"tsx": "4.20.6",
|
|
79
|
-
"typedoc": "0.28.14",
|
|
80
|
-
"typedoc-material-theme": "1.4.1",
|
|
81
|
-
"typescript": "5.9.3",
|
|
82
|
-
"typescript-eslint": "8.46.2"
|
|
62
|
+
"@types/lodash": "4.17.24",
|
|
63
|
+
"dotenv": "17.4.2",
|
|
64
|
+
"pino": "10.3.1",
|
|
65
|
+
"pino-pretty": "13.1.3"
|
|
83
66
|
}
|
|
84
67
|
}
|