@oada/client
Advanced tools
Comparing version 2.3.0 to 2.3.1
"use strict"; | ||
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 __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
}; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (k !== "default" && Object.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k); | ||
__setModuleDefault(result, mod); | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = 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")); | ||
@@ -249,4 +236,4 @@ const debug_1 = __importDefault(require("debug")); | ||
if (retryCount++ < 5) { | ||
await utils.delay(1000 * (retryCount * retryCount + Math.random())); | ||
i = pathArray.length - 1; | ||
await utils.delay(100 * (retryCount * retryCount + Math.random())); | ||
i = pathArray.length; | ||
continue; | ||
@@ -253,0 +240,0 @@ } |
@@ -6,3 +6,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.HttpClient = void 0; | ||
const cross_fetch_1 = __importDefault(require("cross-fetch")); | ||
@@ -9,0 +8,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"); | ||
@@ -16,3 +15,3 @@ function createInstance(config) { | ||
var client_2 = require("./client"); | ||
Object.defineProperty(exports, "OADAClient", { enumerable: true, get: function () { return client_2.OADAClient; } }); | ||
exports.OADAClient = 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) { | ||
@@ -5,0 +4,0 @@ return "/" + path.join("/"); |
@@ -17,3 +17,2 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.WebSocketClient = void 0; | ||
const WebSocket = require("isomorphic-ws"); | ||
@@ -20,0 +19,0 @@ const reconnecting_websocket_1 = __importDefault(require("reconnecting-websocket")); |
{ | ||
"name": "@oada/client", | ||
"version": "2.3.0", | ||
"version": "2.3.1", | ||
"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
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
64890
20
942