@hadoku/prefs-client 1.1.6 → 1.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -4
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -158,10 +158,7 @@ Rules for an app that renders avatars:
|
|
|
158
158
|
- **`sprite`** is the character even when the picture is a Discord avatar: a game uses it as the
|
|
159
159
|
piece and its colour. The app that owns the art builds its URL (watchparty owns art revisions;
|
|
160
160
|
its public `GET /watchparty/api/characters` lists them). Without one, use your own default.
|
|
161
|
-
-
|
|
162
|
-
visible line such as "Steam avatars via the Steam Web API · not affiliated with Valve", linking
|
|
163
|
-
to `https://store.steampowered.com/`. Do not use Steam's or Discord's logos, and do not imply
|
|
164
|
-
either endorses the app.
|
|
161
|
+
- Do not use Steam's or Discord's logos, and do not imply either endorses the app.
|
|
165
162
|
- Resolve on join and on reconnect; avatars change rarely. `resolveAvatars` batches past 100 ids.
|
|
166
163
|
- Source choice, character choice, linking (`linkInPopup`: no page navigation), uploads and
|
|
167
164
|
removal all happen in the settings popout. Don't build your own.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hadoku/prefs-client",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.7",
|
|
4
4
|
"description": "Client SDK for the hadoku unified preferences store. Wraps /prefs/api/v1/* with localStorage caching, debounced writes, Zod-validated reads, and a usePrefs() React hook, plus match history, ratings and leaderboards for every game (./games), and the one resolved avatar per user (./avatar).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|