New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@zum/flash-client

Package Overview
Dependencies
Maintainers
0
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@zum/flash-client - npm Package Compare versions

Comparing version 0.0.4 to 0.0.5

3

dist/connect/flashSocket.d.ts

@@ -23,8 +23,7 @@ import { Socket } from 'socket.io-client';

execute: (operationArgument: FlashOperationArgument) => Promise<void>;
deleteSocket: () => void;
disconnect: () => void;
private initializeSocket;
private setAuthorizationHeader;
private reConnectOnError;
private disconnect;
}
//# sourceMappingURL=flashSocket.d.ts.map

@@ -42,4 +42,4 @@ "use strict";

};
this.deleteSocket = () => {
this.disconnect();
this.disconnect = () => {
FlashSocket.socket.disconnect();
};

@@ -52,3 +52,3 @@ this.initializeSocket = () => {

};
const socket = socket_io_client_1.io(this.config.baseUrl, opts);
const socket = socket_io_client_1.io('http://localhost:8081/', opts);
this.reConnectOnError(socket);

@@ -80,5 +80,2 @@ return socket;

};
this.disconnect = () => {
FlashSocket.socket.disconnect();
};
if (!FlashSocket.socket) {

@@ -85,0 +82,0 @@ FlashSocket.socket = this.initializeSocket();

export * from './connect/types';
export * from './sdk/api/ride';
export { initializeFlash } from './sdk/init/initializer';
export { initializeFlash, disconnectFlash } from './sdk/init/initializer';
export { FlashTopic } from './sdk/topic/topicTypes';
//# sourceMappingURL=index.d.ts.map

@@ -10,4 +10,5 @@ "use strict";

exports.initializeFlash = initializer_1.initializeFlash;
exports.disconnectFlash = initializer_1.disconnectFlash;
var topicTypes_1 = require("./sdk/topic/topicTypes");
exports.FlashTopic = topicTypes_1.FlashTopic;
//# sourceMappingURL=index.js.map

@@ -5,2 +5,3 @@ import { SubscriptionManager } from '../../connect/subscriptionManager';

export declare const initializeFlash: (config: FlashConfig) => void;
export declare const disconnectFlash: () => void;
//# sourceMappingURL=initializer.d.ts.map

@@ -23,2 +23,5 @@ "use strict";

};
exports.disconnectFlash = () => {
flashSocket === null || flashSocket === void 0 ? void 0 : flashSocket.disconnect();
};
//# sourceMappingURL=initializer.js.map

@@ -55,4 +55,4 @@ import { io as socketIO, Socket } from 'socket.io-client';

public deleteSocket = (): void => {
this.disconnect();
public disconnect = (): void => {
FlashSocket.socket.disconnect();
};

@@ -66,3 +66,3 @@

};
const socket = socketIO(this.config.baseUrl, opts);
const socket = socketIO('http://localhost:8081/', opts);
this.reConnectOnError(socket);

@@ -95,6 +95,2 @@ return socket;

};
private disconnect = (): void => {
FlashSocket.socket.disconnect();
};
}
export * from './connect/types';
export * from './sdk/api/ride';
export { initializeFlash } from './sdk/init/initializer';
export { disconnectFlash, initializeFlash } from './sdk/init/initializer';
export { FlashTopic } from './sdk/topic/topicTypes';

@@ -24,1 +24,5 @@ import { FlashSocket } from '../../connect/flashSocket';

};
export const disconnectFlash = (): void => {
flashSocket?.disconnect();
};
{
"name": "@zum/flash-client",
"version": "0.0.4",
"description": "Client for talking to Zum flash server",
"version": "0.0.5",
"description": "Client for connecting to Zum Flash server",
"license": "UNLICENSED",
"repository": {
"type": "git",
"url": "git+https://github.com/ridezum/backend.git"
},
"author": "zum",

@@ -6,0 +11,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc