Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update logics for linking mobile #1246

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions apps/extension/noop-keplr-wallet-private/build/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
/// <reference types="node" />
import React from "react";
import { FlattenSimpleInterpolation } from "styled-components";
export declare const GlobalStyles: FlattenSimpleInterpolation | undefined;
Expand All @@ -10,3 +14,7 @@ export declare const onGoogleSignInClick: ((sceneTransition: {
push(name: string, props?: Record<string, any>): void;
replace(name: string, props?: Record<string, any>): void;
}) => void) | undefined;
export declare const exportGenerateQRCodeDataByInterval: (_data: string, _setQRCodeData: (data: string) => void) => NodeJS.Timer;
export declare const exportUpload: (_encryptedData: string) => Promise<{
otp: string;
} | null>;
10 changes: 9 additions & 1 deletion apps/extension/noop-keplr-wallet-private/build/index.js

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

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

15 changes: 15 additions & 0 deletions apps/extension/noop-keplr-wallet-private/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,18 @@ export const onGoogleSignInClick:
replace(name: string, props?: Record<string, any>): void;
}) => void)
| undefined = undefined;

export const exportGenerateQRCodeDataByInterval = (
_data: string,
_setQRCodeData: (data: string) => void
): NodeJS.Timer => {
throw new Error("Method not implemented.");
};

export const exportUpload = (
_encryptedData: string
): Promise<{
otp: string;
} | null> => {
throw new Error("Method not implemented.");
};
1 change: 1 addition & 0 deletions apps/extension/noop-keplr-wallet-private/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"sideEffects": false,
"dependencies": {},
"peerDependencies": {
"@keplr-wallet/simple-fetch": "*",
"react": "^16.8.0 || ^17 || ^18",
"styled-components": "*"
}
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
"@types/color": "^3.0.3",
"@types/firefox-webext-browser": "^120.0.3",
"@types/js-yaml": "^4",
"@types/react-is": "^16.7.2",
"@types/react-is": "^18.2.0",
"@types/react-window": "^1",
"@types/resize-observer-browser": "^0.1.7",
"@types/secp256k1": "^4.0.1",
Expand Down
2 changes: 1 addition & 1 deletion apps/extension/src/keplr-wallet-private
4 changes: 4 additions & 0 deletions apps/extension/src/pages/main/components/claim-all/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,10 @@ export const ClaimAll: FunctionComponent<{ isNotReady?: boolean }> = observer(
return "ibc/8E27BA2D5493AF5636760E354E46004562C46AB7EC0CC4C1CA14E9E20E2545B5";
}

if (chainInfo.chainIdentifier === "elys") {
return "ueden";
}

return chainInfo.stakeCurrency?.coinMinimalDenom;
})();

Expand Down
Loading
Loading