mirror of
https://github.com/tsightler/ring-mqtt.git
synced 2025-09-26 21:01:12 +08:00
Bump to ring-client-api v12.0.0
This commit is contained in:
@@ -4,6 +4,7 @@ import { dirname } from 'path'
|
||||
import { fileURLToPath } from 'url'
|
||||
import express from 'express'
|
||||
import bodyParser from 'body-parser'
|
||||
import chalk from 'chalk'
|
||||
import debugModule from 'debug'
|
||||
const debug = debugModule('ring-mqtt')
|
||||
|
||||
@@ -86,7 +87,7 @@ export default new class TokenApp {
|
||||
res.sendFile('code.html', {root: webdir})
|
||||
} else {
|
||||
const errmsg = error.message ? error.message : 'Unknown error, please check your credentials and try again.'
|
||||
debug(errmsg)
|
||||
debug(chalk.red(errmsg))
|
||||
res.cookie('error', errmsg, { maxAge: 1000, encode: String })
|
||||
res.sendFile('account.html', {root: webdir})
|
||||
}
|
||||
|
20
package-lock.json
generated
20
package-lock.json
generated
@@ -20,7 +20,7 @@
|
||||
"js-yaml": "^4.1.0",
|
||||
"minimist": "^1.2.8",
|
||||
"mqtt": "^4.3.7",
|
||||
"ring-client-api": "12.0.0-beta.2",
|
||||
"ring-client-api": "12.0.0",
|
||||
"rxjs": "^7.8.1",
|
||||
"werift": "^0.18.5",
|
||||
"write-file-atomic": "^5.0.1"
|
||||
@@ -4109,11 +4109,11 @@
|
||||
}
|
||||
},
|
||||
"node_modules/pvtsutils": {
|
||||
"version": "1.3.2",
|
||||
"resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.2.tgz",
|
||||
"integrity": "sha512-+Ipe2iNUyrZz+8K/2IOo+kKikdtfhRKzNpQbruF2URmqPtoqAs8g3xS7TJvFF2GcPXjh7DkqMnpVveRFq4PgEQ==",
|
||||
"version": "1.3.5",
|
||||
"resolved": "https://registry.npmjs.org/pvtsutils/-/pvtsutils-1.3.5.tgz",
|
||||
"integrity": "sha512-ARvb14YB9Nm2Xi6nBq1ZX6dAM0FsJnuk+31aUp4TrcZEdKUlSqOqsxJHUPJDNE3qiIp+iUPEIeR6Je/tgV7zsA==",
|
||||
"dependencies": {
|
||||
"tslib": "^2.4.0"
|
||||
"tslib": "^2.6.1"
|
||||
}
|
||||
},
|
||||
"node_modules/pvutils": {
|
||||
@@ -4322,9 +4322,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/ring-client-api": {
|
||||
"version": "12.0.0-beta.2",
|
||||
"resolved": "https://registry.npmjs.org/ring-client-api/-/ring-client-api-12.0.0-beta.2.tgz",
|
||||
"integrity": "sha512-ElDrf7Fed2U8OXstDGJsJtd/DrN2hiZbT8x3IfZbdPichiVzIpX/rUW2IveZatIEbMK+BWFzZEpDCOu18J9LqQ==",
|
||||
"version": "12.0.0",
|
||||
"resolved": "https://registry.npmjs.org/ring-client-api/-/ring-client-api-12.0.0.tgz",
|
||||
"integrity": "sha512-DbkuK6Za1/Oft7ZDjMukVlBDsya8/7YcYuInbaCIcMKQK8790hfET1qOvqzM9goBkJw2r4/UcSg8nCx8YDhNXA==",
|
||||
"funding": [
|
||||
{
|
||||
"type": "paypal",
|
||||
@@ -4346,10 +4346,10 @@
|
||||
"got": "^11.8.5",
|
||||
"json-bigint": "^1.0.0",
|
||||
"msw": "^1.2.3",
|
||||
"pvtsutils": "1.3.2",
|
||||
"pvtsutils": "^1.3.5",
|
||||
"rxjs": "^7.8.1",
|
||||
"socket.io-client": "^2.5.0",
|
||||
"systeminformation": "^5.18.10",
|
||||
"systeminformation": "^5.18.15",
|
||||
"uuid": "^9.0.0",
|
||||
"webcrypto-core": "^1.7.7",
|
||||
"werift": "0.18.5",
|
||||
|
@@ -16,7 +16,7 @@
|
||||
"js-yaml": "^4.1.0",
|
||||
"minimist": "^1.2.8",
|
||||
"mqtt": "^4.3.7",
|
||||
"ring-client-api": "12.0.0-beta.2",
|
||||
"ring-client-api": "12.0.0",
|
||||
"rxjs": "^7.8.1",
|
||||
"werift": "^0.18.5",
|
||||
"write-file-atomic": "^5.0.1"
|
||||
|
Reference in New Issue
Block a user