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

@hexonet/ispapi-apiconnector

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hexonet/ispapi-apiconnector - npm Package Compare versions

Comparing version 5.5.2 to 5.5.3

2

dist/responsetemplatemanager.js

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

500: this.generateTemplate("500", "Internal server error"),
empty: this.generateTemplate("423", "Empty API response"),
empty: this.generateTemplate("423", "Empty API response. Probably unreachable API end point"),
error: this.generateTemplate("421", "Command failed due to server error. Client should try again"),

@@ -19,0 +19,0 @@ expired: this.generateTemplate("530", "SESSION NOT FOUND"),

@@ -0,1 +1,8 @@

## [5.5.3](https://github.com/hexonet/node-sdk/compare/v5.5.2...v5.5.3) (2019-10-04)
### Bug Fixes
* **responsetemplate/mgr:** improve description of `423 Empty API response` ([f2d31fc](https://github.com/hexonet/node-sdk/commit/f2d31fc))
## [5.5.2](https://github.com/hexonet/node-sdk/compare/v5.5.1...v5.5.2) (2019-09-18)

@@ -2,0 +9,0 @@

{
"name": "@hexonet/ispapi-apiconnector",
"description": "Node.js SDK for the insanely fast HEXONET API",
"version": "5.5.2",
"version": "5.5.3",
"private": false,

@@ -6,0 +6,0 @@ "author": {

@@ -31,3 +31,3 @@ import { ResponseParser } from "./responseparser";

500: this.generateTemplate("500", "Internal server error"),
empty: this.generateTemplate("423", "Empty API response"),
empty: this.generateTemplate("423", "Empty API response. Probably unreachable API end point"),
error: this.generateTemplate("421", "Command failed due to server error. Client should try again"),

@@ -34,0 +34,0 @@ expired: this.generateTemplate("530", "SESSION NOT FOUND"),

@@ -16,3 +16,3 @@ 'use strict'

expect(tpl.getCode()).to.equal(423)
expect(tpl.getDescription()).to.equal('Empty API response')
expect(tpl.getDescription()).to.equal('Empty API response. Probably unreachable API end point')
})

@@ -25,3 +25,3 @@ })

expect(h.CODE).to.equal('423')
expect(h.DESCRIPTION).to.equal('Empty API response')
expect(h.DESCRIPTION).to.equal('Empty API response. Probably unreachable API end point')
})

@@ -37,3 +37,3 @@ })

it('check return value [in API response]', function () {
const tpl = new ResponseTemplate('[RESPONSE]\r\ncode=423\r\ndescription=Empty API response\r\nqueuetime=0\r\nEOF\r\n')
const tpl = new ResponseTemplate('[RESPONSE]\r\ncode=423\r\ndescription=Empty API response. Probably unreachable API end point\r\nqueuetime=0\r\nEOF\r\n')
expect(tpl.getQueuetime()).to.equal(0)

@@ -50,3 +50,3 @@ })

it('check return value [in API response]', function () {
const tpl = new ResponseTemplate('[RESPONSE]\r\ncode=423\r\ndescription=Empty API response\r\nruntime=0.12\r\nEOF\r\n')
const tpl = new ResponseTemplate('[RESPONSE]\r\ncode=423\r\ndescription=Empty API response. Probably unreachable API end point\r\nruntime=0.12\r\nEOF\r\n')
expect(tpl.getRuntime()).to.equal(0.12)

@@ -53,0 +53,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