Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@oada/client

Package Overview
Dependencies
Maintainers
8
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@oada/client - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

dist/watchdog.d.ts

1

dist/client.d.ts

@@ -56,3 +56,2 @@ import { WebSocketClient } from "./websocket";

disconnect(): Promise<void>;
awaitConnection(): Promise<void>;
get(request: GETRequest): Promise<Response>;

@@ -59,0 +58,0 @@ watch(request: WatchRequest): Promise<string>;

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

}
awaitConnection() {
return this._ws.awaitConnection();
}
async get(request) {

@@ -49,0 +46,0 @@ const topLevelResponse = await this._ws.request({

@@ -9,5 +9,3 @@ "use strict";

async function connect(config) {
const client = new client_1.OADAClient(config);
await client.awaitConnection();
return client;
return new client_1.OADAClient(config);
}

@@ -14,0 +12,0 @@ exports.connect = connect;

@@ -31,3 +31,2 @@ import { Json, Change } from ".";

isConnected(): boolean;
awaitConnection(): Promise<void>;
request(req: SocketRequest, callback?: (response: Readonly<SocketChange>) => void, timeout?: number): Promise<SocketResponse>;

@@ -34,0 +33,0 @@ private doRequest;

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

}
async awaitConnection() {
await this._ws;
}
request(req, callback, timeout) {

@@ -68,0 +65,0 @@ return this._q.add(() => this.doRequest(req, callback, timeout));

{
"name": "@oada/client",
"version": "1.1.3",
"version": "1.1.4",
"description": "A lightweight client tool to interact with an OADA-compliant server",

@@ -5,0 +5,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

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