diff --git a/.changeset/sms-e164-recipient.md b/.changeset/sms-e164-recipient.md deleted file mode 100644 index f1147d4..0000000 --- a/.changeset/sms-e164-recipient.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -"@senderkit/sdk": patch -"@senderkit/cli": patch ---- - -Document that SMS recipients must be an E.164 phone number, matching the hosted API's validation. The API now rejects a non-E.164 SMS `to` with `400 invalid_recipient` (for both template and raw sends) instead of accepting it and failing later at dispatch. - -- The `senderkit_send_raw` `to` field description now spells out the per-channel recipient formats — including the E.164 requirement for `sms` — bringing it in line with `senderkit_send`, which already documented it. This flows through to the `senderkit send-raw` CLI help. -- The SDK README's SMS example now notes the E.164 requirement and the `400 invalid_recipient` response. diff --git a/examples/nextjs-basic/CHANGELOG.md b/examples/nextjs-basic/CHANGELOG.md index 877ecdd..83c4d67 100644 --- a/examples/nextjs-basic/CHANGELOG.md +++ b/examples/nextjs-basic/CHANGELOG.md @@ -1,5 +1,12 @@ # @senderkit-examples/nextjs-basic +## 0.0.17 + +### Patch Changes + +- Updated dependencies [702dba8] + - @senderkit/sdk@0.14.2 + ## 0.0.16 ### Patch Changes diff --git a/examples/nextjs-basic/package.json b/examples/nextjs-basic/package.json index 4e5822b..251bf94 100644 --- a/examples/nextjs-basic/package.json +++ b/examples/nextjs-basic/package.json @@ -1,6 +1,6 @@ { "name": "@senderkit-examples/nextjs-basic", - "version": "0.0.16", + "version": "0.0.17", "private": true, "scripts": { "dev": "next dev", diff --git a/examples/node-basic/CHANGELOG.md b/examples/node-basic/CHANGELOG.md index 86ee7c0..66e3814 100644 --- a/examples/node-basic/CHANGELOG.md +++ b/examples/node-basic/CHANGELOG.md @@ -1,5 +1,12 @@ # @senderkit-examples/node-basic +## 0.0.17 + +### Patch Changes + +- Updated dependencies [702dba8] + - @senderkit/sdk@0.14.2 + ## 0.0.16 ### Patch Changes diff --git a/examples/node-basic/package.json b/examples/node-basic/package.json index f7d085f..365afbb 100644 --- a/examples/node-basic/package.json +++ b/examples/node-basic/package.json @@ -1,6 +1,6 @@ { "name": "@senderkit-examples/node-basic", - "version": "0.0.16", + "version": "0.0.17", "private": true, "type": "module", "scripts": { diff --git a/packages/cli/CHANGELOG.md b/packages/cli/CHANGELOG.md index e379400..4a5e755 100644 --- a/packages/cli/CHANGELOG.md +++ b/packages/cli/CHANGELOG.md @@ -1,5 +1,17 @@ # @senderkit/cli +## 0.9.2 + +### Patch Changes + +- 702dba8: Document that SMS recipients must be an E.164 phone number, matching the hosted API's validation. The API now rejects a non-E.164 SMS `to` with `400 invalid_recipient` (for both template and raw sends) instead of accepting it and failing later at dispatch. + + - The `senderkit_send_raw` `to` field description now spells out the per-channel recipient formats — including the E.164 requirement for `sms` — bringing it in line with `senderkit_send`, which already documented it. This flows through to the `senderkit send-raw` CLI help. + - The SDK README's SMS example now notes the E.164 requirement and the `400 invalid_recipient` response. + +- Updated dependencies [702dba8] + - @senderkit/sdk@0.14.2 + ## 0.9.1 ### Patch Changes diff --git a/packages/cli/package.json b/packages/cli/package.json index b09cbae..0565122 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -1,6 +1,6 @@ { "name": "@senderkit/cli", - "version": "0.9.1", + "version": "0.9.2", "description": "SenderKit command-line interface and MCP server — send notifications and inspect templates/messages from your terminal or AI assistant.", "license": "MIT", "homepage": "https://github.com/senderkit/senderkit-sdk#readme", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 7e1bd43..2d11733 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @senderkit/sdk +## 0.14.2 + +### Patch Changes + +- 702dba8: Document that SMS recipients must be an E.164 phone number, matching the hosted API's validation. The API now rejects a non-E.164 SMS `to` with `400 invalid_recipient` (for both template and raw sends) instead of accepting it and failing later at dispatch. + + - The `senderkit_send_raw` `to` field description now spells out the per-channel recipient formats — including the E.164 requirement for `sms` — bringing it in line with `senderkit_send`, which already documented it. This flows through to the `senderkit send-raw` CLI help. + - The SDK README's SMS example now notes the E.164 requirement and the `400 invalid_recipient` response. + ## 0.14.1 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index c88b234..5fbcd01 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@senderkit/sdk", - "version": "0.14.1", + "version": "0.14.2", "description": "Official TypeScript SDK for SenderKit — notification infrastructure for modern SaaS apps.", "license": "MIT", "homepage": "https://github.com/senderkit/senderkit-sdk#readme",