lwk_node 0.14.0 → 0.14.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lwk_wasm.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
- export function searchLedgerDevice(): Promise<HIDDevice>;
4
3
  /**
5
4
  * Convert the given string to a QR code image uri
6
5
  *
@@ -10,6 +9,7 @@ export function searchLedgerDevice(): Promise<HIDDevice>;
10
9
  * for example in html: `style="image-rendering: pixelated; border: 20px solid white;"`
11
10
  */
12
11
  export function stringToQr(str: string, pixel_per_module?: number | null): string;
12
+ export function searchLedgerDevice(): Promise<HIDDevice>;
13
13
  /**
14
14
  * Wallet chain
15
15
  */
@@ -1324,6 +1324,18 @@ export class Script {
1324
1324
  export class Signer {
1325
1325
  free(): void;
1326
1326
  [Symbol.dispose](): void;
1327
+ /**
1328
+ * AMP0 signer data for login
1329
+ */
1330
+ amp0SignerData(): Amp0SignerData;
1331
+ /**
1332
+ * AMP0 sign login challenge
1333
+ */
1334
+ amp0SignChallenge(challenge: string): string;
1335
+ /**
1336
+ * AMP0 account xpub
1337
+ */
1338
+ amp0AccountXpub(account: number): string;
1327
1339
  /**
1328
1340
  * Creates a `Signer`
1329
1341
  */
@@ -1360,18 +1372,6 @@ export class Signer {
1360
1372
  * Return the derived BIP85 mnemonic
1361
1373
  */
1362
1374
  derive_bip85_mnemonic(index: number, word_count: number): Mnemonic;
1363
- /**
1364
- * AMP0 signer data for login
1365
- */
1366
- amp0SignerData(): Amp0SignerData;
1367
- /**
1368
- * AMP0 sign login challenge
1369
- */
1370
- amp0SignChallenge(challenge: string): string;
1371
- /**
1372
- * AMP0 account xpub
1373
- */
1374
- amp0AccountXpub(account: number): string;
1375
1375
  }
1376
1376
  export class Singlesig {
1377
1377
  private constructor();