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

@cardano-sdk/util

Package Overview
Dependencies
Maintainers
2
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cardano-sdk/util - npm Package Compare versions

Comparing version 0.8.3-nightly.0 to 0.8.3-nightly.1

1

dist/cjs/errors.d.ts
import { CustomError } from 'ts-custom-error';
export declare const formatErrorMessage: (reason: string, detail?: string) => string;
export declare class ComposableError<InnerError = unknown> extends CustomError {

@@ -3,0 +4,0 @@ innerError?: InnerError | undefined;

4

dist/cjs/errors.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.InvalidArgumentError = exports.InvalidStringError = exports.ComposableError = void 0;
exports.InvalidArgumentError = exports.InvalidStringError = exports.ComposableError = exports.formatErrorMessage = void 0;
const ts_custom_error_1 = require("ts-custom-error");
const formatErrorMessage = (reason, detail) => reason + (detail ? ` (${detail})` : '');
exports.formatErrorMessage = formatErrorMessage;
const isErrorLike = (error) => {

@@ -6,0 +8,0 @@ if (!error || typeof error !== 'object' || !('message' in error && 'stack' in error))

import { CustomError } from 'ts-custom-error';
export declare const formatErrorMessage: (reason: string, detail?: string) => string;
export declare class ComposableError<InnerError = unknown> extends CustomError {

@@ -3,0 +4,0 @@ innerError?: InnerError | undefined;

import { CustomError } from 'ts-custom-error';
export const formatErrorMessage = (reason, detail) => reason + (detail ? ` (${detail})` : '');
const isErrorLike = (error) => {

@@ -3,0 +4,0 @@ if (!error || typeof error !== 'object' || !('message' in error && 'stack' in error))

{
"name": "@cardano-sdk/util",
"version": "0.8.3-nightly.0",
"version": "0.8.3-nightly.1",
"description": "General, not cardano-specific utils",

@@ -56,3 +56,3 @@ "engines": {

"devDependencies": {
"@cardano-sdk/util-dev": "^0.8.1-nightly.0",
"@cardano-sdk/util-dev": "^0.8.1-nightly.2",
"@types/lodash": "^4.14.182",

@@ -81,3 +81,3 @@ "eslint": "^7.32.0",

],
"gitHead": "d9cc8ba360686cda0650410069923a744db60a32"
"gitHead": "43319ac7bf111b0d8ef541b2f7d75ff436a7e48b"
}

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

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