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

@ffflorian/api-client

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ffflorian/api-client - npm Package Compare versions

Comparing version 1.0.1 to 1.0.3

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

## [1.0.3](https://github.com/ffflorian/api-clients/tree/master/packages/api-client/compare/@ffflorian/api-client@1.0.2...@ffflorian/api-client@1.0.3) (2019-12-18)
**Note:** Version bump only for package @ffflorian/api-client
## [1.0.2](https://github.com/ffflorian/api-clients/tree/master/packages/api-client/compare/@ffflorian/api-client@1.0.1...@ffflorian/api-client@1.0.2) (2019-09-11)
**Note:** Version bump only for package @ffflorian/api-client
## [1.0.1](https://github.com/ffflorian/api-clients/tree/master/packages/api-client/compare/@ffflorian/api-client@1.0.0...@ffflorian/api-client@1.0.1) (2019-09-01)

@@ -8,0 +24,0 @@

5

dist/APIException.js

@@ -45,4 +45,5 @@ "use strict";

function ExceptionMapper(error) {
if (error.response && error.response.status) {
const serverMessage = error.response.data ? error.response.data.message : undefined;
var _a, _b;
if ((_a = error.response) === null || _a === void 0 ? void 0 : _a.status) {
const serverMessage = ((_b = error.response.data) === null || _b === void 0 ? void 0 : _b.message) || undefined;
switch (error.response.status) {

@@ -49,0 +50,0 @@ case HTTP_STATUS.FORBIDDEN:

@@ -138,6 +138,3 @@ "use strict";

}
if (typeof options !== 'undefined') {
return Object.assign(Object.assign({}, baseConfig), (!!options && options));
}
return baseConfig;
return Object.assign(Object.assign({}, baseConfig), options);
});

@@ -144,0 +141,0 @@ }

12

package.json

@@ -5,3 +5,3 @@ {

"axios": "0.19.0",
"http-status-codes": "1.3.2"
"http-status-codes": "1.4.0"
},

@@ -12,4 +12,4 @@ "description": "A generic API client",

"rimraf": "3.0.0",
"typedoc": "0.15.0",
"typescript": "3.6.2"
"typedoc": "0.15.5",
"typescript": "3.7.3"
},

@@ -26,3 +26,3 @@ "engines": {

],
"license": "MIT",
"license": "GPL-3.0",
"main": "dist/index.js",

@@ -38,4 +38,4 @@ "name": "@ffflorian/api-client",

},
"version": "1.0.1",
"gitHead": "e39d15d0699fc660a7748c09462005cf997ab6b2"
"version": "1.0.3",
"gitHead": "8bc5d29129d9a06df90b76fedf939346478612eb"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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