@medialane/sdk 0.85.2 → 0.85.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.
@@ -512,6 +512,8 @@ interface ApiActivity {
512
512
  interface ApiActivitiesQuery {
513
513
  chain?: ChainFilter;
514
514
  type?: ActivityType;
515
+ /** Scope the feed to one collection's contract address instead of the global/per-address feed. */
516
+ contract?: string;
515
517
  page?: number;
516
518
  limit?: number;
517
519
  }
@@ -1202,7 +1204,7 @@ declare class ApiClient {
1202
1204
  private post;
1203
1205
  private patch;
1204
1206
  private del;
1205
- /** Bearer header for Clerk-JWT-authenticated routes. */
1207
+ /** Bearer header for SIWS-token-authenticated routes. */
1206
1208
  private bearer;
1207
1209
  getOrders(query?: ApiOrdersQuery): Promise<ApiResponse<ApiOrder[]>>;
1208
1210
  getOrder(orderHash: string): Promise<ApiResponse<ApiOrder>>;
@@ -1250,10 +1252,10 @@ declare class ApiClient {
1250
1252
  rejectSponsorshipProposalIntent(params: RejectSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1251
1253
  /**
1252
1254
  * Create a counter-offer intent. The seller proposes a new price in response
1253
- * to a buyer's active bid. clerkToken is optional — the endpoint authenticates
1254
- * via the tenant API key; pass a Clerk JWT only if your backend requires it.
1255
+ * to a buyer's active bid. siwsToken is optional — the endpoint authenticates
1256
+ * via the tenant API key; pass a SIWS token only if your backend requires it.
1255
1257
  */
1256
- createCounterOfferIntent(params: CreateCounterOfferIntentParams, clerkToken?: string): Promise<ApiResponse<ApiIntentCreated>>;
1258
+ createCounterOfferIntent(params: CreateCounterOfferIntentParams, siwsToken?: string): Promise<ApiResponse<ApiIntentCreated>>;
1257
1259
  /**
1258
1260
  * Fetch counter-offers. Pass `originalOrderHash` (buyer view) or
1259
1261
  * `sellerAddress` (seller view) — at least one is required.
@@ -1279,9 +1281,9 @@ declare class ApiClient {
1279
1281
  }>>;
1280
1282
  /**
1281
1283
  * Path 1: On-chain auto claim. Sends both x-api-key (tenant auth) and
1282
- * Authorization: Bearer (Clerk JWT) simultaneously.
1284
+ * Authorization: Bearer (SIWS token) simultaneously.
1283
1285
  */
1284
- claimCollection(contractAddress: string, walletAddress: string, clerkToken: string): Promise<{
1286
+ claimCollection(contractAddress: string, walletAddress: string, siwsToken: string): Promise<{
1285
1287
  verified: boolean;
1286
1288
  collection?: ApiCollection;
1287
1289
  reason?: string;
@@ -1309,12 +1311,12 @@ declare class ApiClient {
1309
1311
  completeBusinessProvisioning(id: string): Promise<ApiResponse<ApiBusinessProvisioning>>;
1310
1312
  getCollectionProfile(contractAddress: string): Promise<ApiCollectionProfile | null>;
1311
1313
  /**
1312
- * Update collection profile. Requires Clerk JWT for ownership check.
1314
+ * Update collection profile. Requires SIWS token for ownership check.
1313
1315
  */
1314
- updateCollectionProfile(contractAddress: string, data: Partial<Omit<ApiCollectionProfile, "contractAddress" | "chain" | "updatedBy" | "updatedAt">>, clerkToken: string): Promise<ApiCollectionProfile>;
1316
+ updateCollectionProfile(contractAddress: string, data: Partial<Omit<ApiCollectionProfile, "contractAddress" | "chain" | "updatedBy" | "updatedAt">>, siwsToken: string): Promise<ApiCollectionProfile>;
1315
1317
  /** No signature required — wallet activity is public on-chain data, read like any other /v1 GET. */
1316
1318
  getWalletActivity(address: string, chain?: "STARKNET"): Promise<ApiResponse<ApiWalletActivity[]>>;
1317
- getGatedContent(contractAddress: string, clerkToken: string): Promise<{
1319
+ getGatedContent(contractAddress: string, siwsToken: string): Promise<{
1318
1320
  title: string;
1319
1321
  url: string;
1320
1322
  type: string;
@@ -1329,31 +1331,26 @@ declare class ApiClient {
1329
1331
  /** Resolve a username slug to a creator profile (public). */
1330
1332
  getCreatorByUsername(username: string): Promise<ApiCreatorProfile | null>;
1331
1333
  /**
1332
- * Update creator profile. Requires Clerk JWT; wallet must match authenticated user.
1334
+ * Update creator profile. Requires SIWS token; wallet must match authenticated user.
1333
1335
  */
1334
- updateCreatorProfile(walletAddress: string, data: Partial<Omit<ApiCreatorProfile, "walletAddress" | "chain" | "updatedAt">>, clerkToken: string): Promise<ApiCreatorProfile>;
1336
+ updateCreatorProfile(walletAddress: string, data: Partial<Omit<ApiCreatorProfile, "walletAddress" | "chain" | "updatedAt">>, siwsToken: string): Promise<ApiCreatorProfile>;
1335
1337
  /** Check if a collection slug is available (public, no auth). */
1336
1338
  checkCollectionSlugAvailability(slug: string): Promise<{
1337
1339
  available: boolean;
1338
1340
  reason?: string;
1339
1341
  }>;
1340
- /** Submit a slug claim for a collection. Requires Clerk JWT — caller must be the collection owner. */
1341
- submitCollectionSlugClaim(contractAddress: string, slug: string, clerkToken: string, notifyEmail?: string): Promise<{
1342
+ /** Submit a slug claim for a collection. Requires SIWS token — caller must be the collection owner. */
1343
+ submitCollectionSlugClaim(contractAddress: string, slug: string, siwsToken: string, notifyEmail?: string): Promise<{
1342
1344
  claim: ApiCollectionSlugClaim;
1343
1345
  }>;
1344
- /** Returns all slug claims submitted by the authenticated wallet. Requires Clerk JWT. */
1345
- getMyCollectionSlugClaims(clerkToken: string): Promise<{
1346
+ /** Returns all slug claims submitted by the authenticated wallet. Requires SIWS token. */
1347
+ getMyCollectionSlugClaims(siwsToken: string): Promise<{
1346
1348
  claims: ApiCollectionSlugClaim[];
1347
1349
  }>;
1348
1350
  /** Resolve a collection slug to a full collection. Returns null if not found. */
1349
1351
  getCollectionBySlug(slug: string): Promise<ApiCollection | null>;
1350
1352
  /**
1351
- * Upsert the authenticated user's wallet address in the backend DB.
1352
- * Call after onboarding when ChipiPay confirms the wallet address.
1353
- * Requires Clerk JWT; no tenant API key needed.
1354
- */
1355
- /**
1356
- * Frictionless wallet registration. Tenant API key only (no Clerk JWT required).
1353
+ * Frictionless wallet registration. Tenant API key only (no SIWS token required).
1357
1354
  * Idempotent — backend's ensureAccountForWallet upserts and upgrades existing
1358
1355
  * UNKNOWN walletType rows when a more specific value is supplied.
1359
1356
  */
@@ -1371,21 +1368,22 @@ declare class ApiClient {
1371
1368
  appSource: ApiAppSource;
1372
1369
  createdAt: string;
1373
1370
  }>;
1374
- upsertMyWallet(clerkToken: string, options?: {
1371
+ upsertMyWallet(siwsToken: string, options?: {
1375
1372
  walletType?: string;
1376
1373
  appSource?: ApiAppSource;
1377
1374
  chain?: ApiChain;
1378
1375
  emailVerificationToken?: string;
1379
1376
  email?: string;
1377
+ accountToken?: string;
1380
1378
  }): Promise<ApiUserWallet>;
1381
1379
  /** Whether an email already has an account attached — used by io's onboarding to branch into an "already exists" message instead of creating a duplicate account. */
1382
1380
  checkEmailExists(email: string): Promise<boolean>;
1383
1381
  /**
1384
1382
  * Get the authenticated user's stored wallet address from the backend DB.
1385
1383
  * Returns null if the user has not completed onboarding yet.
1386
- * Requires Clerk JWT; no tenant API key needed.
1384
+ * Requires SIWS token; no tenant API key needed.
1387
1385
  */
1388
- getMyWallet(clerkToken: string): Promise<ApiUserWallet | null>;
1386
+ getMyWallet(siwsToken: string): Promise<ApiUserWallet | null>;
1389
1387
  /**
1390
1388
  * Get public remixes of a token (open to everyone).
1391
1389
  */
@@ -1394,40 +1392,40 @@ declare class ApiClient {
1394
1392
  limit?: number;
1395
1393
  }): Promise<ApiResponse<ApiPublicRemix[]>>;
1396
1394
  /**
1397
- * Submit a custom remix offer for a token. Requires Clerk JWT.
1395
+ * Submit a custom remix offer for a token. Requires SIWS token.
1398
1396
  */
1399
- submitRemixOffer(params: CreateRemixOfferParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1397
+ submitRemixOffer(params: CreateRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1400
1398
  /**
1401
- * Submit an auto remix offer for a token with an open license. Requires Clerk JWT.
1399
+ * Submit an auto remix offer for a token with an open license. Requires SIWS token.
1402
1400
  */
1403
- submitAutoRemixOffer(params: AutoRemixOfferParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1401
+ submitAutoRemixOffer(params: AutoRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1404
1402
  /**
1405
- * Record a self-remix (owner remixing their own token). Requires Clerk JWT.
1403
+ * Record a self-remix (owner remixing their own token). Requires SIWS token.
1406
1404
  */
1407
- confirmSelfRemix(params: ConfirmSelfRemixParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1405
+ confirmSelfRemix(params: ConfirmSelfRemixParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1408
1406
  /**
1409
- * List remix offers by role. Requires Clerk JWT.
1407
+ * List remix offers by role. Requires SIWS token.
1410
1408
  * role="creator" — offers where you are the original creator.
1411
1409
  * role="requester" — offers you made.
1412
1410
  */
1413
- getRemixOffers(query: ApiRemixOffersQuery, clerkToken: string): Promise<ApiResponse<ApiRemixOffer[]>>;
1411
+ getRemixOffers(query: ApiRemixOffersQuery, siwsToken: string): Promise<ApiResponse<ApiRemixOffer[]>>;
1414
1412
  /**
1415
- * Get a single remix offer. Clerk JWT optional (price/currency hidden for non-participants).
1413
+ * Get a single remix offer. SIWS token optional (price/currency hidden for non-participants).
1416
1414
  */
1417
- getRemixOffer(id: string, clerkToken?: string): Promise<ApiResponse<ApiRemixOffer>>;
1415
+ getRemixOffer(id: string, siwsToken?: string): Promise<ApiResponse<ApiRemixOffer>>;
1418
1416
  /**
1419
- * Creator approves a remix offer (authorises the requester to mint). Requires Clerk JWT.
1417
+ * Creator approves a remix offer (authorises the requester to mint). Requires SIWS token.
1420
1418
  */
1421
- confirmRemixOffer(id: string, params: ConfirmRemixOfferParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1419
+ confirmRemixOffer(id: string, params: ConfirmRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1422
1420
  /**
1423
- * Creator rejects a remix offer. Requires Clerk JWT.
1421
+ * Creator rejects a remix offer. Requires SIWS token.
1424
1422
  */
1425
- rejectRemixOffer(id: string, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1423
+ rejectRemixOffer(id: string, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1426
1424
  /**
1427
1425
  * Requester extends the expiry of a pending remix offer by 1–30 days.
1428
- * Requires Clerk JWT.
1426
+ * Requires SIWS token.
1429
1427
  */
1430
- extendRemixOffer(id: string, days: number, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1428
+ extendRemixOffer(id: string, days: number, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1431
1429
  getPopCollections(opts?: {
1432
1430
  page?: number;
1433
1431
  limit?: number;
@@ -1442,7 +1440,7 @@ declare class ApiClient {
1442
1440
  /**
1443
1441
  * Creator-authed coin profile edit (image/description). Backend authorizes
1444
1442
  * via `coin.creator` (trustless — from the factory event), not a body param;
1445
- * `siwsToken` is the caller's SIWS/Clerk bearer token for `identityAuth`.
1443
+ * `siwsToken` is the caller's SIWS bearer token for `identityAuth`.
1446
1444
  */
1447
1445
  updateCoinProfile(contract: string, data: {
1448
1446
  image?: string;
@@ -512,6 +512,8 @@ interface ApiActivity {
512
512
  interface ApiActivitiesQuery {
513
513
  chain?: ChainFilter;
514
514
  type?: ActivityType;
515
+ /** Scope the feed to one collection's contract address instead of the global/per-address feed. */
516
+ contract?: string;
515
517
  page?: number;
516
518
  limit?: number;
517
519
  }
@@ -1202,7 +1204,7 @@ declare class ApiClient {
1202
1204
  private post;
1203
1205
  private patch;
1204
1206
  private del;
1205
- /** Bearer header for Clerk-JWT-authenticated routes. */
1207
+ /** Bearer header for SIWS-token-authenticated routes. */
1206
1208
  private bearer;
1207
1209
  getOrders(query?: ApiOrdersQuery): Promise<ApiResponse<ApiOrder[]>>;
1208
1210
  getOrder(orderHash: string): Promise<ApiResponse<ApiOrder>>;
@@ -1250,10 +1252,10 @@ declare class ApiClient {
1250
1252
  rejectSponsorshipProposalIntent(params: RejectSponsorshipProposalIntentParams): Promise<ApiResponse<ApiIntentCreated>>;
1251
1253
  /**
1252
1254
  * Create a counter-offer intent. The seller proposes a new price in response
1253
- * to a buyer's active bid. clerkToken is optional — the endpoint authenticates
1254
- * via the tenant API key; pass a Clerk JWT only if your backend requires it.
1255
+ * to a buyer's active bid. siwsToken is optional — the endpoint authenticates
1256
+ * via the tenant API key; pass a SIWS token only if your backend requires it.
1255
1257
  */
1256
- createCounterOfferIntent(params: CreateCounterOfferIntentParams, clerkToken?: string): Promise<ApiResponse<ApiIntentCreated>>;
1258
+ createCounterOfferIntent(params: CreateCounterOfferIntentParams, siwsToken?: string): Promise<ApiResponse<ApiIntentCreated>>;
1257
1259
  /**
1258
1260
  * Fetch counter-offers. Pass `originalOrderHash` (buyer view) or
1259
1261
  * `sellerAddress` (seller view) — at least one is required.
@@ -1279,9 +1281,9 @@ declare class ApiClient {
1279
1281
  }>>;
1280
1282
  /**
1281
1283
  * Path 1: On-chain auto claim. Sends both x-api-key (tenant auth) and
1282
- * Authorization: Bearer (Clerk JWT) simultaneously.
1284
+ * Authorization: Bearer (SIWS token) simultaneously.
1283
1285
  */
1284
- claimCollection(contractAddress: string, walletAddress: string, clerkToken: string): Promise<{
1286
+ claimCollection(contractAddress: string, walletAddress: string, siwsToken: string): Promise<{
1285
1287
  verified: boolean;
1286
1288
  collection?: ApiCollection;
1287
1289
  reason?: string;
@@ -1309,12 +1311,12 @@ declare class ApiClient {
1309
1311
  completeBusinessProvisioning(id: string): Promise<ApiResponse<ApiBusinessProvisioning>>;
1310
1312
  getCollectionProfile(contractAddress: string): Promise<ApiCollectionProfile | null>;
1311
1313
  /**
1312
- * Update collection profile. Requires Clerk JWT for ownership check.
1314
+ * Update collection profile. Requires SIWS token for ownership check.
1313
1315
  */
1314
- updateCollectionProfile(contractAddress: string, data: Partial<Omit<ApiCollectionProfile, "contractAddress" | "chain" | "updatedBy" | "updatedAt">>, clerkToken: string): Promise<ApiCollectionProfile>;
1316
+ updateCollectionProfile(contractAddress: string, data: Partial<Omit<ApiCollectionProfile, "contractAddress" | "chain" | "updatedBy" | "updatedAt">>, siwsToken: string): Promise<ApiCollectionProfile>;
1315
1317
  /** No signature required — wallet activity is public on-chain data, read like any other /v1 GET. */
1316
1318
  getWalletActivity(address: string, chain?: "STARKNET"): Promise<ApiResponse<ApiWalletActivity[]>>;
1317
- getGatedContent(contractAddress: string, clerkToken: string): Promise<{
1319
+ getGatedContent(contractAddress: string, siwsToken: string): Promise<{
1318
1320
  title: string;
1319
1321
  url: string;
1320
1322
  type: string;
@@ -1329,31 +1331,26 @@ declare class ApiClient {
1329
1331
  /** Resolve a username slug to a creator profile (public). */
1330
1332
  getCreatorByUsername(username: string): Promise<ApiCreatorProfile | null>;
1331
1333
  /**
1332
- * Update creator profile. Requires Clerk JWT; wallet must match authenticated user.
1334
+ * Update creator profile. Requires SIWS token; wallet must match authenticated user.
1333
1335
  */
1334
- updateCreatorProfile(walletAddress: string, data: Partial<Omit<ApiCreatorProfile, "walletAddress" | "chain" | "updatedAt">>, clerkToken: string): Promise<ApiCreatorProfile>;
1336
+ updateCreatorProfile(walletAddress: string, data: Partial<Omit<ApiCreatorProfile, "walletAddress" | "chain" | "updatedAt">>, siwsToken: string): Promise<ApiCreatorProfile>;
1335
1337
  /** Check if a collection slug is available (public, no auth). */
1336
1338
  checkCollectionSlugAvailability(slug: string): Promise<{
1337
1339
  available: boolean;
1338
1340
  reason?: string;
1339
1341
  }>;
1340
- /** Submit a slug claim for a collection. Requires Clerk JWT — caller must be the collection owner. */
1341
- submitCollectionSlugClaim(contractAddress: string, slug: string, clerkToken: string, notifyEmail?: string): Promise<{
1342
+ /** Submit a slug claim for a collection. Requires SIWS token — caller must be the collection owner. */
1343
+ submitCollectionSlugClaim(contractAddress: string, slug: string, siwsToken: string, notifyEmail?: string): Promise<{
1342
1344
  claim: ApiCollectionSlugClaim;
1343
1345
  }>;
1344
- /** Returns all slug claims submitted by the authenticated wallet. Requires Clerk JWT. */
1345
- getMyCollectionSlugClaims(clerkToken: string): Promise<{
1346
+ /** Returns all slug claims submitted by the authenticated wallet. Requires SIWS token. */
1347
+ getMyCollectionSlugClaims(siwsToken: string): Promise<{
1346
1348
  claims: ApiCollectionSlugClaim[];
1347
1349
  }>;
1348
1350
  /** Resolve a collection slug to a full collection. Returns null if not found. */
1349
1351
  getCollectionBySlug(slug: string): Promise<ApiCollection | null>;
1350
1352
  /**
1351
- * Upsert the authenticated user's wallet address in the backend DB.
1352
- * Call after onboarding when ChipiPay confirms the wallet address.
1353
- * Requires Clerk JWT; no tenant API key needed.
1354
- */
1355
- /**
1356
- * Frictionless wallet registration. Tenant API key only (no Clerk JWT required).
1353
+ * Frictionless wallet registration. Tenant API key only (no SIWS token required).
1357
1354
  * Idempotent — backend's ensureAccountForWallet upserts and upgrades existing
1358
1355
  * UNKNOWN walletType rows when a more specific value is supplied.
1359
1356
  */
@@ -1371,21 +1368,22 @@ declare class ApiClient {
1371
1368
  appSource: ApiAppSource;
1372
1369
  createdAt: string;
1373
1370
  }>;
1374
- upsertMyWallet(clerkToken: string, options?: {
1371
+ upsertMyWallet(siwsToken: string, options?: {
1375
1372
  walletType?: string;
1376
1373
  appSource?: ApiAppSource;
1377
1374
  chain?: ApiChain;
1378
1375
  emailVerificationToken?: string;
1379
1376
  email?: string;
1377
+ accountToken?: string;
1380
1378
  }): Promise<ApiUserWallet>;
1381
1379
  /** Whether an email already has an account attached — used by io's onboarding to branch into an "already exists" message instead of creating a duplicate account. */
1382
1380
  checkEmailExists(email: string): Promise<boolean>;
1383
1381
  /**
1384
1382
  * Get the authenticated user's stored wallet address from the backend DB.
1385
1383
  * Returns null if the user has not completed onboarding yet.
1386
- * Requires Clerk JWT; no tenant API key needed.
1384
+ * Requires SIWS token; no tenant API key needed.
1387
1385
  */
1388
- getMyWallet(clerkToken: string): Promise<ApiUserWallet | null>;
1386
+ getMyWallet(siwsToken: string): Promise<ApiUserWallet | null>;
1389
1387
  /**
1390
1388
  * Get public remixes of a token (open to everyone).
1391
1389
  */
@@ -1394,40 +1392,40 @@ declare class ApiClient {
1394
1392
  limit?: number;
1395
1393
  }): Promise<ApiResponse<ApiPublicRemix[]>>;
1396
1394
  /**
1397
- * Submit a custom remix offer for a token. Requires Clerk JWT.
1395
+ * Submit a custom remix offer for a token. Requires SIWS token.
1398
1396
  */
1399
- submitRemixOffer(params: CreateRemixOfferParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1397
+ submitRemixOffer(params: CreateRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1400
1398
  /**
1401
- * Submit an auto remix offer for a token with an open license. Requires Clerk JWT.
1399
+ * Submit an auto remix offer for a token with an open license. Requires SIWS token.
1402
1400
  */
1403
- submitAutoRemixOffer(params: AutoRemixOfferParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1401
+ submitAutoRemixOffer(params: AutoRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1404
1402
  /**
1405
- * Record a self-remix (owner remixing their own token). Requires Clerk JWT.
1403
+ * Record a self-remix (owner remixing their own token). Requires SIWS token.
1406
1404
  */
1407
- confirmSelfRemix(params: ConfirmSelfRemixParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1405
+ confirmSelfRemix(params: ConfirmSelfRemixParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1408
1406
  /**
1409
- * List remix offers by role. Requires Clerk JWT.
1407
+ * List remix offers by role. Requires SIWS token.
1410
1408
  * role="creator" — offers where you are the original creator.
1411
1409
  * role="requester" — offers you made.
1412
1410
  */
1413
- getRemixOffers(query: ApiRemixOffersQuery, clerkToken: string): Promise<ApiResponse<ApiRemixOffer[]>>;
1411
+ getRemixOffers(query: ApiRemixOffersQuery, siwsToken: string): Promise<ApiResponse<ApiRemixOffer[]>>;
1414
1412
  /**
1415
- * Get a single remix offer. Clerk JWT optional (price/currency hidden for non-participants).
1413
+ * Get a single remix offer. SIWS token optional (price/currency hidden for non-participants).
1416
1414
  */
1417
- getRemixOffer(id: string, clerkToken?: string): Promise<ApiResponse<ApiRemixOffer>>;
1415
+ getRemixOffer(id: string, siwsToken?: string): Promise<ApiResponse<ApiRemixOffer>>;
1418
1416
  /**
1419
- * Creator approves a remix offer (authorises the requester to mint). Requires Clerk JWT.
1417
+ * Creator approves a remix offer (authorises the requester to mint). Requires SIWS token.
1420
1418
  */
1421
- confirmRemixOffer(id: string, params: ConfirmRemixOfferParams, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1419
+ confirmRemixOffer(id: string, params: ConfirmRemixOfferParams, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1422
1420
  /**
1423
- * Creator rejects a remix offer. Requires Clerk JWT.
1421
+ * Creator rejects a remix offer. Requires SIWS token.
1424
1422
  */
1425
- rejectRemixOffer(id: string, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1423
+ rejectRemixOffer(id: string, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1426
1424
  /**
1427
1425
  * Requester extends the expiry of a pending remix offer by 1–30 days.
1428
- * Requires Clerk JWT.
1426
+ * Requires SIWS token.
1429
1427
  */
1430
- extendRemixOffer(id: string, days: number, clerkToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1428
+ extendRemixOffer(id: string, days: number, siwsToken: string): Promise<ApiResponse<ApiRemixOffer>>;
1431
1429
  getPopCollections(opts?: {
1432
1430
  page?: number;
1433
1431
  limit?: number;
@@ -1442,7 +1440,7 @@ declare class ApiClient {
1442
1440
  /**
1443
1441
  * Creator-authed coin profile edit (image/description). Backend authorizes
1444
1442
  * via `coin.creator` (trustless — from the factory event), not a body param;
1445
- * `siwsToken` is the caller's SIWS/Clerk bearer token for `identityAuth`.
1443
+ * `siwsToken` is the caller's SIWS bearer token for `identityAuth`.
1446
1444
  */
1447
1445
  updateCoinProfile(contract: string, data: {
1448
1446
  image?: string;