Skip to content

Commit 7a39b99

Browse files
authored
feat: add google client id in social configure (#19)
1 parent 0555995 commit 7a39b99

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

packages/sdk/src/core/types/config.types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ interface SocialBaseConfigure {
1717

1818
export interface SocialGoogleConfigure extends SocialBaseConfigure {
1919
authClientId: string;
20+
googleClientId: string;
2021
verifier: string;
2122
}
2223

packages/sdk/src/providers/gno-wallet/gno-social-wallet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ import {
1111
SocialTwitterConfigure,
1212
SocialType,
1313
} from '../../core';
14+
import { GNO_ADDRESS_PREFIX } from '../../core/constants/chains.constant';
1415
import { hexToUint8Array } from '../../core/utils/encode.utils';
1516
import { GnoWalletProvider } from './gno-wallet';
16-
import { GNO_ADDRESS_PREFIX } from '../../core/constants/chains.constant';
1717

1818
export class GnoSocialWalletProvider extends GnoWalletProvider {
1919
private web3auth: Web3AuthNoModal;
@@ -130,7 +130,7 @@ export class GnoSocialWalletProvider extends GnoWalletProvider {
130130
[socialType]: {
131131
typeOfLogin: 'google',
132132
name: config.name,
133-
clientId: config.authClientId,
133+
clientId: config.googleClientId,
134134
verifier: config.verifier,
135135
},
136136
},

0 commit comments

Comments
 (0)