@tiun/types 0.3.0 → 0.4.0
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/index.d.ts +6 -6
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -158,11 +158,6 @@ export interface CheckoutOptions {
|
|
|
158
158
|
* Specific product ID to checkout (optional, for future use)
|
|
159
159
|
*/
|
|
160
160
|
productId?: string;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Custom metadata to attach to this checkout
|
|
164
|
-
*/
|
|
165
|
-
metadata?: Record<string, string>;
|
|
166
161
|
}
|
|
167
162
|
|
|
168
163
|
// =============================================================================
|
|
@@ -202,7 +197,12 @@ export interface TiunSDK {
|
|
|
202
197
|
init(config?: TiunConfig): TiunSDK;
|
|
203
198
|
|
|
204
199
|
/**
|
|
205
|
-
* Open the
|
|
200
|
+
* Open the time-based connect flow (no specific product).
|
|
201
|
+
*/
|
|
202
|
+
start(): Promise<void>;
|
|
203
|
+
|
|
204
|
+
/**
|
|
205
|
+
* Open the checkout flow for a specific product.
|
|
206
206
|
*/
|
|
207
207
|
checkout(options?: CheckoutOptions): Promise<void>;
|
|
208
208
|
|