Socket
Socket
Sign inDemoInstall

@moralisweb3/core

Package Overview
Dependencies
Maintainers
7
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@moralisweb3/core - npm Package Compare versions

Comparing version 2.6.4 to 2.6.5

1

lib/controllers/RequestController/ApiRequestError.d.ts

@@ -7,2 +7,3 @@ import { AxiosError } from 'axios';

message: string | string[];
details?: Record<string, unknown>;
}>['response']>;

@@ -9,0 +10,0 @@ };

14

lib/controllers/RequestController/ApiRequestError.js

@@ -28,12 +28,16 @@ "use strict";

var getMessageFromApiRequestError = function (error) {
var message = error.response.data.message;
var _a = error.response.data, message = _a.message, details = _a.details;
var result = 'Unknown error (no error info returned from API)';
if (Array.isArray(message)) {
return message.join(', ');
result = message.join(', ');
}
if (typeof message === 'string') {
return message;
else if (typeof message === 'string') {
result = message;
}
return 'Unknown error (no error info returned from API)';
if (details) {
result += " ".concat(JSON.stringify(details));
}
return result;
};
exports.getMessageFromApiRequestError = getMessageFromApiRequestError;
//# sourceMappingURL=ApiRequestError.js.map

@@ -21,3 +21,3 @@ import { Module, ModuleFactory } from './Modules/Module';

readonly name = "core";
static readonly libVersion = "2.6.4";
static readonly libVersion = "2.6.5";
constructor(modules: Modules, config: Config, logger: LoggerController);

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

@@ -1,2 +0,2 @@

export declare const LIB_VERSION = "2.6.4";
export declare const LIB_VERSION = "2.6.5";
//# sourceMappingURL=version.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.LIB_VERSION = void 0;
exports.LIB_VERSION = "2.6.4";
exports.LIB_VERSION = "2.6.5";
//# sourceMappingURL=version.js.map
{
"name": "@moralisweb3/core",
"author": "Moralis",
"version": "2.6.4",
"version": "2.6.5",
"license": "MIT",

@@ -6,0 +6,0 @@ "private": false,

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