Lock TTL is now passed in seconds, matching what the core lock RPC methods
expect and what the 3.x SDK documents as ttlSeconds.
The presta-api timeout test no longer drains the event loop: it drives the
unref-ed timeout timer through node:test mock timers instead of real ones.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LpoFvfAbnMmkSJFRc867XA
- module.json: name/version/dependsOn (core/orders, core/products);
package.json name -> core.prestashop
- hardcode'y 'core/prestashop' (source.moduleCode w pullerze/imporcie)
zastąpione Core.getModuleInfo().code; w orders-api stałe top-level
zamienione na leniwe funkcje, legacy alias 'prestashop' wyliczany z kodu
- make-zip.sh pakuje module.json
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Replace custom ShopConfig pages/models with registerConfigBlocks, load config from Config store, and enforce RBAC on methods.
Co-authored-by: Cursor <cursoragent@cursor.com>
Remove companyId from handlers, models, cron jobs, and cross-module calls to match the v2 one-module-one-company architecture.
Co-authored-by: Cursor <cursoragent@cursor.com>