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

@cardano-sdk/cardano-services-client

Package Overview
Dependencies
Maintainers
1
Versions
165
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-sdk/cardano-services-client - npm Package Compare versions

Comparing version 0.4.1-nightly.1 to 0.4.1-nightly.2

2

dist/cjs/HttpProvider.js

@@ -58,3 +58,3 @@ "use strict";

return mapError(null, method);
if (error.code && ['ENOTFOUND', 'ECONNREFUSED'].includes(error.code)) {
if ((0, util_1.isConnectionError)(error)) {
throw new core_1.ProviderError(core_1.ProviderFailure.ConnectionFailure, error, error.code);

@@ -61,0 +61,0 @@ }

import { ProviderError, ProviderFailure } from '@cardano-sdk/core';
import { fromSerializableObject, toSerializableObject } from '@cardano-sdk/util';
import { fromSerializableObject, isConnectionError, toSerializableObject } from '@cardano-sdk/util';
import axios from 'axios';

@@ -52,3 +52,3 @@ const isEmptyResponse = (response) => response === '';

return mapError(null, method);
if (error.code && ['ENOTFOUND', 'ECONNREFUSED'].includes(error.code)) {
if (isConnectionError(error)) {
throw new ProviderError(ProviderFailure.ConnectionFailure, error, error.code);

@@ -55,0 +55,0 @@ }

{
"name": "@cardano-sdk/cardano-services-client",
"version": "0.4.1-nightly.1",
"version": "0.4.1-nightly.2",
"description": "Cardano Services Client",

@@ -67,4 +67,4 @@ "engines": {

"dependencies": {
"@cardano-sdk/core": "^0.5.0-nightly.0",
"@cardano-sdk/util": "^0.4.1-nightly.0",
"@cardano-sdk/core": "^0.5.0-nightly.1",
"@cardano-sdk/util": "^0.4.1-nightly.1",
"axios": "^0.27.2",

@@ -80,3 +80,3 @@ "class-validator": "^0.13.1",

],
"gitHead": "e45098de243a6aa8b23f328e1059981f565833c3"
"gitHead": "8125a7c49cc627eda060fd45a7915bc7397e1b40"
}

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

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