@worldcoin/minikit-js 1.7.1 → 1.9.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/build/index.d.cts CHANGED
@@ -7,6 +7,7 @@ import { Client } from 'viem';
7
7
  declare const VerificationErrorMessage: Record<AppErrorCodes, string>;
8
8
  declare enum PaymentErrorCodes {
9
9
  InputError = "input_error",
10
+ UserRejected = "user_rejected",
10
11
  PaymentRejected = "payment_rejected",
11
12
  InvalidReceiver = "invalid_receiver",
12
13
  InsufficientBalance = "insufficient_balance",
@@ -128,6 +129,16 @@ declare const SendHapticFeedbackErrorMessage: {
128
129
  generic_error: string;
129
130
  user_rejected: string;
130
131
  };
132
+ declare enum ShareFilesErrorCodes {
133
+ UserRejected = "user_rejected",
134
+ GenericError = "generic_error",
135
+ InvalidFileName = "invalid_file_name"
136
+ }
137
+ declare const ShareFilesErrorMessage: {
138
+ user_rejected: string;
139
+ generic_error: string;
140
+ invalid_file_name: string;
141
+ };
131
142
 
132
143
  declare enum Tokens {
133
144
  USDCE = "USDCE",
@@ -195,7 +206,7 @@ type TokensPayload = {
195
206
  };
196
207
  type PayCommandInput = {
197
208
  reference: string;
198
- to: string;
209
+ to: `0x${string}` | string;
199
210
  tokens: TokensPayload[];
200
211
  network?: Network;
201
212
  description: string;
@@ -240,7 +251,8 @@ type ShareContactsInput = {
240
251
  };
241
252
  type ShareContactsPayload = ShareContactsInput;
242
253
  declare enum Permission {
243
- Notifications = "notifications"
254
+ Notifications = "notifications",
255
+ Contacts = "contacts"
244
256
  }
245
257
  type RequestPermissionInput = {
246
258
  permission: Permission;
@@ -259,6 +271,15 @@ type SendHapticFeedbackInput = {
259
271
  style: 'light' | 'medium' | 'heavy';
260
272
  };
261
273
  type SendHapticFeedbackPayload = SendHapticFeedbackInput;
274
+ type ShareFile = {
275
+ url: string;
276
+ saved_file_name_with_extension: string;
277
+ };
278
+ type ShareFilesInput = {
279
+ files: ShareFile[];
280
+ mime_type: string;
281
+ };
282
+ type ShareFilesPayload = ShareFilesInput;
262
283
  type CommandReturnPayloadMap = {
263
284
  [Command.Verify]: VerifyCommandPayload;
264
285
  [Command.Pay]: PayCommandPayload;
@@ -283,7 +304,8 @@ declare enum ResponseEvent {
283
304
  MiniAppShareContacts = "miniapp-share-contacts",
284
305
  MiniAppRequestPermission = "miniapp-request-permission",
285
306
  MiniAppGetPermissions = "miniapp-get-permissions",
286
- MiniAppSendHapticFeedback = "miniapp-send-haptic-feedback"
307
+ MiniAppSendHapticFeedback = "miniapp-send-haptic-feedback",
308
+ MiniAppShareFiles = "miniapp-share-files"
287
309
  }
288
310
  type MiniAppVerifyActionSuccessPayload = {
289
311
  status: 'success';
@@ -431,6 +453,18 @@ type MiniAppSendHapticFeedbackErrorPayload = {
431
453
  version: number;
432
454
  };
433
455
  type MiniAppSendHapticFeedbackPayload = MiniAppSendHapticFeedbackSuccessPayload | MiniAppSendHapticFeedbackErrorPayload;
456
+ type MiniAppShareFilesSuccessPayload = {
457
+ status: 'success';
458
+ shared_files_count: number;
459
+ version: number;
460
+ timestamp: string;
461
+ };
462
+ type MiniAppShareFilesErrorPayload = {
463
+ status: 'error';
464
+ error_code: ShareFilesErrorCodes;
465
+ version: number;
466
+ };
467
+ type MiniAppShareFilesPayload = MiniAppShareFilesSuccessPayload | MiniAppShareFilesErrorPayload;
434
468
  type EventPayloadMap = {
435
469
  [ResponseEvent.MiniAppVerifyAction]: MiniAppVerifyActionPayload;
436
470
  [ResponseEvent.MiniAppPayment]: MiniAppPaymentPayload;
@@ -442,27 +476,37 @@ type EventPayloadMap = {
442
476
  [ResponseEvent.MiniAppRequestPermission]: MiniAppRequestPermissionPayload;
443
477
  [ResponseEvent.MiniAppGetPermissions]: MiniAppGetPermissionsPayload;
444
478
  [ResponseEvent.MiniAppSendHapticFeedback]: MiniAppSendHapticFeedbackPayload;
479
+ [ResponseEvent.MiniAppShareFiles]: MiniAppShareFilesPayload;
445
480
  };
446
481
  type EventPayload<T extends ResponseEvent = ResponseEvent> = T extends keyof EventPayloadMap ? EventPayloadMap[T] : never;
447
482
  type EventHandler<E extends ResponseEvent = ResponseEvent> = <T extends EventPayload<E>>(data: T) => void;
448
483
 
449
484
  type User = {
485
+ walletAddress?: string;
486
+ username?: string;
487
+ profilePictureUrl?: string;
488
+ permissions?: {
489
+ notifications: boolean;
490
+ contacts: boolean;
491
+ };
492
+ optedIntoOptionalAnalytics?: boolean;
493
+ worldAppVersion?: number;
494
+ deviceOS?: string;
495
+ };
496
+ type UserNameService = {
450
497
  walletAddress: string;
451
- username: string | null;
452
- profilePictureUrl: string | null;
498
+ username?: string;
499
+ profilePictureUrl?: string;
453
500
  };
454
501
 
455
502
  declare class MiniKit {
456
503
  private static readonly MINIKIT_VERSION;
457
- private static readonly commandVersion;
504
+ private static readonly miniKitCommandVersion;
458
505
  private static isCommandAvailable;
459
506
  private static listeners;
460
507
  static appId: string | null;
461
- /**
462
- * @deprecated you should use MiniKit.user.walletAddress instead
463
- */
464
- static walletAddress: string | null;
465
- static user: User | null;
508
+ static user: User;
509
+ private static isReady;
466
510
  private static sendInit;
467
511
  static subscribe<E extends ResponseEvent>(event: E, handler: EventHandler<E>): void;
468
512
  static unsubscribe(event: ResponseEvent): void;
@@ -471,7 +515,9 @@ declare class MiniKit {
471
515
  private static commandsValid;
472
516
  static install(appId?: string): MiniKitInstallReturnType;
473
517
  static isInstalled(debug?: boolean): boolean;
474
- static getUserByAddress: (address: string) => Promise<User>;
518
+ static getUserByAddress: (address?: string) => Promise<UserNameService>;
519
+ static getUserByUsername: (username: string) => Promise<UserNameService>;
520
+ static getUserInfo: (address?: string) => Promise<UserNameService>;
475
521
  static commands: {
476
522
  verify: (payload: VerifyCommandInput) => VerifyCommandPayload | null;
477
523
  pay: (payload: PayCommandInput) => PayCommandPayload | null;
@@ -514,7 +560,7 @@ type SiweMessage = {
514
560
  address?: string;
515
561
  statement?: string;
516
562
  uri: string;
517
- version: number;
563
+ version: string;
518
564
  chain_id: number;
519
565
  nonce: string;
520
566
  issued_at: string;
@@ -526,21 +572,6 @@ type SiweMessage = {
526
572
  declare const tokenToDecimals: (amount: number, token: Tokens) => number;
527
573
 
528
574
  declare const parseSiweMessage: (inputString: string) => SiweMessage;
529
- declare const SAFE_CONTRACT_ABI: {
530
- inputs: {
531
- internalType: string;
532
- name: string;
533
- type: string;
534
- }[];
535
- name: string;
536
- outputs: {
537
- internalType: string;
538
- name: string;
539
- type: string;
540
- }[];
541
- stateMutability: string;
542
- type: string;
543
- }[];
544
575
  declare const verifySiweMessage: (payload: MiniAppWalletAuthSuccessPayload, nonce: string, statement?: string, requestId?: string, userProvider?: Client) => Promise<{
545
576
  isValid: boolean;
546
577
  siweMessageData: SiweMessage;
@@ -548,4 +579,4 @@ declare const verifySiweMessage: (payload: MiniAppWalletAuthSuccessPayload, nonc
548
579
 
549
580
  declare const getIsUserVerified: (walletAddress: string, rpcUrl?: string) => Promise<boolean>;
550
581
 
551
- export { type AsyncHandlerReturn, Command, type CommandReturnPayload, type Contact, type EventHandler, type EventPayload, GetPermissionsErrorCodes, GetPermissionsErrorMessage, type GetPermissionsInput, type GetPermissionsPayload, type MiniAppGetPermissionsErrorPayload, type MiniAppGetPermissionsPayload, type MiniAppGetPermissionsSuccessPayload, type MiniAppPaymentErrorPayload, type MiniAppPaymentPayload, type MiniAppPaymentSuccessPayload, type MiniAppRequestPermissionErrorPayload, type MiniAppRequestPermissionPayload, type MiniAppRequestPermissionSuccessPayload, type MiniAppSendHapticFeedbackErrorPayload, type MiniAppSendHapticFeedbackPayload, type MiniAppSendHapticFeedbackSuccessPayload, type MiniAppSendTransactionErrorPayload, type MiniAppSendTransactionPayload, type MiniAppSendTransactionSuccessPayload, type MiniAppShareContactsErrorPayload, type MiniAppShareContactsPayload, type MiniAppShareContactsSuccessPayload, type MiniAppSignMessageErrorPayload, type MiniAppSignMessagePayload, type MiniAppSignMessageSuccessPayload, type MiniAppSignTypedDataErrorPayload, type MiniAppSignTypedDataPayload, type MiniAppSignTypedDataSuccessPayload, type MiniAppVerifyActionErrorPayload, type MiniAppVerifyActionPayload, type MiniAppVerifyActionSuccessPayload, type MiniAppWalletAuthErrorPayload, type MiniAppWalletAuthPayload, type MiniAppWalletAuthSuccessPayload, MiniKit, MiniKitInstallErrorCodes, MiniKitInstallErrorMessage, type MiniKitInstallReturnType, Network, type PayCommandInput, type PayCommandPayload, PaymentErrorCodes, PaymentErrorMessage, PaymentValidationErrors, Permission, type PermissionSettings, RequestPermissionErrorCodes, RequestPermissionErrorMessage, type RequestPermissionInput, type RequestPermissionPayload, ResponseEvent, SAFE_CONTRACT_ABI, SendHapticFeedbackErrorCodes, SendHapticFeedbackErrorMessage, type SendHapticFeedbackInput, type SendHapticFeedbackPayload, SendTransactionErrorCodes, SendTransactionErrorMessage, type SendTransactionInput, type SendTransactionPayload, ShareContactsErrorCodes, ShareContactsErrorMessage, type ShareContactsInput, type ShareContactsPayload, SignMessageErrorCodes, SignMessageErrorMessage, type SignMessageInput, type SignMessagePayload, SignTypedDataErrorCodes, SignTypedDataErrorMessage, type SignTypedDataInput, type SignTypedDataPayload, type SiweMessage, TokenDecimals, Tokens, type TokensPayload, VerificationErrorMessage, type VerifyCommandInput, type VerifyCommandPayload, WalletAuthErrorCodes, WalletAuthErrorMessage, type WalletAuthInput, type WalletAuthPayload, type WebViewBasePayload, getIsUserVerified, parseSiweMessage, tokenToDecimals, verifySiweMessage };
582
+ export { type AsyncHandlerReturn, Command, type CommandReturnPayload, type Contact, type EventHandler, type EventPayload, GetPermissionsErrorCodes, GetPermissionsErrorMessage, type GetPermissionsInput, type GetPermissionsPayload, type MiniAppGetPermissionsErrorPayload, type MiniAppGetPermissionsPayload, type MiniAppGetPermissionsSuccessPayload, type MiniAppPaymentErrorPayload, type MiniAppPaymentPayload, type MiniAppPaymentSuccessPayload, type MiniAppRequestPermissionErrorPayload, type MiniAppRequestPermissionPayload, type MiniAppRequestPermissionSuccessPayload, type MiniAppSendHapticFeedbackErrorPayload, type MiniAppSendHapticFeedbackPayload, type MiniAppSendHapticFeedbackSuccessPayload, type MiniAppSendTransactionErrorPayload, type MiniAppSendTransactionPayload, type MiniAppSendTransactionSuccessPayload, type MiniAppShareContactsErrorPayload, type MiniAppShareContactsPayload, type MiniAppShareContactsSuccessPayload, type MiniAppShareFilesErrorPayload, type MiniAppShareFilesPayload, type MiniAppShareFilesSuccessPayload, type MiniAppSignMessageErrorPayload, type MiniAppSignMessagePayload, type MiniAppSignMessageSuccessPayload, type MiniAppSignTypedDataErrorPayload, type MiniAppSignTypedDataPayload, type MiniAppSignTypedDataSuccessPayload, type MiniAppVerifyActionErrorPayload, type MiniAppVerifyActionPayload, type MiniAppVerifyActionSuccessPayload, type MiniAppWalletAuthErrorPayload, type MiniAppWalletAuthPayload, type MiniAppWalletAuthSuccessPayload, MiniKit, MiniKitInstallErrorCodes, MiniKitInstallErrorMessage, type MiniKitInstallReturnType, Network, type PayCommandInput, type PayCommandPayload, PaymentErrorCodes, PaymentErrorMessage, PaymentValidationErrors, Permission, type PermissionSettings, RequestPermissionErrorCodes, RequestPermissionErrorMessage, type RequestPermissionInput, type RequestPermissionPayload, ResponseEvent, SendHapticFeedbackErrorCodes, SendHapticFeedbackErrorMessage, type SendHapticFeedbackInput, type SendHapticFeedbackPayload, SendTransactionErrorCodes, SendTransactionErrorMessage, type SendTransactionInput, type SendTransactionPayload, ShareContactsErrorCodes, ShareContactsErrorMessage, type ShareContactsInput, type ShareContactsPayload, ShareFilesErrorCodes, ShareFilesErrorMessage, type ShareFilesInput, type ShareFilesPayload, SignMessageErrorCodes, SignMessageErrorMessage, type SignMessageInput, type SignMessagePayload, SignTypedDataErrorCodes, SignTypedDataErrorMessage, type SignTypedDataInput, type SignTypedDataPayload, type SiweMessage, TokenDecimals, Tokens, type TokensPayload, type User, type UserNameService, VerificationErrorMessage, type VerifyCommandInput, type VerifyCommandPayload, WalletAuthErrorCodes, WalletAuthErrorMessage, type WalletAuthInput, type WalletAuthPayload, type WebViewBasePayload, getIsUserVerified, parseSiweMessage, tokenToDecimals, verifySiweMessage };
package/build/index.d.ts CHANGED
@@ -7,6 +7,7 @@ import { Client } from 'viem';
7
7
  declare const VerificationErrorMessage: Record<AppErrorCodes, string>;
8
8
  declare enum PaymentErrorCodes {
9
9
  InputError = "input_error",
10
+ UserRejected = "user_rejected",
10
11
  PaymentRejected = "payment_rejected",
11
12
  InvalidReceiver = "invalid_receiver",
12
13
  InsufficientBalance = "insufficient_balance",
@@ -128,6 +129,16 @@ declare const SendHapticFeedbackErrorMessage: {
128
129
  generic_error: string;
129
130
  user_rejected: string;
130
131
  };
132
+ declare enum ShareFilesErrorCodes {
133
+ UserRejected = "user_rejected",
134
+ GenericError = "generic_error",
135
+ InvalidFileName = "invalid_file_name"
136
+ }
137
+ declare const ShareFilesErrorMessage: {
138
+ user_rejected: string;
139
+ generic_error: string;
140
+ invalid_file_name: string;
141
+ };
131
142
 
132
143
  declare enum Tokens {
133
144
  USDCE = "USDCE",
@@ -195,7 +206,7 @@ type TokensPayload = {
195
206
  };
196
207
  type PayCommandInput = {
197
208
  reference: string;
198
- to: string;
209
+ to: `0x${string}` | string;
199
210
  tokens: TokensPayload[];
200
211
  network?: Network;
201
212
  description: string;
@@ -240,7 +251,8 @@ type ShareContactsInput = {
240
251
  };
241
252
  type ShareContactsPayload = ShareContactsInput;
242
253
  declare enum Permission {
243
- Notifications = "notifications"
254
+ Notifications = "notifications",
255
+ Contacts = "contacts"
244
256
  }
245
257
  type RequestPermissionInput = {
246
258
  permission: Permission;
@@ -259,6 +271,15 @@ type SendHapticFeedbackInput = {
259
271
  style: 'light' | 'medium' | 'heavy';
260
272
  };
261
273
  type SendHapticFeedbackPayload = SendHapticFeedbackInput;
274
+ type ShareFile = {
275
+ url: string;
276
+ saved_file_name_with_extension: string;
277
+ };
278
+ type ShareFilesInput = {
279
+ files: ShareFile[];
280
+ mime_type: string;
281
+ };
282
+ type ShareFilesPayload = ShareFilesInput;
262
283
  type CommandReturnPayloadMap = {
263
284
  [Command.Verify]: VerifyCommandPayload;
264
285
  [Command.Pay]: PayCommandPayload;
@@ -283,7 +304,8 @@ declare enum ResponseEvent {
283
304
  MiniAppShareContacts = "miniapp-share-contacts",
284
305
  MiniAppRequestPermission = "miniapp-request-permission",
285
306
  MiniAppGetPermissions = "miniapp-get-permissions",
286
- MiniAppSendHapticFeedback = "miniapp-send-haptic-feedback"
307
+ MiniAppSendHapticFeedback = "miniapp-send-haptic-feedback",
308
+ MiniAppShareFiles = "miniapp-share-files"
287
309
  }
288
310
  type MiniAppVerifyActionSuccessPayload = {
289
311
  status: 'success';
@@ -431,6 +453,18 @@ type MiniAppSendHapticFeedbackErrorPayload = {
431
453
  version: number;
432
454
  };
433
455
  type MiniAppSendHapticFeedbackPayload = MiniAppSendHapticFeedbackSuccessPayload | MiniAppSendHapticFeedbackErrorPayload;
456
+ type MiniAppShareFilesSuccessPayload = {
457
+ status: 'success';
458
+ shared_files_count: number;
459
+ version: number;
460
+ timestamp: string;
461
+ };
462
+ type MiniAppShareFilesErrorPayload = {
463
+ status: 'error';
464
+ error_code: ShareFilesErrorCodes;
465
+ version: number;
466
+ };
467
+ type MiniAppShareFilesPayload = MiniAppShareFilesSuccessPayload | MiniAppShareFilesErrorPayload;
434
468
  type EventPayloadMap = {
435
469
  [ResponseEvent.MiniAppVerifyAction]: MiniAppVerifyActionPayload;
436
470
  [ResponseEvent.MiniAppPayment]: MiniAppPaymentPayload;
@@ -442,27 +476,37 @@ type EventPayloadMap = {
442
476
  [ResponseEvent.MiniAppRequestPermission]: MiniAppRequestPermissionPayload;
443
477
  [ResponseEvent.MiniAppGetPermissions]: MiniAppGetPermissionsPayload;
444
478
  [ResponseEvent.MiniAppSendHapticFeedback]: MiniAppSendHapticFeedbackPayload;
479
+ [ResponseEvent.MiniAppShareFiles]: MiniAppShareFilesPayload;
445
480
  };
446
481
  type EventPayload<T extends ResponseEvent = ResponseEvent> = T extends keyof EventPayloadMap ? EventPayloadMap[T] : never;
447
482
  type EventHandler<E extends ResponseEvent = ResponseEvent> = <T extends EventPayload<E>>(data: T) => void;
448
483
 
449
484
  type User = {
485
+ walletAddress?: string;
486
+ username?: string;
487
+ profilePictureUrl?: string;
488
+ permissions?: {
489
+ notifications: boolean;
490
+ contacts: boolean;
491
+ };
492
+ optedIntoOptionalAnalytics?: boolean;
493
+ worldAppVersion?: number;
494
+ deviceOS?: string;
495
+ };
496
+ type UserNameService = {
450
497
  walletAddress: string;
451
- username: string | null;
452
- profilePictureUrl: string | null;
498
+ username?: string;
499
+ profilePictureUrl?: string;
453
500
  };
454
501
 
455
502
  declare class MiniKit {
456
503
  private static readonly MINIKIT_VERSION;
457
- private static readonly commandVersion;
504
+ private static readonly miniKitCommandVersion;
458
505
  private static isCommandAvailable;
459
506
  private static listeners;
460
507
  static appId: string | null;
461
- /**
462
- * @deprecated you should use MiniKit.user.walletAddress instead
463
- */
464
- static walletAddress: string | null;
465
- static user: User | null;
508
+ static user: User;
509
+ private static isReady;
466
510
  private static sendInit;
467
511
  static subscribe<E extends ResponseEvent>(event: E, handler: EventHandler<E>): void;
468
512
  static unsubscribe(event: ResponseEvent): void;
@@ -471,7 +515,9 @@ declare class MiniKit {
471
515
  private static commandsValid;
472
516
  static install(appId?: string): MiniKitInstallReturnType;
473
517
  static isInstalled(debug?: boolean): boolean;
474
- static getUserByAddress: (address: string) => Promise<User>;
518
+ static getUserByAddress: (address?: string) => Promise<UserNameService>;
519
+ static getUserByUsername: (username: string) => Promise<UserNameService>;
520
+ static getUserInfo: (address?: string) => Promise<UserNameService>;
475
521
  static commands: {
476
522
  verify: (payload: VerifyCommandInput) => VerifyCommandPayload | null;
477
523
  pay: (payload: PayCommandInput) => PayCommandPayload | null;
@@ -514,7 +560,7 @@ type SiweMessage = {
514
560
  address?: string;
515
561
  statement?: string;
516
562
  uri: string;
517
- version: number;
563
+ version: string;
518
564
  chain_id: number;
519
565
  nonce: string;
520
566
  issued_at: string;
@@ -526,21 +572,6 @@ type SiweMessage = {
526
572
  declare const tokenToDecimals: (amount: number, token: Tokens) => number;
527
573
 
528
574
  declare const parseSiweMessage: (inputString: string) => SiweMessage;
529
- declare const SAFE_CONTRACT_ABI: {
530
- inputs: {
531
- internalType: string;
532
- name: string;
533
- type: string;
534
- }[];
535
- name: string;
536
- outputs: {
537
- internalType: string;
538
- name: string;
539
- type: string;
540
- }[];
541
- stateMutability: string;
542
- type: string;
543
- }[];
544
575
  declare const verifySiweMessage: (payload: MiniAppWalletAuthSuccessPayload, nonce: string, statement?: string, requestId?: string, userProvider?: Client) => Promise<{
545
576
  isValid: boolean;
546
577
  siweMessageData: SiweMessage;
@@ -548,4 +579,4 @@ declare const verifySiweMessage: (payload: MiniAppWalletAuthSuccessPayload, nonc
548
579
 
549
580
  declare const getIsUserVerified: (walletAddress: string, rpcUrl?: string) => Promise<boolean>;
550
581
 
551
- export { type AsyncHandlerReturn, Command, type CommandReturnPayload, type Contact, type EventHandler, type EventPayload, GetPermissionsErrorCodes, GetPermissionsErrorMessage, type GetPermissionsInput, type GetPermissionsPayload, type MiniAppGetPermissionsErrorPayload, type MiniAppGetPermissionsPayload, type MiniAppGetPermissionsSuccessPayload, type MiniAppPaymentErrorPayload, type MiniAppPaymentPayload, type MiniAppPaymentSuccessPayload, type MiniAppRequestPermissionErrorPayload, type MiniAppRequestPermissionPayload, type MiniAppRequestPermissionSuccessPayload, type MiniAppSendHapticFeedbackErrorPayload, type MiniAppSendHapticFeedbackPayload, type MiniAppSendHapticFeedbackSuccessPayload, type MiniAppSendTransactionErrorPayload, type MiniAppSendTransactionPayload, type MiniAppSendTransactionSuccessPayload, type MiniAppShareContactsErrorPayload, type MiniAppShareContactsPayload, type MiniAppShareContactsSuccessPayload, type MiniAppSignMessageErrorPayload, type MiniAppSignMessagePayload, type MiniAppSignMessageSuccessPayload, type MiniAppSignTypedDataErrorPayload, type MiniAppSignTypedDataPayload, type MiniAppSignTypedDataSuccessPayload, type MiniAppVerifyActionErrorPayload, type MiniAppVerifyActionPayload, type MiniAppVerifyActionSuccessPayload, type MiniAppWalletAuthErrorPayload, type MiniAppWalletAuthPayload, type MiniAppWalletAuthSuccessPayload, MiniKit, MiniKitInstallErrorCodes, MiniKitInstallErrorMessage, type MiniKitInstallReturnType, Network, type PayCommandInput, type PayCommandPayload, PaymentErrorCodes, PaymentErrorMessage, PaymentValidationErrors, Permission, type PermissionSettings, RequestPermissionErrorCodes, RequestPermissionErrorMessage, type RequestPermissionInput, type RequestPermissionPayload, ResponseEvent, SAFE_CONTRACT_ABI, SendHapticFeedbackErrorCodes, SendHapticFeedbackErrorMessage, type SendHapticFeedbackInput, type SendHapticFeedbackPayload, SendTransactionErrorCodes, SendTransactionErrorMessage, type SendTransactionInput, type SendTransactionPayload, ShareContactsErrorCodes, ShareContactsErrorMessage, type ShareContactsInput, type ShareContactsPayload, SignMessageErrorCodes, SignMessageErrorMessage, type SignMessageInput, type SignMessagePayload, SignTypedDataErrorCodes, SignTypedDataErrorMessage, type SignTypedDataInput, type SignTypedDataPayload, type SiweMessage, TokenDecimals, Tokens, type TokensPayload, VerificationErrorMessage, type VerifyCommandInput, type VerifyCommandPayload, WalletAuthErrorCodes, WalletAuthErrorMessage, type WalletAuthInput, type WalletAuthPayload, type WebViewBasePayload, getIsUserVerified, parseSiweMessage, tokenToDecimals, verifySiweMessage };
582
+ export { type AsyncHandlerReturn, Command, type CommandReturnPayload, type Contact, type EventHandler, type EventPayload, GetPermissionsErrorCodes, GetPermissionsErrorMessage, type GetPermissionsInput, type GetPermissionsPayload, type MiniAppGetPermissionsErrorPayload, type MiniAppGetPermissionsPayload, type MiniAppGetPermissionsSuccessPayload, type MiniAppPaymentErrorPayload, type MiniAppPaymentPayload, type MiniAppPaymentSuccessPayload, type MiniAppRequestPermissionErrorPayload, type MiniAppRequestPermissionPayload, type MiniAppRequestPermissionSuccessPayload, type MiniAppSendHapticFeedbackErrorPayload, type MiniAppSendHapticFeedbackPayload, type MiniAppSendHapticFeedbackSuccessPayload, type MiniAppSendTransactionErrorPayload, type MiniAppSendTransactionPayload, type MiniAppSendTransactionSuccessPayload, type MiniAppShareContactsErrorPayload, type MiniAppShareContactsPayload, type MiniAppShareContactsSuccessPayload, type MiniAppShareFilesErrorPayload, type MiniAppShareFilesPayload, type MiniAppShareFilesSuccessPayload, type MiniAppSignMessageErrorPayload, type MiniAppSignMessagePayload, type MiniAppSignMessageSuccessPayload, type MiniAppSignTypedDataErrorPayload, type MiniAppSignTypedDataPayload, type MiniAppSignTypedDataSuccessPayload, type MiniAppVerifyActionErrorPayload, type MiniAppVerifyActionPayload, type MiniAppVerifyActionSuccessPayload, type MiniAppWalletAuthErrorPayload, type MiniAppWalletAuthPayload, type MiniAppWalletAuthSuccessPayload, MiniKit, MiniKitInstallErrorCodes, MiniKitInstallErrorMessage, type MiniKitInstallReturnType, Network, type PayCommandInput, type PayCommandPayload, PaymentErrorCodes, PaymentErrorMessage, PaymentValidationErrors, Permission, type PermissionSettings, RequestPermissionErrorCodes, RequestPermissionErrorMessage, type RequestPermissionInput, type RequestPermissionPayload, ResponseEvent, SendHapticFeedbackErrorCodes, SendHapticFeedbackErrorMessage, type SendHapticFeedbackInput, type SendHapticFeedbackPayload, SendTransactionErrorCodes, SendTransactionErrorMessage, type SendTransactionInput, type SendTransactionPayload, ShareContactsErrorCodes, ShareContactsErrorMessage, type ShareContactsInput, type ShareContactsPayload, ShareFilesErrorCodes, ShareFilesErrorMessage, type ShareFilesInput, type ShareFilesPayload, SignMessageErrorCodes, SignMessageErrorMessage, type SignMessageInput, type SignMessagePayload, SignTypedDataErrorCodes, SignTypedDataErrorMessage, type SignTypedDataInput, type SignTypedDataPayload, type SiweMessage, TokenDecimals, Tokens, type TokensPayload, type User, type UserNameService, VerificationErrorMessage, type VerifyCommandInput, type VerifyCommandPayload, WalletAuthErrorCodes, WalletAuthErrorMessage, type WalletAuthInput, type WalletAuthPayload, type WebViewBasePayload, getIsUserVerified, parseSiweMessage, tokenToDecimals, verifySiweMessage };