Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-app-str

Package Overview
Dependencies
Maintainers
6
Versions
338
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-app-str - npm Package Compare versions

Comparing version 4.19.0 to 4.21.0-beta.12bfb9a2

3

lib/utils.js

@@ -122,5 +122,2 @@ "use strict";

function checkStellarBip32Path(path) {
if (!path.startsWith("44'/148'")) {
throw new Error("Not a Stellar BIP32 path. Path: " + path + "." + " The Stellar app is authorized only for paths starting with 44'/148'." + " Example: 44'/148'/0'");
}
path.split("/").forEach(function (element) {

@@ -127,0 +124,0 @@ if (!element.toString().endsWith("'")) {

10

package.json
{
"name": "@ledgerhq/hw-app-str",
"version": "4.19.0",
"version": "4.21.0-beta.12bfb9a2",
"description": "Ledger Hardware Wallet Stellar Application API",

@@ -28,3 +28,3 @@ "keywords": [

"dependencies": {
"@ledgerhq/hw-transport": "^4.19.0",
"@ledgerhq/hw-transport": "^4.21.0-beta.12bfb9a2",
"base32.js": "^0.1.0",

@@ -40,6 +40,6 @@ "sha.js": "^2.3.6",

"flow": "flow",
"clean": "rm -rf lib/",
"build": "cd ../.. && export PATH=$(yarn bin):$PATH && cd - && babel --source-maps -d lib src && flow-copy-source -v src lib",
"watch": "cd ../.. && export PATH=$(yarn bin):$PATH && cd - && babel --watch --source-maps -d lib src & flow-copy-source -w -v src lib"
"clean": "bash ../../script/clean.sh",
"build": "bash ../../script/build.sh",
"watch": "bash ../../script/watch.sh"
}
}

@@ -107,11 +107,2 @@ /********************************************************************************

export function checkStellarBip32Path(path: string): void {
if (!path.startsWith("44'/148'")) {
throw new Error(
"Not a Stellar BIP32 path. Path: " +
path +
"." +
" The Stellar app is authorized only for paths starting with 44'/148'." +
" Example: 44'/148'/0'"
);
}
path.split("/").forEach(function(element) {

@@ -118,0 +109,0 @@ if (!element.toString().endsWith("'")) {

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