Fix imports and filenames to cooperate with internal typings
This commit is contained in:
parent
22e82f07b3
commit
4a27224ac7
|
@ -1,6 +1,6 @@
|
||||||
import LedgerTransport from 'ledgerhq__hw-transport';
|
declare module '@ledgerhq/hw-app-eth' {
|
||||||
|
import LedgerTransport from '@ledgerhq/hw-transport';
|
||||||
|
|
||||||
declare module 'ledgerhq__hw-app-eth' {
|
|
||||||
export default class Eth<T extends LedgerTransport<any>> {
|
export default class Eth<T extends LedgerTransport<any>> {
|
||||||
constructor(transport: T);
|
constructor(transport: T);
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import LedgerTransport, { Observer, DescriptorEvent, Subscription } from 'ledgerhq__hw-transport';
|
declare module '@ledgerhq/hw-transport-node-hid' {
|
||||||
|
import LedgerTransport, { Observer, DescriptorEvent, Subscription } from '@ledgerhq/hw-transport';
|
||||||
import { HID, Device } from 'node-hid';
|
import { HID, Device } from 'node-hid';
|
||||||
|
|
||||||
declare module 'ledgerhq__hw-transport-node-hid' {
|
|
||||||
export default class TransportNodeHid extends LedgerTransport<string> {
|
export default class TransportNodeHid extends LedgerTransport<string> {
|
||||||
/**
|
/**
|
||||||
* @description Creates an instance of TransportNodeHid.
|
* @description Creates an instance of TransportNodeHid.
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
|
declare module '@ledgerhq/hw-transport-u2f' {
|
||||||
import LedgerTransport, {
|
import LedgerTransport, {
|
||||||
Observer,
|
Observer,
|
||||||
DescriptorEvent,
|
DescriptorEvent,
|
||||||
Subscription,
|
Subscription,
|
||||||
TransportError
|
TransportError
|
||||||
} from 'ledgerhq__hw-transport';
|
} from '@ledgerhq/hw-transport';
|
||||||
import { isSupported, sign } from 'u2f-api';
|
import { isSupported, sign } from 'u2f-api';
|
||||||
|
|
||||||
declare module 'ledgerhq__hw-transport-u2f' {
|
|
||||||
export default class TransportU2F extends LedgerTransport<null> {
|
export default class TransportU2F extends LedgerTransport<null> {
|
||||||
public static isSupported: typeof isSupported;
|
public static isSupported: typeof isSupported;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
declare module 'ledgerhq__hw-transport' {
|
declare module '@ledgerhq/hw-transport' {
|
||||||
/**
|
/**
|
||||||
* @description all possible status codes.
|
* @description all possible status codes.
|
||||||
* @see https://github.com/LedgerHQ/blue-app-btc/blob/d8a03d10f77ca5ef8b22a5d062678eef788b824a/include/btchip_apdu_constants.h#L85-L115
|
* @see https://github.com/LedgerHQ/blue-app-btc/blob/d8a03d10f77ca5ef8b22a5d062678eef788b824a/include/btchip_apdu_constants.h#L85-L115
|
||||||
|
|
|
@ -88,7 +88,7 @@
|
||||||
"@types/cheerio" "*"
|
"@types/cheerio" "*"
|
||||||
"@types/react" "*"
|
"@types/react" "*"
|
||||||
|
|
||||||
"@types/events@^1.2.0":
|
"@types/events@1.2.0":
|
||||||
version "1.2.0"
|
version "1.2.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/events/-/events-1.2.0.tgz#81a6731ce4df43619e5c8c945383b3e62a89ea86"
|
resolved "https://registry.yarnpkg.com/@types/events/-/events-1.2.0.tgz#81a6731ce4df43619e5c8c945383b3e62a89ea86"
|
||||||
|
|
||||||
|
@ -110,7 +110,7 @@
|
||||||
dependencies:
|
dependencies:
|
||||||
moment ">=2.14.0"
|
moment ">=2.14.0"
|
||||||
|
|
||||||
"@types/node-hid@^0.7.0":
|
"@types/node-hid@0.7.0":
|
||||||
version "0.7.0"
|
version "0.7.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node-hid/-/node-hid-0.7.0.tgz#f696f39c528059116236e41df90c8fcba077d711"
|
resolved "https://registry.yarnpkg.com/@types/node-hid/-/node-hid-0.7.0.tgz#f696f39c528059116236e41df90c8fcba077d711"
|
||||||
|
|
||||||
|
@ -11167,7 +11167,7 @@ u2f-api@0.2.7:
|
||||||
version "0.2.7"
|
version "0.2.7"
|
||||||
resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-0.2.7.tgz#17bf196b242f6bf72353d9858e6a7566cc192720"
|
resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-0.2.7.tgz#17bf196b242f6bf72353d9858e6a7566cc192720"
|
||||||
|
|
||||||
u2f-api@^1.0.6:
|
u2f-api@1.0.6:
|
||||||
version "1.0.6"
|
version "1.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-1.0.6.tgz#fdde2a0788fcf7d8d273aa8688b217625961f866"
|
resolved "https://registry.yarnpkg.com/u2f-api/-/u2f-api-1.0.6.tgz#fdde2a0788fcf7d8d273aa8688b217625961f866"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue