A new service was added to request data from the OGame server, which contains information about the game universe.
Add expiry utility for fetch requests: A private field is introduced for the fetch utility to store the expiry timestamp, initially set to -1. This private field is populated based on the 'Expires' header if available.
*Adds functionality to handle JSON with advanced types: Introduces a new file containing functionality to transform advanced data types to JSON and vice versa.
*Adds functionality to manage universe storage: Introduces new functionality to save and retrieve data associated with a universe and a key in Chrome storage.
Adds functionality to manage universe expirations: Introduces new functions to set an expiry date for a universe key, to check if a universe has expired its key and to set the Time To Live (TTL) for a universe's expiry key.
A new service was added to request data from the OGame server, which contains information about the game universe.
Add expiry utility for fetch requests: A private field is introduced for the fetch utility to store the expiry timestamp, initially set to -1. This private field is populated based on the 'Expires' header if available.
*Adds functionality to handle JSON with advanced types: Introduces a new file containing functionality to transform advanced data types to JSON and vice versa.
*Adds functionality to manage universe storage: Introduces new functionality to save and retrieve data associated with a universe and a key in Chrome storage.
Adds functionality to manage universe expirations: Introduces new functions to set an expiry date for a universe key, to check if a universe has expired its key and to set the Time To Live (TTL) for a universe's expiry key.