Skip to content

Commit

Permalink
Merge branch 'develop' into delivan/fix-starknet-ledger-issue-in-qa
Browse files Browse the repository at this point in the history
  • Loading branch information
delivan committed Dec 2, 2024
2 parents 4d96207 + 9b6701a commit 007b3e7
Show file tree
Hide file tree
Showing 41 changed files with 376 additions and 351 deletions.
52 changes: 26 additions & 26 deletions apps/extension/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/extension",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"author": "chainapsis",
"license": "Apache-2.0",
"private": true,
Expand All @@ -26,31 +26,31 @@
"@ethersproject/transactions": "^5.7.0",
"@floating-ui/react": "^0.23.0",
"@floating-ui/react-dom": "^1.3.0",
"@keplr-wallet/analytics": "0.12.158-rc.1",
"@keplr-wallet/background": "0.12.158-rc.1",
"@keplr-wallet/chain-validator": "0.12.158-rc.1",
"@keplr-wallet/common": "0.12.158-rc.1",
"@keplr-wallet/cosmos": "0.12.158-rc.1",
"@keplr-wallet/crypto": "0.12.158-rc.1",
"@keplr-wallet/hooks": "0.12.158-rc.1",
"@keplr-wallet/hooks-internal": "0.12.158-rc.1",
"@keplr-wallet/hooks-starknet": "0.12.158-rc.1",
"@keplr-wallet/ledger-cosmos": "0.12.158-rc.1",
"@keplr-wallet/popup": "0.12.158-rc.1",
"@keplr-wallet/proto-types": "0.12.158-rc.1",
"@keplr-wallet/provider": "0.12.158-rc.1",
"@keplr-wallet/router": "0.12.158-rc.1",
"@keplr-wallet/router-extension": "0.12.158-rc.1",
"@keplr-wallet/simple-fetch": "0.12.158-rc.1",
"@keplr-wallet/stores": "0.12.158-rc.1",
"@keplr-wallet/stores-core": "0.12.158-rc.1",
"@keplr-wallet/stores-etc": "0.12.158-rc.1",
"@keplr-wallet/stores-eth": "0.12.158-rc.1",
"@keplr-wallet/stores-ibc": "0.12.158-rc.1",
"@keplr-wallet/stores-internal": "0.12.158-rc.1",
"@keplr-wallet/stores-starknet": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/unit": "0.12.158-rc.1",
"@keplr-wallet/analytics": "0.12.158-rc.2",
"@keplr-wallet/background": "0.12.158-rc.2",
"@keplr-wallet/chain-validator": "0.12.158-rc.2",
"@keplr-wallet/common": "0.12.158-rc.2",
"@keplr-wallet/cosmos": "0.12.158-rc.2",
"@keplr-wallet/crypto": "0.12.158-rc.2",
"@keplr-wallet/hooks": "0.12.158-rc.2",
"@keplr-wallet/hooks-internal": "0.12.158-rc.2",
"@keplr-wallet/hooks-starknet": "0.12.158-rc.2",
"@keplr-wallet/ledger-cosmos": "0.12.158-rc.2",
"@keplr-wallet/popup": "0.12.158-rc.2",
"@keplr-wallet/proto-types": "0.12.158-rc.2",
"@keplr-wallet/provider": "0.12.158-rc.2",
"@keplr-wallet/router": "0.12.158-rc.2",
"@keplr-wallet/router-extension": "0.12.158-rc.2",
"@keplr-wallet/simple-fetch": "0.12.158-rc.2",
"@keplr-wallet/stores": "0.12.158-rc.2",
"@keplr-wallet/stores-core": "0.12.158-rc.2",
"@keplr-wallet/stores-etc": "0.12.158-rc.2",
"@keplr-wallet/stores-eth": "0.12.158-rc.2",
"@keplr-wallet/stores-ibc": "0.12.158-rc.2",
"@keplr-wallet/stores-internal": "0.12.158-rc.2",
"@keplr-wallet/stores-starknet": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"@keplr-wallet/unit": "0.12.158-rc.2",
"@keystonehq/animated-qr": "^0.8.6",
"@keystonehq/hw-app-base": "0.1.1",
"@keystonehq/hw-transport-webusb": "0.4.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { PlainObject } from "@keplr-wallet/background";
import { FormattedMessage, useIntl } from "react-intl";

