Skip to content
This repository was archived by the owner on May 27, 2025. It is now read-only.

Conversation

@duanyytop
Copy link
Collaborator

@duanyytop duanyytop commented Jan 16, 2025

Changes

  • Add USDI to compatible xUDT list
  • Fetch and cache compatible xUDT list from Vercel or GitHub server
  • Use local static compatible xUDT list when the cache is empty
  • Remove jsdelivr CDN because CDN cache time is too long, causing UTXO Airdrop cellDeps to become outdated
  • Update UtxoAirdropBadge cellDeps test

@duanyytop duanyytop force-pushed the feat/compatible-usdi branch from 0849941 to 1b699b7 Compare January 20, 2025 10:20
@duanyytop
Copy link
Collaborator Author

@Flouse @ShookLyngs @Dawn-githup Fetching and caching compatible xUDT list from servers is ready

Comment on lines 238 to 243
* URL (`VERCEL_CELL_DEPS_JSON_STATIC_URL`) will be used.
* @returns A promise that resolves when the cache has been refreshed.
*/
static async refreshCache(url?: string): Promise<void> {
this.xudtUrl = url ?? VERCEL_CELL_DEPS_JSON_STATIC_URL;
const isExternal = url !== VERCEL_CELL_DEPS_JSON_STATIC_URL && url !== GITHUB_STATIC_COMPATIBLE_XUDT_URL;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERCEL_CELL_DEPS_JSON_STATIC_URL -> VERCEL_STATIC_COMPATIBLE_XUDT_URL

@duanyytop duanyytop force-pushed the feat/compatible-usdi branch from 47c7e8d to 92686f0 Compare January 21, 2025 03:44
@duanyytop duanyytop added this pull request to the merge queue Jan 21, 2025
Merged via the queue into develop with commit 8c6705a Jan 21, 2025
4 checks passed
@duanyytop duanyytop deleted the feat/compatible-usdi branch January 21, 2025 06:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants