mirror of
https://github.com/pezkuwichain/pezkuwi-ui.git
synced 2026-07-18 05:55:42 +00:00
18 lines
422 B
TypeScript
18 lines
422 B
TypeScript
// Copyright 2017-2021 @polkadot/ledger authors & contributors
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
|
|
import type Transport from '@ledgerhq/hw-transport';
|
|
import type { TransportDef } from './types';
|
|
|
|
import LedgerHid from '@ledgerhq/hw-transport-node-hid-singleton';
|
|
|
|
const transports: TransportDef[] = [
|
|
{
|
|
create: (): Promise<Transport> =>
|
|
LedgerHid.create(),
|
|
type: 'hid'
|
|
}
|
|
];
|
|
|
|
export { transports };
|