Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@soos-io/api-client

Package Overview
Dependencies
Maintainers
1
Versions
207
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@soos-io/api-client - npm Package Compare versions

Comparing version 0.0.1-pre.1 to 0.0.1-pre.5

dist/api/api-client.d.ts

5

dist/utils/Constants.js
"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/";

6

dist/utils/Utilities.js
"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}`;
}
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