@collabland/common
Advanced tools
Comparing version 0.11.0 to 0.12.0
@@ -0,1 +1,2 @@ | ||
export { default as HttpErrors } from 'http-errors'; | ||
/** | ||
@@ -2,0 +3,0 @@ * Process fetch http response |
@@ -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
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
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
1421
60099
43
2