smartapp-sdk-nodejs
smartapp-sdk-nodejs copied to clipboard
Javascript/NodeJS SDK to create SmartThings SmartApps
When defining device subscription handlers, you cannot name a common handler across subscriptions. The SDK design seems to impose a unique handler name for each subscription. If I want to...
**Is your feature request related to a problem? Please describe.** `util/endpoint-context.js` includes several "config value" retrieval methods, which are very handy, but they only pull out the first value in...
**Is your feature request related to a problem? Please describe.** In #23, we see a confusing behavior with varying configurations of `smartapp.permissions(perms)` and `smartapp.appId(val)`. Configuration (💪man) has unique requirements that,...
Bumps [snyk](https://github.com/snyk/snyk) from 1.838.0 to 1.996.0. Release notes Sourced from snyk's releases. v1.996.0 1.996.0 (2022-09-01) Bug Fixes bump golang plugin version (8893f81) Features add --var-file support (537372d) v1.995.0 1.995.0 (2022-08-31)...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...
Bumps [axios](https://github.com/axios/axios) from 1.5.1 to 1.6.0. Release notes Sourced from axios's releases. Release v1.6.0 Release notes: Bug Fixes CSRF: fixed CSRF vulnerability CVE-2023-45857 (#6028) (96ee232) dns: fixed lookup function decorator...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.13 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
There is a type issue with `deviceCommand()` callback's type, impacting the usage of `smartApp.deviceCommand()` in TypeScript. `deviceCommand()` defines a callback with a `command` parameter of type `DeviceCommand`. This is incorrect,...
For device settings, along with `excludeCapability`, there is also a `excludeOrCapability` which we should support. See `device-settings.js`.
Hi `SmartThingsCommunity/smartapp-sdk-nodejs`! This is a one-off automatically generated pull request from LGTM.com :robot:. You might have heard that we’ve integrated LGTM’s underlying CodeQL analysis engine natively into GitHub. The result...