conjure-client
Advanced tools
Comparing version 2.4.0 to 2.4.1
@@ -49,3 +49,3 @@ /** | ||
constructor(params: IFetchBridgeParams); | ||
call<T>(serviceName: string, endpointPath: string, endpointName: string, method: string, data?: any, headers?: { | ||
call<T>(serviceName: string, endpointName: string, method: string, endpointPath: string, data?: any, headers?: { | ||
[p: string]: string | number | boolean | undefined | null; | ||
@@ -52,0 +52,0 @@ }, queryArguments?: { |
@@ -79,8 +79,8 @@ "use strict"; | ||
} | ||
FetchBridge.prototype.call = function (serviceName, endpointPath, endpointName, method, data, headers, queryArguments, pathArguments, requestMediaType, responseMediaType) { | ||
FetchBridge.prototype.call = function (serviceName, endpointName, method, endpointPath, data, headers, queryArguments, pathArguments, requestMediaType, responseMediaType) { | ||
return this.callEndpoint({ | ||
serviceName: serviceName, | ||
endpointPath: endpointPath, | ||
endpointName: endpointName, | ||
method: method, | ||
endpointPath: endpointPath, | ||
data: data, | ||
@@ -87,0 +87,0 @@ headers: headers == null ? {} : headers, |
@@ -1,1 +0,1 @@ | ||
export declare const IMPLEMENTATION_VERSION = "2.4.0"; | ||
export declare const IMPLEMENTATION_VERSION = "2.4.1"; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IMPLEMENTATION_VERSION = '2.4.0'; | ||
exports.IMPLEMENTATION_VERSION = '2.4.1'; | ||
//# sourceMappingURL=index.js.map |
@@ -72,3 +72,3 @@ /** | ||
/** Key-value mappings to be appended to the request query string. */ | ||
queryParams?: { | ||
queryArguments?: { | ||
[paramName: string]: any; | ||
@@ -75,0 +75,0 @@ }, |
{ | ||
"name": "conjure-client", | ||
"version": "2.4.0", | ||
"version": "2.4.1", | ||
"description": "An HTTP bridge library for use in front end applications and generated conjure code", | ||
@@ -5,0 +5,0 @@ "sideEffects": false, |
@@ -71,5 +71,5 @@ /** | ||
serviceName: string, | ||
endpointPath: string, | ||
endpointName: string, | ||
method: string, | ||
endpointPath: string, | ||
data?: any, | ||
@@ -84,5 +84,5 @@ headers?: { [p: string]: string | number | boolean | undefined | null }, | ||
serviceName, | ||
endpointPath, | ||
endpointName, | ||
method, | ||
endpointPath, | ||
data, | ||
@@ -89,0 +89,0 @@ headers: headers == null ? {} : headers, |
@@ -1,1 +0,1 @@ | ||
export const IMPLEMENTATION_VERSION = '2.4.0'; | ||
export const IMPLEMENTATION_VERSION = '2.4.1'; |
@@ -82,3 +82,3 @@ /** | ||
/** Key-value mappings to be appended to the request query string. */ | ||
queryParams?: { [paramName: string]: any }, | ||
queryArguments?: { [paramName: string]: any }, | ||
/** Values to be interpolated into the endpointPath. */ | ||
@@ -85,0 +85,0 @@ pathArguments?: any[], |
Sorry, the diff of this file is not supported yet
85253