Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F32189587
D15387.1765090701.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
2 KB
Referenced Files
None
Subscribers
None
D15387.1765090701.diff
View Options
diff --git a/lib/types/alert-types.js b/lib/types/alert-types.js
--- a/lib/types/alert-types.js
+++ b/lib/types/alert-types.js
@@ -5,6 +5,7 @@
CONNECT_FARCASTER: 'connect-farcaster',
SIWE_BACKUP_MESSAGE: 'siwe-backup-message',
DISPLAY_DIRECTORY_PROMPT: 'display-directory-prompt',
+ CONNECT_FARCASTER_DCS: 'connect-farcaster-dcs',
});
type AlertType = $Values<typeof alertTypes>;
@@ -39,6 +40,7 @@
[alertTypes.CONNECT_FARCASTER]: defaultAlertInfo,
[alertTypes.SIWE_BACKUP_MESSAGE]: defaultAlertInfo,
[alertTypes.DISPLAY_DIRECTORY_PROMPT]: defaultAlertInfo,
+ [alertTypes.CONNECT_FARCASTER_DCS]: defaultAlertInfo,
});
const securityUpdateLogoutText: string =
diff --git a/native/redux/persist-constants.js b/native/redux/persist-constants.js
--- a/native/redux/persist-constants.js
+++ b/native/redux/persist-constants.js
@@ -5,6 +5,6 @@
// NOTE: renaming this constant requires updating
// `native/native_rust_library/build.rs` to correctly
// scrap Redux state version from this file.
-const storeVersion = 97;
+const storeVersion = 98;
export { rootKey, storeVersion };
diff --git a/native/redux/persist.js b/native/redux/persist.js
--- a/native/redux/persist.js
+++ b/native/redux/persist.js
@@ -1723,6 +1723,19 @@
ops,
};
}: MigrationFunction<NavInfo, AppState>),
+ [98]: (async (state: AppState) => ({
+ state: {
+ ...state,
+ alertStore: {
+ ...state.alertStore,
+ alertInfos: {
+ ...state.alertStore.alertInfos,
+ [alertTypes.CONNECT_FARCASTER_DCS]: defaultAlertInfo,
+ },
+ },
+ },
+ ops: {},
+ }): MigrationFunction<NavInfo, AppState>),
});
const persistConfig = {
diff --git a/web/redux/persist-constants.js b/web/redux/persist-constants.js
--- a/web/redux/persist-constants.js
+++ b/web/redux/persist-constants.js
@@ -3,6 +3,6 @@
const rootKey = 'root';
const rootKeyPrefix = 'persist:';
const completeRootKey = `${rootKeyPrefix}${rootKey}`;
-const storeVersion = 97;
+const storeVersion = 98;
export { rootKey, rootKeyPrefix, completeRootKey, storeVersion };
diff --git a/web/redux/persist.js b/web/redux/persist.js
--- a/web/redux/persist.js
+++ b/web/redux/persist.js
@@ -932,6 +932,10 @@
ops,
};
}: MigrationFunction<WebNavInfo, AppState>),
+ [98]: (async (state: AppState) => ({
+ state,
+ ops: {},
+ }): MigrationFunction<WebNavInfo, AppState>),
};
const persistConfig: PersistConfig = {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Dec 7, 6:58 AM (12 h, 27 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
5836835
Default Alt Text
D15387.1765090701.diff (2 KB)
Attached To
Mode
D15387: [lib][native][web] Track connecting Farcaster DC alert separate from connecting Farcaster alert
Attached
Detach File
Event Timeline
Log In to Comment