@reown/appkit-react-native 0.0.0-feat-multichain-20250801190527 → 0.0.0-feat-multichain-20250805142032

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.
Files changed (264) hide show
  1. package/lib/commonjs/AppKit.js.map +1 -1
  2. package/lib/commonjs/connectors/WalletConnectConnector.js +13 -1
  3. package/lib/commonjs/connectors/WalletConnectConnector.js.map +1 -1
  4. package/lib/commonjs/hooks/useAppKitEvents.js.map +1 -1
  5. package/lib/commonjs/hooks/useProvider.js +29 -10
  6. package/lib/commonjs/hooks/useProvider.js.map +1 -1
  7. package/lib/commonjs/index.js.map +1 -1
  8. package/lib/commonjs/partials/w3m-account-activity/index.js +5 -5
  9. package/lib/commonjs/partials/w3m-account-activity/index.js.map +1 -1
  10. package/lib/commonjs/partials/w3m-account-tokens/index.js +4 -4
  11. package/lib/commonjs/partials/w3m-account-tokens/index.js.map +1 -1
  12. package/lib/commonjs/partials/w3m-account-wallet-features/index.js +5 -5
  13. package/lib/commonjs/partials/w3m-account-wallet-features/index.js.map +1 -1
  14. package/lib/commonjs/partials/w3m-all-wallets-search/index.js.map +1 -1
  15. package/lib/commonjs/partials/w3m-connecting-body/index.js +2 -2
  16. package/lib/commonjs/partials/w3m-connecting-body/index.js.map +1 -1
  17. package/lib/commonjs/partials/w3m-connecting-mobile/index.js +6 -6
  18. package/lib/commonjs/partials/w3m-connecting-mobile/index.js.map +1 -1
  19. package/lib/commonjs/partials/w3m-connecting-qrcode/index.js +23 -3
  20. package/lib/commonjs/partials/w3m-connecting-qrcode/index.js.map +1 -1
  21. package/lib/commonjs/partials/w3m-connecting-web/index.js +4 -4
  22. package/lib/commonjs/partials/w3m-connecting-web/index.js.map +1 -1
  23. package/lib/commonjs/partials/w3m-placeholder/index.js +5 -5
  24. package/lib/commonjs/partials/w3m-placeholder/index.js.map +1 -1
  25. package/lib/commonjs/partials/w3m-selector-modal/index.js +2 -2
  26. package/lib/commonjs/partials/w3m-selector-modal/index.js.map +1 -1
  27. package/lib/commonjs/partials/w3m-send-input-token/index.js +2 -2
  28. package/lib/commonjs/partials/w3m-send-input-token/index.js.map +1 -1
  29. package/lib/commonjs/partials/w3m-swap-input/index.js +2 -2
  30. package/lib/commonjs/partials/w3m-swap-input/index.js.map +1 -1
  31. package/lib/commonjs/types.js +6 -0
  32. package/lib/commonjs/types.js.map +1 -0
  33. package/lib/commonjs/views/w3m-account-default-view/components/auth-buttons.js +2 -2
  34. package/lib/commonjs/views/w3m-account-default-view/components/auth-buttons.js.map +1 -1
  35. package/lib/commonjs/views/w3m-account-default-view/index.js +15 -15
  36. package/lib/commonjs/views/w3m-account-default-view/index.js.map +1 -1
  37. package/lib/commonjs/views/w3m-all-wallets-view/index.js +1 -1
  38. package/lib/commonjs/views/w3m-all-wallets-view/index.js.map +1 -1
  39. package/lib/commonjs/views/w3m-connect-view/components/recent-wallet-list.js.map +1 -1
  40. package/lib/commonjs/views/w3m-connect-view/components/social-login-list.js +4 -4
  41. package/lib/commonjs/views/w3m-connect-view/components/social-login-list.js.map +1 -1
  42. package/lib/commonjs/views/w3m-connect-view/index.js +7 -7
  43. package/lib/commonjs/views/w3m-connect-view/index.js.map +1 -1
  44. package/lib/commonjs/views/w3m-connecting-external-view/index.js +2 -2
  45. package/lib/commonjs/views/w3m-connecting-external-view/index.js.map +1 -1
  46. package/lib/commonjs/views/w3m-connecting-social-view/index.js +2 -2
  47. package/lib/commonjs/views/w3m-connecting-social-view/index.js.map +1 -1
  48. package/lib/commonjs/views/w3m-connecting-view/index.js.map +1 -1
  49. package/lib/commonjs/views/w3m-get-wallet-view/index.js.map +1 -1
  50. package/lib/commonjs/views/w3m-network-switch-view/index.js +2 -2
  51. package/lib/commonjs/views/w3m-network-switch-view/index.js.map +1 -1
  52. package/lib/commonjs/views/w3m-onramp-checkout-view/index.js +15 -15
  53. package/lib/commonjs/views/w3m-onramp-checkout-view/index.js.map +1 -1
  54. package/lib/commonjs/views/w3m-onramp-settings-view/components/Country.js +4 -4
  55. package/lib/commonjs/views/w3m-onramp-settings-view/components/Country.js.map +1 -1
  56. package/lib/commonjs/views/w3m-onramp-settings-view/index.js +4 -4
  57. package/lib/commonjs/views/w3m-onramp-settings-view/index.js.map +1 -1
  58. package/lib/commonjs/views/w3m-onramp-settings-view/utils.js.map +1 -1
  59. package/lib/commonjs/views/w3m-onramp-transaction-view/index.js +5 -5
  60. package/lib/commonjs/views/w3m-onramp-transaction-view/index.js.map +1 -1
  61. package/lib/commonjs/views/w3m-onramp-view/components/Currency.js +2 -2
  62. package/lib/commonjs/views/w3m-onramp-view/components/Currency.js.map +1 -1
  63. package/lib/commonjs/views/w3m-onramp-view/components/CurrencyInput.js +2 -2
  64. package/lib/commonjs/views/w3m-onramp-view/components/CurrencyInput.js.map +1 -1
  65. package/lib/commonjs/views/w3m-onramp-view/components/PaymentButton.js +4 -4
  66. package/lib/commonjs/views/w3m-onramp-view/components/PaymentButton.js.map +1 -1
  67. package/lib/commonjs/views/w3m-onramp-view/components/PaymentMethod.js +2 -2
  68. package/lib/commonjs/views/w3m-onramp-view/components/PaymentMethod.js.map +1 -1
  69. package/lib/commonjs/views/w3m-onramp-view/components/Quote.js +4 -4
  70. package/lib/commonjs/views/w3m-onramp-view/components/Quote.js.map +1 -1
  71. package/lib/commonjs/views/w3m-onramp-view/components/SelectPaymentModal.js.map +1 -1
  72. package/lib/commonjs/views/w3m-onramp-view/index.js.map +1 -1
  73. package/lib/commonjs/views/w3m-swap-view/components/select-token-view/utils.js.map +1 -1
  74. package/lib/commonjs/views/w3m-swap-view/index.js +3 -3
  75. package/lib/commonjs/views/w3m-swap-view/index.js.map +1 -1
  76. package/lib/module/AppKit.js.map +1 -1
  77. package/lib/module/connectors/WalletConnectConnector.js +13 -1
  78. package/lib/module/connectors/WalletConnectConnector.js.map +1 -1
  79. package/lib/module/hooks/useAppKitEvents.js.map +1 -1
  80. package/lib/module/hooks/useProvider.js +30 -10
  81. package/lib/module/hooks/useProvider.js.map +1 -1
  82. package/lib/module/index.js.map +1 -1
  83. package/lib/module/partials/w3m-account-activity/index.js +5 -5
  84. package/lib/module/partials/w3m-account-activity/index.js.map +1 -1
  85. package/lib/module/partials/w3m-account-tokens/index.js +4 -4
  86. package/lib/module/partials/w3m-account-tokens/index.js.map +1 -1
  87. package/lib/module/partials/w3m-account-wallet-features/index.js +5 -5
  88. package/lib/module/partials/w3m-account-wallet-features/index.js.map +1 -1
  89. package/lib/module/partials/w3m-all-wallets-list/index.js.map +1 -1
  90. package/lib/module/partials/w3m-all-wallets-search/index.js.map +1 -1
  91. package/lib/module/partials/w3m-connecting-body/index.js +2 -2
  92. package/lib/module/partials/w3m-connecting-body/index.js.map +1 -1
  93. package/lib/module/partials/w3m-connecting-mobile/index.js +6 -6
  94. package/lib/module/partials/w3m-connecting-mobile/index.js.map +1 -1
  95. package/lib/module/partials/w3m-connecting-qrcode/index.js +24 -4
  96. package/lib/module/partials/w3m-connecting-qrcode/index.js.map +1 -1
  97. package/lib/module/partials/w3m-connecting-web/index.js +4 -4
  98. package/lib/module/partials/w3m-connecting-web/index.js.map +1 -1
  99. package/lib/module/partials/w3m-placeholder/index.js +5 -5
  100. package/lib/module/partials/w3m-placeholder/index.js.map +1 -1
  101. package/lib/module/partials/w3m-selector-modal/index.js +2 -2
  102. package/lib/module/partials/w3m-selector-modal/index.js.map +1 -1
  103. package/lib/module/partials/w3m-send-input-token/index.js +2 -2
  104. package/lib/module/partials/w3m-send-input-token/index.js.map +1 -1
  105. package/lib/module/partials/w3m-swap-input/index.js +2 -2
  106. package/lib/module/partials/w3m-swap-input/index.js.map +1 -1
  107. package/lib/module/types.js +4 -0
  108. package/lib/module/types.js.map +1 -0
  109. package/lib/module/utils/HelpersUtil.js.map +1 -1
  110. package/lib/module/utils/NetworkUtil.js.map +1 -1
  111. package/lib/module/views/w3m-account-default-view/components/auth-buttons.js +2 -2
  112. package/lib/module/views/w3m-account-default-view/components/auth-buttons.js.map +1 -1
  113. package/lib/module/views/w3m-account-default-view/index.js +15 -15
  114. package/lib/module/views/w3m-account-default-view/index.js.map +1 -1
  115. package/lib/module/views/w3m-all-wallets-view/index.js +1 -1
  116. package/lib/module/views/w3m-all-wallets-view/index.js.map +1 -1
  117. package/lib/module/views/w3m-connect-view/components/all-wallet-list.js.map +1 -1
  118. package/lib/module/views/w3m-connect-view/components/custom-wallet-list.js.map +1 -1
  119. package/lib/module/views/w3m-connect-view/components/recent-wallet-list.js.map +1 -1
  120. package/lib/module/views/w3m-connect-view/components/social-login-list.js +4 -4
  121. package/lib/module/views/w3m-connect-view/components/social-login-list.js.map +1 -1
  122. package/lib/module/views/w3m-connect-view/index.js +7 -7
  123. package/lib/module/views/w3m-connect-view/index.js.map +1 -1
  124. package/lib/module/views/w3m-connecting-external-view/index.js +2 -2
  125. package/lib/module/views/w3m-connecting-external-view/index.js.map +1 -1
  126. package/lib/module/views/w3m-connecting-social-view/index.js +2 -2
  127. package/lib/module/views/w3m-connecting-social-view/index.js.map +1 -1
  128. package/lib/module/views/w3m-connecting-view/index.js.map +1 -1
  129. package/lib/module/views/w3m-get-wallet-view/index.js.map +1 -1
  130. package/lib/module/views/w3m-network-switch-view/index.js +2 -2
  131. package/lib/module/views/w3m-network-switch-view/index.js.map +1 -1
  132. package/lib/module/views/w3m-onramp-checkout-view/index.js +15 -15
  133. package/lib/module/views/w3m-onramp-checkout-view/index.js.map +1 -1
  134. package/lib/module/views/w3m-onramp-settings-view/components/Country.js +4 -4
  135. package/lib/module/views/w3m-onramp-settings-view/components/Country.js.map +1 -1
  136. package/lib/module/views/w3m-onramp-settings-view/index.js +4 -4
  137. package/lib/module/views/w3m-onramp-settings-view/index.js.map +1 -1
  138. package/lib/module/views/w3m-onramp-settings-view/utils.js.map +1 -1
  139. package/lib/module/views/w3m-onramp-transaction-view/index.js +5 -5
  140. package/lib/module/views/w3m-onramp-transaction-view/index.js.map +1 -1
  141. package/lib/module/views/w3m-onramp-view/components/Currency.js +2 -2
  142. package/lib/module/views/w3m-onramp-view/components/Currency.js.map +1 -1
  143. package/lib/module/views/w3m-onramp-view/components/CurrencyInput.js +2 -2
  144. package/lib/module/views/w3m-onramp-view/components/CurrencyInput.js.map +1 -1
  145. package/lib/module/views/w3m-onramp-view/components/PaymentButton.js +4 -4
  146. package/lib/module/views/w3m-onramp-view/components/PaymentButton.js.map +1 -1
  147. package/lib/module/views/w3m-onramp-view/components/PaymentMethod.js +2 -2
  148. package/lib/module/views/w3m-onramp-view/components/PaymentMethod.js.map +1 -1
  149. package/lib/module/views/w3m-onramp-view/components/Quote.js +4 -4
  150. package/lib/module/views/w3m-onramp-view/components/Quote.js.map +1 -1
  151. package/lib/module/views/w3m-onramp-view/components/SelectPaymentModal.js.map +1 -1
  152. package/lib/module/views/w3m-onramp-view/index.js.map +1 -1
  153. package/lib/module/views/w3m-swap-view/components/select-token-view/index.js.map +1 -1
  154. package/lib/module/views/w3m-swap-view/components/select-token-view/utils.js.map +1 -1
  155. package/lib/module/views/w3m-swap-view/index.js +3 -3
  156. package/lib/module/views/w3m-swap-view/index.js.map +1 -1
  157. package/lib/typescript/AppKit.d.ts +2 -25
  158. package/lib/typescript/AppKit.d.ts.map +1 -1
  159. package/lib/typescript/connectors/WalletConnectConnector.d.ts +1 -1
  160. package/lib/typescript/connectors/WalletConnectConnector.d.ts.map +1 -1
  161. package/lib/typescript/hooks/useAppKitEvents.d.ts +4 -3
  162. package/lib/typescript/hooks/useAppKitEvents.d.ts.map +1 -1
  163. package/lib/typescript/hooks/useProvider.d.ts +28 -1
  164. package/lib/typescript/hooks/useProvider.d.ts.map +1 -1
  165. package/lib/typescript/index.d.ts +1 -0
  166. package/lib/typescript/index.d.ts.map +1 -1
  167. package/lib/typescript/partials/w3m-all-wallets-list/index.d.ts +1 -1
  168. package/lib/typescript/partials/w3m-all-wallets-list/index.d.ts.map +1 -1
  169. package/lib/typescript/partials/w3m-all-wallets-search/index.d.ts +1 -1
  170. package/lib/typescript/partials/w3m-all-wallets-search/index.d.ts.map +1 -1
  171. package/lib/typescript/partials/w3m-connecting-header/index.d.ts +1 -1
  172. package/lib/typescript/partials/w3m-connecting-header/index.d.ts.map +1 -1
  173. package/lib/typescript/partials/w3m-connecting-qrcode/index.d.ts.map +1 -1
  174. package/lib/typescript/partials/w3m-swap-input/index.d.ts +1 -1
  175. package/lib/typescript/partials/w3m-swap-input/index.d.ts.map +1 -1
  176. package/lib/typescript/types.d.ts +156 -0
  177. package/lib/typescript/types.d.ts.map +1 -0
  178. package/lib/typescript/utils/HelpersUtil.d.ts +1 -2
  179. package/lib/typescript/utils/HelpersUtil.d.ts.map +1 -1
  180. package/lib/typescript/utils/NetworkUtil.d.ts +1 -2
  181. package/lib/typescript/utils/NetworkUtil.d.ts.map +1 -1
  182. package/lib/typescript/views/w3m-all-wallets-view/index.d.ts.map +1 -1
  183. package/lib/typescript/views/w3m-connect-view/components/all-wallet-list.d.ts +1 -1
  184. package/lib/typescript/views/w3m-connect-view/components/all-wallet-list.d.ts.map +1 -1
  185. package/lib/typescript/views/w3m-connect-view/components/custom-wallet-list.d.ts +1 -1
  186. package/lib/typescript/views/w3m-connect-view/components/custom-wallet-list.d.ts.map +1 -1
  187. package/lib/typescript/views/w3m-connect-view/components/recent-wallet-list.d.ts +1 -1
  188. package/lib/typescript/views/w3m-connect-view/components/recent-wallet-list.d.ts.map +1 -1
  189. package/lib/typescript/views/w3m-connect-view/index.d.ts.map +1 -1
  190. package/lib/typescript/views/w3m-connect-view/utils.d.ts +1 -1
  191. package/lib/typescript/views/w3m-connect-view/utils.d.ts.map +1 -1
  192. package/lib/typescript/views/w3m-get-wallet-view/index.d.ts.map +1 -1
  193. package/lib/typescript/views/w3m-onramp-settings-view/components/Country.d.ts +1 -1
  194. package/lib/typescript/views/w3m-onramp-settings-view/components/Country.d.ts.map +1 -1
  195. package/lib/typescript/views/w3m-onramp-settings-view/index.d.ts.map +1 -1
  196. package/lib/typescript/views/w3m-onramp-settings-view/utils.d.ts +1 -1
  197. package/lib/typescript/views/w3m-onramp-settings-view/utils.d.ts.map +1 -1
  198. package/lib/typescript/views/w3m-onramp-view/components/Currency.d.ts +1 -1
  199. package/lib/typescript/views/w3m-onramp-view/components/Currency.d.ts.map +1 -1
  200. package/lib/typescript/views/w3m-onramp-view/components/PaymentMethod.d.ts +1 -1
  201. package/lib/typescript/views/w3m-onramp-view/components/PaymentMethod.d.ts.map +1 -1
  202. package/lib/typescript/views/w3m-onramp-view/components/Quote.d.ts +1 -1
  203. package/lib/typescript/views/w3m-onramp-view/components/Quote.d.ts.map +1 -1
  204. package/lib/typescript/views/w3m-onramp-view/components/SelectPaymentModal.d.ts.map +1 -1
  205. package/lib/typescript/views/w3m-onramp-view/index.d.ts.map +1 -1
  206. package/lib/typescript/views/w3m-onramp-view/utils.d.ts +1 -1
  207. package/lib/typescript/views/w3m-onramp-view/utils.d.ts.map +1 -1
  208. package/lib/typescript/views/w3m-swap-view/components/select-token-view/index.d.ts +1 -1
  209. package/lib/typescript/views/w3m-swap-view/components/select-token-view/index.d.ts.map +1 -1
  210. package/lib/typescript/views/w3m-swap-view/components/select-token-view/utils.d.ts +1 -1
  211. package/lib/typescript/views/w3m-swap-view/components/select-token-view/utils.d.ts.map +1 -1
  212. package/lib/typescript/views/w3m-swap-view/index.d.ts.map +1 -1
  213. package/package.json +5 -5
  214. package/src/AppKit.ts +3 -35
  215. package/src/connectors/WalletConnectConnector.ts +17 -2
  216. package/src/hooks/useAppKitEvents.ts +2 -5
  217. package/src/hooks/useProvider.ts +30 -9
  218. package/src/index.ts +1 -0
  219. package/src/partials/w3m-account-activity/index.tsx +5 -5
  220. package/src/partials/w3m-account-tokens/index.tsx +2 -2
  221. package/src/partials/w3m-account-wallet-features/index.tsx +6 -6
  222. package/src/partials/w3m-all-wallets-list/index.tsx +2 -2
  223. package/src/partials/w3m-all-wallets-search/index.tsx +2 -6
  224. package/src/partials/w3m-connecting-body/index.tsx +2 -2
  225. package/src/partials/w3m-connecting-header/index.tsx +1 -1
  226. package/src/partials/w3m-connecting-mobile/index.tsx +6 -6
  227. package/src/partials/w3m-connecting-qrcode/index.tsx +14 -4
  228. package/src/partials/w3m-connecting-web/index.tsx +4 -4
  229. package/src/partials/w3m-placeholder/index.tsx +8 -8
  230. package/src/partials/w3m-selector-modal/index.tsx +2 -2
  231. package/src/partials/w3m-send-input-token/index.tsx +2 -2
  232. package/src/partials/w3m-swap-input/index.tsx +3 -4
  233. package/src/types.ts +187 -0
  234. package/src/utils/HelpersUtil.ts +1 -1
  235. package/src/utils/NetworkUtil.ts +1 -1
  236. package/src/views/w3m-account-default-view/components/auth-buttons.tsx +2 -2
  237. package/src/views/w3m-account-default-view/index.tsx +20 -20
  238. package/src/views/w3m-all-wallets-view/index.tsx +2 -7
  239. package/src/views/w3m-connect-view/components/all-wallet-list.tsx +2 -2
  240. package/src/views/w3m-connect-view/components/custom-wallet-list.tsx +1 -1
  241. package/src/views/w3m-connect-view/components/recent-wallet-list.tsx +2 -6
  242. package/src/views/w3m-connect-view/components/social-login-list.tsx +4 -4
  243. package/src/views/w3m-connect-view/index.tsx +10 -11
  244. package/src/views/w3m-connect-view/utils.ts +1 -1
  245. package/src/views/w3m-connecting-external-view/index.tsx +2 -2
  246. package/src/views/w3m-connecting-social-view/index.tsx +2 -2
  247. package/src/views/w3m-connecting-view/index.tsx +1 -1
  248. package/src/views/w3m-get-wallet-view/index.tsx +2 -1
  249. package/src/views/w3m-network-switch-view/index.tsx +2 -2
  250. package/src/views/w3m-onramp-checkout-view/index.tsx +15 -15
  251. package/src/views/w3m-onramp-settings-view/components/Country.tsx +6 -4
  252. package/src/views/w3m-onramp-settings-view/index.tsx +6 -9
  253. package/src/views/w3m-onramp-settings-view/utils.ts +2 -5
  254. package/src/views/w3m-onramp-transaction-view/index.tsx +6 -6
  255. package/src/views/w3m-onramp-view/components/Currency.tsx +3 -3
  256. package/src/views/w3m-onramp-view/components/CurrencyInput.tsx +2 -2
  257. package/src/views/w3m-onramp-view/components/PaymentButton.tsx +4 -4
  258. package/src/views/w3m-onramp-view/components/PaymentMethod.tsx +4 -3
  259. package/src/views/w3m-onramp-view/components/Quote.tsx +4 -5
  260. package/src/views/w3m-onramp-view/components/SelectPaymentModal.tsx +2 -5
  261. package/src/views/w3m-onramp-view/index.tsx +5 -2
  262. package/src/views/w3m-swap-view/components/select-token-view/index.tsx +3 -3
  263. package/src/views/w3m-swap-view/components/select-token-view/utils.ts +2 -1
  264. package/src/views/w3m-swap-view/index.tsx +5 -6
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-get-wallet-view/index.tsx"],"names":[],"mappings":"AAMA,wBAAgB,aAAa,4CA2C5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-get-wallet-view/index.tsx"],"names":[],"mappings":"AAOA,wBAAgB,aAAa,4CA2C5B"}
@@ -1,4 +1,4 @@
1
- import type { OnRampCountry } from '@reown/appkit-core-react-native';
1
+ import { type OnRampCountry } from '@reown/appkit-common-react-native';
2
2
  interface Props {
3
3
  onPress: (item: OnRampCountry) => void;
4
4
  item: OnRampCountry;
@@ -1 +1 @@
1
- {"version":3,"file":"Country.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-settings-view/components/Country.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;AAYrE,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvC,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,2CAyBzD"}
1
+ {"version":3,"file":"Country.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-settings-view/components/Country.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,aAAa,EAAE,MAAM,mCAAmC,CAAC;AAYvE,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,aAAa,KAAK,IAAI,CAAC;IACvC,IAAI,EAAE,aAAa,CAAC;IACpB,QAAQ,EAAE,OAAO,CAAC;CACnB;AAED,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,wBAAgB,OAAO,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,KAAK,2CA2BzD"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-settings-view/index.tsx"],"names":[],"mappings":"AA2BA,wBAAgB,kBAAkB,4CAqHjC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-settings-view/index.tsx"],"names":[],"mappings":"AAwBA,wBAAgB,kBAAkB,4CAqHjC"}
@@ -1,4 +1,4 @@
1
- import { type OnRampCountry, type OnRampFiatCurrency } from '@reown/appkit-core-react-native';
1
+ import { type OnRampCountry, type OnRampFiatCurrency } from '@reown/appkit-common-react-native';
2
2
  type ModalType = 'country' | 'paymentCurrency';
3
3
  export declare const getItemHeight: (type?: ModalType) => number;
4
4
  export declare const getModalTitle: (type?: ModalType) => string | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-settings-view/utils.ts"],"names":[],"mappings":"AAEA,OAAO,EAEL,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AAGzC,KAAK,SAAS,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAwB/C,eAAO,MAAM,aAAa,UAAW,SAAS,WAE7C,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,SAAS,uBAE7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAAW,SAAS,uBAEzD,CAAC;AAeF,eAAO,MAAM,eAAe,SAAU,SAAS,GAAG,SAAS,SAAS,MAAM,QAAQ,GAAG,WAEpF,CAAC;AAEF,eAAO,MAAM,aAAa,UACjB,QAAQ,SAAS,EAAE,QAAQ,CAAC,gBACrB,MAAM,mBACH,OAAO,2CAwBzB,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-settings-view/utils.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,mCAAmC,CAAC;AAGhG,KAAK,SAAS,GAAG,SAAS,GAAG,iBAAiB,CAAC;AAwB/C,eAAO,MAAM,aAAa,UAAW,SAAS,WAE7C,CAAC;AAEF,eAAO,MAAM,aAAa,UAAW,SAAS,uBAE7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,UAAW,SAAS,uBAEzD,CAAC;AAeF,eAAO,MAAM,eAAe,SAAU,SAAS,GAAG,SAAS,SAAS,MAAM,QAAQ,GAAG,WAEpF,CAAC;AAEF,eAAO,MAAM,aAAa,UACjB,QAAQ,SAAS,EAAE,QAAQ,CAAC,gBACrB,MAAM,mBACH,OAAO,2CAwBzB,CAAC"}
@@ -1,4 +1,4 @@
1
- import { type OnRampFiatCurrency, type OnRampCryptoCurrency } from '@reown/appkit-core-react-native';
1
+ import { type OnRampFiatCurrency, type OnRampCryptoCurrency } from '@reown/appkit-common-react-native';
2
2
  export declare const ITEM_HEIGHT = 60;
3
3
  interface Props {
4
4
  onPress: (item: OnRampFiatCurrency | OnRampCryptoCurrency) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"Currency.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/Currency.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAC1B,MAAM,iCAAiC,CAAC;AAYzC,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,kBAAkB,GAAG,oBAAoB,KAAK,IAAI,CAAC;IACnE,IAAI,EAAE,kBAAkB,GAAG,oBAAoB,CAAC;IAChD,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,2CAmCnF"}
1
+ {"version":3,"file":"Currency.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/Currency.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EAC1B,MAAM,mCAAmC,CAAC;AAY3C,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,kBAAkB,GAAG,oBAAoB,KAAK,IAAI,CAAC;IACnE,IAAI,EAAE,kBAAkB,GAAG,oBAAoB,CAAC;IAChD,QAAQ,EAAE,OAAO,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,QAAQ,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,2CAmCnF"}
@@ -1,4 +1,4 @@
1
- import { type OnRampPaymentMethod } from '@reown/appkit-core-react-native';
1
+ import { type OnRampPaymentMethod } from '@reown/appkit-common-react-native';
2
2
  export declare const ITEM_SIZE = 100;
3
3
  interface Props {
4
4
  onPress: (item: OnRampPaymentMethod) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentMethod.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/PaymentMethod.tsx"],"names":[],"mappings":"AACA,OAAO,EAAmB,KAAK,mBAAmB,EAAE,MAAM,iCAAiC,CAAC;AAa5F,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC7C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,2CA6CvE"}
1
+ {"version":3,"file":"PaymentMethod.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/PaymentMethod.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AAa7E,eAAO,MAAM,SAAS,MAAM,CAAC;AAE7B,UAAU,KAAK;IACb,OAAO,EAAE,CAAC,IAAI,EAAE,mBAAmB,KAAK,IAAI,CAAC;IAC7C,IAAI,EAAE,mBAAmB,CAAC;IAC1B,QAAQ,EAAE,OAAO,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,KAAK,2CA6CvE"}
@@ -1,4 +1,4 @@
1
- import { type OnRampQuote } from '@reown/appkit-core-react-native';
1
+ import { type OnRampQuote } from '@reown/appkit-common-react-native';
2
2
  interface Props {
3
3
  item: OnRampQuote;
4
4
  isBestDeal?: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/Quote.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,WAAW,EAAE,MAAM,iCAAiC,CAAC;AAcnE,UAAU,KAAK;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,2CA8CtF"}
1
+ {"version":3,"file":"Quote.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/Quote.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,WAAW,EAAE,MAAM,mCAAmC,CAAC;AAcjF,UAAU,KAAK;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,EAAE,CAAC,IAAI,EAAE,WAAW,KAAK,IAAI,CAAC;IAC1C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,eAAO,MAAM,WAAW,KAAK,CAAC;AAE9B,wBAAgB,KAAK,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,KAAK,2CA8CtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"SelectPaymentModal.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/SelectPaymentModal.tsx"],"names":[],"mappings":"AAqBA,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAID,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,uBAAuB,2CA+JtF"}
1
+ {"version":3,"file":"SelectPaymentModal.d.ts","sourceRoot":"","sources":["../../../../../src/views/w3m-onramp-view/components/SelectPaymentModal.tsx"],"names":[],"mappings":"AAkBA,UAAU,uBAAuB;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAID,wBAAgB,kBAAkB,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,uBAAuB,2CA+JtF"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-view/index.tsx"],"names":[],"mappings":"AAoCA,wBAAgB,UAAU,4CAqOzB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-view/index.tsx"],"names":[],"mappings":"AAuCA,wBAAgB,UAAU,4CAqOzB"}
@@ -1,4 +1,4 @@
1
- export declare const getPurchaseCurrencies: (searchValue?: string, filterSelected?: boolean) => import("@reown/appkit-core-react-native").OnRampCryptoCurrency[];
1
+ export declare const getPurchaseCurrencies: (searchValue?: string, filterSelected?: boolean) => import("@reown/appkit-common-react-native").OnRampCryptoCurrency[];
2
2
  export declare const getQuotesDebounced: () => void;
3
3
  export declare const getNetworkId: () => string | undefined;
4
4
  //# sourceMappingURL=utils.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-view/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB,iBAAkB,MAAM,mBAAmB,OAAO,qEAuBnF,CAAC;AAEF,eAAO,MAAM,kBAAkB,YAExB,CAAC;AAER,eAAO,MAAM,YAAY,QAAO,MAAM,GAAG,SAiBxC,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-onramp-view/utils.ts"],"names":[],"mappings":"AAOA,eAAO,MAAM,qBAAqB,iBAAkB,MAAM,mBAAmB,OAAO,uEAuBnF,CAAC;AAEF,eAAO,MAAM,kBAAkB,YAExB,CAAC;AAER,eAAO,MAAM,YAAY,QAAO,MAAM,GAAG,SAiBxC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { type StyleProp, type ViewStyle } from 'react-native';
2
- import { type SwapInputTarget } from '@reown/appkit-core-react-native';
2
+ import { type SwapInputTarget } from '@reown/appkit-common-react-native';
3
3
  interface Props {
4
4
  onClose: () => void;
5
5
  type?: SwapInputTarget;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/views/w3m-swap-view/components/select-token-view/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAatB,OAAO,EAML,KAAK,eAAe,EAErB,MAAM,iCAAiC,CAAC;AAOzC,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,2CAoIlE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/views/w3m-swap-view/components/select-token-view/index.tsx"],"names":[],"mappings":"AAEA,OAAO,EAKL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAqBtB,OAAO,EAAE,KAAK,eAAe,EAA6B,MAAM,mCAAmC,CAAC;AAOpG,UAAU,KAAK;IACb,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,mBAAmB,CAAC,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,KAAK,2CAoIlE"}
@@ -1,4 +1,4 @@
1
- import { type SwapTokenWithBalance } from '@reown/appkit-core-react-native';
1
+ import { type SwapTokenWithBalance } from '@reown/appkit-common-react-native';
2
2
  export declare function filterTokens(tokens?: SwapTokenWithBalance[], searchValue?: string): SwapTokenWithBalance[];
3
3
  export declare function createSections(isSourceToken: boolean, searchValue: string, balances?: SwapTokenWithBalance[]): {
4
4
  title: string;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/views/w3m-swap-view/components/select-token-view/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,KAAK,oBAAoB,EAAE,MAAM,iCAAiC,CAAC;AAE5F,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,MAAM,0BAcjF;AAED,wBAAgB,cAAc,CAC5B,aAAa,EAAE,OAAO,EACtB,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,oBAAoB,EAAE;;;IAgBlC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../../../../src/views/w3m-swap-view/components/select-token-view/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAG9E,wBAAgB,YAAY,CAAC,MAAM,CAAC,EAAE,oBAAoB,EAAE,EAAE,WAAW,CAAC,EAAE,MAAM,0BAcjF;AAED,wBAAgB,cAAc,CAC5B,aAAa,EAAE,OAAO,EACtB,WAAW,EAAE,MAAM,EACnB,QAAQ,CAAC,EAAE,oBAAoB,EAAE;;;IAgBlC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-swap-view/index.tsx"],"names":[],"mappings":"AAsBA,wBAAgB,QAAQ,4CA6LvB"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/views/w3m-swap-view/index.tsx"],"names":[],"mappings":"AAqBA,wBAAgB,QAAQ,4CA6LvB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-react-native",
3
- "version": "0.0.0-feat-multichain-20250801190527",
3
+ "version": "0.0.0-feat-multichain-20250805142032",
4
4
  "main": "lib/commonjs/index.js",
5
5
  "types": "lib/typescript/index.d.ts",
6
6
  "module": "lib/module/index.js",
@@ -38,10 +38,10 @@
38
38
  "access": "public"
39
39
  },
40
40
  "dependencies": {
41
- "@reown/appkit-common-react-native": "0.0.0-feat-multichain-20250801190527",
42
- "@reown/appkit-core-react-native": "0.0.0-feat-multichain-20250801190527",
43
- "@reown/appkit-siwe-react-native": "0.0.0-feat-multichain-20250801190527",
44
- "@reown/appkit-ui-react-native": "0.0.0-feat-multichain-20250801190527",
41
+ "@reown/appkit-common-react-native": "0.0.0-feat-multichain-20250805142032",
42
+ "@reown/appkit-core-react-native": "0.0.0-feat-multichain-20250805142032",
43
+ "@reown/appkit-siwe-react-native": "0.0.0-feat-multichain-20250805142032",
44
+ "@reown/appkit-ui-react-native": "0.0.0-feat-multichain-20250805142032",
45
45
  "@walletconnect/universal-provider": "2.21.5",
46
46
  "valtio": "2.1.5"
47
47
  },
package/src/AppKit.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import {
2
- type Features,
3
2
  EventsController,
4
3
  ModalController,
5
4
  ConnectionsController,
@@ -7,15 +6,13 @@ import {
7
6
  RouterController,
8
7
  TransactionsController,
9
8
  StorageUtil,
10
- type OptionsControllerState,
11
9
  ThemeController,
12
10
  WcController,
13
11
  SwapController,
14
12
  OnRampController,
15
13
  CoreHelperUtil,
16
14
  SendController,
17
- BlockchainApiController,
18
- type UniversalProviderConfigOverride
15
+ BlockchainApiController
19
16
  } from '@reown/appkit-core-react-native';
20
17
 
21
18
  import {
@@ -24,24 +21,17 @@ import {
24
21
  type ProposalNamespaces,
25
22
  type ConnectorType,
26
23
  type Namespaces,
27
- type Metadata,
28
24
  type CaipNetworkId,
29
25
  type AppKitNetwork,
30
26
  type Provider,
31
- type ThemeVariables,
32
- type ThemeMode,
33
27
  type WalletInfo,
34
- type Network,
35
28
  type ChainNamespace,
36
- type Storage,
37
29
  type AppKitConnectOptions,
38
- type AppKitSIWEClient,
39
30
  type ConnectionProperties,
40
31
  type AccountType,
41
32
  type AppKitOpenOptions,
42
33
  ConstantsUtil,
43
- type Connection,
44
- type Tokens
34
+ type Connection
45
35
  } from '@reown/appkit-common-react-native';
46
36
  import { SIWEController } from '@reown/appkit-siwe-react-native';
47
37
 
@@ -49,29 +39,7 @@ import { WalletConnectConnector } from './connectors/WalletConnectConnector';
49
39
  import { WcHelpersUtil } from './utils/HelpersUtil';
50
40
  import { NetworkUtil } from './utils/NetworkUtil';
51
41
  import { RouterUtil } from './utils/RouterUtil';
52
-
53
- interface AppKitConfig {
54
- projectId: string;
55
- metadata: Metadata;
56
- adapters: BlockchainAdapter[];
57
- networks: Network[];
58
- storage: Storage;
59
- extraConnectors?: WalletConnector[];
60
- clipboardClient?: OptionsControllerState['clipboardClient'];
61
- includeWalletIds?: OptionsControllerState['includeWalletIds'];
62
- excludeWalletIds?: OptionsControllerState['excludeWalletIds'];
63
- featuredWalletIds?: OptionsControllerState['featuredWalletIds'];
64
- customWallets?: OptionsControllerState['customWallets'];
65
- tokens?: Tokens;
66
- enableAnalytics?: OptionsControllerState['enableAnalytics'];
67
- debug?: OptionsControllerState['debug'];
68
- themeMode?: ThemeMode;
69
- themeVariables?: ThemeVariables;
70
- siweConfig?: AppKitSIWEClient;
71
- defaultNetwork?: Network;
72
- features?: Features;
73
- universalProviderConfigOverride?: UniversalProviderConfigOverride;
74
- }
42
+ import { type AppKitConfig } from './types';
75
43
 
76
44
  export class AppKit {
77
45
  private projectId: string;
@@ -11,7 +11,8 @@ import {
11
11
  type ConnectOptions,
12
12
  type ConnectorInitOptions,
13
13
  type Metadata,
14
- type ConnectionProperties
14
+ type ConnectionProperties,
15
+ type RequestArguments
15
16
  } from '@reown/appkit-common-react-native';
16
17
  import { getDidAddress, getDidChainId, SIWEController } from '@reown/appkit-siwe-react-native';
17
18
 
@@ -201,11 +202,25 @@ export class WalletConnectConnector extends WalletConnector {
201
202
  return this.namespaces;
202
203
  }
203
204
 
204
- override getProvider(): Provider {
205
+ override getProvider(namespace?: ChainNamespace): Provider {
205
206
  if (!this.provider) {
206
207
  throw new Error('WalletConnectConnector: Provider not initialized. Call init() first.');
207
208
  }
208
209
 
210
+ const provider = this.provider as IUniversalProvider;
211
+
212
+ if (namespace) {
213
+ const _chainId = this.getChainId(namespace);
214
+
215
+ // @ts-ignore
216
+ return {
217
+ ...provider,
218
+ request: (args: RequestArguments, chainId?: CaipNetworkId) => {
219
+ return provider.request(args, chainId || _chainId);
220
+ }
221
+ };
222
+ }
223
+
209
224
  return this.provider;
210
225
  }
211
226
 
@@ -1,10 +1,7 @@
1
1
  import { useEffect } from 'react';
2
2
  import { useSnapshot } from 'valtio';
3
- import {
4
- EventsController,
5
- type EventName,
6
- type EventsControllerState
7
- } from '@reown/appkit-core-react-native';
3
+ import { EventsController, type EventsControllerState } from '@reown/appkit-core-react-native';
4
+ import { type EventName } from '@reown/appkit-common-react-native';
8
5
  import { useAppKit } from './useAppKit';
9
6
 
10
7
  export function useAppKitEvents(callback?: (newEvent: EventsControllerState) => void) {
@@ -2,24 +2,45 @@ import { useSnapshot } from 'valtio';
2
2
  import { ConnectionsController } from '@reown/appkit-core-react-native';
3
3
  import type { Provider, ChainNamespace } from '@reown/appkit-common-react-native';
4
4
 
5
+ /**
6
+ * Interface representing the result of the useProvider hook
7
+ */
5
8
  interface ProviderResult {
9
+ /** The active connection provider instance */
6
10
  provider?: Provider;
11
+ /** The chain namespace supported by the provider */
7
12
  providerType?: ChainNamespace;
8
13
  }
9
14
 
10
- export function useProvider(namespace?: ChainNamespace): ProviderResult {
11
- const { connections, activeNamespace } = useSnapshot(ConnectionsController.state);
12
-
13
- const targetNamespace = namespace ?? activeNamespace;
14
-
15
- if (!targetNamespace) return { provider: undefined, providerType: undefined };
16
-
17
- const connection = connections.get(targetNamespace);
15
+ /**
16
+ * Hook that returns the active connection provider and its supported chain namespace.
17
+ *
18
+ * This hook accesses the current connection and returns the provider instance along with its supported namespace.
19
+ *
20
+ * @returns {ProviderResult} An object containing:
21
+ * - `provider`: The active connection provider instance, or undefined if no connection exists
22
+ * - `providerType`: The chain namespace supported by the provider, or undefined if no connection exists
23
+ *
24
+ * @example
25
+ * ```typescript
26
+ * const { provider, providerType } = useProvider();
27
+ *
28
+ * if (provider) {
29
+ * // Use the provider for blockchain operations
30
+ * const balance = await provider.request({
31
+ * method: 'eth_getBalance',
32
+ * params: [address, 'latest']
33
+ * });
34
+ * }
35
+ * ```
36
+ */
37
+ export function useProvider(): ProviderResult {
38
+ const { connection } = useSnapshot(ConnectionsController.state);
18
39
 
19
40
  if (!connection) return { provider: undefined, providerType: undefined };
20
41
 
21
42
  return {
22
- provider: connection.adapter.connector?.getProvider(),
43
+ provider: connection.adapter.getProvider(),
23
44
  providerType: connection.adapter.getSupportedNamespace()
24
45
  };
25
46
  }
package/src/index.ts CHANGED
@@ -17,6 +17,7 @@ export { AppKit } from './modal/w3m-modal';
17
17
  /********** Types **********/
18
18
  export type * from '@reown/appkit-core-react-native';
19
19
  export type { AppKitNetwork, Storage } from '@reown/appkit-common-react-native';
20
+ export type { AppKitConfig } from './types';
20
21
 
21
22
  /****** Hooks *******/
22
23
  export { useAppKit } from './hooks/useAppKit';
@@ -186,16 +186,16 @@ export function AccountActivity({ style }: Props) {
186
186
  ))}
187
187
  </View>
188
188
  ))}
189
- {(next || loading) && !refreshing && (
189
+ {(next || loading) && !refreshing ? (
190
190
  <FlexView style={styles.footer} alignItems="center" justifyContent="center">
191
- {next && !loading && (
191
+ {next && !loading ? (
192
192
  <Link size="md" style={styles.loadMoreButton} onPress={handleLoadMore}>
193
193
  Load more
194
194
  </Link>
195
- )}
196
- {loading && <LoadingSpinner color="accent-100" />}
195
+ ) : null}
196
+ {loading ? <LoadingSpinner color="accent-100" /> : null}
197
197
  </FlexView>
198
- )}
198
+ ) : null}
199
199
  </ScrollView>
200
200
  );
201
201
  }
@@ -63,7 +63,7 @@ export function AccountTokens({ style, isLoading }: Props) {
63
63
  </Text>
64
64
  </FlexView>
65
65
  </ListItem>
66
- {isLoading && <LoadingSpinner size="sm" style={styles.loadingSpinner} />}
66
+ {isLoading ? <LoadingSpinner size="sm" style={styles.loadingSpinner} /> : null}
67
67
  </>
68
68
  );
69
69
  }
@@ -93,7 +93,7 @@ export function AccountTokens({ style, isLoading }: Props) {
93
93
  pressable={false}
94
94
  />
95
95
  ))}
96
- {isLoading && <LoadingSpinner size="sm" style={styles.loadingSpinner} />}
96
+ {isLoading ? <LoadingSpinner size="sm" style={styles.loadingSpinner} /> : null}
97
97
  </ScrollView>
98
98
  );
99
99
  }
