Skip to content

Commit

Permalink
fix: verify v2 typos (#984)
Browse files Browse the repository at this point in the history
  • Loading branch information
BeLi4L authored Feb 19, 2025
1 parent 88d89c0 commit be117ee
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
5 changes: 0 additions & 5 deletions packages/verify2/lib/enums/channels.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,3 @@ export enum SilentAuthChannel {
*/
SILENT_AUTH = 'silent_auth',
}

/**
* Type alias for the Silent Authentication channel.
*/
export type SilenAuthChannel = SilentAuthChannel;
2 changes: 1 addition & 1 deletion packages/verify2/lib/enums/silentAuthStatus.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* Enum representing the status of Silent Authentication.
*/
export enum SilenAuthStatus {
export enum SilentAuthStatus {
/**
* Silent Authentication has been completed successfully.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/verify2/lib/types/eventCallback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export type EventCallback = {
/**
* The date and time when the event was triggered in ISO 8601 format.
*/
triggerd_at: string; // Typo: Should be 'triggered_at'
triggered_at: string;

/**
* The type of response for the event.
Expand Down
6 changes: 3 additions & 3 deletions packages/verify2/lib/types/silentAuthCallback.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { SilentAuthChannel, SilenAuthStatus } from '../enums';
import { SilentAuthChannel, SilentAuthStatus } from '../enums';

/**
* Represents a callback received for Silent Authentication.
Expand All @@ -13,7 +13,7 @@ export type SilentAuthCallback = {
* The date and time when the Silent Authentication event was triggered
* in ISO 8601 format.
*/
triggerd_at: string; // Typo: Should be 'triggered_at'
triggered_at: string;

/**
* The type of response for the Silent Authentication event.
Expand All @@ -28,7 +28,7 @@ export type SilentAuthCallback = {
/**
* The status of the Silent Authentication event.
*/
status: SilenAuthStatus;
status: SilentAuthStatus;

/**
* Information about the action in the Silent Authentication event.
Expand Down

0 comments on commit be117ee

Please sign in to comment.