Socket
Socket
Sign inDemoInstall

@768bit/vue-sock-rpc

Package Overview
Dependencies
2
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.8 to 0.1.9

5

dist/types.d.ts
import * as Promise from "bluebird";
import { WebSocketRequestOptions } from "./WebSocketRequest";
import { RPCPayload } from "./inttypes";
export { WebSocketMessageType, WebSocketMessageStatus, WebSocketRequestBody, WebSocketResponseBody, WebSocketMessageTypeToString, WebSocketMessageStatusToString } from "./inttypes";

@@ -7,6 +8,6 @@ declare interface RPCWebSocket extends WebSocket {

sendObj(obj: any): void;
callRPC(cmd: string, payload: any, options?: WebSocketRequestOptions): Promise<any>;
callRPC(cmd: string, payload?: RPCPayload | any, options?: WebSocketRequestOptions): Promise<any>;
subscribe(topic: string, handler: any): Promise<any>;
unsubscribe(topic: string, handler?: any): Promise<any>;
}
export { WebSocketRequestOptions, RPCWebSocket };
export { WebSocketRequestOptions, RPCWebSocket, RPCPayload };

2

package.json
{
"name": "@768bit/vue-sock-rpc",
"version": "0.1.8",
"version": "0.1.9",
"description": "Hard fork of nathantsoi/vue-native-websocket that supports scoped/namespaced message capture",

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

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc