serum-vial
Advanced tools
Comparing version 1.3.4 to 1.3.5
@@ -261,3 +261,5 @@ "use strict"; | ||
else { | ||
ws.unsubscribe(topic); | ||
if (ws.isSubscribed(topic)) { | ||
ws.unsubscribe(topic); | ||
} | ||
} | ||
@@ -264,0 +266,0 @@ } |
{ | ||
"name": "serum-vial", | ||
"version": "1.3.4", | ||
"version": "1.3.5", | ||
"engines": { | ||
@@ -51,3 +51,3 @@ "node": ">=15" | ||
"node-fetch": "^2.6.1", | ||
"uWebSockets.js": "git+https://git@github.com/uNetworking/uWebSockets.js.git#v19.5.0", | ||
"uWebSockets.js": "git+https://git@github.com/uNetworking/uWebSockets.js.git#v20.4.0", | ||
"winston": "^3.3.3", | ||
@@ -58,4 +58,4 @@ "ws": "^8.2.3", | ||
"devDependencies": { | ||
"@types/jest": "^27.0.2", | ||
"@types/node": "^16.11.6", | ||
"@types/jest": "^27.0.3", | ||
"@types/node": "^16.11.9", | ||
"@types/node-fetch": "^2.5.12", | ||
@@ -69,3 +69,3 @@ "@types/ws": "^8.2.0", | ||
"ts-jest": "^27.0.7", | ||
"typescript": "^4.4.4" | ||
"typescript": "^4.5.2" | ||
}, | ||
@@ -72,0 +72,0 @@ "lint-staged": { |
@@ -323,3 +323,5 @@ import { getLayoutVersion, Market } from '@project-serum/serum' | ||
} else { | ||
ws.unsubscribe(topic) | ||
if (ws.isSubscribed(topic)) { | ||
ws.unsubscribe(topic) | ||
} | ||
} | ||
@@ -326,0 +328,0 @@ } |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable and can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
304429
4512