From 0510d1dc0fd45f15d3415db3ed3eb6ea2c296fea Mon Sep 17 00:00:00 2001 From: hmalik88 Date: Thu, 23 Feb 2023 09:12:25 -0500 Subject: [PATCH 1/4] bump update snap versions --- packages/site/src/features/update-snap/Update.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/site/src/features/update-snap/Update.tsx b/packages/site/src/features/update-snap/Update.tsx index b72b6b62..a9f1d7ce 100644 --- a/packages/site/src/features/update-snap/Update.tsx +++ b/packages/site/src/features/update-snap/Update.tsx @@ -4,8 +4,8 @@ import { Result, Snap } from '../../components'; import { useGetSnapsQuery, useInstallSnapMutation } from '../../api'; const UPDATE_SNAP_ID = 'npm:@metamask/test-snap-bip32'; -const UPDATE_SNAP_OLD_VERSION = '4.6.3'; -const UPDATE_SNAP_NEW_VERSION = '4.6.4'; +const UPDATE_SNAP_OLD_VERSION = '4.6.4'; +const UPDATE_SNAP_NEW_VERSION = '4.6.5'; export const Update: FunctionComponent = () => { const [installSnap, { isLoading }] = useInstallSnapMutation(); From eab6f0f584ac37e70b470cb2a8d4bf52d7ae3ac4 Mon Sep 17 00:00:00 2001 From: hmalik88 Date: Thu, 23 Feb 2023 09:56:55 -0500 Subject: [PATCH 2/4] correct update versions --- packages/site/src/features/update-snap/Update.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/site/src/features/update-snap/Update.tsx b/packages/site/src/features/update-snap/Update.tsx index a9f1d7ce..724012c7 100644 --- a/packages/site/src/features/update-snap/Update.tsx +++ b/packages/site/src/features/update-snap/Update.tsx @@ -4,8 +4,8 @@ import { Result, Snap } from '../../components'; import { useGetSnapsQuery, useInstallSnapMutation } from '../../api'; const UPDATE_SNAP_ID = 'npm:@metamask/test-snap-bip32'; -const UPDATE_SNAP_OLD_VERSION = '4.6.4'; -const UPDATE_SNAP_NEW_VERSION = '4.6.5'; +const UPDATE_SNAP_OLD_VERSION = '4.6.5'; +const UPDATE_SNAP_NEW_VERSION = '4.6.6'; export const Update: FunctionComponent = () => { const [installSnap, { isLoading }] = useInstallSnapMutation(); From c62ca127fc714c15c863945f9cfaf9bcab93aaa3 Mon Sep 17 00:00:00 2001 From: hmalik88 Date: Thu, 23 Feb 2023 13:33:31 -0500 Subject: [PATCH 3/4] fix snap versions --- packages/site/src/features/update-snap/Update.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/site/src/features/update-snap/Update.tsx b/packages/site/src/features/update-snap/Update.tsx index 724012c7..82422cdf 100644 --- a/packages/site/src/features/update-snap/Update.tsx +++ b/packages/site/src/features/update-snap/Update.tsx @@ -4,8 +4,8 @@ import { Result, Snap } from '../../components'; import { useGetSnapsQuery, useInstallSnapMutation } from '../../api'; const UPDATE_SNAP_ID = 'npm:@metamask/test-snap-bip32'; -const UPDATE_SNAP_OLD_VERSION = '4.6.5'; -const UPDATE_SNAP_NEW_VERSION = '4.6.6'; +const UPDATE_SNAP_OLD_VERSION = '5.0.0'; +const UPDATE_SNAP_NEW_VERSION = '5.1.0'; export const Update: FunctionComponent = () => { const [installSnap, { isLoading }] = useInstallSnapMutation(); From c2824e44b1af40ad7c0be63707320ba65a3098c3 Mon Sep 17 00:00:00 2001 From: hmalik88 Date: Thu, 23 Feb 2023 13:40:13 -0500 Subject: [PATCH 4/4] change to patch release --- packages/site/src/features/update-snap/Update.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/site/src/features/update-snap/Update.tsx b/packages/site/src/features/update-snap/Update.tsx index 82422cdf..adbdd6d4 100644 --- a/packages/site/src/features/update-snap/Update.tsx +++ b/packages/site/src/features/update-snap/Update.tsx @@ -5,7 +5,7 @@ import { useGetSnapsQuery, useInstallSnapMutation } from '../../api'; const UPDATE_SNAP_ID = 'npm:@metamask/test-snap-bip32'; const UPDATE_SNAP_OLD_VERSION = '5.0.0'; -const UPDATE_SNAP_NEW_VERSION = '5.1.0'; +const UPDATE_SNAP_NEW_VERSION = '5.0.1'; export const Update: FunctionComponent = () => { const [installSnap, { isLoading }] = useInstallSnapMutation();