@medialane/sdk 0.30.0 → 0.33.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/dist/index.d.cts CHANGED
@@ -1117,8 +1117,8 @@ interface ApiCreatorListResult {
1117
1117
  limit: number;
1118
1118
  }
1119
1119
  type ApiWalletType = "ARGENT" | "BRAAVOS" | "CARTRIDGE" | "PRIVY" | "CHIPIPAY" | "INJECTED" | "UNKNOWN";
1120
- type ApiAppSource = "MEDIALANE_DAPP" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK";
1121
- type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1120
+ type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
1121
+ type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
1122
1122
  interface ApiUserWallet {
1123
1123
  walletAddress: string;
1124
1124
  }
@@ -1297,20 +1297,20 @@ declare class ApiClient {
1297
1297
  */
1298
1298
  registerUser(params: {
1299
1299
  walletAddress: string;
1300
- walletType?: ApiWalletType;
1300
+ walletType?: string;
1301
1301
  appSource?: ApiAppSource;
1302
- chain?: "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1302
+ chain?: ApiChain;
1303
1303
  }): Promise<{
1304
1304
  accountId: string;
1305
1305
  publicId: string;
1306
1306
  walletAddress: string;
1307
1307
  chain: string;
1308
- walletType: ApiWalletType;
1308
+ provider: string;
1309
1309
  appSource: ApiAppSource;
1310
1310
  createdAt: string;
1311
1311
  }>;
1312
1312
  upsertMyWallet(clerkToken: string, options?: {
1313
- walletType?: ApiWalletType;
1313
+ walletType?: string;
1314
1314
  appSource?: ApiAppSource;
1315
1315
  chain?: ApiChain;
1316
1316
  }): Promise<ApiUserWallet>;
package/dist/index.d.ts CHANGED
@@ -1117,8 +1117,8 @@ interface ApiCreatorListResult {
1117
1117
  limit: number;
1118
1118
  }
1119
1119
  type ApiWalletType = "ARGENT" | "BRAAVOS" | "CARTRIDGE" | "PRIVY" | "CHIPIPAY" | "INJECTED" | "UNKNOWN";
1120
- type ApiAppSource = "MEDIALANE_DAPP" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK";
1121
- type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1120
+ type ApiAppSource = "MEDIALANE_STARKNET" | "MEDIALANE_IO" | "MEDIALANE_PORTAL" | "MEDIALANE_SDK" | "MEDIALANE_DAPP";
1121
+ type ApiChain = "STARKNET" | "ETHEREUM" | "SOLANA" | "BASE" | "BITCOIN";
1122
1122
  interface ApiUserWallet {
1123
1123
  walletAddress: string;
1124
1124
  }
@@ -1297,20 +1297,20 @@ declare class ApiClient {
1297
1297
  */
1298
1298
  registerUser(params: {
1299
1299
  walletAddress: string;
1300
- walletType?: ApiWalletType;
1300
+ walletType?: string;
1301
1301
  appSource?: ApiAppSource;
1302
- chain?: "STARKNET" | "ETHEREUM" | "SOLANA" | "BITCOIN";
1302
+ chain?: ApiChain;
1303
1303
  }): Promise<{
1304
1304
  accountId: string;
1305
1305
  publicId: string;
1306
1306
  walletAddress: string;
1307
1307
  chain: string;
1308
- walletType: ApiWalletType;
1308
+ provider: string;
1309
1309
  appSource: ApiAppSource;
1310
1310
  createdAt: string;
1311
1311
  }>;
1312
1312
  upsertMyWallet(clerkToken: string, options?: {
1313
- walletType?: ApiWalletType;
1313
+ walletType?: string;
1314
1314
  appSource?: ApiAppSource;
1315
1315
  chain?: ApiChain;
1316
1316
  }): Promise<ApiUserWallet>;