@burstjs/http
Advanced tools
Comparing version 0.6.0-beta.1 to 0.6.0-beta.2
{ | ||
"name": "@burstjs/http", | ||
"version": "0.6.0-beta.1", | ||
"version": "0.6.0-beta.2", | ||
"description": "Send commands to BURST over HTTP", | ||
@@ -54,3 +54,3 @@ "contributors": [ | ||
}, | ||
"gitHead": "8a6a48a9bd4ce272ca59b9b7a3c572bfeafc8d63", | ||
"gitHead": "718c9e36c1f96f62fbd9bf74e1ecf1077f5dd02a", | ||
"publishConfig": { | ||
@@ -57,0 +57,0 @@ "access": "public" |
@@ -34,7 +34,7 @@ import {Http} from './http'; | ||
public reset() { | ||
public reset(): void { | ||
this._replyFunctions = HttpMock.initialReplyFunctions(); | ||
} | ||
public registerResponse(method: string, url: string, status: number, data: any) { | ||
public registerResponse(method: string, url: string, status: number, data: any) : void { | ||
// @ts-ignore | ||
@@ -44,3 +44,3 @@ this._replyFunctions[method][url] = this.createReplyFn(status, data); | ||
public registerError(method: string, url: string, status: number, message: string, data: any) { | ||
public registerError(method: string, url: string, status: number, message: string, data: any) : void { | ||
// @ts-ignore | ||
@@ -47,0 +47,0 @@ this._replyFunctions[method][url] = this.createErrorFn(url, status, message, data); |
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
234128
51
2701