@blazium/ton-connect-mobile 1.1.1 → 1.1.3

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.
@@ -82,9 +82,9 @@ export interface ConnectionRequestPayload {
82
82
  name: 'ton_addr';
83
83
  }>;
84
84
  /** Return strategy - how wallet should return to the app */
85
- returnStrategy?: 'back' | 'none';
86
- // NOTE: returnScheme is NOT part of the official TON Connect protocol
87
- // For mobile apps, wallets should handle callbacks based on the manifest URL
85
+ returnStrategy?: 'back' | 'post_redirect' | 'none';
86
+ /** Return scheme for mobile apps (required by many wallets for proper callback handling) */
87
+ returnScheme?: string;
88
88
  }
89
89
 
90
90
  /**
@@ -143,7 +143,7 @@ export interface TransactionRequestPayload {
143
143
  /** Return URL scheme (for mobile apps) */
144
144
  returnScheme?: string;
145
145
  /** Return strategy */
146
- returnStrategy?: 'back' | 'none';
146
+ returnStrategy?: 'back' | 'post_redirect' | 'none';
147
147
  }
148
148
 
149
149
  /**