@soos-io/api-client
Advanced tools
Comparing version 0.0.1-pre.1 to 0.0.1-pre.5
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.SOOS_ANALYSIS_API = exports.SOOS_PROJECTS_API = exports.KILO_BYTE = exports.MAX_MANIFESTS = exports.JSON_CONTENT_TYPE = exports.FILE_ENCODING = void 0; | ||
exports.SOOS_BASE_URL = exports.KILO_BYTE = exports.MAX_MANIFESTS = exports.JSON_CONTENT_TYPE = exports.FILE_ENCODING = void 0; | ||
exports.FILE_ENCODING = "utf8"; | ||
@@ -8,3 +8,2 @@ exports.JSON_CONTENT_TYPE = "application/json"; | ||
exports.KILO_BYTE = 1024; | ||
exports.SOOS_PROJECTS_API = "api-projects.soos.io/api/"; | ||
exports.SOOS_ANALYSIS_API = "api.soos.io/api/"; | ||
exports.SOOS_BASE_URL = "https://api.soos.io/api/"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.constructBaseApiUrl = exports.isNil = void 0; | ||
exports.isNil = void 0; | ||
function isNil(value) { | ||
@@ -8,5 +8,1 @@ return value === null || value === undefined; | ||
exports.isNil = isNil; | ||
function constructBaseApiUrl(environment, api) { | ||
return `https://${environment}${api}`; | ||
} | ||
exports.constructBaseApiUrl = constructBaseApiUrl; |
{ | ||
"name": "@soos-io/api-client", | ||
"version": "0.0.1-pre.1", | ||
"version": "0.0.1-pre.5", | ||
"description": "SOOS api public package", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -5,3 +5,2 @@ export const FILE_ENCODING = "utf8"; | ||
export const KILO_BYTE = 1024; | ||
export const SOOS_PROJECTS_API = "api-projects.soos.io/api/"; | ||
export const SOOS_ANALYSIS_API = "api.soos.io/api/"; | ||
export const SOOS_BASE_URL = "https://api.soos.io/api/"; |
@@ -1,9 +0,3 @@ | ||
import { EnvironmentEnum } from "../soosApiClient"; | ||
export function isNil(value: unknown): value is null | undefined { | ||
return value === null || value === undefined; | ||
} | ||
export function constructBaseApiUrl(environment: EnvironmentEnum, api: string): string { | ||
return `https://${environment}${api}`; | ||
} |
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
Unpublished package
Supply chain riskPackage version was not found on the registry. It may exist on a different registry and need to be configured to pull from that registry.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
20
0
3
31708
857
1