@slotchain/sdk 1.2.3 → 1.2.4
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/dist/index.d.mts +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
- package/src/types/api.ts +2 -0
package/dist/index.d.mts
CHANGED
|
@@ -257,6 +257,8 @@ interface FindOrCreateCustomerOptions {
|
|
|
257
257
|
customer_type?: 'individual' | 'organization';
|
|
258
258
|
is_guest?: boolean;
|
|
259
259
|
metadata?: Record<string, unknown>;
|
|
260
|
+
/** IDP user ID (Auth0 sub, Clerk userId, etc.) — if provided, a customer_users row is upserted server-side */
|
|
261
|
+
idp_id?: string;
|
|
260
262
|
}
|
|
261
263
|
interface Flow {
|
|
262
264
|
id: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -257,6 +257,8 @@ interface FindOrCreateCustomerOptions {
|
|
|
257
257
|
customer_type?: 'individual' | 'organization';
|
|
258
258
|
is_guest?: boolean;
|
|
259
259
|
metadata?: Record<string, unknown>;
|
|
260
|
+
/** IDP user ID (Auth0 sub, Clerk userId, etc.) — if provided, a customer_users row is upserted server-side */
|
|
261
|
+
idp_id?: string;
|
|
260
262
|
}
|
|
261
263
|
interface Flow {
|
|
262
264
|
id: string;
|
package/package.json
CHANGED
package/src/types/api.ts
CHANGED
|
@@ -276,6 +276,8 @@ export interface FindOrCreateCustomerOptions {
|
|
|
276
276
|
customer_type?: 'individual' | 'organization';
|
|
277
277
|
is_guest?: boolean;
|
|
278
278
|
metadata?: Record<string, unknown>;
|
|
279
|
+
/** IDP user ID (Auth0 sub, Clerk userId, etc.) — if provided, a customer_users row is upserted server-side */
|
|
280
|
+
idp_id?: string;
|
|
279
281
|
}
|
|
280
282
|
|
|
281
283
|
export interface Flow {
|