daytona-wildberries-typescript-sdk 3.12.0 → 3.13.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/README.md CHANGED
@@ -41,6 +41,18 @@ Transform 11 OpenAPI specifications into a production-ready SDK with 14 modules,
41
41
  - **💰 Finance v1 Reports** - Sales Reports and Acquiring Reports with `parseMoneyAmount()` helper and field union types for autocomplete
42
42
  - **🔔 Deprecation Utilities** - `warnOnce()` and `resetDeprecationWarnings()` for clean migration workflows
43
43
 
44
+ ## What's New (v3.13.0) — May 2026
45
+
46
+ 🔧 **Critical fix: `sdk.communications.createSellerMessage()` now works** — the method previously sent an empty body on every call (broken since introduction). v3.13.0 requires a `data: SellerMessageRequest` parameter. Existing TypeScript call sites `createSellerMessage()` will fail to compile — this is intentional; the old signature never worked.
47
+
48
+ ⚠️ **replySign format deadline: 2026-06-04** — WB updated the `replySign` field format. Old-format values cached before this date will be rejected with HTTP 400 after the cutoff. Always refresh via `getSellerChats()` before calling `createSellerMessage()`.
49
+
50
+ 🆕 **New type exported**: `SellerMessageRequest` — `import type { SellerMessageRequest } from 'daytona-wildberries-typescript-sdk'`.
51
+
52
+ 🔔 **Heuristic warn-once**: SDK emits a one-time `console.warn` when a probable old-format `replySign` is detected at runtime. Use `resetDeprecationWarnings()` in tests.
53
+
54
+ See [CHANGELOG v3.13.0](#3130---2026-05-14) and the [migration guide](./docs/guides/chat-replysign-format-migration.md) for full details.
55
+
44
56
  ## What's New (v3.12.0) — May 2026
45
57
 
46
58
  ⚠️ **Critical migration deadline: 2026-05-20 13:00 MSK** — Wildberries begins disabling the legacy `sku` parameter on seller-warehouse stock endpoints. Migrate now.
@@ -308,6 +320,18 @@ This is an unofficial SDK. It is not affiliated with, officially maintained by,
308
320
  - **💰 Финансовые Отчеты v1** - Отчеты о продажах и эквайринге с хелпером `parseMoneyAmount()` и union-типами полей для автодополнения
309
321
  - **🔔 Утилиты Для Устаревших Методов** - `warnOnce()` и `resetDeprecationWarnings()` для удобной миграции
310
322
 
323
+ ## Что нового (v3.13.0) — Май 2026
324
+
325
+ 🔧 **Критическое исправление: `sdk.communications.createSellerMessage()` теперь работает** — метод ранее отправлял пустое тело при каждом вызове (сломан с момента появления). v3.13.0 требует параметр `data: SellerMessageRequest`. Существующие вызовы `createSellerMessage()` без аргументов перестанут компилироваться — это намеренно; старая сигнатура никогда не работала.
326
+
327
+ ⚠️ **Дедлайн формата replySign: 2026-06-04** — WB обновил формат поля `replySign`. Старые значения, кэшированные до этой даты, будут отклоняться с HTTP 400 после дедлайна. Всегда обновляйте через `getSellerChats()` перед вызовом `createSellerMessage()`.
328
+
329
+ 🆕 **Новый экспортируемый тип**: `SellerMessageRequest` — `import type { SellerMessageRequest } from 'daytona-wildberries-typescript-sdk'`.
330
+
331
+ 🔔 **Эвристика warn-once**: SDK выводит одноразовое `console.warn`, если обнаруживает вероятный `replySign` старого формата. В тестах используйте `resetDeprecationWarnings()`.
332
+
333
+ Подробности — в [CHANGELOG v3.13.0](#3130---2026-05-14) и [руководстве по миграции](./docs/ru/guides/chat-replysign-format-migration.md).
334
+
311
335
  ## Что нового (v3.12.0) — Май 2026
312
336
 
313
337
  ⚠️ **Критический дедлайн миграции: 2026-05-20 13:00 MSK** — Wildberries начинает отключение legacy-параметра `sku` на эндпоинтах остатков склада продавца. Мигрируйте сейчас.