diff --git a/packages/wallet-ui/.env.production b/packages/wallet-ui/.env.production index 8e6958b6..fe0e711f 100644 --- a/packages/wallet-ui/.env.production +++ b/packages/wallet-ui/.env.production @@ -1,2 +1,2 @@ REACT_APP_SNAP_ID=npm:@consensys/starknet-snap -REACT_APP_MIN_SNAP_VERSION=1.2.1 \ No newline at end of file +REACT_APP_MIN_SNAP_VERSION=1.3.0 \ No newline at end of file diff --git a/packages/wallet-ui/.env.sample b/packages/wallet-ui/.env.sample index 9f0bc1c4..bfe51d4b 100644 --- a/packages/wallet-ui/.env.sample +++ b/packages/wallet-ui/.env.sample @@ -1,3 +1,3 @@ REACT_APP_SNAP_ID=local:http://localhost:8081/ REACT_APP_SNAP_VERSION=* -REACT_APP_MIN_SNAP_VERSION=1.2.1 \ No newline at end of file +REACT_APP_MIN_SNAP_VERSION=1.3.0 \ No newline at end of file diff --git a/packages/wallet-ui/src/services/useStarkNetSnap.ts b/packages/wallet-ui/src/services/useStarkNetSnap.ts index cad3c44e..a34d0501 100644 --- a/packages/wallet-ui/src/services/useStarkNetSnap.ts +++ b/packages/wallet-ui/src/services/useStarkNetSnap.ts @@ -30,7 +30,7 @@ export const useStarkNetSnap = () => { const { ethereum } = window as any; const snapId = process.env.REACT_APP_SNAP_ID ? process.env.REACT_APP_SNAP_ID : 'local:http://localhost:8081/'; const snapVersion = process.env.REACT_APP_SNAP_VERSION ? process.env.REACT_APP_SNAP_VERSION : '*'; - const minSnapVersion = process.env.REACT_APP_MIN_SNAP_VERSION ? process.env.REACT_APP_MIN_SNAP_VERSION : '1.2.1'; + const minSnapVersion = process.env.REACT_APP_MIN_SNAP_VERSION ? process.env.REACT_APP_MIN_SNAP_VERSION : '1.3.0'; const connectToSnap = () => { dispatch(enableLoadingWithMessage('Connecting...'));