Socket
Socket
Sign inDemoInstall

@multiversx/sdk-wallet

Package Overview
Dependencies
Maintainers
10
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multiversx/sdk-wallet - npm Package Compare versions

Comparing version 4.5.0-beta.0 to 4.5.0-beta.1

out/config.d.ts

9

out/userAddress.js

@@ -24,8 +24,5 @@ "use strict";

const bech32 = __importStar(require("bech32"));
const config_1 = require("./config");
const errors_1 = require("./errors");
/**
* The human-readable-part of the bech32 addresses.
*/
const DEFAULT_HRP = "erd";
/**
* @internal

@@ -37,3 +34,3 @@ * For internal use only.

this.buffer = buffer;
this.hrp = hrp || DEFAULT_HRP;
this.hrp = hrp || config_1.LibraryConfig.DefaultAddressHrp;
}

@@ -104,3 +101,3 @@ static newFromBech32(value) {

// Workaround, in order to avoid behavioral breaking changes on legacy flows.
if (!allowCustomHrp && hrp != DEFAULT_HRP) {
if (!allowCustomHrp && hrp != config_1.LibraryConfig.DefaultAddressHrp) {
throw new errors_1.ErrBadAddress(value);

@@ -107,0 +104,0 @@ }

{
"name": "@multiversx/sdk-wallet",
"version": "4.5.0-beta.0",
"version": "4.5.0-beta.1",
"description": "Wallet components for MultiversX",

@@ -5,0 +5,0 @@ "main": "out/index.js",

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