File tree 2 files changed +11
-4
lines changed
packages/ui-extensions/src/surfaces/point-of-sale/event
2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' @shopify/ui-extensions ' : minor
3
+ ---
4
+
5
+ updated event target EventExtensionTargets output type.
Original file line number Diff line number Diff line change @@ -9,14 +9,16 @@ import {CartUpdateEventData} from './data/CartUpdateEventData';
9
9
export interface EventExtensionTargets {
10
10
'pos.transaction-complete.event.observe' : (
11
11
data : TransactionCompleteData ,
12
- ) => BaseOutput ;
12
+ ) => Promise < BaseOutput > ;
13
13
'pos.cash-tracking-session-start.event.observe' : (
14
14
data : CashTrackingSessionStartData ,
15
- ) => BaseOutput ;
15
+ ) => Promise < BaseOutput > ;
16
16
'pos.cash-tracking-session-complete.event.observe' : (
17
17
data : CashTrackingSessionCompleteData ,
18
- ) => BaseOutput ;
19
- 'pos.cart-update.event.observe' : ( data : CartUpdateEventData ) => BaseOutput ;
18
+ ) => Promise < BaseOutput > ;
19
+ 'pos.cart-update.event.observe' : (
20
+ data : CartUpdateEventData ,
21
+ ) => Promise < BaseOutput > ;
20
22
}
21
23
22
24
export type EventExtensionTarget = keyof EventExtensionTargets ;
You can’t perform that action at this time.
0 commit comments