@hexah/skin-sdk 0.10.0 → 0.11.0

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/index.js CHANGED
@@ -19,7 +19,7 @@
19
19
  * major. Bump: major = zmiana łamiąca powierzchnię, minor = dodanie zgodne wstecz,
20
20
  * patch = bez zmiany powierzchni.
21
21
  */
22
- const SKIN_API_VERSION = "0.10.0";
22
+ const SKIN_API_VERSION = "0.11.0";
23
23
 
24
24
  /** Domyślny szablon, gdy motyw nie ma własnego wariantu wizualnego. */
25
25
  const DEFAULT_TEMPLATE = "medieval";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hexah/skin-sdk",
3
- "version": "0.10.0",
3
+ "version": "0.11.0",
4
4
  "description": "Publiczny, wersjonowany kontrakt SDK skórek Hexah (stałe + typy). Implementacje dostarcza host w runtime.",
5
5
  "main": "index.js",
6
6
  "types": "index.js",
package/runtime-stubs.js CHANGED
@@ -138,6 +138,24 @@ const useShop = hostProvided("useShop");
138
138
  * @returns {Record<string, (data: { callback: (r:any)=>void }) => void>}
139
139
  */
140
140
  const useAccountProfile = hostProvided("useAccountProfile");
141
+ /**
142
+ * API Notowań (rankingi): ranking, rankingExplorer. Filtry w polach poza `callback`;
143
+ * zwrotka `{ results, pagination }`.
144
+ * @returns {Record<string, (data: { callback: (r:any)=>void }) => void>}
145
+ */
146
+ const useRanking = hostProvided("useRanking");
147
+ /**
148
+ * API Dynastii (rody): create, list, get, getProperties, choseName, invite, acceptInvitation,
149
+ * removeMember, editMember, editSpouse, transferOwner, setPermission, changeDescription,
150
+ * npcAccessGrant, npcAccessRevoke, npcAccessList, depositCrabs, depositInfluencePoints.
151
+ * @returns {Record<string, (data: { callback: (r:any)=>void }) => void>}
152
+ */
153
+ const useFamily = hostProvided("useFamily");
154
+ /**
155
+ * API Mesy (karczma): listTales (wymusza filtr `WydarzeniaKarczmy`), getMembersCount.
156
+ * @returns {Record<string, (data: { callback: (r:any)=>void }) => void>}
157
+ */
158
+ const useInn = hostProvided("useInn");
141
159
 
142
160
  /* ---------- Sloty (host) ---------- */
143
161
  /** Provider slotów hosta (host montuje go sam; skórka go nie używa). */
@@ -207,6 +225,9 @@ module.exports = {
207
225
  useSettings,
208
226
  useShop,
209
227
  useAccountProfile,
228
+ useRanking,
229
+ useFamily,
230
+ useInn,
210
231
  SlotsProvider,
211
232
  useSlots,
212
233
  PageBox,