@doczilla/node
Advanced tools
Comparing version 1.0.4 to 1.0.5
@@ -29,3 +29,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
yield this.waitForRateLimit(); | ||
const axiosResponse = yield this.client.post('/v1/pdf', requestBody, config); | ||
const axiosResponse = yield this.client.post(url, requestBody, config); | ||
this.processRateLimit(new AxiosHeaders(axiosResponse.headers)); | ||
@@ -32,0 +32,0 @@ if (config.responseType === 'arraybuffer') { |
@@ -32,3 +32,3 @@ "use strict"; | ||
yield this.waitForRateLimit(); | ||
const axiosResponse = yield this.client.post('/v1/pdf', requestBody, config); | ||
const axiosResponse = yield this.client.post(url, requestBody, config); | ||
this.processRateLimit(new axios_1.AxiosHeaders(axiosResponse.headers)); | ||
@@ -35,0 +35,0 @@ if (config.responseType === 'arraybuffer') { |
{ | ||
"name": "@doczilla/node", | ||
"version": "1.0.4", | ||
"version": "1.0.5", | ||
"description": "Doczilla API wrapper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -23,3 +23,3 @@ import { Axios, AxiosHeaders, AxiosRequestConfig, isAxiosError } from 'axios' | ||
const axiosResponse = await this.client.post<T>('/v1/pdf', requestBody, config) | ||
const axiosResponse = await this.client.post<T>(url, requestBody, config) | ||
this.processRateLimit(new AxiosHeaders(axiosResponse.headers)) | ||
@@ -26,0 +26,0 @@ |
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
143269
143