File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 44 Terminal ,
55 PaymentStatus ,
66 ConnectionStatus ,
7+ OutputLogLevel ,
78} from './types/terminal-js/index' ;
89
910export * from './types/terminal-js/index' ;
@@ -12,6 +13,7 @@ export interface StripeTerminal {
1213 create ( props : TerminalProps ) : Terminal ;
1314 PaymentStatus : PaymentStatus ;
1415 ConnectionStatus : ConnectionStatus ;
16+ OutputLogLevel : OutputLogLevel ;
1517}
1618
1719export const loadStripeTerminal : typeof IloadStripeTerminal ;
Original file line number Diff line number Diff line change 33 TerminalProps ,
44 PaymentStatus ,
55 ConnectionStatus ,
6+ OutputLogLevel ,
67} from './terminal' ;
78
89export * from './terminal' ;
@@ -11,6 +12,7 @@ export interface StripeTerminal {
1112 create ( props : TerminalProps ) : Terminal ;
1213 PaymentStatus : PaymentStatus ;
1314 ConnectionStatus : ConnectionStatus ;
15+ OutputLogLevel : OutputLogLevel ;
1416}
1517
1618export const loadStripeTerminal : ( ) => Promise < StripeTerminal | null > ;
Original file line number Diff line number Diff line change @@ -35,13 +35,14 @@ export enum ConnectionStatus {
3535 NOT_CONNECTED = 'not_connected' ,
3636}
3737
38- export declare type ConnectionToken = string ;
39- export declare type FetchConnectionTokenFn = ( ) => Promise < ConnectionToken > ;
40-
41- export declare enum OutputLogLevel {
38+ export enum OutputLogLevel {
4239 NONE = 'none' ,
4340 VERBOSE = 'verbose' ,
4441}
42+
43+ export declare type ConnectionToken = string ;
44+ export declare type FetchConnectionTokenFn = ( ) => Promise < ConnectionToken > ;
45+
4546export interface StatusEvent < T extends string > {
4647 status : T ;
4748}
You can’t perform that action at this time.
0 commit comments