@corbado/shared-ui
Advanced tools
Comparing version 2.0.4-alpha.0 to 2.1.0-alpha.0
@@ -23,3 +23,2 @@ import type { AuthType, CorbadoApp, ProcessCommon } from '@corbado/web-core'; | ||
protected updateProcessFrontend(newPrimaryBlock: Block<unknown>, newAlternatives?: Block<unknown>[]): void; | ||
protected static getFormattedPhoneNumber(raw: string): string; | ||
setAlternatives(alternatives: Block<unknown>[]): void; | ||
@@ -26,0 +25,0 @@ setError(error: RequestError): void; |
@@ -13,2 +13,3 @@ import type { AuthType, BlockBody, CorbadoApp, ProcessCommon } from '@corbado/web-core'; | ||
constructor(app: CorbadoApp, flowHandler: ProcessHandler, common: ProcessCommon, errorTranslator: ErrorTranslator, blockBody: BlockBody); | ||
init(): void; | ||
} |
@@ -15,3 +15,2 @@ import type { BlockBody, CorbadoApp, ProcessCommon } from '@corbado/web-core'; | ||
init(): void; | ||
getFormattedPhoneNumber: () => string; | ||
showPasskeyBenefits(): void; | ||
@@ -18,0 +17,0 @@ showEditUserData(): void; |
@@ -14,3 +14,2 @@ import type { AuthType, BlockBody, CorbadoApp, ProcessCommon } from '@corbado/web-core'; | ||
init(): void; | ||
getFormattedPhoneNumber: () => string; | ||
showPasskeyBenefits(): void; | ||
@@ -17,0 +16,0 @@ passkeyLogin(): Promise<void>; |
@@ -13,3 +13,2 @@ import type { AuthType, BlockBody, CorbadoApp, ProcessCommon } from '@corbado/web-core'; | ||
constructor(app: CorbadoApp, flowHandler: ProcessHandler, common: ProcessCommon, errorTranslator: ErrorTranslator, blockBody: BlockBody); | ||
getFormattedPhoneNumber: () => string; | ||
showEditPhone(): void; | ||
@@ -16,0 +15,0 @@ showPhoneOtpScreen(): void; |
import type { CorbadoError, EmailVerifyFromUrl, ProcessResponse } from '@corbado/web-core'; | ||
import { type CorbadoApp } from '@corbado/web-core'; | ||
import type { AuthenticationResponse } from '@corbado/web-core/dist/api/v2'; | ||
import type { i18n } from 'i18next'; | ||
import type { Result } from 'ts-results'; | ||
import type { Block } from './blocks'; | ||
import type { BlockTypes, ScreenNames } from './constants'; | ||
import type { BlockTypes } from './constants'; | ||
import type { ScreenNames } from './constants'; | ||
import type { ScreenWithBlock } from './types'; | ||
@@ -26,3 +26,3 @@ /** | ||
init(): Promise<Result<void, CorbadoError>>; | ||
onProcessCompleted(data: AuthenticationResponse): void; | ||
onProcessCompleted(): void; | ||
switchToBlock(blockType: BlockTypes): boolean; | ||
@@ -29,0 +29,0 @@ startAskForAbort(): void; |
@@ -1,2 +0,2 @@ | ||
import { BlockTypes } from './constants'; | ||
import type { BlockTypes } from './constants'; | ||
export declare class ProcessHistoryHandler { | ||
@@ -3,0 +3,0 @@ #private; |
@@ -303,7 +303,2 @@ import './styles/index.css'; | ||
}; | ||
dialog_passkeysNotSupported: { | ||
header: string; | ||
body: string; | ||
button_confirm: string; | ||
}; | ||
}; | ||
@@ -310,0 +305,0 @@ }; |
{ | ||
"name": "@corbado/shared-ui", | ||
"version": "2.0.4-alpha.0", | ||
"version": "2.1.0-alpha.0", | ||
"description": "This package contains shared files for all the complete packages of Corbado for VanillaJS, React, Angular, Vue, etc.", | ||
@@ -35,3 +35,3 @@ "author": "Abdullah Shahbaz <abdullah_ghani@live.com>", | ||
"devDependencies": { | ||
"@corbado/types": "^2.0.1-alpha.0", | ||
"@corbado/types": "^2.1.0-alpha.0", | ||
"@svgr/webpack": "^8.1.0", | ||
@@ -54,7 +54,6 @@ "@types/ua-parser-js": "^0.7.39", | ||
"dependencies": { | ||
"@corbado/web-core": "^2.0.3-alpha.0", | ||
"libphonenumber-js": "^1.10.59", | ||
"@corbado/web-core": "^2.1.0-alpha.0", | ||
"ua-parser-js": "^1.0.37" | ||
}, | ||
"gitHead": "e6be27826903ffbe8b49a20ff4f01a8fbbf62239" | ||
"gitHead": "bc4fb0b351047c2a2b6a3a1caccabcde11611f10" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2
23
556843
1565
- Removedlibphonenumber-js@^1.10.59
- Removedlibphonenumber-js@1.11.17(transitive)