@stacks/blockchain-api-client
Advanced tools
Comparing version 8.3.0-beta.1 to 8.3.0-beta.2
@@ -49,3 +49,3 @@ "use strict"; | ||
const subsQuery = this.socket.io.opts.query?.subscriptions; | ||
const subscriptions = new Set(subsQuery?.split(',') ?? []); | ||
const subscriptions = new Set(subsQuery ? subsQuery.split(',') : []); | ||
if (subscribe) { | ||
@@ -52,0 +52,0 @@ this.socket.emit('subscribe', topic, error => { |
{ | ||
"name": "@stacks/blockchain-api-client", | ||
"version": "8.3.0-beta.1", | ||
"version": "8.3.0-beta.2", | ||
"access": "public", | ||
@@ -5,0 +5,0 @@ "description": "Client for the Stacks Blockchain API", |
@@ -75,3 +75,3 @@ import { io, Socket } from 'socket.io-client'; | ||
const subsQuery = this.socket.io.opts.query?.subscriptions as string | undefined; | ||
const subscriptions = new Set(subsQuery?.split(',') ?? []); | ||
const subscriptions = new Set(subsQuery ? subsQuery.split(',') : []); | ||
if (subscribe) { | ||
@@ -78,0 +78,0 @@ this.socket.emit('subscribe', topic, error => { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
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
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
4460498
69218