@clicktap/state 0.16.0 → 0.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/__mocks__/nanoid.d.ts +7 -0
- package/auth/AuthProvider.d.ts +66 -66
- package/auth/actors/authenticate.d.ts +1 -1
- package/auth/actors/refreshAccessToken.d.ts +1 -1
- package/auth/actors/unauthenticate.d.ts +1 -1
- package/auth/auth.d.ts +32 -32
- package/index.js +33 -33
- package/index.mjs +1460 -1535
- package/package.json +3 -3
- package/quote/CheckoutProvider.d.ts +69 -69
- package/quote/QuoteProvider.d.ts +153 -153
- package/quote/checkout/actions/resetCheckout.d.ts +7 -7
- package/quote/checkout/actions/updateQuote.d.ts +20 -20
- package/quote/checkout/actors/placeOrder.d.ts +1 -1
- package/quote/checkout/actors/submitStepData.d.ts +1 -1
- package/quote/checkout/types.d.ts +2 -2
- package/quote/checkout.d.ts +23 -23
- package/quote/quote/actions/addItems.d.ts +20 -20
- package/quote/quote/actions/refresh.d.ts +20 -20
- package/quote/quote/actions/removeItems.d.ts +20 -20
- package/quote/quote/actions/syncAccessToken.d.ts +6 -6
- package/quote/quote/actions/updateItems.d.ts +20 -20
- package/quote/quote/actors/addItems.d.ts +1 -1
- package/quote/quote/actors/refresh.d.ts +1 -1
- package/quote/quote/actors/removeItems.d.ts +1 -1
- package/quote/quote/actors/updateItems.d.ts +1 -1
- package/quote/quote/types.d.ts +4 -4
- package/quote/quote.d.ts +51 -51
- package/toast/ToastProvider.d.ts +32 -32
- package/toast/timer.d.ts +7 -7
- package/toast/toast.d.ts +29 -29
- package/toast/types.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@clicktap/state",
|
|
3
|
-
"version": "0.16.
|
|
3
|
+
"version": "0.16.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "Clicktap",
|
|
6
6
|
"description": "A state management library for Clicktap reference frontend.",
|
|
@@ -16,10 +16,10 @@
|
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@graphql-typed-document-node/core": "^3.2.0",
|
|
18
18
|
"@xstate/react": "^4.1.1",
|
|
19
|
-
"cookie": "^0.
|
|
19
|
+
"cookie": "^0.7.0",
|
|
20
20
|
"graphql": "^16.6.0",
|
|
21
21
|
"graphql-request": "^6.1.0",
|
|
22
|
-
"nanoid": "^
|
|
22
|
+
"nanoid": "^5.0.9",
|
|
23
23
|
"xstate": "5.13.0"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
@@ -8,45 +8,45 @@ export interface CheckoutContextType {
|
|
|
8
8
|
checkoutActor: Actor<typeof checkoutMachine>;
|
|
9
9
|
currentStep: CheckoutMachineContext['currentStep'];
|
|
10
10
|
}
|
|
11
|
-
export declare const CheckoutContext: import(
|
|
12
|
-
[x: string]: import(
|
|
11
|
+
export declare const CheckoutContext: import('react').Context<Actor<import('xstate').StateMachine<CheckoutMachineContext, import('./checkout/types').ChangeStepEvent | import('./checkout/types').PlaceOrderEvent | import('./checkout/types').ResetCheckoutEvent | import('./checkout/types').SubmitStepDataEvent | import('xstate').DoneActorEvent<import('./checkout/types').PlaceOrderSuccessEvent> | import('xstate').DoneActorEvent<import('./checkout/types').SubmitStepDataSuccessEvent>, {
|
|
12
|
+
[x: string]: import('xstate').ActorRef<import('xstate').PromiseSnapshot<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>, {
|
|
13
13
|
[k: string]: unknown;
|
|
14
14
|
type: string;
|
|
15
|
-
}, import(
|
|
15
|
+
}, import('xstate').EventObject> | import('xstate').ActorRef<import('xstate').PromiseSnapshot<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>, {
|
|
16
16
|
[k: string]: unknown;
|
|
17
17
|
type: string;
|
|
18
|
-
}, import(
|
|
19
|
-
}, import(
|
|
18
|
+
}, import('xstate').EventObject> | undefined;
|
|
19
|
+
}, import('xstate').Values<{
|
|
20
20
|
placeOrder: {
|
|
21
21
|
src: "placeOrder";
|
|
22
|
-
logic: import(
|
|
22
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>;
|
|
23
23
|
id: string | undefined;
|
|
24
24
|
};
|
|
25
25
|
submitStepData: {
|
|
26
26
|
src: "submitStepData";
|
|
27
|
-
logic: import(
|
|
27
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>;
|
|
28
28
|
id: string | undefined;
|
|
29
29
|
};
|
|
30
|
-
}>, import(
|
|
30
|
+
}>, import('xstate').Values<{
|
|
31
31
|
changeStep: {
|
|
32
32
|
type: "changeStep";
|
|
33
|
-
params: import(
|
|
33
|
+
params: import('xstate').NonReducibleUnknown;
|
|
34
34
|
};
|
|
35
35
|
nextStep: {
|
|
36
36
|
type: "nextStep";
|
|
37
|
-
params: import(
|
|
37
|
+
params: import('xstate').NonReducibleUnknown;
|
|
38
38
|
};
|
|
39
39
|
resetCheckout: {
|
|
40
40
|
type: "resetCheckout";
|
|
41
|
-
params: import(
|
|
41
|
+
params: import('xstate').NonReducibleUnknown;
|
|
42
42
|
};
|
|
43
43
|
updateQuote: {
|
|
44
44
|
type: "updateQuote";
|
|
45
|
-
params: import(
|
|
45
|
+
params: import('xstate').NonReducibleUnknown;
|
|
46
46
|
};
|
|
47
47
|
updateSuccessId: {
|
|
48
48
|
type: "updateSuccessId";
|
|
49
|
-
params: import(
|
|
49
|
+
params: import('xstate').NonReducibleUnknown;
|
|
50
50
|
};
|
|
51
51
|
}>, {
|
|
52
52
|
type: "quoteExists";
|
|
@@ -54,82 +54,82 @@ export declare const CheckoutContext: import("react").Context<Actor<import("xsta
|
|
|
54
54
|
}, never, "uninitialized" | "initializing" | "showStep" | "submittingStepData" | "changingStep" | "placingOrder" | "success", string, {
|
|
55
55
|
initialContext: DeepPartial<CheckoutMachineContext>;
|
|
56
56
|
initialState?: string | undefined;
|
|
57
|
-
}, import(
|
|
57
|
+
}, import('xstate').NonReducibleUnknown, import('xstate').EventObject, import('xstate').MetaObject, import('xstate').ResolveTypegenMeta<import('xstate').TypegenDisabled, import('./checkout/types').ChangeStepEvent | import('./checkout/types').PlaceOrderEvent | import('./checkout/types').ResetCheckoutEvent | import('./checkout/types').SubmitStepDataEvent | import('xstate').DoneActorEvent<import('./checkout/types').PlaceOrderSuccessEvent> | import('xstate').DoneActorEvent<import('./checkout/types').SubmitStepDataSuccessEvent>, import('xstate').Values<{
|
|
58
58
|
placeOrder: {
|
|
59
59
|
src: "placeOrder";
|
|
60
|
-
logic: import(
|
|
60
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>;
|
|
61
61
|
id: string | undefined;
|
|
62
62
|
};
|
|
63
63
|
submitStepData: {
|
|
64
64
|
src: "submitStepData";
|
|
65
|
-
logic: import(
|
|
65
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>;
|
|
66
66
|
id: string | undefined;
|
|
67
67
|
};
|
|
68
|
-
}>, import(
|
|
68
|
+
}>, import('xstate').Values<{
|
|
69
69
|
changeStep: {
|
|
70
70
|
type: "changeStep";
|
|
71
|
-
params: import(
|
|
71
|
+
params: import('xstate').NonReducibleUnknown;
|
|
72
72
|
};
|
|
73
73
|
nextStep: {
|
|
74
74
|
type: "nextStep";
|
|
75
|
-
params: import(
|
|
75
|
+
params: import('xstate').NonReducibleUnknown;
|
|
76
76
|
};
|
|
77
77
|
resetCheckout: {
|
|
78
78
|
type: "resetCheckout";
|
|
79
|
-
params: import(
|
|
79
|
+
params: import('xstate').NonReducibleUnknown;
|
|
80
80
|
};
|
|
81
81
|
updateQuote: {
|
|
82
82
|
type: "updateQuote";
|
|
83
|
-
params: import(
|
|
83
|
+
params: import('xstate').NonReducibleUnknown;
|
|
84
84
|
};
|
|
85
85
|
updateSuccessId: {
|
|
86
86
|
type: "updateSuccessId";
|
|
87
|
-
params: import(
|
|
87
|
+
params: import('xstate').NonReducibleUnknown;
|
|
88
88
|
};
|
|
89
89
|
}>, {
|
|
90
90
|
type: "quoteExists";
|
|
91
91
|
params: unknown;
|
|
92
|
-
}, never, string, import(
|
|
92
|
+
}, never, string, import('xstate').EventObject>>>>;
|
|
93
93
|
export declare const useCheckout: () => {
|
|
94
|
-
checkoutActor: Actor<import(
|
|
95
|
-
[x: string]: import(
|
|
94
|
+
checkoutActor: Actor<import('xstate').StateMachine<CheckoutMachineContext, import('./checkout/types').ChangeStepEvent | import('./checkout/types').PlaceOrderEvent | import('./checkout/types').ResetCheckoutEvent | import('./checkout/types').SubmitStepDataEvent | import('xstate').DoneActorEvent<import('./checkout/types').PlaceOrderSuccessEvent> | import('xstate').DoneActorEvent<import('./checkout/types').SubmitStepDataSuccessEvent>, {
|
|
95
|
+
[x: string]: import('xstate').ActorRef<import('xstate').PromiseSnapshot<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>, {
|
|
96
96
|
[k: string]: unknown;
|
|
97
97
|
type: string;
|
|
98
|
-
}, import(
|
|
98
|
+
}, import('xstate').EventObject> | import('xstate').ActorRef<import('xstate').PromiseSnapshot<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>, {
|
|
99
99
|
[k: string]: unknown;
|
|
100
100
|
type: string;
|
|
101
|
-
}, import(
|
|
102
|
-
}, import(
|
|
101
|
+
}, import('xstate').EventObject> | undefined;
|
|
102
|
+
}, import('xstate').Values<{
|
|
103
103
|
placeOrder: {
|
|
104
104
|
src: "placeOrder";
|
|
105
|
-
logic: import(
|
|
105
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>;
|
|
106
106
|
id: string | undefined;
|
|
107
107
|
};
|
|
108
108
|
submitStepData: {
|
|
109
109
|
src: "submitStepData";
|
|
110
|
-
logic: import(
|
|
110
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>;
|
|
111
111
|
id: string | undefined;
|
|
112
112
|
};
|
|
113
|
-
}>, import(
|
|
113
|
+
}>, import('xstate').Values<{
|
|
114
114
|
changeStep: {
|
|
115
115
|
type: "changeStep";
|
|
116
|
-
params: import(
|
|
116
|
+
params: import('xstate').NonReducibleUnknown;
|
|
117
117
|
};
|
|
118
118
|
nextStep: {
|
|
119
119
|
type: "nextStep";
|
|
120
|
-
params: import(
|
|
120
|
+
params: import('xstate').NonReducibleUnknown;
|
|
121
121
|
};
|
|
122
122
|
resetCheckout: {
|
|
123
123
|
type: "resetCheckout";
|
|
124
|
-
params: import(
|
|
124
|
+
params: import('xstate').NonReducibleUnknown;
|
|
125
125
|
};
|
|
126
126
|
updateQuote: {
|
|
127
127
|
type: "updateQuote";
|
|
128
|
-
params: import(
|
|
128
|
+
params: import('xstate').NonReducibleUnknown;
|
|
129
129
|
};
|
|
130
130
|
updateSuccessId: {
|
|
131
131
|
type: "updateSuccessId";
|
|
132
|
-
params: import(
|
|
132
|
+
params: import('xstate').NonReducibleUnknown;
|
|
133
133
|
};
|
|
134
134
|
}>, {
|
|
135
135
|
type: "quoteExists";
|
|
@@ -137,42 +137,42 @@ export declare const useCheckout: () => {
|
|
|
137
137
|
}, never, "uninitialized" | "initializing" | "showStep" | "submittingStepData" | "changingStep" | "placingOrder" | "success", string, {
|
|
138
138
|
initialContext: DeepPartial<CheckoutMachineContext>;
|
|
139
139
|
initialState?: string | undefined;
|
|
140
|
-
}, import(
|
|
140
|
+
}, import('xstate').NonReducibleUnknown, import('xstate').EventObject, import('xstate').MetaObject, import('xstate').ResolveTypegenMeta<import('xstate').TypegenDisabled, import('./checkout/types').ChangeStepEvent | import('./checkout/types').PlaceOrderEvent | import('./checkout/types').ResetCheckoutEvent | import('./checkout/types').SubmitStepDataEvent | import('xstate').DoneActorEvent<import('./checkout/types').PlaceOrderSuccessEvent> | import('xstate').DoneActorEvent<import('./checkout/types').SubmitStepDataSuccessEvent>, import('xstate').Values<{
|
|
141
141
|
placeOrder: {
|
|
142
142
|
src: "placeOrder";
|
|
143
|
-
logic: import(
|
|
143
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>;
|
|
144
144
|
id: string | undefined;
|
|
145
145
|
};
|
|
146
146
|
submitStepData: {
|
|
147
147
|
src: "submitStepData";
|
|
148
|
-
logic: import(
|
|
148
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>;
|
|
149
149
|
id: string | undefined;
|
|
150
150
|
};
|
|
151
|
-
}>, import(
|
|
151
|
+
}>, import('xstate').Values<{
|
|
152
152
|
changeStep: {
|
|
153
153
|
type: "changeStep";
|
|
154
|
-
params: import(
|
|
154
|
+
params: import('xstate').NonReducibleUnknown;
|
|
155
155
|
};
|
|
156
156
|
nextStep: {
|
|
157
157
|
type: "nextStep";
|
|
158
|
-
params: import(
|
|
158
|
+
params: import('xstate').NonReducibleUnknown;
|
|
159
159
|
};
|
|
160
160
|
resetCheckout: {
|
|
161
161
|
type: "resetCheckout";
|
|
162
|
-
params: import(
|
|
162
|
+
params: import('xstate').NonReducibleUnknown;
|
|
163
163
|
};
|
|
164
164
|
updateQuote: {
|
|
165
165
|
type: "updateQuote";
|
|
166
|
-
params: import(
|
|
166
|
+
params: import('xstate').NonReducibleUnknown;
|
|
167
167
|
};
|
|
168
168
|
updateSuccessId: {
|
|
169
169
|
type: "updateSuccessId";
|
|
170
|
-
params: import(
|
|
170
|
+
params: import('xstate').NonReducibleUnknown;
|
|
171
171
|
};
|
|
172
172
|
}>, {
|
|
173
173
|
type: "quoteExists";
|
|
174
174
|
params: unknown;
|
|
175
|
-
}, never, string, import(
|
|
175
|
+
}, never, string, import('xstate').EventObject>>>;
|
|
176
176
|
currentStep: string;
|
|
177
177
|
};
|
|
178
178
|
type CheckoutOptions = {
|
|
@@ -186,45 +186,45 @@ type CheckoutOptions = {
|
|
|
186
186
|
/**
|
|
187
187
|
* runs on server side as part of withQuote HOF
|
|
188
188
|
*/
|
|
189
|
-
export declare const getCheckout: (options?: CheckoutOptions) => Promise<Actor<import(
|
|
190
|
-
[x: string]: import(
|
|
189
|
+
export declare const getCheckout: (options?: CheckoutOptions) => Promise<Actor<import('xstate').StateMachine<CheckoutMachineContext, import('./checkout/types').ChangeStepEvent | import('./checkout/types').PlaceOrderEvent | import('./checkout/types').ResetCheckoutEvent | import('./checkout/types').SubmitStepDataEvent | import('xstate').DoneActorEvent<import('./checkout/types').PlaceOrderSuccessEvent> | import('xstate').DoneActorEvent<import('./checkout/types').SubmitStepDataSuccessEvent>, {
|
|
190
|
+
[x: string]: import('xstate').ActorRef<import('xstate').PromiseSnapshot<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>, {
|
|
191
191
|
[k: string]: unknown;
|
|
192
192
|
type: string;
|
|
193
|
-
}, import(
|
|
193
|
+
}, import('xstate').EventObject> | import('xstate').ActorRef<import('xstate').PromiseSnapshot<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>, {
|
|
194
194
|
[k: string]: unknown;
|
|
195
195
|
type: string;
|
|
196
|
-
}, import(
|
|
197
|
-
}, import(
|
|
196
|
+
}, import('xstate').EventObject> | undefined;
|
|
197
|
+
}, import('xstate').Values<{
|
|
198
198
|
placeOrder: {
|
|
199
199
|
src: "placeOrder";
|
|
200
|
-
logic: import(
|
|
200
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>;
|
|
201
201
|
id: string | undefined;
|
|
202
202
|
};
|
|
203
203
|
submitStepData: {
|
|
204
204
|
src: "submitStepData";
|
|
205
|
-
logic: import(
|
|
205
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>;
|
|
206
206
|
id: string | undefined;
|
|
207
207
|
};
|
|
208
|
-
}>, import(
|
|
208
|
+
}>, import('xstate').Values<{
|
|
209
209
|
changeStep: {
|
|
210
210
|
type: "changeStep";
|
|
211
|
-
params: import(
|
|
211
|
+
params: import('xstate').NonReducibleUnknown;
|
|
212
212
|
};
|
|
213
213
|
nextStep: {
|
|
214
214
|
type: "nextStep";
|
|
215
|
-
params: import(
|
|
215
|
+
params: import('xstate').NonReducibleUnknown;
|
|
216
216
|
};
|
|
217
217
|
resetCheckout: {
|
|
218
218
|
type: "resetCheckout";
|
|
219
|
-
params: import(
|
|
219
|
+
params: import('xstate').NonReducibleUnknown;
|
|
220
220
|
};
|
|
221
221
|
updateQuote: {
|
|
222
222
|
type: "updateQuote";
|
|
223
|
-
params: import(
|
|
223
|
+
params: import('xstate').NonReducibleUnknown;
|
|
224
224
|
};
|
|
225
225
|
updateSuccessId: {
|
|
226
226
|
type: "updateSuccessId";
|
|
227
|
-
params: import(
|
|
227
|
+
params: import('xstate').NonReducibleUnknown;
|
|
228
228
|
};
|
|
229
229
|
}>, {
|
|
230
230
|
type: "quoteExists";
|
|
@@ -232,42 +232,42 @@ export declare const getCheckout: (options?: CheckoutOptions) => Promise<Actor<i
|
|
|
232
232
|
}, never, "uninitialized" | "initializing" | "showStep" | "submittingStepData" | "changingStep" | "placingOrder" | "success", string, {
|
|
233
233
|
initialContext: DeepPartial<CheckoutMachineContext>;
|
|
234
234
|
initialState?: string | undefined;
|
|
235
|
-
}, import(
|
|
235
|
+
}, import('xstate').NonReducibleUnknown, import('xstate').EventObject, import('xstate').MetaObject, import('xstate').ResolveTypegenMeta<import('xstate').TypegenDisabled, import('./checkout/types').ChangeStepEvent | import('./checkout/types').PlaceOrderEvent | import('./checkout/types').ResetCheckoutEvent | import('./checkout/types').SubmitStepDataEvent | import('xstate').DoneActorEvent<import('./checkout/types').PlaceOrderSuccessEvent> | import('xstate').DoneActorEvent<import('./checkout/types').SubmitStepDataSuccessEvent>, import('xstate').Values<{
|
|
236
236
|
placeOrder: {
|
|
237
237
|
src: "placeOrder";
|
|
238
|
-
logic: import(
|
|
238
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').PlaceOrderSuccessEvent, import('./checkout/actors').PlaceOrderDataInput>;
|
|
239
239
|
id: string | undefined;
|
|
240
240
|
};
|
|
241
241
|
submitStepData: {
|
|
242
242
|
src: "submitStepData";
|
|
243
|
-
logic: import(
|
|
243
|
+
logic: import('xstate').PromiseActorLogic<import('./checkout/types').SubmitStepDataSuccessEvent, import('./checkout/actors').SubmitStepDataInput>;
|
|
244
244
|
id: string | undefined;
|
|
245
245
|
};
|
|
246
|
-
}>, import(
|
|
246
|
+
}>, import('xstate').Values<{
|
|
247
247
|
changeStep: {
|
|
248
248
|
type: "changeStep";
|
|
249
|
-
params: import(
|
|
249
|
+
params: import('xstate').NonReducibleUnknown;
|
|
250
250
|
};
|
|
251
251
|
nextStep: {
|
|
252
252
|
type: "nextStep";
|
|
253
|
-
params: import(
|
|
253
|
+
params: import('xstate').NonReducibleUnknown;
|
|
254
254
|
};
|
|
255
255
|
resetCheckout: {
|
|
256
256
|
type: "resetCheckout";
|
|
257
|
-
params: import(
|
|
257
|
+
params: import('xstate').NonReducibleUnknown;
|
|
258
258
|
};
|
|
259
259
|
updateQuote: {
|
|
260
260
|
type: "updateQuote";
|
|
261
|
-
params: import(
|
|
261
|
+
params: import('xstate').NonReducibleUnknown;
|
|
262
262
|
};
|
|
263
263
|
updateSuccessId: {
|
|
264
264
|
type: "updateSuccessId";
|
|
265
|
-
params: import(
|
|
265
|
+
params: import('xstate').NonReducibleUnknown;
|
|
266
266
|
};
|
|
267
267
|
}>, {
|
|
268
268
|
type: "quoteExists";
|
|
269
269
|
params: unknown;
|
|
270
|
-
}, never, string, import(
|
|
270
|
+
}, never, string, import('xstate').EventObject>>>>;
|
|
271
271
|
type Props = {
|
|
272
272
|
children: ReactNode;
|
|
273
273
|
actor: Actor<typeof checkoutMachine>;
|