ozone-default-client
Advanced tools
Comparing version 5.1.6 to 5.2.0-alpha.0
@@ -1,14 +0,12 @@ | ||
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var ozone_typescript_client_1 = require("ozone-typescript-client"); | ||
var SessionCredentials = ozone_typescript_client_1.OzoneClient.SessionCredentials; | ||
var defaultClient = undefined; | ||
var sessionCredentials = new SessionCredentials(); | ||
function getDefaultClient() { | ||
import { OzoneClient } from 'ozone-typescript-client'; | ||
var SessionCredentials = OzoneClient.SessionCredentials; | ||
let defaultClient = undefined; | ||
const sessionCredentials = new SessionCredentials(); | ||
export function getDefaultClient() { | ||
if (defaultClient === undefined) { | ||
var config = { | ||
const config = { | ||
ozoneURL: 'ozone', | ||
ozoneCredentials: sessionCredentials | ||
}; | ||
defaultClient = ozone_typescript_client_1.OzoneClient.newOzoneClient(config); | ||
defaultClient = OzoneClient.newOzoneClient(config); | ||
// tslint:disable-next-line | ||
@@ -19,3 +17,2 @@ defaultClient.start(); // don't wait client started | ||
} | ||
exports.getDefaultClient = getDefaultClient; | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "ozone-default-client", | ||
"version": "5.1.6", | ||
"version": "5.2.0-alpha.0", | ||
"description": "", | ||
@@ -22,5 +22,5 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"ozone-typescript-client": "^5.1.6" | ||
"ozone-typescript-client": "^5.2.0-alpha.0" | ||
}, | ||
"gitHead": "36cde91eb81b4a358ff127f5a9f53ed268ac5273" | ||
"gitHead": "b6111afde6926ed06de9cf5a54da8546790441f3" | ||
} |
{ | ||
"compilerOptions": { | ||
"target": "es5", | ||
"module": "commonjs", | ||
"target": "es6", | ||
"module": "esnext", | ||
// Use esnext to enable lazy loading | ||
@@ -6,0 +6,0 @@ "moduleResolution": "node", |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
3661
68
1