New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@osaas/client-core

Package Overview
Dependencies
Maintainers
10
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@osaas/client-core - npm Package Compare versions

Comparing version 0.7.0 to 0.7.1

lib/errors.d.ts

1

lib/context.d.ts

@@ -27,3 +27,4 @@ export type ContextConfig = {

activateService(serviceId: string): Promise<void>;
refreshServiceAccessToken(serviceId: string): Promise<string>;
}
//# sourceMappingURL=context.d.ts.map

@@ -58,4 +58,7 @@ "use strict";

}
async refreshServiceAccessToken(serviceId) {
return await this.getServiceAccessToken(serviceId);
}
}
exports.Context = Context;
//# sourceMappingURL=context.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPortsForInstance = exports.listInstances = exports.getInstance = exports.removeInstance = exports.createInstance = exports.getService = void 0;
const errors_1 = require("./errors");
const fetch_1 = require("./fetch");

@@ -108,2 +109,5 @@ const log_1 = require("./log");

(0, log_1.Log)().debug(err);
if (err instanceof fetch_1.FetchError && err.httpCode === 401) {
throw new errors_1.UnauthorizedError();
}
}

@@ -110,0 +114,0 @@ return undefined;

3

lib/index.d.ts
/** @module @osaas/client-core */
export { Log } from './log';
export { createFetch } from './fetch';
export { createFetch, FetchError } from './fetch';
export { Context } from './context';
export { createInstance, removeInstance, getInstance, listInstances, getPortsForInstance } from './core';
export { createJob, removeJob, getJob, listJobs, waitForJobToComplete } from './job';
export * from './errors';
//# sourceMappingURL=index.d.ts.map
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.waitForJobToComplete = exports.listJobs = exports.getJob = exports.removeJob = exports.createJob = exports.getPortsForInstance = exports.listInstances = exports.getInstance = exports.removeInstance = exports.createInstance = exports.Context = exports.createFetch = exports.Log = void 0;
exports.waitForJobToComplete = exports.listJobs = exports.getJob = exports.removeJob = exports.createJob = exports.getPortsForInstance = exports.listInstances = exports.getInstance = exports.removeInstance = exports.createInstance = exports.Context = exports.FetchError = exports.createFetch = exports.Log = void 0;
/** @module @osaas/client-core */

@@ -9,2 +23,3 @@ var log_1 = require("./log");

Object.defineProperty(exports, "createFetch", { enumerable: true, get: function () { return fetch_1.createFetch; } });
Object.defineProperty(exports, "FetchError", { enumerable: true, get: function () { return fetch_1.FetchError; } });
var context_1 = require("./context");

@@ -24,2 +39,3 @@ Object.defineProperty(exports, "Context", { enumerable: true, get: function () { return context_1.Context; } });

Object.defineProperty(exports, "waitForJobToComplete", { enumerable: true, get: function () { return job_1.waitForJobToComplete; } });
__exportStar(require("./errors"), exports);
//# sourceMappingURL=index.js.map
{
"name": "@osaas/client-core",
"version": "0.7.0",
"version": "0.7.1",
"description": "Open Source Cloud Client SDK core library",

@@ -34,3 +34,3 @@ "author": "Eyevinn Technology <work@eyevinn.se>",

},
"gitHead": "c0a201146ca9996b48b5b436a4bee414c2401dcb"
"gitHead": "253c99b8465f99504aae18916dde93dc27d9d78e"
}

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

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