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

@collabland/common

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@collabland/common - npm Package Compare versions

Comparing version 0.11.0 to 0.12.0

1

dist/utils/http-client-fetch.d.ts

@@ -0,1 +1,2 @@

export { default as HttpErrors } from 'http-errors';
/**

@@ -2,0 +3,0 @@ * Process fetch http response

4

dist/utils/http-client-fetch.js

@@ -7,3 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.invokeJsonRpcFetch = exports.getFetchWithAuth = exports.getFetch = exports.handleFetchResponse = void 0;
exports.invokeJsonRpcFetch = exports.getFetchWithAuth = exports.getFetch = exports.handleFetchResponse = exports.HttpErrors = void 0;
const tslib_1 = require("tslib");

@@ -13,2 +13,4 @@ const cross_fetch_1 = tslib_1.__importDefault(require("cross-fetch"));

const debug_1 = require("./debug");
var http_errors_2 = require("http-errors");
Object.defineProperty(exports, "HttpErrors", { enumerable: true, get: function () { return tslib_1.__importDefault(http_errors_2).default; } });
/**

@@ -15,0 +17,0 @@ * Http client using `cross-fetch` for browser and Node.js

{
"name": "@collabland/common",
"version": "0.11.0",
"version": "0.12.0",
"description": "CollabLand common utilities",

@@ -47,12 +47,12 @@ "main": "dist/index.js",

"devDependencies": {
"@loopback/build": "^6.3.1",
"@loopback/eslint-config": "^10.1.1",
"@loopback/testlab": "^3.3.1",
"@loopback/build": "^6.4.0",
"@loopback/eslint-config": "^10.2.0",
"@loopback/testlab": "^3.4.0",
"@types/node": "^14.14.37",
"source-map-support": "^0.5.19",
"typescript": "~4.2.3"
"typescript": "~4.2.4"
},
"copyright.owner": "Abridged, Inc.",
"author": "Abridged, Inc.",
"gitHead": "b96d7e82853e4ef5478d5309b235fbf9a6b03dc5"
"gitHead": "c4c3c8622123dff94dcdeecbc82c82b5bbdf1cc7"
}

@@ -10,2 +10,4 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved.

export {default as HttpErrors} from 'http-errors';
/**

@@ -51,3 +53,3 @@ * Http client using `cross-fetch` for browser and Node.js

debugHttp('Normal response: %O', body);
return (body as unknown) as T;
return body as unknown as T;
}

@@ -54,0 +56,0 @@

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