@pinwheel/react-modal
Advanced tools
Comparing version 2.3.2 to 2.3.3-beta
@@ -32,2 +32,4 @@ /// <reference types="react" /> | ||
platformId: string; | ||
} | { | ||
platformId: string; | ||
} | Error | {} | undefined; | ||
@@ -39,2 +41,4 @@ export declare type SemverObject = { | ||
}; | ||
declare const EVENT_NAMES: readonly ["open", "select_employer", "select_platform", "incorrect_platform_given", "login_attempt", "login", "input_amount", "exit", "success", "error"]; | ||
export declare type EventName = typeof EVENT_NAMES[number]; | ||
interface PinwheelPublicOpenOptions { | ||
@@ -49,3 +53,3 @@ linkToken: string; | ||
onExit?: (error?: Error) => void; | ||
onEvent?: (eventName: string, payload: EventPayload) => void; | ||
onEvent?: (eventName: EventName, payload: EventPayload) => void; | ||
} | ||
@@ -52,0 +56,0 @@ export declare type PinwheelModalProps = PinwheelPublicOpenOptions & { |
{ | ||
"name": "@pinwheel/react-modal", | ||
"version": "2.3.2", | ||
"version": "2.3.3-beta", | ||
"description": "React package for Pinwheel modal", | ||
@@ -5,0 +5,0 @@ "author": "roscioli", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
24077
246
2