New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-app-cosmos

Package Overview
Dependencies
Maintainers
18
Versions
178
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 6.24.1 to 6.24.2-monorepo.0

.turbo/turbo-build.log

18

package.json
{
"name": "@ledgerhq/hw-app-cosmos",
"version": "6.24.1",
"version": "6.24.2-monorepo.0",
"description": "Ledger Hardware Wallet Cosmos Application API",

@@ -30,6 +30,10 @@ "keywords": [

"dependencies": {
"@ledgerhq/errors": "^6.10.0",
"@ledgerhq/hw-transport": "^6.24.1",
"@ledgerhq/errors": "^6.10.1-monorepo.0",
"@ledgerhq/hw-transport": "^6.24.2-monorepo.0",
"bip32-path": "^0.4.2"
},
"devDependencies": {
"@ledgerhq/hw-transport-mocker": "^6.24.2-monorepo.0"
},
"gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
"scripts": {

@@ -39,5 +43,7 @@ "clean": "bash ../../script/clean.sh",

"watch": "bash ../../script/watch.sh",
"doc": "bash ../../script/doc.sh"
"doc": "bash ../../script/doc.sh",
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx",
"test": "jest"
},
"gitHead": "159269dafc5f177c7af5b20761ab0ef3550e3faf"
}
"readme": "<img src=\"https://user-images.githubusercontent.com/211411/34776833-6f1ef4da-f618-11e7-8b13-f0697901d6a8.png\" height=\"100\" />\n\n[Github](https://github.com/LedgerHQ/ledgerjs/),\n[Ledger Devs Slack](https://ledger-dev.slack.com/)\n\n## @ledgerhq/hw-app-cosmos\n\nLedger Hardware Wallet Cosmos JavaScript bindings.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n* [Cosmos](#cosmos)\n * [Parameters](#parameters)\n * [Examples](#examples)\n * [getAddress](#getaddress)\n * [Parameters](#parameters-1)\n * [Examples](#examples-1)\n\n### Cosmos\n\nCosmos API\n\n#### Parameters\n\n* `transport` **Transport** \n* `scrambleKey` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** (optional, default `APP_KEY`)\n\n#### Examples\n\n```javascript\nimport Cosmos from \"@ledgerhq/hw-app-cosmos\";\nconst cosmos = new Cosmos(transport)\n```\n\n#### getAddress\n\nget Cosmos address for a given BIP 32 path.\n\n##### Parameters\n\n* `path` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** a path in BIP 32 format\n* `hrp` **[string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)** usually cosmos\n* `boolDisplay` **[boolean](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Boolean)?** \n\n##### Examples\n\n```javascript\ncosmos.getAddress(\"44'/60'/0'/0/0\", \"cosmos\").then(o => o.address)\n```\n\nReturns **[Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<{publicKey: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), address: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String)}>** an object with a publicKey, address and (optionally) chainCode\n"
}
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