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 4.2.0 to 4.3.0

dist/fetch-browser.d.ts

2

dist/auto.d.ts

@@ -31,2 +31,2 @@ /**

userAgent: string;
}): Promise<HttpClient | WebSocketClient>;
}): Promise<WebSocketClient | HttpClient>;

@@ -17,7 +17,7 @@ /**

*/
/// <reference types="node" />
/// <reference types="node" resolution-mode="require"/>
import { Buffer } from 'buffer';
import type EventEmitter from 'eventemitter3';
import type { Tree } from '@oada/types/oada/tree/v1.js';
import type { Change, Json } from '.';
import type { Change, Json } from './index.js';
/**

@@ -24,0 +24,0 @@ * Supported types for in/out request bodies

@@ -23,3 +23,3 @@ /**

fetch: (input: string | import("fetch-h2").Request, init?: Partial<import("fetch-h2").FetchInit> | undefined) => Promise<import("fetch-h2").Response>;
onPush: (handler?: import("fetch-h2/dist/lib/context-http2").PushHandler | undefined) => void;
onPush: (handler?: import("fetch-h2/dist/lib/context-http2.js").PushHandler | undefined) => void;
setup: (opts: Partial<import("fetch-h2").ContextOptions>) => void;

@@ -26,0 +26,0 @@ };

@@ -21,3 +21,3 @@ /**

import PQueue from 'p-queue';
import ReconnectingWebSocket from 'reconnecting-websocket';
import { default as ReconnectingWebSocket } from 'reconnecting-websocket';
import WebSocket from 'isomorphic-ws';

@@ -24,0 +24,0 @@ import debug from 'debug';

@@ -41,3 +41,3 @@ /**

import type { Change, Json, JsonObject } from '.';
import type { Change, Json, JsonObject } from './index.js';

@@ -44,0 +44,0 @@ const trace = debug('@oada/client:client:trace');

@@ -38,3 +38,3 @@ /**

import fetch, { context } from './fetch.js';
import type { Json } from '.';
import type { Json } from './index.js';
import { WebSocketClient } from './websocket.js';

@@ -41,0 +41,0 @@ import { handleErrors } from './errors.js';

@@ -20,3 +20,3 @@ /**

import PQueue from 'p-queue';
import ReconnectingWebSocket from 'reconnecting-websocket';
import { default as ReconnectingWebSocket } from 'reconnecting-websocket';
import WebSocket from 'isomorphic-ws';

@@ -23,0 +23,0 @@ import debug from 'debug';

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

@@ -11,2 +11,13 @@ "repository": "https://github.com/OADA/client",

},
"exports": {
".": "./dist/index.js",
"./dist/event-iterator.js": {
"node": "./dist/event-iterator.js",
"default": "./dist/event-iterator-browser.js"
},
"./dist/fetch.js": {
"node": "./dist/fetch.js",
"default": "./dist/fetch-browser.js"
}
},
"browser": {

@@ -72,3 +83,3 @@ "./dist/event-iterator.js": "./dist/event-iterator-browser.js",

"dependencies": {
"@oada/types": "^3.1.5",
"@oada/types": "^3.2.1",
"abort-controller": "^3.0.0",

@@ -101,7 +112,7 @@ "buffer": "^6.0.3",

"@types/debug": "^4.1.7",
"@types/node": "^16.11.54",
"@types/node": "^16.11.56",
"@types/ws": "^8.5.3",
"@typescript-eslint/eslint-plugin": "^5.34.0",
"@typescript-eslint/parser": "^5.34.0",
"@yarnpkg/sdks": "3.0.0-rc.14",
"@yarnpkg/sdks": "3.0.0-rc.15",
"ava": "4.3.1",

@@ -108,0 +119,0 @@ "axios": "^0.27.2",

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