Skip to content

Commit

Permalink
🔄 synced local 'src/' with remote 'src/'
Browse files Browse the repository at this point in the history
  • Loading branch information
circle-github-action-bot committed Jul 23, 2024
1 parent d2eed7d commit 13e9448
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ export class W3SSdk {
*/
verifyOtp() {
this.subscribeMessage()
this.appendIframe(true, 'sso/verify-email')
this.appendIframe(true, 'social/verify-email')

setTimeout(() => {
if (!this.receivedResponseFromService) {
Expand Down Expand Up @@ -616,7 +616,7 @@ export class W3SSdk {

private verifyTokenViaService(): void {
this.subscribeMessage()
this.appendIframe(false, 'sso/verify-token')
this.appendIframe(false, 'social/verify-token')

setTimeout(() => {
if (!this.receivedResponseFromService) {
Expand Down Expand Up @@ -740,7 +740,7 @@ export class W3SSdk {
customLinks: this.customLinks,
},
deviceInfo: this.deviceInfo,
ssoVerification: {
socialVerification: {
token: this.socialLoginToken,
deviceToken: this.configs?.loginConfigs?.deviceToken,
deviceEncryptionKey:
Expand Down
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ export interface Challenge {
*/
challengeId: string
/**
* SSO user secret.
* Social login user secret.
*/
userSecret?: string
}
Expand Down Expand Up @@ -338,8 +338,8 @@ export interface SignTransactionResult extends ChallengeResult {
export interface OAuthInfo {
provider: SocialLoginProvider
scope?: string[]
ssoUserUUID?: string
ssoUserInfo?: {
socialUserUUID?: string
socialUserInfo?: {
email?: string
name?: string
phone?: string
Expand Down Expand Up @@ -490,7 +490,7 @@ export interface SecuritySummary {
question?: string
}

export interface SsoConfirm {
export interface SocialEmailConfirm {
title?: string
headline?: string
}
Expand Down Expand Up @@ -599,7 +599,7 @@ export interface Localizations {
securityIntros?: SecurityIntros
securityQuestions?: SecurityQuestions
securitySummary?: SecuritySummary
ssoConfirm?: SsoConfirm
socialEmailConfirm?: SocialEmailConfirm
transactionRequest?: TransactionRequest
contractInteraction?: ContractInteraction
signatureRequest?: SignatureRequest
Expand Down

0 comments on commit 13e9448

Please sign in to comment.