@taquito/http-utils
Advanced tools
Comparing version 20.0.2-beta.1 to 20.0.2-beta.2
@@ -90,4 +90,4 @@ "use strict"; | ||
*/ | ||
createRequest({ url, method, timeout = this.timeout, query, headers = {}, json = true }, data) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
createRequest(_a, data_1) { | ||
return __awaiter(this, arguments, void 0, function* ({ url, method, timeout = this.timeout, query, headers = {}, json = true }, data) { | ||
// Serializes query params | ||
@@ -104,3 +104,3 @@ const urlWithQuery = url + this.serialize(query); | ||
const response = yield fetch(urlWithQuery, { | ||
keepalive: false, | ||
keepalive: false, // Disable keepalive (keepalive defaults to true starting from Node 19 & 20) | ||
method, | ||
@@ -107,0 +107,0 @@ headers, |
@@ -6,4 +6,4 @@ "use strict"; | ||
exports.VERSION = { | ||
"commitHash": "a9cdc31ccbc6e2ed58dedaf3c8c4f0c62bc3ae02", | ||
"version": "20.0.2-beta.1" | ||
"commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97", | ||
"version": "20.0.2-beta.2" | ||
}; |
@@ -400,4 +400,4 @@ import { NetworkError } from '@taquito/core'; | ||
const VERSION = { | ||
"commitHash": "a9cdc31ccbc6e2ed58dedaf3c8c4f0c62bc3ae02", | ||
"version": "20.0.2-beta.1" | ||
"commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97", | ||
"version": "20.0.2-beta.2" | ||
}; | ||
@@ -460,4 +460,4 @@ | ||
*/ | ||
createRequest({ url, method, timeout = this.timeout, query, headers = {}, json = true }, data) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
createRequest(_a, data_1) { | ||
return __awaiter(this, arguments, void 0, function* ({ url, method, timeout = this.timeout, query, headers = {}, json = true }, data) { | ||
// Serializes query params | ||
@@ -474,3 +474,3 @@ const urlWithQuery = url + this.serialize(query); | ||
const response = yield fetch(urlWithQuery, { | ||
keepalive: false, | ||
keepalive: false, // Disable keepalive (keepalive defaults to true starting from Node 19 & 20) | ||
method, | ||
@@ -477,0 +477,0 @@ headers, |
@@ -404,4 +404,4 @@ (function (global, factory) { | ||
const VERSION = { | ||
"commitHash": "a9cdc31ccbc6e2ed58dedaf3c8c4f0c62bc3ae02", | ||
"version": "20.0.2-beta.1" | ||
"commitHash": "943d5fd11790da35f4a3e6ecfcaae3c4f0399a97", | ||
"version": "20.0.2-beta.2" | ||
}; | ||
@@ -464,4 +464,4 @@ | ||
*/ | ||
createRequest({ url, method, timeout = this.timeout, query, headers = {}, json = true }, data) { | ||
return __awaiter(this, void 0, void 0, function* () { | ||
createRequest(_a, data_1) { | ||
return __awaiter(this, arguments, void 0, function* ({ url, method, timeout = this.timeout, query, headers = {}, json = true }, data) { | ||
// Serializes query params | ||
@@ -478,3 +478,3 @@ const urlWithQuery = url + this.serialize(query); | ||
const response = yield fetch(urlWithQuery, { | ||
keepalive: false, | ||
keepalive: false, // Disable keepalive (keepalive defaults to true starting from Node 19 & 20) | ||
method, | ||
@@ -481,0 +481,0 @@ headers, |
{ | ||
"name": "@taquito/http-utils", | ||
"version": "20.0.2-beta.1", | ||
"version": "20.0.2-beta.2", | ||
"description": "", | ||
@@ -61,35 +61,35 @@ "keywords": [ | ||
"dependencies": { | ||
"@taquito/core": "^20.0.2-beta.1", | ||
"@taquito/core": "^20.0.2-beta.2", | ||
"node-fetch": "^2.7.0" | ||
}, | ||
"devDependencies": { | ||
"@types/bluebird": "^3.5.40", | ||
"@types/jest": "^29.5.5", | ||
"@types/node": "^20", | ||
"@types/node-fetch": "^2.6.9", | ||
"@types/superagent": "^4.1.19", | ||
"@typescript-eslint/eslint-plugin": "^6.8.0", | ||
"@typescript-eslint/parser": "^6.8.0", | ||
"@types/bluebird": "^3.5.42", | ||
"@types/jest": "^29.5.12", | ||
"@types/node": "^22", | ||
"@types/node-fetch": "^2.6.11", | ||
"@types/superagent": "^8.1.8", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"colors": "^1.4.0", | ||
"coveralls": "^3.1.1", | ||
"cross-env": "^7.0.3", | ||
"eslint": "^8.51.0", | ||
"eslint": "^8.57.0", | ||
"jest": "^29.7.0", | ||
"jest-config": "^29.7.0", | ||
"lint-staged": "^14.0.1", | ||
"lint-staged": "^15.2.7", | ||
"lodash.camelcase": "^4.3.0", | ||
"prettier": "^3.0.3", | ||
"prettier": "^3.3.3", | ||
"prompt": "^1.3.0", | ||
"replace-in-file": "^7.0.1", | ||
"rimraf": "^5.0.5", | ||
"rollup": "^4.1.4", | ||
"replace-in-file": "^8.1.0", | ||
"rimraf": "^6.0.1", | ||
"rollup": "^4.19.1", | ||
"rollup-plugin-json": "^4.0.0", | ||
"rollup-plugin-typescript2": "^0.36.0", | ||
"shelljs": "^0.8.5", | ||
"ts-jest": "^29.1.1", | ||
"ts-node": "^10.9.1", | ||
"ts-jest": "^29.2.3", | ||
"ts-node": "^10.9.2", | ||
"ts-toolbelt": "^9.6.0", | ||
"typescript": "~5.2.2" | ||
"typescript": "~5.5.4" | ||
}, | ||
"gitHead": "6d1e4d129ac57c1bdeb5464601e40c50f413e43f" | ||
"gitHead": "f0f9e4d22a374c72913abbb1991b0e5b34f4c978" | ||
} |
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
122272
Updated@taquito/core@^20.0.2-beta.2