@oada/client
Advanced tools
Comparing version 2.2.1 to 2.2.2
"use strict"; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
}) : (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
o[k2] = m[k]; | ||
})); | ||
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) { | ||
Object.defineProperty(o, "default", { enumerable: true, value: v }); | ||
}) : function(o, v) { | ||
o["default"] = v; | ||
}); | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
return result; | ||
}; | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.OADAClient = void 0; | ||
const ksuid_1 = __importDefault(require("ksuid")); | ||
@@ -14,0 +27,0 @@ const debug_1 = __importDefault(require("debug")); |
@@ -6,2 +6,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HttpClient = void 0; | ||
const cross_fetch_1 = __importDefault(require("cross-fetch")); | ||
@@ -8,0 +9,0 @@ const events_1 = require("events"); |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.connect = exports.createInstance = void 0; | ||
const client_1 = require("./client"); | ||
@@ -15,3 +16,3 @@ function createInstance(config) { | ||
var client_2 = require("./client"); | ||
exports.OADAClient = client_2.OADAClient; | ||
Object.defineProperty(exports, "OADAClient", { enumerable: true, get: function () { return client_2.OADAClient; } }); | ||
//# sourceMappingURL=index.js.map |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.delay = exports.createNestedObject = exports.isResource = exports.toTreePath = exports.getObjectAtPath = exports.toArrayPath = exports.toStringPath = void 0; | ||
function toStringPath(path) { | ||
@@ -4,0 +5,0 @@ return "/" + path.join("/"); |
@@ -17,2 +17,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WebSocketClient = void 0; | ||
const WebSocket = require("isomorphic-ws"); | ||
@@ -50,2 +51,3 @@ const reconnecting_websocket_1 = __importDefault(require("reconnecting-websocket")); | ||
const ws = new reconnecting_websocket_1.default("wss://" + this._domain, [], { | ||
connectionTimeout: 30 * 1000, | ||
WebSocket: BetterWebSocket, | ||
@@ -52,0 +54,0 @@ }); |
{ | ||
"name": "@oada/client", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "A lightweight client tool to interact with an OADA-compliant server", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/OADA/client", |
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
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
61638
17
892
1