Skip to content

Commit

Permalink
unused
Browse files Browse the repository at this point in the history
  • Loading branch information
Wozacosta committed Oct 30, 2024
1 parent 93995cf commit 2c11c62
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
2 changes: 2 additions & 0 deletions libs/coin-modules/coin-stacks/.unimportedrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@
"jest-message-util"
],
"ignoreUnimported": [
"src/network/index.ts",
"src/signer/signMessage.ts"
],
"ignoreUnused": [
"@ledgerhq/types-cryptoassets",
"ripple-address-codec",
"ripple-binary-codec"
]
Expand Down
4 changes: 0 additions & 4 deletions libs/coin-modules/coin-stacks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@
"require": "./lib/bridge/deviceTransactionConfig.js",
"default": "./lib-es/bridge/deviceTransactionConfig.js"
},
"./logic": {
"require": "./lib/logic/index.js",
"default": "./lib-es/logic/index.js"
},
"./signer": {
"require": "./lib/signer/index.js",
"default": "./lib-es/signer/index.js"
Expand Down
5 changes: 3 additions & 2 deletions libs/coin-modules/coin-stacks/src/bridge/utils/misc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ import {
} from "@stacks/transactions";

import { decodeAccountId } from "@ledgerhq/coin-framework/account/index";
import { fetchFullMempoolTxs, fetchNonce } from "../../network/api";
import {
fetchFullMempoolTxs,
fetchNonce,
DecodedSendManyFunctionArgsCV,
MempoolTransaction,
StacksNetwork,
TransactionResponse,
} from "../../network/api.types";
} from "../../network/index";
import { getCryptoCurrencyById } from "@ledgerhq/cryptoassets/currencies";
import { encodeOperationId, encodeSubOperationId } from "@ledgerhq/coin-framework/operation";
import { StacksOperation } from "../../types";
Expand Down
2 changes: 1 addition & 1 deletion libs/coin-modules/coin-stacks/src/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const setCoinConfig = (config: StacksCoinConfig): void => {

export const getCoinConfig = (): ReturnType<StacksCoinConfig> => {
if (!coinConfig?.()) {
throw new Error("Hedera module config not set");
throw new Error("Stacks module config not set");
}

return coinConfig();
Expand Down

0 comments on commit 2c11c62

Please sign in to comment.