From f772a6c70e89d5585f796677aa00a777112998e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABtan=20Renaudeau?= Date: Mon, 31 Jan 2022 13:05:40 +0100 Subject: [PATCH] =?UTF-8?q?Fixes=20#782=20=E2=80=93=20typo=20in=20algorand?= =?UTF-8?q?=20package?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/hw-app-algorand/README.md | 6 +++--- packages/hw-app-algorand/src/Algorand.ts | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/hw-app-algorand/README.md b/packages/hw-app-algorand/README.md index cde6892d1..d3c2ec410 100644 --- a/packages/hw-app-algorand/README.md +++ b/packages/hw-app-algorand/README.md @@ -22,7 +22,7 @@ Ledger Hardware Wallet Algorand JavaScript bindings. ### Algorand -Cosmos API +Algorand API #### Parameters @@ -37,7 +37,7 @@ const algo = new Algorand(transport) #### getAddress -get Algorajt address for a given BIP 32 path. +get Algorant address for a given BIP 32 path. ##### Parameters @@ -47,7 +47,7 @@ get Algorajt address for a given BIP 32 path. ##### Examples ```javascript -cosmos.getAddress("44'/60'/0'/0/0").then(o => o.address) +cosmos.getAddress("44'/283'/0'/0/0").then(o => o.address) ``` Returns **[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 diff --git a/packages/hw-app-algorand/src/Algorand.ts b/packages/hw-app-algorand/src/Algorand.ts index c3fda8256..5b610467d 100644 --- a/packages/hw-app-algorand/src/Algorand.ts +++ b/packages/hw-app-algorand/src/Algorand.ts @@ -32,7 +32,7 @@ const CLA = 0x80; const INS_GET_PUBLIC_KEY = 0x03; const INS_SIGN_MSGPACK = 0x08; /** - * Cosmos API + * Algorand API * * @example * import Algorand from "@ledgerhq/hw-app-algorand"; @@ -48,12 +48,12 @@ export default class Algorand { } /** - * get Algorajt address for a given BIP 32 path. + * get Algorant address for a given BIP 32 path. * @param path a path in BIP 32 format * @option boolDisplay optionally enable or not the display * @return an object with a publicKey, address and (optionally) chainCode * @example - * cosmos.getAddress("44'/60'/0'/0/0").then(o => o.address) + * cosmos.getAddress("44'/283'/0'/0/0").then(o => o.address) */ getAddress( path: string,