-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a publicationId suffix to storage key when enabled by flag (#3575)
* Add a publicationId suffix to storage key when enabled by flag * fix lint errors * Allowlist storage keys without publication id due to legacy reason * Rename variable names to baseKey or finalKey for clarity. * Consolidate constants for local storage keys into StorageKeys. * Rename arguments for key generation functions to baseKey for clarity. * Fix broken unit tests * Add more unit tests to cover scenarios using new key * Make internal functions privates * Clean up unused storage functions * Add test to cover pruneTimestamps function * Add more test cases to cover StorageKeysWithoutPublicationIdSuffix * Fix typo and add comments
- Loading branch information
Showing
21 changed files
with
928 additions
and
419 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.