Skip to content

Commit

Permalink
cardano ledgerjs package update
Browse files Browse the repository at this point in the history
  • Loading branch information
pavanvora authored and Hakim committed Oct 2, 2023
1 parent 83e9202 commit a90508c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 31 deletions.
4 changes: 2 additions & 2 deletions libs/ledger-live-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
"https": false
},
"dependencies": {
"@cardano-foundation/ledgerjs-hw-app-cardano": "^5.1.0",
"@cardano-foundation/ledgerjs-hw-app-cardano": "^6.0.0",
"@celo/connect": "^3.0.1",
"@celo/contractkit": "^3.0.1",
"@celo/utils": "^3.0.1",
Expand Down Expand Up @@ -302,4 +302,4 @@
"uuid": "^8.3.2",
"ws": "7"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Resolver } from "../../hw/getAddress/types";
import Ada, { Networks, AddressType } from "@cardano-foundation/ledgerjs-hw-app-cardano";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils/address";
import { getBipPathFromString, getBipPathString } from "./logic";
import { StakeChain } from "./types";
import { STAKING_ADDRESS_INDEX } from "./constants";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { encodeAccountId, inferSubOperations } from "@ledgerhq/coin-framework/ac

import BigNumber from "bignumber.js";
import Ada, { ExtendedPublicKey } from "@cardano-foundation/ledgerjs-hw-app-cardano";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils/address";
import { utils as TyphonUtils } from "@stricahq/typhonjs";
import { APITransaction, HashType } from "./api/api-types";
import {
Expand Down
2 changes: 1 addition & 1 deletion libs/ledger-live-common/src/families/cardano/logic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ import {
TxOutputDestination,
TxOutputDestinationType,
} from "@cardano-foundation/ledgerjs-hw-app-cardano";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils/address";

/**
* returns BipPath object with account, chain and index field for cardano
Expand Down
2 changes: 1 addition & 1 deletion libs/ledger-live-common/src/families/cardano/tx-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
StakeDeregistrationParams,
Withdrawal,
} from "@cardano-foundation/ledgerjs-hw-app-cardano";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils";
import { str_to_path } from "@cardano-foundation/ledgerjs-hw-app-cardano/dist/utils/address";
import { types as TyphonTypes, address as TyphonAddress } from "@stricahq/typhonjs";
import groupBy from "lodash/groupBy";
import {
Expand Down
37 changes: 12 additions & 25 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a90508c

Please sign in to comment.