@vonage/server-client
Advanced tools
Comparing version 1.16.0 to 1.16.1
@@ -86,3 +86,3 @@ import { Response } from 'node-fetch'; | ||
*/ | ||
sendFormSubmitRequest<T>(url: string, payload?: Record<string, string>): Promise<VetchResponse<T>>; | ||
sendFormSubmitRequest<T>(url: string, payload?: Record<string, string | undefined>): Promise<VetchResponse<T>>; | ||
/** | ||
@@ -89,0 +89,0 @@ * Sends a GET request to the specified URL with optional query parameters. |
@@ -168,3 +168,3 @@ "use strict"; | ||
headers: { Accept: 'application/json' }, | ||
...(payload ? { data: payload } : {}), | ||
...JSON.parse(JSON.stringify((payload ? { data: payload } : {}))), | ||
}; | ||
@@ -171,0 +171,0 @@ return await this.sendRequest(request); |
{ | ||
"$schema": "https://json.schemastore.org/package.json", | ||
"name": "@vonage/server-client", | ||
"version": "1.16.0", | ||
"version": "1.16.1", | ||
"description": "The Vonage Server Client provides core functionalities for interacting with Vonage APIs, ensuring a standardized response regardless of the underlying HTTP adapter.", | ||
@@ -6,0 +6,0 @@ "homepage": "https://developer.vonage.com", |
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
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
129696