Two SDK↔gateway contract drifts surfaced by an internal audit are fixed in
@getpeppr/sdk 2.5.0.
Directory search pagination works again
peppol.directory.search() returned its pagination metadata unmapped, so
result.meta.totalCount and result.meta.hasMore were undefined at runtime
even though the types promised number and boolean. The response is now
normalized like every other paginated method.
Webhook event types match the gateway exactly
WebhookEventType advertised three events the gateway never accepted —
creditnote.sent, creditnote.received and the deprecated invoice.closed.
Subscribing to any of them returned 400 Invalid event type. They are gone,
and the list is now exported as a runtime constant, WEBHOOK_EVENT_TYPES,
kept in lockstep with the gateway by a contract test.
No working integration breaks: the removed values never worked. If your TypeScript code referenced those literals you will get a compile-time error — drop the reference. See the webhooks guide for the full event list.
CLI 0.5.4 ships the same SDK under the hood.