@@ -90,7 +90,7 @@ export function AccountWalletFeatures({ isBalanceLoading }: AccountWalletFeature
90
90
  justifyContent="space-around"
91
91
  padding={['0', 's', '0', 's']}
92
92
  >
93
- {isOnRampEnabled && (
93
+ {isOnRampEnabled ? (
94
94
  <IconLink
95
95
  icon="card"
96
96
  size="lg"
@@ -101,8 +101,8 @@ export function AccountWalletFeatures({ isBalanceLoading }: AccountWalletFeature
101
101
  style={[styles.action, isSwapsEnabled ? styles.actionCenter : styles.actionLeft]}
102
102
  onPress={onBuyPress}
103
103
  />
104
- )}
105
- {isSwapsEnabled && (
104
+ ) : null}
105
+ {isSwapsEnabled ? (
106
106
  <IconLink
107
107
  icon="recycleHorizontal"
108
108
  size="lg"
@@ -113,7 +113,7 @@ export function AccountWalletFeatures({ isBalanceLoading }: AccountWalletFeature
113
113
  style={[styles.action, styles.actionLeft]}
114
114
  onPress={onSwapPress}
115
115
  />
116
- )}
116
+ ) : null}
117
117
  <IconLink
118
118
  icon="arrowBottomCircle"
119
119
  size="lg"
@@ -124,7 +124,7 @@ export function AccountWalletFeatures({ isBalanceLoading }: AccountWalletFeature
124
124
  style={[styles.action, isSwapsEnabled ? styles.actionCenter : styles.actionLeft]}
125
125
  onPress={onReceivePress}
126
126
  />
127
- {showSend && (
127
+ {showSend ? (
128
128
  <IconLink
129
129
  icon="paperplane"
130
130
  size="lg"
@@ -135,7 +135,7 @@ export function AccountWalletFeatures({ isBalanceLoading }: AccountWalletFeature
135
135
  style={[styles.action, styles.actionRight]}
136
136
  onPress={onSendPress}
137
137
  />
138
- )}
138
+ ) : null}
139
139
  </FlexView>
140
140
  <FlexView style={styles.tab}>
141
141
  <Tabs tabs={['Tokens', 'Activity']} onTabChange={onTabChange} />
@@ -6,9 +6,9 @@ import {
6
6
  AssetUtil,
7
7
  OptionsController,
8
8
  SnackController,
9
- type OptionsControllerState,
10
- type WcWallet
9
+ type OptionsControllerState
11
10
  } from '@reown/appkit-core-react-native';
11
+ import { type WcWallet } from '@reown/appkit-common-react-native';
12
12
  import {
13
13
  CardSelect,
14
14
  CardSelectLoader,
@@ -1,11 +1,7 @@
1
1
  import { useCallback, useEffect, useState } from 'react';
2
2
  import { FlatList, View } from 'react-native';
3
- import {
4
- ApiController,
5
- AssetUtil,
6
- SnackController,
7
- type WcWallet
8
- } from '@reown/appkit-core-react-native';
3
+ import { ApiController, AssetUtil, SnackController } from '@reown/appkit-core-react-native';
4
+ import { type WcWallet } from '@reown/appkit-common-react-native';
9
5
  import {
10
6
  CardSelect,
11
7
  CardSelectHeight,
@@ -12,11 +12,11 @@ export function ConnectingBody({ title, description }: ConnectingBodyProps) {
12
12
  return (
13
13
  <FlexView padding={['3xs', '2xl', '0', '2xl']} alignItems="center" style={styles.textContainer}>
14
14
  <Text variant="paragraph-500">{title}</Text>
15
- {description && (
15
+ {description ? (
16
16
  <Text center variant="small-400" color="fg-200" style={styles.descriptionText}>
17
17
  {description}
18
18
  </Text>
19
- )}
19
+ ) : null}
20
20
  </FlexView>
21
21
  );
22
22
  }
@@ -1,4 +1,4 @@
1
- import type { Platform } from '@reown/appkit-core-react-native';
1
+ import type { Platform } from '@reown/appkit-common-react-native';
2
2
  import { FlexView, Tabs, type IconType } from '@reown/appkit-ui-react-native';
3
3
  import { StyleSheet } from 'react-native';
4
4
 
@@ -111,7 +111,7 @@ export function ConnectingMobile({ onRetry, onCopyUri, isInstalled }: Props) {
111
111
  imageSrc={AssetUtil.getWalletImage(RouterController.state.data?.wallet)}
112
112
  imageHeaders={ApiController._getApiHeaders()}
113
113
  />
114
- {wcError && (
114
+ {wcError ? (
115
115
  <IconBox
116
116
  icon={'close'}
117
117
  border
@@ -121,10 +121,10 @@ export function ConnectingMobile({ onRetry, onCopyUri, isInstalled }: Props) {
121
121
  iconColor="error-100"
122
122
  style={styles.errorIcon}
123
123
  />
124
- )}
124
+ ) : null}
125
125
  </LoadingThumbnail>
126
126
  <ConnectingBody title={bodyMessage.title} description={bodyMessage.description} />
127
- {showRetry && (
127
+ {showRetry ? (
128
128
  <Button
129
129
  size="sm"
130
130
  variant="accent"
@@ -135,9 +135,9 @@ export function ConnectingMobile({ onRetry, onCopyUri, isInstalled }: Props) {
135
135
  >
136
136
  Try again
137
137
  </Button>
138
- )}
138
+ ) : null}
139
139
  </FlexView>
140
- {showCopy && (
140
+ {showCopy ? (
141
141
  <Link
142
142
  iconLeft="copySmall"
143
143
  color="fg-200"
@@ -146,7 +146,7 @@ export function ConnectingMobile({ onRetry, onCopyUri, isInstalled }: Props) {
146
146
  >
147
147
  Copy link
148
148
  </Link>
149
- )}
149
+ ) : null}
150
150
  <StoreLink
151
151
  visible={!isInstalled && !!storeUrl}
152
152
  walletName={data?.wallet?.name}
@@ -6,9 +6,11 @@ import {
6
6
  OptionsController,
7
7
  SnackController
8
8
  } from '@reown/appkit-core-react-native';
9
- import { FlexView, Link, QrCode, Text, Spacing } from '@reown/appkit-ui-react-native';
9
+ import { ConstantsUtil } from '@reown/appkit-common-react-native';
10
+ import { FlexView, Link, QrCode, Text, Spacing, Icon } from '@reown/appkit-ui-react-native';
10
11
  import { useCustomDimensions } from '../../hooks/useCustomDimensions';
11
12
  import styles from './styles';
13
+ import { Linking, Pressable } from 'react-native';
12
14
 
13
15
  export function ConnectingQrCode() {
14
16
  const { wcUri } = useSnapshot(WcController.state);
@@ -50,9 +52,9 @@ export function ConnectingQrCode() {
50
52
  padding={['xl', 'xl', '2xl', 'xl']}
51
53
  >
52
54
  <QrCode size={qrSize} uri={wcUri} testID="qr-code" />
53
- <FlexView alignItems="center" margin="m">
55
+ <FlexView alignItems="center" margin={['m', 'm', '3xl', 'm']}>
54
56
  <Text variant="paragraph-500">Scan this QR code with your phone</Text>
55
- {showCopy && (
57
+ {showCopy ? (
56
58
  <Link
57
59
  iconLeft="copySmall"
58
60
  color="fg-200"
@@ -62,8 +64,16 @@ export function ConnectingQrCode() {
62
64
  >
63
65
  Copy link
64
66
  </Link>
65
- )}
67
+ ) : null}
66
68
  </FlexView>
69
+ <Pressable onPress={() => Linking.openURL(ConstantsUtil.REOWN_URL)}>
70
+ <FlexView alignItems="center" justifyContent="center" flexDirection="row" columnGap="2xs">
71
+ <Text variant="small-500" color="fg-100">
72
+ UX by
73
+ </Text>
74
+ <Icon name="reown" color="fg-150" width={100} height={30} />
75
+ </FlexView>
76
+ </Pressable>
67
77
  </FlexView>
68
78
  );
69
79
  }
@@ -71,7 +71,7 @@ export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
71
71
  imageSrc={AssetUtil.getWalletImage(data?.wallet)}
72
72
  imageHeaders={ApiController._getApiHeaders()}
73
73
  />
74
- {wcError && (
74
+ {wcError ? (
75
75
  <IconBox
76
76
  icon={'close'}
77
77
  border
@@ -81,7 +81,7 @@ export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
81
81
  iconColor="error-100"
82
82
  style={styles.errorIcon}
83
83
  />
84
- )}
84
+ ) : null}
85
85
  </LoadingThumbnail>
86
86
  <ConnectingBody title={bodyMessage.title} description={bodyMessage.description} />
87
87
  <Button
@@ -93,7 +93,7 @@ export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
93
93
  >
94
94
  Open
95
95
  </Button>
96
- {showCopy && (
96
+ {showCopy ? (
97
97
  <Link
98
98
  iconLeft="copySmall"
99
99
  color="fg-200"
@@ -102,7 +102,7 @@ export function ConnectingWeb({ onCopyUri }: ConnectingWebProps) {
102
102
  >
103
103
  Copy link
104
104
  </Link>
105
- )}
105
+ ) : null}
106
106
  </FlexView>
107
107
  </ScrollView>
108
108
  );