+2
-2
entrypoints/home.content.ts
+2
-2
entrypoints/home.content.ts
······
······
+37
entrypoints/profile.content/index.ts
+37
entrypoints/profile.content/index.ts
···
···+const data = (await (await fetch(config.api.urls.public + "users/find?username=" + username)).json());
+43
entrypoints/profile.content/view.ts
+43
entrypoints/profile.content/view.ts
···
···+if (!statsCard) return; // ? Incase the user is blocked, which means the stats card won't be present
+2
-1
utils/storage.ts
+2
-1
utils/storage.ts
+3
utils/types.ts
+3
utils/types.ts
+103
-37
utils/utilities.ts
+103
-37
utils/utilities.ts
···-export async function pullCache(key: string, replenish: Function, expiry: number, forceReplenish: boolean) {-const profileLink: HTMLLinkElement = document.querySelector('.navbar a.text-reset[href^="/users/"]')!;-const avatar = (await (await fetch(config.api.urls.public + 'users/' + userId + '/avatar')).json());···
······