Skip to content

v0.6.0

Choose a tag to compare

@Hill-waffo Hill-waffo released this 09 May 08:18
fb7a49b

BREAKING

  • UpdateStoreParams.webhookSettings removed — server ignores the field and returns warnings[] with WEBHOOK_SETTINGS_IGNORED guidance
  • WebhookSettings type removed from public exports

Added

  • client.webhooks.add / update / remove — multi-channel webhook CRUD across http / feishu / discord / telegram / slack
  • WebhookChannel enum + StoreWebhook entity type
  • Add/Update/RemoveWebhookParams types

Notes

  • HTTP keeps the existing RSA-signed envelope (zero merchant-side break)
  • IM platforms deliver native card / embed / attachment payloads
  • secret field carries channel-specific credentials (Telegram chat_id, custom signing keys)
  • Listing webhooks is exclusively through GraphQL Store.storeWebhooks (BFA principle); the SDK exposes mutations only
  • Coverage 99.7 / 96.75 / 100 / 99.7; 204 tests passing including 31 new webhook scenarios