export const LedgerGuideBox: FunctionComponent<{
data?: {
data: {
keyInsensitive: PlainObject;
isEthereum: boolean;
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { Column, Columns } from "../../../../components/column";
import {
SubmitStarknetTxHashMsg,
GetStarknetKeyParamsSelectedMsg,
PlainObject,
} from "@keplr-wallet/background";
import { InExtensionMessageRequester } from "@keplr-wallet/router-extension";
import { BACKGROUND_PORT, KeplrError } from "@keplr-wallet/router";
Expand Down Expand Up @@ -56,12 +57,18 @@ export const AccountActivationModal: FunctionComponent<{
chainId: string;

onAccountDeployed?: () => void;
}> = observer(({ close, goBack, chainId, onAccountDeployed }) => {

data?: {
keyInsensitive: PlainObject;
isEthereum: boolean;
};
}> = observer(({ close, goBack, chainId, onAccountDeployed, data }) => {
const {
chainStore,
accountStore,
starknetQueriesStore,
starknetAccountStore,
keyRingStore,
} = useStore();

const theme = useTheme();
Expand Down Expand Up @@ -320,6 +327,12 @@ export const AccountActivationModal: FunctionComponent<{
disableClick
/>
<LedgerGuideBox
data={
data || {
keyInsensitive: keyRingStore.selectedKeyInfo!.insensitive,
isEthereum: false,
}
}
isLedgerInteracting={isLedgerInteracting}
ledgerInteractingError={ledgerInteractingError}
isInternal={true}
Expand Down
4 changes: 4 additions & 0 deletions apps/extension/src/pages/starknet/sign/message/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,10 @@ export const SignStarknetMessageView: FunctionComponent<{
<div style={{ marginTop: "0.75rem", flex: 1 }} />

<LedgerGuideBox
data={{
keyInsensitive: interactionData.data.keyInsensitive,
isEthereum: false,
}}
isLedgerInteracting={isLedgerInteracting}
ledgerInteractingError={ledgerInteractingError}
isInternal={interactionData.isInternal}
Expand Down
8 changes: 8 additions & 0 deletions apps/extension/src/pages/starknet/sign/tx/view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,10 @@ export const SignStarknetTxView: FunctionComponent<{
/>

<LedgerGuideBox
data={{
keyInsensitive: interactionData.data.keyInsensitive,
isEthereum: false,
}}
isLedgerInteracting={isLedgerInteracting}
ledgerInteractingError={ledgerInteractingError}
isInternal={interactionData.isInternal}
Expand All @@ -616,6 +620,10 @@ export const SignStarknetTxView: FunctionComponent<{
}}
>
<AccountActivationModal
data={{
keyInsensitive: interactionData.data.keyInsensitive,
isEthereum: false,
}}
close={() => setIsAccountActivationModalOpen(false)}
onAccountDeployed={() => {
// account가 deploy 되었을때 gas simulator를 refresh한다.
Expand Down
12 changes: 6 additions & 6 deletions apps/hooks-internal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/hooks-internal",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand All @@ -14,11 +14,11 @@
"lint-fix": "eslint --fix \"src/**/*\" && prettier --write \"src/**/*\""
},
"dependencies": {
"@keplr-wallet/hooks": "0.12.158-rc.1",
"@keplr-wallet/stores": "0.12.158-rc.1",
"@keplr-wallet/stores-internal": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/unit": "0.12.158-rc.1"
"@keplr-wallet/hooks": "0.12.158-rc.2",
"@keplr-wallet/stores": "0.12.158-rc.2",
"@keplr-wallet/stores-internal": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"@keplr-wallet/unit": "0.12.158-rc.2"
},
"peerDependencies": {
"mobx": "^6",
Expand Down
2 changes: 1 addition & 1 deletion apps/mobile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/mobile",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"private": true,
"installConfig": {
"hoistingLimits": "workspaces"
Expand Down
14 changes: 7 additions & 7 deletions apps/stores-internal/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/stores-internal",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand All @@ -14,12 +14,12 @@
"lint-fix": "eslint --fix \"src/**/*\" && prettier --write \"src/**/*\""
},
"dependencies": {
"@keplr-wallet/common": "0.12.158-rc.1",
"@keplr-wallet/cosmos": "0.12.158-rc.1",
"@keplr-wallet/simple-fetch": "0.12.158-rc.1",
"@keplr-wallet/stores": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/unit": "0.12.158-rc.1",
"@keplr-wallet/common": "0.12.158-rc.2",
"@keplr-wallet/cosmos": "0.12.158-rc.2",
"@keplr-wallet/simple-fetch": "0.12.158-rc.2",
"@keplr-wallet/stores": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"@keplr-wallet/unit": "0.12.158-rc.2",
"joi": "^17.5.0",
"utility-types": "^3.10.0"
},
Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"useWorkspaces": true,
"npmClient": "yarn",
"command": {
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/analytics",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand Down
24 changes: 12 additions & 12 deletions packages/background/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/background",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand Down Expand Up @@ -28,17 +28,17 @@
"@ethersproject/hash": "^5.7.0",
"@ethersproject/transactions": "^5.7.0",
"@ethersproject/wallet": "^5.7.0",
"@keplr-wallet/chain-validator": "0.12.158-rc.1",
"@keplr-wallet/common": "0.12.158-rc.1",
"@keplr-wallet/cosmos": "0.12.158-rc.1",
"@keplr-wallet/crypto": "0.12.158-rc.1",
"@keplr-wallet/ledger-cosmos": "0.12.158-rc.1",
"@keplr-wallet/popup": "0.12.158-rc.1",
"@keplr-wallet/proto-types": "0.12.158-rc.1",
"@keplr-wallet/router": "0.12.158-rc.1",
"@keplr-wallet/simple-fetch": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/unit": "0.12.158-rc.1",
"@keplr-wallet/chain-validator": "0.12.158-rc.2",
"@keplr-wallet/common": "0.12.158-rc.2",
"@keplr-wallet/cosmos": "0.12.158-rc.2",
"@keplr-wallet/crypto": "0.12.158-rc.2",
"@keplr-wallet/ledger-cosmos": "0.12.158-rc.2",
"@keplr-wallet/popup": "0.12.158-rc.2",
"@keplr-wallet/proto-types": "0.12.158-rc.2",
"@keplr-wallet/router": "0.12.158-rc.2",
"@keplr-wallet/simple-fetch": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"@keplr-wallet/unit": "0.12.158-rc.2",
"@ledgerhq/hw-app-eth": "^6.40.3",
"@ledgerhq/hw-app-starknet": "^2.4.0",
"@ledgerhq/hw-transport": "^6.31.4",
Expand Down
8 changes: 4 additions & 4 deletions packages/chain-validator/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/chain-validator",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand All @@ -17,9 +17,9 @@
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@keplr-wallet/cosmos": "0.12.158-rc.1",
"@keplr-wallet/simple-fetch": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/cosmos": "0.12.158-rc.2",
"@keplr-wallet/simple-fetch": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"joi": "^17.5.0",
"utility-types": "^3.10.0"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/common",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand All @@ -16,8 +16,8 @@
"lint-fix": "eslint --fix \"src/**/*\" && prettier --write \"src/**/*\""
},
"dependencies": {
"@keplr-wallet/crypto": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/crypto": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"buffer": "^6.0.3",
"delay": "^4.4.0"
}
Expand Down
4 changes: 2 additions & 2 deletions packages/cosmjs-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cosmjs-test",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"author": "chainapsis",
"license": "Apache-2.0",
"private": true,
Expand All @@ -12,7 +12,7 @@
},
"devDependencies": {
"@cosmjs/stargate": "^0.29.3",
"@keplr-wallet/provider-mock": "0.12.158-rc.1",
"@keplr-wallet/provider-mock": "0.12.158-rc.2",
"secretjs": "^1.6.0"
}
}
14 changes: 7 additions & 7 deletions packages/cosmos/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/cosmos",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand All @@ -17,12 +17,12 @@
},
"dependencies": {
"@ethersproject/address": "^5.6.0",
"@keplr-wallet/common": "0.12.158-rc.1",
"@keplr-wallet/crypto": "0.12.158-rc.1",
"@keplr-wallet/proto-types": "0.12.158-rc.1",
"@keplr-wallet/simple-fetch": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/unit": "0.12.158-rc.1",
"@keplr-wallet/common": "0.12.158-rc.2",
"@keplr-wallet/crypto": "0.12.158-rc.2",
"@keplr-wallet/proto-types": "0.12.158-rc.2",
"@keplr-wallet/simple-fetch": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"@keplr-wallet/unit": "0.12.158-rc.2",
"bech32": "^1.1.4",
"buffer": "^6.0.3",
"long": "^4.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/crypto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/crypto",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand Down
26 changes: 13 additions & 13 deletions packages/hooks-starknet/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@keplr-wallet/hooks-starknet",
"version": "0.12.158-rc.1",
"version": "0.12.158-rc.2",
"main": "build/index.js",
"author": "chainapsis",
"license": "Apache-2.0",
Expand All @@ -18,18 +18,18 @@
"dependencies": {
"@ethersproject/address": "^5.7.0",
"@ethersproject/providers": "^5.7.0",
"@keplr-wallet/background": "0.12.158-rc.1",
"@keplr-wallet/common": "0.12.158-rc.1",
"@keplr-wallet/cosmos": "0.12.158-rc.1",
"@keplr-wallet/crypto": "0.12.158-rc.1",
"@keplr-wallet/proto-types": "0.12.158-rc.1",
"@keplr-wallet/simple-fetch": "0.12.158-rc.1",
"@keplr-wallet/stores": "0.12.158-rc.1",
"@keplr-wallet/stores-etc": "0.12.158-rc.1",
"@keplr-wallet/stores-eth": "0.12.158-rc.1",
"@keplr-wallet/stores-starknet": "0.12.158-rc.1",
"@keplr-wallet/types": "0.12.158-rc.1",
"@keplr-wallet/unit": "0.12.158-rc.1",
"@keplr-wallet/background": "0.12.158-rc.2",
"@keplr-wallet/common": "0.12.158-rc.2",
"@keplr-wallet/cosmos": "0.12.158-rc.2",
"@keplr-wallet/crypto": "0.12.158-rc.2",
"@keplr-wallet/proto-types": "0.12.158-rc.2",
"@keplr-wallet/simple-fetch": "0.12.158-rc.2",
"@keplr-wallet/stores": "0.12.158-rc.2",
"@keplr-wallet/stores-etc": "0.12.158-rc.2",
"@keplr-wallet/stores-eth": "0.12.158-rc.2",
"@keplr-wallet/stores-starknet": "0.12.158-rc.2",
"@keplr-wallet/types": "0.12.158-rc.2",
"@keplr-wallet/unit": "0.12.158-rc.2",
"buffer": "^6.0.3",
"long": "^4.0.0",
"utility-types": "^3.10.0"
Expand Down
Loading

0 comments on commit 007b3e7

Please sign in to comment.