Skip to content

Commit

Permalink
feat: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gomesalexandre committed Jan 22, 2024
1 parent aa80418 commit 4476fed
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 8 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/hdwallet-ledger/src/cosmos/hw-app-cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import {
INS,
P1_VALUES,
processErrorResponse,
} from "../thorchain/common";
import { publicKeyv2, serializePathv2, signSendChunkv2 } from "../thorchain/helpers";
} from "../common";
import { publicKeyv2, serializePathv2, signSendChunkv2 } from "../helpers";

const COSMOSHUB_CHAIN = "cosmoshub-4";

Expand Down
4 changes: 2 additions & 2 deletions packages/hdwallet-ledger/src/cosmos/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import PLazy from "p-lazy";

import { handleError, LedgerTransport } from "..";
import { getSignature } from "../thorchain/utils";
export * from "../thorchain/common";
export * from "../thorchain/helpers";
export * from "../common";
export * from "../helpers";
export * from "./hw-app-cosmos";

const protoTxBuilder = PLazy.from(() => import("@shapeshiftoss/proto-tx-builder"));
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions packages/hdwallet-ledger/src/thorchain/hw-app-thor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ import {
INS,
P1_VALUES,
processErrorResponse,
} from "./common";
import { publicKeyv2, serializePathv2, signSendChunkv2 } from "./helpers";
} from "../common";
import { publicKeyv2, serializePathv2, signSendChunkv2 } from "../helpers";

const THOR_CHAIN = "thorchain-mainnet-v1";

Expand Down
4 changes: 2 additions & 2 deletions packages/hdwallet-ledger/src/thorchain/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import PLazy from "p-lazy";

import { handleError, LedgerTransport } from "..";
import { getSignature } from "./utils";
export * from "./common";
export * from "./helpers";
export * from "../common";
export * from "../helpers";
export * from "./hw-app-thor";

const protoTxBuilder = PLazy.from(() => import("@shapeshiftoss/proto-tx-builder"));
Expand Down
1 change: 1 addition & 0 deletions packages/hdwallet-ledger/src/transport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import type openApp from "@ledgerhq/live-common/lib/hw/openApp";
import * as core from "@shapeshiftoss/hdwallet-core";

import { CosmosApp } from "./cosmos/hw-app-cosmos";
// import { CosmosApp } from "./hw-app-cosmos";
import { THORChainApp } from "./thorchain";

type MethodsOnly<T> = {
Expand Down

0 comments on commit 4476fed

Please sign in to comment.