Skip to content

Commit

Permalink
feat: bump min snap version to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jonesho committed Feb 17, 2023
1 parent 1f92557 commit b2ff2c1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/wallet-ui/.env.production
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
REACT_APP_SNAP_ID=npm:@consensys/starknet-snap
REACT_APP_MIN_SNAP_VERSION=1.2.1
REACT_APP_MIN_SNAP_VERSION=1.3.0
2 changes: 1 addition & 1 deletion packages/wallet-ui/.env.sample
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
REACT_APP_SNAP_ID=local:http://localhost:8081/
REACT_APP_SNAP_VERSION=*
REACT_APP_MIN_SNAP_VERSION=1.2.1
REACT_APP_MIN_SNAP_VERSION=1.3.0
2 changes: 1 addition & 1 deletion packages/wallet-ui/src/services/useStarkNetSnap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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...'));
Expand Down

0 comments on commit b2ff2c1

Please sign in to comment.