Skip to content

Commit

Permalink
feat: add google client id in social configure
Browse files Browse the repository at this point in the history
  • Loading branch information
jinoosss committed Jan 10, 2025
1 parent 0555995 commit a8c3c4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/sdk/src/core/types/config.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface SocialBaseConfigure {

export interface SocialGoogleConfigure extends SocialBaseConfigure {
authClientId: string;
googleClientId: string;
verifier: string;
}

Expand Down
4 changes: 2 additions & 2 deletions packages/sdk/src/providers/gno-wallet/gno-social-wallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ import {
SocialTwitterConfigure,
SocialType,
} from '../../core';
import { GNO_ADDRESS_PREFIX } from '../../core/constants/chains.constant';
import { hexToUint8Array } from '../../core/utils/encode.utils';
import { GnoWalletProvider } from './gno-wallet';
import { GNO_ADDRESS_PREFIX } from '../../core/constants/chains.constant';

export class GnoSocialWalletProvider extends GnoWalletProvider {
private web3auth: Web3AuthNoModal;
Expand Down Expand Up @@ -130,7 +130,7 @@ export class GnoSocialWalletProvider extends GnoWalletProvider {
[socialType]: {
typeOfLogin: 'google',
name: config.name,
clientId: config.authClientId,
clientId: config.googleClientId,
verifier: config.verifier,
},
},
Expand Down

0 comments on commit a8c3c4f

Please sign in to comment.