Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@tatumio/shared-core

Package Overview
Dependencies
Maintainers
3
Versions
339
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tatumio/shared-core - npm Package Compare versions

Comparing version 2.1.8 to 2.1.10

4

package.json
{
"name": "@tatumio/shared-core",
"version": "2.1.8",
"version": "2.1.10",
"license": "MIT",

@@ -8,3 +8,3 @@ "main": "./src/index.js",

"dependencies": {
"@tatumio/api-client": "2.1.8",
"@tatumio/api-client": "2.1.10",
"axios": "^0.26.0",

@@ -11,0 +11,0 @@ "form-data": "^4.0.0",

@@ -0,5 +1,6 @@

import { AxiosRequestConfig } from 'axios';
import { Blockchain, EvmBasedBlockchain } from './models/Blockchain';
export declare const httpHelper: {
get: <T = any, R = import("axios").AxiosResponse<T, any>, D = any>(url: string, config?: import("axios").AxiosRequestConfig<D>) => Promise<R>;
post: <T_1 = any, R_1 = import("axios").AxiosResponse<T_1, any>, D_1 = any>(url: string, data?: D_1, config?: import("axios").AxiosRequestConfig<D_1>) => Promise<R_1>;
get: <T = any, R = import("axios").AxiosResponse<T, any>, D = any>(url: string, config?: AxiosRequestConfig<D>) => Promise<R>;
post: <T_1 = any, R_1 = import("axios").AxiosResponse<T_1, any>, D_1 = any>(url: string, data?: D_1, config?: AxiosRequestConfig<D_1>) => Promise<R_1>;
axios: import("axios").AxiosInstance;

@@ -6,0 +7,0 @@ CancelToken: import("axios").CancelTokenStatic;

@@ -33,7 +33,9 @@ "use strict";

};
const isWebWorker = typeof self === 'object' && self.constructor && self.constructor.name === 'DedicatedWorkerGlobalScope';
const isWebWorker = typeof self === 'object' &&
self.constructor &&
['DedicatedWorkerGlobalScope', 'ServiceWorkerGlobalScope'].includes(self.constructor.name);
exports.httpHelper = {
get: axios_1.default.get,
post: axios_1.default.post,
axios: axios_1.default.create({ adapter: isWebWorker ? api_client_1.fetchAdapter : undefined }),
axios: axios_1.default.create(),
CancelToken: axios_1.default.CancelToken,

@@ -40,0 +42,0 @@ web3Endpoint: (blockchain, url, apiKey) => {

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