Socket
Socket
Sign inDemoInstall

@taquito/http-utils

Package Overview
Dependencies
Maintainers
7
Versions
199
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/http-utils - npm Package Compare versions

Comparing version 17.3.2 to 17.4.0-beta-RC.0

1

dist/lib/errors.js

@@ -36,2 +36,1 @@ "use strict";

exports.HttpResponseError = HttpResponseError;
//# sourceMappingURL=errors.js.map

@@ -229,2 +229,1 @@ "use strict";

}
//# sourceMappingURL=fetch-adapter.js.map

3

dist/lib/status_code.js

@@ -322,3 +322,2 @@ "use strict";

STATUS_CODE[STATUS_CODE["NETWORK_AUTHENTICATION_REQUIRED"] = 511] = "NETWORK_AUTHENTICATION_REQUIRED";
})(STATUS_CODE = exports.STATUS_CODE || (exports.STATUS_CODE = {}));
//# sourceMappingURL=status_code.js.map
})(STATUS_CODE || (exports.STATUS_CODE = STATUS_CODE = {}));

@@ -8,3 +8,7 @@ "use strict";

if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
var desc = Object.getOwnPropertyDescriptor(m, k);
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
desc = { enumerable: true, get: function() { return m[k]; } };
}
Object.defineProperty(o, k2, desc);
}) : (function(o, m, k, k2) {

@@ -135,2 +139,1 @@ if (k2 === undefined) k2 = k;

exports.HttpBackend = HttpBackend;
//# sourceMappingURL=taquito-http-utils.js.map

@@ -6,5 +6,4 @@ "use strict";

exports.VERSION = {
"commitHash": "a97e506efd61b86e39ae30db588401b8fda46553",
"version": "17.3.2"
"commitHash": "4f44dd73b7659554c167acb80f0c20f222f893a5",
"version": "17.4.0-beta-RC.0"
};
//# sourceMappingURL=version.js.map

@@ -18,3 +18,5 @@ import axios from 'axios';

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */
function __awaiter(thisArg, _arguments, P, generator) {

@@ -36,2 +38,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-explicit-any */
const settle = require('axios/lib/core/settle');

@@ -604,4 +607,4 @@ const buildURL = require('axios/lib/helpers/buildURL');

const VERSION = {
"commitHash": "a97e506efd61b86e39ae30db588401b8fda46553",
"version": "17.3.2"
"commitHash": "4f44dd73b7659554c167acb80f0c20f222f893a5",
"version": "17.4.0-beta-RC.0"
};

@@ -608,0 +611,0 @@

@@ -7,6 +7,2 @@ (function (global, factory) {

function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var axios__default = /*#__PURE__*/_interopDefaultLegacy(axios);
/******************************************************************************

@@ -26,3 +22,5 @@ Copyright (c) Microsoft Corporation.

***************************************************************************** */
/* global Reflect, Promise, SuppressedError, Symbol */
function __awaiter(thisArg, _arguments, P, generator) {

@@ -44,2 +42,3 @@ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }

/* eslint-disable @typescript-eslint/no-var-requires */
/* eslint-disable @typescript-eslint/no-explicit-any */
const settle = require('axios/lib/core/settle');

@@ -612,4 +611,4 @@ const buildURL = require('axios/lib/helpers/buildURL');

const VERSION = {
"commitHash": "a97e506efd61b86e39ae30db588401b8fda46553",
"version": "17.3.2"
"commitHash": "4f44dd73b7659554c167acb80f0c20f222f893a5",
"version": "17.4.0-beta-RC.0"
};

@@ -688,3 +687,3 @@

try {
const response = yield axios__default["default"].request({
const response = yield axios.request({
url: urlWithQuery,

@@ -702,3 +701,3 @@ method: method !== null && method !== void 0 ? method : 'GET',

catch (err) {
if ((axios__default["default"].isAxiosError(err) && err.response) || (!isNode && err.response)) {
if ((axios.isAxiosError(err) && err.response) || (!isNode && err.response)) {
let errorData;

@@ -726,5 +725,3 @@ if (typeof err.response.data === 'object') {

Object.defineProperty(exports, '__esModule', { value: true });
}));
//# sourceMappingURL=taquito-http-utils.umd.js.map

@@ -0,0 +0,0 @@ import { NetworkError } from '@taquito/core';

@@ -0,0 +0,0 @@ import { AxiosRequestConfig, AxiosResponse } from 'axios';

@@ -0,0 +0,0 @@ /**

@@ -8,3 +8,3 @@ /**

export { HttpRequestFailed, HttpResponseError } from './errors';
declare type ObjectType = Record<string, any>;
type ObjectType = Record<string, any>;
export interface HttpRequestOptions {

@@ -11,0 +11,0 @@ url: string;

@@ -0,0 +0,0 @@ export declare const VERSION: {

{
"name": "@taquito/http-utils",
"version": "17.3.2",
"version": "17.4.0-beta-RC.0",
"description": "",

@@ -25,3 +25,3 @@ "keywords": [

"engines": {
"node": ">=16"
"node": ">=18"
},

@@ -33,4 +33,4 @@ "scripts": {

"version-stamp": "node ../taquito/version-stamping.js",
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts ",
"start": "rollup -c rollup.config.ts -w"
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts --bundleConfigAsCjs",
"start": "rollup -c rollup.config.ts --bundleConfigAsCjs -w"
},

@@ -40,4 +40,3 @@ "lint-staged": {

"prettier --write",
"eslint --fix",
"git add"
"eslint --fix"
]

@@ -65,35 +64,34 @@ },

"dependencies": {
"@taquito/core": "^17.3.2",
"axios": "0.26.0"
"@taquito/core": "^17.4.0-beta-RC.0",
"axios": "^0.27.2"
},
"devDependencies": {
"@types/bluebird": "^3.5.36",
"@types/jest": "^26.0.24",
"@types/node": "^16",
"@types/superagent": "^4.1.13",
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"@types/bluebird": "^3.5.40",
"@types/jest": "^29.5.5",
"@types/node": "^20",
"@types/superagent": "^4.1.19",
"@typescript-eslint/eslint-plugin": "^6.8.0",
"@typescript-eslint/parser": "^6.8.0",
"colors": "^1.4.0",
"coveralls": "^3.1.1",
"cross-env": "^7.0.3",
"eslint": "^8.17.0",
"jest": "^26.6.3",
"jest-config": "^26.6.3",
"lint-staged": "^13.0.1",
"eslint": "^8.51.0",
"jest": "^29.7.0",
"jest-config": "^29.7.0",
"lint-staged": "^14.0.1",
"lodash.camelcase": "^4.3.0",
"prettier": "^2.7.0",
"prettier": "^3.0.3",
"prompt": "^1.3.0",
"replace-in-file": "^6.3.5",
"rimraf": "^3.0.2",
"rollup": "^2.75.6",
"replace-in-file": "^7.0.1",
"rimraf": "^5.0.5",
"rollup": "^4.1.4",
"rollup-plugin-json": "^4.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.32.1",
"rollup-plugin-typescript2": "^0.36.0",
"shelljs": "^0.8.5",
"ts-jest": "^26.4.4",
"ts-node": "^10.4.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"ts-toolbelt": "^9.6.0",
"typescript": "~4.1.5"
"typescript": "~5.2.2"
},
"gitHead": "a8dac9c64a1511b398fb8acb88cc8fb593d5d0f3"
"gitHead": "34103941d52e31a808e051ea19dbecf43f984dca"
}

@@ -110,3 +110,3 @@ {

"engines": {
"node": ">=16"
"node": ">=18"
},

@@ -117,3 +117,3 @@ "scripts": {

"prebuild": "rimraf dist",
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts ",
"build": "tsc --project ./tsconfig.prod.json --module commonjs && rollup -c rollup.config.ts",
"start": "rollup -c rollup.config.ts -w"

@@ -124,4 +124,3 @@ },

"prettier --write",
"tslint --fix",
"git add"
"tslint --fix"
]

@@ -153,3 +152,3 @@ },

"@types/jest": "^26.0.16",
"@types/node": "^16",
"@types/node": "^18",
"@types/superagent": "^4.1.10",

@@ -169,3 +168,2 @@ "colors": "^1.4.0",

"rollup-plugin-json": "^4.0.0",
"rollup-plugin-sourcemaps": "^0.6.3",
"rollup-plugin-typescript2": "^0.27.3",

@@ -172,0 +170,0 @@ "shelljs": "^0.8.4",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc