Disable Options and Registration on certain failures (#90)

* disable options ping on defined errors

* correct sid

* disable reg on error

* fix path

* fixes from testing

* fixes from testing

* lint

* update dbhelpers dep

* remove whitespace in CONFIG strings

* lint

* this seems like a better way of convering and matching status codes
This commit is contained in:
Sam Machin
2025-04-02 08:22:52 -04:00
committed by GitHub
parent 2cabf29e6f
commit a22ab38aab
6 changed files with 52 additions and 10 deletions
+5 -4
View File
@@ -9,7 +9,7 @@
"version": "0.9.3",
"license": "MIT",
"dependencies": {
"@jambonz/db-helpers": "^0.9.4",
"@jambonz/db-helpers": "^0.9.10",
"@jambonz/digest-utils": "^0.0.5",
"@jambonz/mw-registrar": "^0.2.7",
"@jambonz/realtimedb-helpers": "^0.8.13",
@@ -499,9 +499,10 @@
}
},
"node_modules/@jambonz/db-helpers": {
"version": "0.9.7",
"resolved": "https://registry.npmjs.org/@jambonz/db-helpers/-/db-helpers-0.9.7.tgz",
"integrity": "sha512-5qN/CJZJXpbMkMn+8gFn8PpQ0ZImZxp1EjKyxLUlmMn+xgjeNb29c3pjeVt/6EQnBB65jAax6TNsVzVIfpvE2w==",
"version": "0.9.10",
"resolved": "https://registry.npmjs.org/@jambonz/db-helpers/-/db-helpers-0.9.10.tgz",
"integrity": "sha512-yV2pQal/unHmsj+vFgzQXcrKZ/CrtNDhMzL7+Oj5Y+/KJ2gKQR2QtanC5RkUNyCThYhqN18UdJu0PR+J1BL2dg==",
"license": "MIT",
"dependencies": {
"cidr-matcher": "^2.1.1",
"debug": "^4.3.4",