@reown/appkit-react-native 0.0.1 → 2.0.0-alpha.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/lib/commonjs/AppKit.js +22 -14
- package/lib/commonjs/AppKit.js.map +1 -1
- package/lib/commonjs/connectors/WalletConnectConnector.js +3 -2
- package/lib/commonjs/connectors/WalletConnectConnector.js.map +1 -1
- package/lib/commonjs/hooks/useAccount.js +4 -1
- package/lib/commonjs/hooks/useAccount.js.map +1 -1
- package/lib/commonjs/hooks/useAppKit.js +7 -1
- package/lib/commonjs/hooks/useAppKit.js.map +1 -1
- package/lib/commonjs/hooks/useAppKitEvents.js +4 -12
- package/lib/commonjs/hooks/useAppKitEvents.js.map +1 -1
- package/lib/commonjs/hooks/useProvider.js +12 -3
- package/lib/commonjs/hooks/useProvider.js.map +1 -1
- package/lib/commonjs/hooks/useWalletInfo.js +2 -6
- package/lib/commonjs/hooks/useWalletInfo.js.map +1 -1
- package/lib/commonjs/modal/w3m-modal/index.js +9 -4
- package/lib/commonjs/modal/w3m-modal/index.js.map +1 -1
- package/lib/commonjs/networks/solana.js.map +1 -1
- package/lib/commonjs/partials/w3m-account-activity/index.js +11 -1
- package/lib/commonjs/partials/w3m-account-activity/index.js.map +1 -1
- package/lib/commonjs/utils/NetworkUtil.js +22 -19
- package/lib/commonjs/utils/NetworkUtil.js.map +1 -1
- package/lib/commonjs/views/w3m-account-default-view/index.js +4 -2
- package/lib/commonjs/views/w3m-account-default-view/index.js.map +1 -1
- package/lib/module/AppKit.js +22 -14
- package/lib/module/AppKit.js.map +1 -1
- package/lib/module/connectors/WalletConnectConnector.js +3 -2
- package/lib/module/connectors/WalletConnectConnector.js.map +1 -1
- package/lib/module/hooks/useAccount.js +4 -1
- package/lib/module/hooks/useAccount.js.map +1 -1
- package/lib/module/hooks/useAppKit.js +7 -1
- package/lib/module/hooks/useAppKit.js.map +1 -1
- package/lib/module/hooks/useAppKitEvents.js +5 -13
- package/lib/module/hooks/useAppKitEvents.js.map +1 -1
- package/lib/module/hooks/useProvider.js +12 -3
- package/lib/module/hooks/useProvider.js.map +1 -1
- package/lib/module/hooks/useWalletInfo.js +3 -7
- package/lib/module/hooks/useWalletInfo.js.map +1 -1
- package/lib/module/modal/w3m-modal/index.js +9 -4
- package/lib/module/modal/w3m-modal/index.js.map +1 -1
- package/lib/module/networks/solana.js.map +1 -1
- package/lib/module/partials/w3m-account-activity/index.js +11 -1
- package/lib/module/partials/w3m-account-activity/index.js.map +1 -1
- package/lib/module/utils/NetworkUtil.js +22 -19
- package/lib/module/utils/NetworkUtil.js.map +1 -1
- package/lib/module/views/w3m-account-default-view/index.js +4 -2
- package/lib/module/views/w3m-account-default-view/index.js.map +1 -1
- package/lib/typescript/AppKit.d.ts +4 -3
- package/lib/typescript/AppKit.d.ts.map +1 -1
- package/lib/typescript/connectors/WalletConnectConnector.d.ts.map +1 -1
- package/lib/typescript/hooks/useAccount.d.ts.map +1 -1
- package/lib/typescript/hooks/useAppKit.d.ts +1 -0
- package/lib/typescript/hooks/useAppKit.d.ts.map +1 -1
- package/lib/typescript/hooks/useAppKitEvents.d.ts.map +1 -1
- package/lib/typescript/hooks/useProvider.d.ts +7 -2
- package/lib/typescript/hooks/useProvider.d.ts.map +1 -1
- package/lib/typescript/hooks/useWalletInfo.d.ts.map +1 -1
- package/lib/typescript/modal/w3m-modal/index.d.ts.map +1 -1
- package/lib/typescript/networks/solana.d.ts +1 -23
- package/lib/typescript/networks/solana.d.ts.map +1 -1
- package/lib/typescript/partials/w3m-account-activity/index.d.ts.map +1 -1
- package/lib/typescript/utils/NetworkUtil.d.ts +3 -2
- package/lib/typescript/utils/NetworkUtil.d.ts.map +1 -1
- package/lib/typescript/utils/UiUtil.d.ts.map +1 -1
- package/lib/typescript/views/w3m-account-default-view/index.d.ts.map +1 -1
- package/package.json +6 -6
- package/src/AppKit.ts +37 -16
- package/src/connectors/WalletConnectConnector.ts +5 -2
- package/src/hooks/useAccount.ts +4 -1
- package/src/hooks/useAppKit.ts +7 -1
- package/src/hooks/useAppKitEvents.ts +3 -10
- package/src/hooks/useProvider.ts +13 -5
- package/src/hooks/useWalletInfo.ts +3 -6
- package/src/modal/w3m-modal/index.tsx +7 -4
- package/src/networks/solana.ts +1 -1
- package/src/partials/w3m-account-activity/index.tsx +13 -1
- package/src/utils/NetworkUtil.ts +25 -25
- package/src/views/w3m-account-default-view/index.tsx +4 -2
- package/CHANGELOG.md +0 -153
|
@@ -2,19 +2,15 @@ import { useEffect } from 'react';
|
|
|
2
2
|
import { useSnapshot } from 'valtio';
|
|
3
3
|
import {
|
|
4
4
|
EventsController,
|
|
5
|
-
OptionsController,
|
|
6
5
|
type EventName,
|
|
7
6
|
type EventsControllerState
|
|
8
7
|
} from '@reown/appkit-core-react-native';
|
|
8
|
+
import { useAppKit } from './useAppKit';
|
|
9
9
|
|
|
10
10
|
export function useAppKitEvents(callback?: (newEvent: EventsControllerState) => void) {
|
|
11
|
-
|
|
11
|
+
useAppKit(); // Use the hook for checks
|
|
12
12
|
const { data, timestamp } = useSnapshot(EventsController.state);
|
|
13
13
|
|
|
14
|
-
if (!projectId) {
|
|
15
|
-
throw new Error('Please call "createAppKit" before using "useAppKitEvents" hook');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
14
|
useEffect(() => {
|
|
19
15
|
const unsubscribe = EventsController.subscribe(newEvent => {
|
|
20
16
|
callback?.(newEvent);
|
|
@@ -32,10 +28,7 @@ export function useAppKitEventSubscription(
|
|
|
32
28
|
event: EventName,
|
|
33
29
|
callback: (newEvent: EventsControllerState) => void
|
|
34
30
|
) {
|
|
35
|
-
|
|
36
|
-
if (!projectId) {
|
|
37
|
-
throw new Error('Please call "createAppKit" before using "useAppKitEventSubscription" hook');
|
|
38
|
-
}
|
|
31
|
+
useAppKit(); // Use the hook for checks
|
|
39
32
|
|
|
40
33
|
useEffect(() => {
|
|
41
34
|
const unsubscribe = EventsController?.subscribeEvent(event, callback);
|
package/src/hooks/useProvider.ts
CHANGED
|
@@ -1,15 +1,23 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
2
|
import { ConnectionsController } from '@reown/appkit-core-react-native';
|
|
3
|
-
import type { Provider } from '@reown/appkit-common-react-native';
|
|
3
|
+
import type { Provider, ChainNamespace } from '@reown/appkit-common-react-native';
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
interface ProviderResult {
|
|
6
|
+
provider?: Provider;
|
|
7
|
+
providerType?: ChainNamespace;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export function useProvider(namespace?: string): ProviderResult {
|
|
6
11
|
const { connections, activeNamespace } = useSnapshot(ConnectionsController.state);
|
|
7
12
|
|
|
8
|
-
if (!namespace || !activeNamespace) return undefined;
|
|
13
|
+
if (!namespace || !activeNamespace) return { provider: undefined, providerType: undefined };
|
|
9
14
|
|
|
10
15
|
const connection = connections[namespace ?? activeNamespace];
|
|
11
16
|
|
|
12
|
-
if (!connection) return undefined;
|
|
17
|
+
if (!connection) return { provider: undefined, providerType: undefined };
|
|
13
18
|
|
|
14
|
-
return
|
|
19
|
+
return {
|
|
20
|
+
provider: connection.adapter.connector?.getProvider(),
|
|
21
|
+
providerType: connection.adapter.getSupportedNamespace()
|
|
22
|
+
};
|
|
15
23
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { useSnapshot } from 'valtio';
|
|
2
|
-
import { ConnectionsController
|
|
2
|
+
import { ConnectionsController } from '@reown/appkit-core-react-native';
|
|
3
|
+
import { useAppKit } from './useAppKit';
|
|
3
4
|
|
|
4
5
|
export function useWalletInfo() {
|
|
5
|
-
|
|
6
|
+
useAppKit(); // Use the hook for checks
|
|
6
7
|
const { walletInfo } = useSnapshot(ConnectionsController.state);
|
|
7
8
|
|
|
8
|
-
if (!projectId) {
|
|
9
|
-
throw new Error('Please call "createAppKit" before using "useWalletInfo" hook');
|
|
10
|
-
}
|
|
11
|
-
|
|
12
9
|
return { walletInfo };
|
|
13
10
|
}
|
|
@@ -33,6 +33,7 @@ export function AppKit() {
|
|
|
33
33
|
const { caipAddress, isConnected } = useSnapshot(AccountController.state);
|
|
34
34
|
const { frameViewVisible, webviewVisible } = useSnapshot(WebviewController.state);
|
|
35
35
|
const { themeMode, themeVariables } = useSnapshot(ThemeController.state);
|
|
36
|
+
const { projectId } = useSnapshot(OptionsController.state);
|
|
36
37
|
const { height } = useWindowDimensions();
|
|
37
38
|
const { isLandscape } = useCustomDimensions();
|
|
38
39
|
const portraitHeight = height - 80;
|
|
@@ -50,10 +51,10 @@ export function AppKit() {
|
|
|
50
51
|
return handleClose();
|
|
51
52
|
};
|
|
52
53
|
|
|
53
|
-
const prefetch = async () => {
|
|
54
|
+
const prefetch = useCallback(async () => {
|
|
54
55
|
await ApiController.prefetch();
|
|
55
56
|
EventsController.sendEvent({ type: 'track', event: 'MODAL_LOADED' });
|
|
56
|
-
};
|
|
57
|
+
}, []);
|
|
57
58
|
|
|
58
59
|
const handleClose = async () => {
|
|
59
60
|
if (OptionsController.state.isSiweEnabled) {
|
|
@@ -117,8 +118,10 @@ export function AppKit() {
|
|
|
117
118
|
};
|
|
118
119
|
|
|
119
120
|
useEffect(() => {
|
|
120
|
-
|
|
121
|
-
|
|
121
|
+
if (projectId) {
|
|
122
|
+
prefetch();
|
|
123
|
+
}
|
|
124
|
+
}, [projectId, prefetch]);
|
|
122
125
|
|
|
123
126
|
useEffect(() => {
|
|
124
127
|
onNewAddress(caipAddress);
|
package/src/networks/solana.ts
CHANGED
|
@@ -30,7 +30,7 @@ export const solanaDevnet: AppKitNetwork = {
|
|
|
30
30
|
testnet: true
|
|
31
31
|
};
|
|
32
32
|
|
|
33
|
-
export const solanaTestnet = {
|
|
33
|
+
export const solanaTestnet: AppKitNetwork = {
|
|
34
34
|
id: '4uhcVJyU9pJkvQyS88uRDiswHXSCkY3z',
|
|
35
35
|
name: 'Solana Testnet',
|
|
36
36
|
nativeCurrency: { name: 'Solana', symbol: 'SOL', decimals: 9 },
|
|
@@ -32,8 +32,9 @@ export function AccountActivity({ style }: Props) {
|
|
|
32
32
|
const [refreshing, setRefreshing] = useState(false);
|
|
33
33
|
const [initialLoad, setInitialLoad] = useState(true);
|
|
34
34
|
const { loading, transactions, next } = useSnapshot(TransactionsController.state);
|
|
35
|
-
const { activeNetwork } = useSnapshot(ConnectionsController.state);
|
|
35
|
+
const { activeNetwork, activeNamespace } = useSnapshot(ConnectionsController.state);
|
|
36
36
|
const networkImage = AssetUtil.getNetworkImage(activeNetwork?.id);
|
|
37
|
+
const isSupported = activeNamespace && ['eip155', 'solana'].includes(activeNamespace);
|
|
37
38
|
|
|
38
39
|
const handleLoadMore = () => {
|
|
39
40
|
const address = ConnectionsController.state.activeAddress?.split(':')[2];
|
|
@@ -81,6 +82,17 @@ export function AccountActivity({ style }: Props) {
|
|
|
81
82
|
);
|
|
82
83
|
}
|
|
83
84
|
|
|
85
|
+
if (!isSupported) {
|
|
86
|
+
return (
|
|
87
|
+
<Placeholder
|
|
88
|
+
icon="infoCircle"
|
|
89
|
+
title="Unsupported network"
|
|
90
|
+
description="Activity list is not available for this network"
|
|
91
|
+
style={[styles.placeholder, style]}
|
|
92
|
+
/>
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
84
96
|
// Only show placeholder when we're not in initial load or loading state
|
|
85
97
|
if (!Object.keys(transactionsByYear).length && !loading && !initialLoad) {
|
|
86
98
|
return (
|
package/src/utils/NetworkUtil.ts
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { ConstantsUtil } from '@reown/appkit-common-react-native';
|
|
2
|
-
import type { AppKitNetwork, CaipNetworkId } from '@reown/appkit-common-react-native';
|
|
2
|
+
import type { AppKitNetwork, CaipNetworkId, Network } from '@reown/appkit-common-react-native';
|
|
3
3
|
|
|
4
4
|
export const NetworkUtil = {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
projectId
|
|
22
|
-
)
|
|
23
|
-
]
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
return formattedNetwork;
|
|
5
|
+
formatNetwork(network: Network, projectId: string): AppKitNetwork {
|
|
6
|
+
const formattedNetwork = {
|
|
7
|
+
...network,
|
|
8
|
+
rpcUrls: { ...network.rpcUrls },
|
|
9
|
+
chainNamespace: network.chainNamespace ?? 'eip155',
|
|
10
|
+
caipNetworkId: network.caipNetworkId ?? `${network.chainNamespace ?? 'eip155'}:${network.id}`
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
Object.keys(formattedNetwork.rpcUrls).forEach(key => {
|
|
14
|
+
const rpcConfig = formattedNetwork.rpcUrls[key];
|
|
15
|
+
if (rpcConfig?.http?.some(url => url.includes(ConstantsUtil.BLOCKCHAIN_API_RPC_URL))) {
|
|
16
|
+
formattedNetwork.rpcUrls[key] = {
|
|
17
|
+
...rpcConfig,
|
|
18
|
+
http: [this.getBlockchainApiRpcUrl(formattedNetwork.caipNetworkId, projectId)]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
29
21
|
});
|
|
22
|
+
|
|
23
|
+
return formattedNetwork;
|
|
24
|
+
},
|
|
25
|
+
|
|
26
|
+
formatNetworks(networks: Network[], projectId: string): AppKitNetwork[] {
|
|
27
|
+
const formattedNetworks = networks.map(network => this.formatNetwork(network, projectId));
|
|
28
|
+
|
|
29
|
+
return formattedNetworks;
|
|
30
30
|
},
|
|
31
31
|
|
|
32
32
|
getBlockchainApiRpcUrl(caipNetworkId: CaipNetworkId, projectId: string) {
|
|
@@ -43,7 +43,8 @@ export function AccountDefaultView() {
|
|
|
43
43
|
const {
|
|
44
44
|
activeAddress: address,
|
|
45
45
|
activeBalance: balance,
|
|
46
|
-
activeNetwork
|
|
46
|
+
activeNetwork,
|
|
47
|
+
activeNamespace
|
|
47
48
|
} = useSnapshot(ConnectionsController.state);
|
|
48
49
|
const account = address?.split(':')[2];
|
|
49
50
|
const [disconnecting, setDisconnecting] = useState(false);
|
|
@@ -58,6 +59,7 @@ export function AccountDefaultView() {
|
|
|
58
59
|
const showExplorer = Object.keys(activeNetwork?.blockExplorers ?? {}).length > 0 && !isAuth;
|
|
59
60
|
const showBack = history.length > 1;
|
|
60
61
|
const showSwitchAccountType = isAuth && NetworkController.checkIfSmartAccountEnabled();
|
|
62
|
+
const showActivity = !isAuth && activeNamespace && ['eip155', 'solana'].includes(activeNamespace);
|
|
61
63
|
const { padding } = useCustomDimensions();
|
|
62
64
|
const { disconnect } = useAppKit();
|
|
63
65
|
|
|
@@ -287,7 +289,7 @@ export function AccountDefaultView() {
|
|
|
287
289
|
<Text color="fg-100">Swap</Text>
|
|
288
290
|
</ListItem>
|
|
289
291
|
)}
|
|
290
|
-
{
|
|
292
|
+
{showActivity && (
|
|
291
293
|
<ListItem
|
|
292
294
|
chevron
|
|
293
295
|
icon="clock"
|
package/CHANGELOG.md
DELETED
|
@@ -1,153 +0,0 @@
|
|
|
1
|
-
# @reown/appkit-scaffold-react-native
|
|
2
|
-
|
|
3
|
-
## 1.2.3
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
7
|
-
- [#322](https://github.com/reown-com/appkit-react-native/pull/322) [`e0b59fb`](https://github.com/reown-com/appkit-react-native/commit/e0b59fb217fab570efc876265d13647844bb79d2) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: clear balance if the sdk fails to get it
|
|
8
|
-
|
|
9
|
-
- [#327](https://github.com/reown-com/appkit-react-native/pull/327) [`bdc0388`](https://github.com/reown-com/appkit-react-native/commit/bdc038847695f45ed2e5b88f70fdec4ae17abcf7) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: deduplicate wallets in all wallet list
|
|
10
|
-
|
|
11
|
-
- [#331](https://github.com/reown-com/appkit-react-native/pull/331) [`c75e94a`](https://github.com/reown-com/appkit-react-native/commit/c75e94ae97d2e7b5017a2fa879a58fb1d3a03821) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: solved issue with wallet page loaders
|
|
12
|
-
|
|
13
|
-
- Updated dependencies [[`e0b59fb`](https://github.com/reown-com/appkit-react-native/commit/e0b59fb217fab570efc876265d13647844bb79d2), [`bdc0388`](https://github.com/reown-com/appkit-react-native/commit/bdc038847695f45ed2e5b88f70fdec4ae17abcf7), [`c75e94a`](https://github.com/reown-com/appkit-react-native/commit/c75e94ae97d2e7b5017a2fa879a58fb1d3a03821)]:
|
|
14
|
-
- @reown/appkit-common-react-native@1.2.3
|
|
15
|
-
- @reown/appkit-core-react-native@1.2.3
|
|
16
|
-
- @reown/appkit-siwe-react-native@1.2.3
|
|
17
|
-
- @reown/appkit-ui-react-native@1.2.3
|
|
18
|
-
|
|
19
|
-
## 1.2.2
|
|
20
|
-
|
|
21
|
-
### Patch Changes
|
|
22
|
-
|
|
23
|
-
- [#316](https://github.com/reown-com/appkit-react-native/pull/316) [`f3f4f37`](https://github.com/reown-com/appkit-react-native/commit/f3f4f3754673e0e85c110f41d9c77e27e30caa68) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: load transactions when needed
|
|
24
|
-
|
|
25
|
-
- [#312](https://github.com/reown-com/appkit-react-native/pull/312) [`52484c4`](https://github.com/reown-com/appkit-react-native/commit/52484c4ee17d7651c966d7fe939c51a7af516c14) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: show wallet info in useWalletInfo hook for ethers and ethers5
|
|
26
|
-
|
|
27
|
-
- [#314](https://github.com/reown-com/appkit-react-native/pull/314) [`d3a9604`](https://github.com/reown-com/appkit-react-native/commit/d3a9604b59fd177465fbf5b04ee3c26200e40384) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: improved state array updates in connection and router controllers
|
|
28
|
-
|
|
29
|
-
- [#315](https://github.com/reown-com/appkit-react-native/pull/315) [`19e17ef`](https://github.com/reown-com/appkit-react-native/commit/19e17ef9b85e4d81f424438d83c3f3c89dd80c92) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: send expo info in useragent
|
|
30
|
-
|
|
31
|
-
- Updated dependencies [[`f3f4f37`](https://github.com/reown-com/appkit-react-native/commit/f3f4f3754673e0e85c110f41d9c77e27e30caa68), [`52484c4`](https://github.com/reown-com/appkit-react-native/commit/52484c4ee17d7651c966d7fe939c51a7af516c14), [`d3a9604`](https://github.com/reown-com/appkit-react-native/commit/d3a9604b59fd177465fbf5b04ee3c26200e40384), [`19e17ef`](https://github.com/reown-com/appkit-react-native/commit/19e17ef9b85e4d81f424438d83c3f3c89dd80c92)]:
|
|
32
|
-
- @reown/appkit-common-react-native@1.2.2
|
|
33
|
-
- @reown/appkit-core-react-native@1.2.2
|
|
34
|
-
- @reown/appkit-siwe-react-native@1.2.2
|
|
35
|
-
- @reown/appkit-ui-react-native@1.2.2
|
|
36
|
-
|
|
37
|
-
## 1.2.1
|
|
38
|
-
|
|
39
|
-
### Patch Changes
|
|
40
|
-
|
|
41
|
-
- [#308](https://github.com/reown-com/appkit-react-native/pull/308) [`cdc1af3`](https://github.com/reown-com/appkit-react-native/commit/cdc1af3878a9193b34c530d2a867397941ed0bbf) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: added event subscription hook
|
|
42
|
-
|
|
43
|
-
- [#307](https://github.com/reown-com/appkit-react-native/pull/307) [`bec3342`](https://github.com/reown-com/appkit-react-native/commit/bec3342e41d80a93e6eb5fca4883d97dd7dc64c2) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: changed condition for initial modal loading
|
|
44
|
-
|
|
45
|
-
- Updated dependencies [[`cdc1af3`](https://github.com/reown-com/appkit-react-native/commit/cdc1af3878a9193b34c530d2a867397941ed0bbf), [`bec3342`](https://github.com/reown-com/appkit-react-native/commit/bec3342e41d80a93e6eb5fca4883d97dd7dc64c2)]:
|
|
46
|
-
- @reown/appkit-core-react-native@1.2.1
|
|
47
|
-
- @reown/appkit-common-react-native@1.2.1
|
|
48
|
-
- @reown/appkit-siwe-react-native@1.2.1
|
|
49
|
-
- @reown/appkit-ui-react-native@1.2.1
|
|
50
|
-
|
|
51
|
-
## 1.2.0
|
|
52
|
-
|
|
53
|
-
### Minor Changes
|
|
54
|
-
|
|
55
|
-
- [#299](https://github.com/reown-com/appkit-react-native/pull/299) [`278023f`](https://github.com/reown-com/appkit-react-native/commit/278023fa03c4a09be4c2b2b0d2b65e86d05e589b) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - feat: swaps feature
|
|
56
|
-
|
|
57
|
-
- [#300](https://github.com/reown-com/appkit-react-native/pull/300) [`db1e2a8`](https://github.com/reown-com/appkit-react-native/commit/db1e2a88d2c263fca438a99e0020aa1b2c55e360) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - feat: added ability to change themeMode and override accent color
|
|
58
|
-
|
|
59
|
-
### Patch Changes
|
|
60
|
-
|
|
61
|
-
- fix: set loading when account data is being synced in appkit-wagmi
|
|
62
|
-
|
|
63
|
-
- Updated dependencies [[`278023f`](https://github.com/reown-com/appkit-react-native/commit/278023fa03c4a09be4c2b2b0d2b65e86d05e589b), [`db1e2a8`](https://github.com/reown-com/appkit-react-native/commit/db1e2a88d2c263fca438a99e0020aa1b2c55e360)]:
|
|
64
|
-
- @reown/appkit-common-react-native@1.2.0
|
|
65
|
-
- @reown/appkit-core-react-native@1.2.0
|
|
66
|
-
- @reown/appkit-ui-react-native@1.2.0
|
|
67
|
-
- @reown/appkit-siwe-react-native@1.2.0
|
|
68
|
-
|
|
69
|
-
## 1.1.1
|
|
70
|
-
|
|
71
|
-
### Patch Changes
|
|
72
|
-
|
|
73
|
-
- [#292](https://github.com/reown-com/appkit-react-native/pull/292) [`ff75ba8`](https://github.com/reown-com/appkit-react-native/commit/ff75ba8ce9828b85f0c38a08e0ce33e3020c48d8) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: solved auth ethers connector type error
|
|
74
|
-
|
|
75
|
-
- Updated dependencies [[`ff75ba8`](https://github.com/reown-com/appkit-react-native/commit/ff75ba8ce9828b85f0c38a08e0ce33e3020c48d8)]:
|
|
76
|
-
- @reown/appkit-common-react-native@1.1.1
|
|
77
|
-
- @reown/appkit-core-react-native@1.1.1
|
|
78
|
-
- @reown/appkit-siwe-react-native@1.1.1
|
|
79
|
-
- @reown/appkit-ui-react-native@1.1.1
|
|
80
|
-
|
|
81
|
-
## 1.1.0
|
|
82
|
-
|
|
83
|
-
### Minor Changes
|
|
84
|
-
|
|
85
|
-
- [#265](https://github.com/reown-com/appkit-react-native/pull/265) [`fb85422`](https://github.com/reown-com/appkit-react-native/commit/fb85422e0d544efc21a686287d91b16a638cf99c) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - feat: social login
|
|
86
|
-
|
|
87
|
-
- [#230](https://github.com/reown-com/appkit-react-native/pull/230) [`b02a7d3`](https://github.com/reown-com/appkit-react-native/commit/b02a7d39f4c23802dd4619671fe263a2faa17775) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - feat: added wallet features for universal wallets
|
|
88
|
-
|
|
89
|
-
- [#266](https://github.com/reown-com/appkit-react-native/pull/266) [`3193c6f`](https://github.com/reown-com/appkit-react-native/commit/3193c6fac3a2d7f83f53bf982180469e23f156c4) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - feat: smart accounts for social login
|
|
90
|
-
|
|
91
|
-
### Patch Changes
|
|
92
|
-
|
|
93
|
-
- [#276](https://github.com/reown-com/appkit-react-native/pull/276) [`1fe0f3f`](https://github.com/reown-com/appkit-react-native/commit/1fe0f3fa0f96d14f63f2ffc96092b2bc239c4f92) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: changed siwe imports to solve issues on some android devices
|
|
94
|
-
|
|
95
|
-
- [#273](https://github.com/reown-com/appkit-react-native/pull/273) [`aa3ba46`](https://github.com/reown-com/appkit-react-native/commit/aa3ba464c88cf38aae54b5e2185b64b513418b1b) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: watch token balance
|
|
96
|
-
|
|
97
|
-
- [#268](https://github.com/reown-com/appkit-react-native/pull/268) [`0d2bae4`](https://github.com/reown-com/appkit-react-native/commit/0d2bae4a91063fc9fc6feb10e9fe780924cb670f) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: removed nft tab
|
|
98
|
-
|
|
99
|
-
- [#272](https://github.com/reown-com/appkit-react-native/pull/272) [`5f7b88c`](https://github.com/reown-com/appkit-react-native/commit/5f7b88c220a312b07c1787dbd8aae2ee8d3a1120) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: small changes for web
|
|
100
|
-
|
|
101
|
-
- [#274](https://github.com/reown-com/appkit-react-native/pull/274) [`f7e04d4`](https://github.com/reown-com/appkit-react-native/commit/f7e04d48a546d6c2b647abf417761d45570f11ef) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: show custom wallets in all wallets view
|
|
102
|
-
|
|
103
|
-
- [#275](https://github.com/reown-com/appkit-react-native/pull/275) [`2cb59a4`](https://github.com/reown-com/appkit-react-native/commit/2cb59a46a90bea3b919f47f4be8f485d867890ef) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: improved loading message in social connections
|
|
104
|
-
|
|
105
|
-
- [#262](https://github.com/reown-com/appkit-react-native/pull/262) [`19bbffd`](https://github.com/reown-com/appkit-react-native/commit/19bbffde847b8d962d30e7dedacd93a4ef0c543c) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: get custom token balance if provided
|
|
106
|
-
|
|
107
|
-
- [#240](https://github.com/reown-com/appkit-react-native/pull/240) [`6f8ddfa`](https://github.com/reown-com/appkit-react-native/commit/6f8ddfa292a122356565f710de1d2daf19210369) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: changed headers function in event controller
|
|
108
|
-
|
|
109
|
-
- [#267](https://github.com/reown-com/appkit-react-native/pull/267) [`37983e7`](https://github.com/reown-com/appkit-react-native/commit/37983e71f78f85bcbd6b3c1708ddb359b920319b) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: bump walletconnect deps to 2.17.2 in ethers packages
|
|
110
|
-
|
|
111
|
-
- [#238](https://github.com/reown-com/appkit-react-native/pull/238) [`68dc856`](https://github.com/reown-com/appkit-react-native/commit/68dc856c4ab39ebd17e1885b8536fa3a1a391186) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: updated packages info
|
|
112
|
-
|
|
113
|
-
- [#277](https://github.com/reown-com/appkit-react-native/pull/277) [`285a64b`](https://github.com/reown-com/appkit-react-native/commit/285a64bfb310913c79b1ba9a85a82387e41a63ff) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: ui changes in social webview to solve android issues
|
|
114
|
-
|
|
115
|
-
- [#271](https://github.com/reown-com/appkit-react-native/pull/271) [`636285b`](https://github.com/reown-com/appkit-react-native/commit/636285bb261815b6766b78728219c7820532e150) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: show error message and retry button in case wallet fetch fails
|
|
116
|
-
|
|
117
|
-
- [#289](https://github.com/reown-com/appkit-react-native/pull/289) [`047cb8e`](https://github.com/reown-com/appkit-react-native/commit/047cb8e2d4a435e1728cf1918c3754c217a60be2) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - chore: updated ethereum provider to 2.17.3
|
|
118
|
-
|
|
119
|
-
- [#269](https://github.com/reown-com/appkit-react-native/pull/269) [`f5ca754`](https://github.com/reown-com/appkit-react-native/commit/f5ca7548115d25e121931961295d822ecd13833c) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: show wallet view for email wallets
|
|
120
|
-
|
|
121
|
-
- [#271](https://github.com/reown-com/appkit-react-native/pull/271) [`636285b`](https://github.com/reown-com/appkit-react-native/commit/636285bb261815b6766b78728219c7820532e150) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - feat: improved provider error handling
|
|
122
|
-
|
|
123
|
-
- Updated dependencies [[`1fe0f3f`](https://github.com/reown-com/appkit-react-native/commit/1fe0f3fa0f96d14f63f2ffc96092b2bc239c4f92), [`fb85422`](https://github.com/reown-com/appkit-react-native/commit/fb85422e0d544efc21a686287d91b16a638cf99c), [`aa3ba46`](https://github.com/reown-com/appkit-react-native/commit/aa3ba464c88cf38aae54b5e2185b64b513418b1b), [`0d2bae4`](https://github.com/reown-com/appkit-react-native/commit/0d2bae4a91063fc9fc6feb10e9fe780924cb670f), [`5f7b88c`](https://github.com/reown-com/appkit-react-native/commit/5f7b88c220a312b07c1787dbd8aae2ee8d3a1120), [`f7e04d4`](https://github.com/reown-com/appkit-react-native/commit/f7e04d48a546d6c2b647abf417761d45570f11ef), [`2cb59a4`](https://github.com/reown-com/appkit-react-native/commit/2cb59a46a90bea3b919f47f4be8f485d867890ef), [`b02a7d3`](https://github.com/reown-com/appkit-react-native/commit/b02a7d39f4c23802dd4619671fe263a2faa17775), [`19bbffd`](https://github.com/reown-com/appkit-react-native/commit/19bbffde847b8d962d30e7dedacd93a4ef0c543c), [`6f8ddfa`](https://github.com/reown-com/appkit-react-native/commit/6f8ddfa292a122356565f710de1d2daf19210369), [`37983e7`](https://github.com/reown-com/appkit-react-native/commit/37983e71f78f85bcbd6b3c1708ddb359b920319b), [`3193c6f`](https://github.com/reown-com/appkit-react-native/commit/3193c6fac3a2d7f83f53bf982180469e23f156c4), [`68dc856`](https://github.com/reown-com/appkit-react-native/commit/68dc856c4ab39ebd17e1885b8536fa3a1a391186), [`285a64b`](https://github.com/reown-com/appkit-react-native/commit/285a64bfb310913c79b1ba9a85a82387e41a63ff), [`636285b`](https://github.com/reown-com/appkit-react-native/commit/636285bb261815b6766b78728219c7820532e150), [`047cb8e`](https://github.com/reown-com/appkit-react-native/commit/047cb8e2d4a435e1728cf1918c3754c217a60be2), [`f5ca754`](https://github.com/reown-com/appkit-react-native/commit/f5ca7548115d25e121931961295d822ecd13833c), [`636285b`](https://github.com/reown-com/appkit-react-native/commit/636285bb261815b6766b78728219c7820532e150)]:
|
|
124
|
-
- @reown/appkit-common-react-native@1.1.0
|
|
125
|
-
- @reown/appkit-core-react-native@1.1.0
|
|
126
|
-
- @reown/appkit-siwe-react-native@1.1.0
|
|
127
|
-
- @reown/appkit-ui-react-native@1.1.0
|
|
128
|
-
|
|
129
|
-
## 1.0.2
|
|
130
|
-
|
|
131
|
-
### Patch Changes
|
|
132
|
-
|
|
133
|
-
- [#260](https://github.com/reown-com/appkit-react-native/pull/260) [`d5c55ed`](https://github.com/reown-com/appkit-react-native/commit/d5c55eda869ff874f44770110f2381d144d2c3b4) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: changed init config of email provider
|
|
134
|
-
|
|
135
|
-
- Updated dependencies [[`d5c55ed`](https://github.com/reown-com/appkit-react-native/commit/d5c55eda869ff874f44770110f2381d144d2c3b4)]:
|
|
136
|
-
- @reown/appkit-common-react-native@1.0.2
|
|
137
|
-
- @reown/appkit-core-react-native@1.0.2
|
|
138
|
-
- @reown/appkit-siwe-react-native@1.0.2
|
|
139
|
-
- @reown/appkit-ui-react-native@1.0.2
|
|
140
|
-
|
|
141
|
-
## 1.0.1
|
|
142
|
-
|
|
143
|
-
### Patch Changes
|
|
144
|
-
|
|
145
|
-
- [#257](https://github.com/reown-com/appkit-react-native/pull/257) [`4b1ce96`](https://github.com/reown-com/appkit-react-native/commit/4b1ce966d087b7bf79efdda7d3e63bd89e5b9433) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: added timeout for secure site
|
|
146
|
-
|
|
147
|
-
- [#259](https://github.com/reown-com/appkit-react-native/pull/259) [`656ed84`](https://github.com/reown-com/appkit-react-native/commit/656ed849754ad90dbb51b4e7a79183ccf8ae11de) Thanks [@ignaciosantise](https://github.com/ignaciosantise)! - fix: changed siwe import package
|
|
148
|
-
|
|
149
|
-
- Updated dependencies [[`4b1ce96`](https://github.com/reown-com/appkit-react-native/commit/4b1ce966d087b7bf79efdda7d3e63bd89e5b9433), [`656ed84`](https://github.com/reown-com/appkit-react-native/commit/656ed849754ad90dbb51b4e7a79183ccf8ae11de)]:
|
|
150
|
-
- @reown/appkit-common-react-native@1.0.1
|
|
151
|
-
- @reown/appkit-core-react-native@1.0.1
|
|
152
|
-
- @reown/appkit-siwe-react-native@1.0.1
|
|
153
|
-
- @reown/appkit-ui-react-native@1.0.1
|