mysa-js-sdk 1.2.0 → 1.3.0
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 +6 -0
- package/package.json +14 -10
package/README.md
CHANGED
|
@@ -51,6 +51,12 @@ Then, run the example:
|
|
|
51
51
|
npm run example
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
+
If you prefer to see the raw data published by your Mysa smart thermostats, run:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
npm run example:raw
|
|
58
|
+
```
|
|
59
|
+
|
|
54
60
|
## Using
|
|
55
61
|
|
|
56
62
|
The Mysa SDK provides a simple interface to interact with Mysa smart thermostats.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mysa-js-sdk",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "A JavaScript SDK for accessing Mysa smart thermostats.",
|
|
@@ -40,28 +40,32 @@
|
|
|
40
40
|
"browser": false,
|
|
41
41
|
"scripts": {
|
|
42
42
|
"example": "tsx --watch ./example/main.ts",
|
|
43
|
+
"example:raw": "MYSA_OUTPUT_RAW_DATA=true tsx --watch ./example/main.ts",
|
|
43
44
|
"lint": "eslint --max-warnings 0 src/**/*.ts",
|
|
44
45
|
"style-lint": "prettier -c .",
|
|
45
46
|
"build": "tsup",
|
|
46
47
|
"build:docs": "typedoc"
|
|
47
48
|
},
|
|
49
|
+
"overrides": {
|
|
50
|
+
"brace-expansion": "^2.0.2"
|
|
51
|
+
},
|
|
48
52
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/client-iot": "3.
|
|
50
|
-
"@aws-sdk/credential-providers": "3.
|
|
53
|
+
"@aws-sdk/client-iot": "3.830.0",
|
|
54
|
+
"@aws-sdk/credential-providers": "3.830.0",
|
|
51
55
|
"amazon-cognito-identity-js": "6.3.15",
|
|
52
56
|
"aws-iot-device-sdk-v2": "1.21.5",
|
|
53
57
|
"dayjs": "1.11.13",
|
|
54
58
|
"lodash": "4.17.21"
|
|
55
59
|
},
|
|
56
60
|
"devDependencies": {
|
|
57
|
-
"@eslint/js": "9.
|
|
61
|
+
"@eslint/js": "9.29.0",
|
|
58
62
|
"@semantic-release/npm": "12.0.1",
|
|
59
|
-
"@types/lodash": "4.17.
|
|
60
|
-
"@types/node": "
|
|
63
|
+
"@types/lodash": "4.17.18",
|
|
64
|
+
"@types/node": "24.0.3",
|
|
61
65
|
"conventional-changelog-conventionalcommits": "9.0.0",
|
|
62
66
|
"dotenv": "16.5.0",
|
|
63
|
-
"eslint": "9.
|
|
64
|
-
"eslint-plugin-jsdoc": "
|
|
67
|
+
"eslint": "9.29.0",
|
|
68
|
+
"eslint-plugin-jsdoc": "51.0.3",
|
|
65
69
|
"eslint-plugin-tsdoc": "0.4.0",
|
|
66
70
|
"pino": "9.7.0",
|
|
67
71
|
"pino-pretty": "13.0.0",
|
|
@@ -70,10 +74,10 @@
|
|
|
70
74
|
"prettier-plugin-organize-imports": "4.1.0",
|
|
71
75
|
"semantic-release": "24.2.5",
|
|
72
76
|
"tsup": "8.5.0",
|
|
73
|
-
"tsx": "4.
|
|
77
|
+
"tsx": "4.20.3",
|
|
74
78
|
"typedoc": "0.28.5",
|
|
75
79
|
"typedoc-material-theme": "1.4.0",
|
|
76
80
|
"typescript": "5.8.3",
|
|
77
|
-
"typescript-eslint": "8.
|
|
81
|
+
"typescript-eslint": "8.34.0"
|
|
78
82
|
}
|
|
79
83
|
}
|