Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@ledgerhq/hw-app-str

LedgerHQ67.1kApache-2.07.3.0TypeScript support: included

Ledger Hardware Wallet Stellar Application API

Ledger, LedgerWallet, Stellar, xlm, NanoS, Blue, Hardware Wallet

readme

changelog

@ledgerhq/hw-app-str

7.3.0

Minor Changes

Patch Changes

7.3.0-next.0

Minor Changes

Patch Changes

7.2.10

Patch Changes

7.2.10-hotfix.0

Patch Changes

7.2.9

Patch Changes

7.2.9-next.0

Patch Changes

7.2.8

Patch Changes

7.2.8-next.0

Patch Changes

7.2.7

Patch Changes

7.2.7-next.0

Patch Changes

7.2.6

Patch Changes

7.2.6-next.0

Patch Changes

7.2.5

Patch Changes

7.2.5-next.0

Patch Changes

7.2.4

Patch Changes

7.2.4-next.0

Patch Changes

7.2.3

Patch Changes

7.2.3-next.0

Patch Changes

7.2.2

Patch Changes

7.2.2-next.1

Patch Changes

7.2.2-next.0

Patch Changes

7.2.1

Patch Changes

7.2.1-next.0

Patch Changes

7.2.0

Minor Changes

7.2.0-next.0

Minor Changes

7.1.0

Minor Changes

7.1.0-next.0

Minor Changes

7.0.4

Patch Changes

7.0.4-next.0

Patch Changes

7.0.3

Patch Changes

7.0.3-next.0

Patch Changes

7.0.2

Patch Changes

7.0.2-hotfix.0

Patch Changes

7.0.1

Patch Changes

7.0.1-next.0

Patch Changes

7.0.0

Major Changes

  • #6923 782d637 Thanks @overcat! - Refactor hw-app-str and add signSorobanAuthorization. Please check the changelog and documentation of "@ledgerhq/hw-app-str" for more information.

    • Str.getPublicKey's function signature has changed. Previously, it was getPublicKey(path: string, boolValidate?: boolean, boolDisplay?: boolean): Promise<{ publicKey: string; raw: Buffer; }> and now it is async getPublicKey(path: string, display = false): Promise<{ rawPublicKey: Buffer }>
    • Str.signTransaction will no longer automatically fallback to Str.signHash. If you want to sign a hash, you have to call Str.signHash directly.
    • Removed the fixed limit on the maximum length of the transaction in Str.signTransaction. Currently, if the transaction is too large for the device to handle, StellarUserRefusedError will be thrown.
    • Add Str.signSorobanAuthorization method to sign Stellar Soroban authorization.
    • Str.getAppConfiguration now returns maxDataSize, it represents the maximum size of the data that the device can processed.
    • Add error classes for better error handling, check the documentation for more information:
      • StellarUserRefusedError
      • StellarHashSigningNotEnabledError
      • StellarDataTooLargeError
      • StellarDataParsingFailedError

Patch Changes

7.0.0-next.1

Patch Changes

7.0.0-next.0

Major Changes

  • #6923 782d637 Thanks @overcat! - Refactor hw-app-str and add signSorobanAuthorization. Please check the changelog and documentation of "@ledgerhq/hw-app-str" for more information.

    • Str.getPublicKey's function signature has changed. Previously, it was getPublicKey(path: string, boolValidate?: boolean, boolDisplay?: boolean): Promise<{ publicKey: string; raw: Buffer; }> and now it is async getPublicKey(path: string, display = false): Promise<{ rawPublicKey: Buffer }>
    • Str.signTransaction will no longer automatically fallback to Str.signHash. If you want to sign a hash, you have to call Str.signHash directly.
    • Removed the fixed limit on the maximum length of the transaction in Str.signTransaction. Currently, if the transaction is too large for the device to handle, StellarUserRefusedError will be thrown.
    • Add Str.signSorobanAuthorization method to sign Stellar Soroban authorization.
    • Str.getAppConfiguration now returns maxDataSize, it represents the maximum size of the data that the device can processed.
    • Add error classes for better error handling, check the documentation for more information:
      • StellarUserRefusedError
      • StellarHashSigningNotEnabledError
      • StellarDataTooLargeError
      • StellarDataParsingFailedError

6.29.0

Minor Changes

Patch Changes

6.29.0-next.0

Minor Changes

Patch Changes

6.28.6

Patch Changes

6.28.6-next.0

Patch Changes

6.28.5

Patch Changes

6.28.5-next.0

Patch Changes

6.28.4

Patch Changes

6.28.4-next.0

Patch Changes

6.28.3

Patch Changes

6.28.3-next.0

Patch Changes

6.28.2

Patch Changes

6.28.2-next.0

Patch Changes

6.28.1

Patch Changes

6.28.1-next.0

Patch Changes

6.28.0

Minor Changes

Patch Changes

6.28.0-next.0

Minor Changes

Patch Changes

6.27.20

Patch Changes

6.27.20-next.0

Patch Changes

6.27.19

Patch Changes

6.27.19-next.0

Patch Changes

6.27.18

Patch Changes

6.27.18-next.0

Patch Changes

6.27.17

Patch Changes

6.27.17-next.0

Patch Changes

6.27.16

Patch Changes

6.27.16-next.0

Patch Changes

6.27.15

Patch Changes

6.27.15-next.0

Patch Changes

6.27.14

Patch Changes

6.27.14-next.0

Patch Changes

6.27.13

Patch Changes

6.27.13-next.0

Patch Changes

6.27.12

Patch Changes

6.27.12-next.0

Patch Changes

6.27.11

Patch Changes

6.27.11-next.0

Patch Changes

6.27.10

Patch Changes

6.27.10-next.0

Patch Changes

6.27.9

Patch Changes

6.27.9-next.0

Patch Changes

6.27.8

Patch Changes

6.27.8-next.0

Patch Changes

6.27.7

Patch Changes

6.27.7-next.0

Patch Changes

6.27.6

Patch Changes

6.27.6-next.0

Patch Changes

6.27.5

Patch Changes

6.27.5-next.0

Patch Changes

6.27.4

Patch Changes

6.27.4-next.0

Patch Changes

6.27.3

Patch Changes

6.27.3-next.0

Patch Changes

6.27.2

Patch Changes

6.27.2-next.0

Patch Changes