Commit Graph

9 Commits

Author SHA1 Message Date
1b6e2b0bd7 refactor: replace prices.tf with pricedb.io 2026-05-02 15:38:46 -04:00
xenticore
745087a1cb fix: stronger error handling in fetchPrice 2025-05-01 18:25:47 -04:00
xenticore
95ce637892 feat: enable webextension builds
Currently only supports Chrome due to no `chrome` -> `browser` polyfill
2025-05-01 15:27:14 -04:00
xenticore
5e5846abde refactor: rewrite async promises as chain 2025-04-30 18:31:33 -04:00
xenticore
df3b40fbdd lint: var to let/const 2025-04-24 17:38:02 -04:00
xenticore
be6206194b fix: price data update time serialization
price update time was not properly serialized as a number like the schema was, and led to dates being stored as empty objects. UI code also did not check if date was NaN, and rendered "invalid date" instead.
2025-03-29 14:19:38 -04:00
xenticore
77a831b89e refactor: fetchPrice now expects an SKU string 2025-03-28 23:35:39 -04:00
xenticore
d1c5083425 refactor: priceUsingPricesTF now expects an SKU string 2025-03-28 23:31:59 -04:00
xenticore
12de4a7148 refactor: moved components to separate modules
`content.ts` is now half less than the size, exported functions can be unit tested
2025-03-24 15:39:28 -04:00