@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.
Files changed (2) hide show
  1. package/index.d.ts +6 -6
  2. 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 checkout flow.
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
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tiun/types",
3
- "version": "0.3.0",
3
+ "version": "0.4.0",
4
4
  "description": "TypeScript type definitions for tiun SDK (for script tag users)",
5
5
  "types": "./index.d.ts",
6
6
  "files": [