{"_id":"@arlert-dev/provider-trustwallet","_rev":"6-67fc274835e6e47634ac65c683697795","name":"@arlert-dev/provider-trustwallet","dist-tags":{"latest":"0.48.0","next":"0.47.1-next.0"},"versions":{"0.46.1-next.4":{"name":"@arlert-dev/provider-trustwallet","version":"0.46.1-next.4","license":"MIT","_id":"@arlert-dev/provider-trustwallet@0.46.1-next.4","maintainers":[{"name":"alert_armin","email":"arlert@rango.exchange"}],"dist":{"shasum":"8a3ea5561fda3dce2f652869a73e2eaaf202596e","tarball":"https://registry.npmjs.org/@arlert-dev/provider-trustwallet/-/provider-trustwallet-0.46.1-next.4.tgz","fileCount":42,"integrity":"sha512-Zf9kldmzFx5iPDB1esndDFbkQvvzrnvsy2enH9SICOE8MjiJ38sOTQbUhiF9W01oZSodlfng9GQqPSn/QecybQ==","signatures":[{"sig":"MEUCIQDq/6+5lWtcTESo6UykfVyEnUS2YJKwCf1tNxBA6aRNXAIgPmNEw3+c2PqplhgOf8DScMhrkCR2Sp603/QYEuCcWq8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":52735},"main":"./dist/mod.js","type":"module","source":"./src/mod.ts","exports":{".":"./dist/mod.js"},"scripts":{"lint":"eslint \"**/*.{ts,tsx}\"","build":"node ../../scripts/build/command.mjs --path wallets/provider-trustwallet --inputs src/mod.ts","clean":"rimraf dist","format":"prettier --write '{.,src}/**/*.{ts,tsx}'","ts-check":"tsc --declaration --emitDeclarationOnly -p ./tsconfig.json"},"typings":"dist/mod.d.ts","_npmUser":{"name":"alert_armin","email":"arlert@rango.exchange"},"description":"Trust Wallet integration for hub. [Homepage](https://trustwallet.com/) | [Docs](https://developer.trustwallet.com/developer/develop-for-trust/browser-extension)","directories":{},"dependencies":{"bs58":"^5.0.0","rango-types":"^0.1.88","@arlert-dev/signer-evm":"^0.37.1-next.0","@arlert-dev/wallets-shared":"^0.46.1-next.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/provider-trustwallet_0.46.1-next.4_1753876113498_0.6143956196985452","host":"s3://npm-registry-packages-npm-production"}},"0.47.0":{"name":"@arlert-dev/provider-trustwallet","version":"0.47.0","license":"MIT","_id":"@arlert-dev/provider-trustwallet@0.47.0","maintainers":[{"name":"alert_armin","email":"arlert@rango.exchange"}],"dist":{"shasum":"73558b628dfeeaf6dfe9c2788b086ab4ebc0164f","tarball":"https://registry.npmjs.org/@arlert-dev/provider-trustwallet/-/provider-trustwallet-0.47.0.tgz","fileCount":42,"integrity":"sha512-QsPxWf0ugMXpjkhLuibP8lE9CEwvY3wjeYEY54KjzBdLzphAu2xmmLc85/eT8inqZLHXH2vwQbrcOwFZAt+8qw==","signatures":[{"sig":"MEYCIQDMxvnMJTg5eDVkDTBPN3EBmBISOHqx9gYe4DdJDQJeWwIhAO1OQoIJ00325fawkCqBDbHjoZoI4uqDyz6zb+2aqjlh","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53340},"main":"./dist/mod.js","type":"module","source":"./src/mod.ts","exports":{".":"./dist/mod.js"},"scripts":{"lint":"eslint \"**/*.{ts,tsx}\"","build":"node ../../scripts/build/command.mjs --path wallets/provider-trustwallet --inputs src/mod.ts","clean":"rimraf dist","format":"prettier --write '{.,src}/**/*.{ts,tsx}'","ts-check":"tsc --declaration --emitDeclarationOnly -p ./tsconfig.json"},"typings":"dist/mod.d.ts","_npmUser":{"name":"alert_armin","email":"arlert@rango.exchange"},"description":"Trust Wallet integration for hub. [Homepage](https://trustwallet.com/) | [Docs](https://developer.trustwallet.com/developer/develop-for-trust/browser-extension)","directories":{},"dependencies":{"bs58":"^5.0.0","rango-types":"^0.1.88","@arlert-dev/signer-evm":"^0.37.1-next.0","@arlert-dev/wallets-shared":"^0.46.1-next.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/provider-trustwallet_0.47.0_1754207255969_0.36383215776806166","host":"s3://npm-registry-packages-npm-production"}},"0.47.1-next.0":{"name":"@arlert-dev/provider-trustwallet","version":"0.47.1-next.0","license":"MIT","_id":"@arlert-dev/provider-trustwallet@0.47.1-next.0","maintainers":[{"name":"alert_armin","email":"arlert@rango.exchange"}],"dist":{"shasum":"cb005138fd4e499e200727aa7b0aded695086d43","tarball":"https://registry.npmjs.org/@arlert-dev/provider-trustwallet/-/provider-trustwallet-0.47.1-next.0.tgz","fileCount":42,"integrity":"sha512-QbA+MRF2PxyxO6yjneSb/fPb2VVn7f1xFPoeLBK8A+LayzB92sNiTid+IIXLdPCFCYYK0FoHzJ7s3lu1QMb9GQ==","signatures":[{"sig":"MEUCIGywyXRtCA9P0+eh4MbIyUQHp2CyyoeymOUa6NakSyp+AiEA3wVdSdihyimT+AuNV9HxEF62sYCCHSxgw9EKvrgAcRc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":53347},"main":"./dist/mod.js","type":"module","source":"./src/mod.ts","exports":{".":"./dist/mod.js"},"scripts":{"lint":"eslint \"**/*.{ts,tsx}\"","build":"node ../../scripts/build/command.mjs --path wallets/provider-trustwallet --inputs src/mod.ts","clean":"rimraf dist","format":"prettier --write '{.,src}/**/*.{ts,tsx}'","ts-check":"tsc --declaration --emitDeclarationOnly -p ./tsconfig.json"},"typings":"dist/mod.d.ts","_npmUser":{"name":"alert_armin","email":"arlert@rango.exchange"},"description":"Trust Wallet integration for hub. [Homepage](https://trustwallet.com/) | [Docs](https://developer.trustwallet.com/developer/develop-for-trust/browser-extension)","directories":{},"dependencies":{"bs58":"^5.0.0","rango-types":"^0.1.88","@arlert-dev/signer-evm":"^0.37.1-next.0","@arlert-dev/wallets-shared":"^0.46.1-next.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"readme.md","_npmOperationalInternal":{"tmp":"tmp/provider-trustwallet_0.47.1-next.0_1754208430100_0.9169893234394737","host":"s3://npm-registry-packages-npm-production"}},"0.48.0":{"name":"@arlert-dev/provider-trustwallet","version":"0.48.0","license":"MIT","type":"module","source":"./src/mod.ts","main":"./dist/mod.js","exports":{".":"./dist/mod.js"},"typings":"dist/mod.d.ts","scripts":{"build":"node ../../scripts/build/command.mjs --path wallets/provider-trustwallet --inputs src/mod.ts","ts-check":"tsc --declaration --emitDeclarationOnly -p ./tsconfig.json","clean":"rimraf dist","format":"prettier --write '{.,src}/**/*.{ts,tsx}'","lint":"eslint \"**/*.{ts,tsx}\""},"dependencies":{"@arlert-dev/signer-evm":"^0.37.1-next.0","@arlert-dev/wallets-shared":"^0.46.1-next.3","bs58":"^5.0.0","rango-types":"^0.1.88"},"publishConfig":{"access":"public"},"description":"Trust Wallet integration for hub. [Homepage](https://trustwallet.com/) | [Docs](https://developer.trustwallet.com/developer/develop-for-trust/browser-extension)","_id":"@arlert-dev/provider-trustwallet@0.48.0","dist":{"shasum":"136094888cd2edc2af2f4d267a15cea479873b8b","integrity":"sha512-llFjWS09C8akNVk+r1esJmxebcpk68/xHLVlMgEhdxOzqX3mLCf1QwnSRgDVhYfDbKzFqw9/p25CFnOuoM8dYw==","tarball":"https://registry.npmjs.org/@arlert-dev/provider-trustwallet/-/provider-trustwallet-0.48.0.tgz","fileCount":42,"unpackedSize":53340,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIF9z22rvfKFI1xb6MwIO/JbcSG0JlbuVJIhCQmJE8ZQsAiAPj9yfkuw+t1a1KVXQSomN+nLawfBL+Xu8CaLzH2yA5A=="}]},"_npmUser":{"name":"alert_armin","email":"arlert@rango.exchange"},"directories":{},"maintainers":[{"name":"alert_armin","email":"arlert@rango.exchange"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/provider-trustwallet_0.48.0_1754215739489_0.6254468734601157"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-30T11:48:33.371Z","modified":"2025-08-03T10:08:59.904Z","0.46.1-next.4":"2025-07-30T11:48:33.764Z","0.47.0-next.0":"2025-08-02T07:06:17.748Z","0.47.0":"2025-08-03T07:47:36.125Z","0.47.1-next.0":"2025-08-03T08:07:10.278Z","0.48.0":"2025-08-03T10:08:59.696Z"},"license":"MIT","description":"Trust Wallet integration for hub. [Homepage](https://trustwallet.com/) | [Docs](https://developer.trustwallet.com/developer/develop-for-trust/browser-extension)","maintainers":[{"name":"alert_armin","email":"arlert@rango.exchange"}],"readme":"# Trust Wallet\nTrust Wallet integration for hub.  \n[Homepage](https://trustwallet.com/) | [Docs](https://developer.trustwallet.com/developer/develop-for-trust/browser-extension)  \n\n\n## Implementation notes/limitations\n\n### Group\n\n#### ⚠️ EVM & Solana\nTrust Wallet supports both EVM and Solana, but **simultaneous connections across namespaces are unreliable**.  \n\n### Feature\n\n#### ⚠️ Switch Account\nWhen connected to a **single namespace**:\n- Switching **from a private key wallet to a full wallet** triggers a **switch account event**.\n- Switching **from a full wallet to a private key wallet** emits **no event**.\n\nWhen connected to **both namespaces simultaneously**:\n- Only the **first connected namespace** (e.g., EVM or Solana) properly receives events.\n- The **second namespace** does **not** receive `accountsChanged` events.\n\n#### ⚠️ Auto Connect\n- **Auto connect is not supported**:\n  - On **Solana**, there is no silent reconnection mechanism.\n  - On **EVM**, the wallet always opens a popup when the dApp is not already connected.\n\n---\n\nMore wallet information can be found in [readme.md](../readme.md).","readmeFilename":"readme.md"}