diff --git a/go/CHANGELOG.md b/go/CHANGELOG.md index fae4676..78355fd 100644 --- a/go/CHANGELOG.md +++ b/go/CHANGELOG.md @@ -2,6 +2,12 @@ All notable changes to cm-email-webhook-verification will be documented in this file. +## [1.0.1] - 2026-03-09 + +### Fixed + +- Corrected package import path in README documentation + ## [1.0.0] - 2026-03-09 ### Added diff --git a/go/README.md b/go/README.md index f975d81..6f30810 100644 --- a/go/README.md +++ b/go/README.md @@ -5,7 +5,7 @@ Go SDK for verifying CM Email webhook signatures. ## Installation ```bash -go get github.com/cmdotcom/email-webhook-verification-sdks/go +go get github.com/cmdotcom/email-webhook-verification-sdk/go ``` ## Requirements @@ -21,7 +21,7 @@ import ( "fmt" "log" - webhook "github.com/cmdotcom/email-webhook-verification-sdks/go" + webhook "github.com/cmdotcom/email-webhook-verification-sdk/go" ) func main() { @@ -71,7 +71,7 @@ import ( "io" "net/http" - webhook "github.com/cmdotcom/email-webhook-verification-sdks/go" + webhook "github.com/cmdotcom/email-webhook-verification-sdk/go" ) var validator = webhook.NewWebhookValidator("your-secret-key") diff --git a/go/VERSION b/go/VERSION index 3eefcb9..7dea76e 100644 --- a/go/VERSION +++ b/go/VERSION @@ -1 +1 @@ -1.0.0 +1.0.1 diff --git a/javascript/CHANGELOG.md b/javascript/CHANGELOG.md index 86b2eac..ad50e27 100644 --- a/javascript/CHANGELOG.md +++ b/javascript/CHANGELOG.md @@ -1,12 +1,18 @@ # Changelog -All notable changes to @cm.com/email-webhook-verification will be documented in this file. +All notable changes to @cm-email-gateway/email-webhook-verification will be documented in this file. + +## [1.0.1] - 2026-03-09 + +### Fixed + +- Corrected package name in README documentation ## [1.0.0] - 2026-03-08 ### Added -- Initial release of @cm.com/email-webhook-verification SDK +- Initial release of @cm-email-gateway/email-webhook-verification SDK - `WebhookValidator` class for verifying webhook authenticity - HMAC-SHA512 signature verification matching the CM Email webhook signing service - Timestamp validation with configurable tolerance window (default: 5 minutes) diff --git a/javascript/README.md b/javascript/README.md index 09ce757..4f0377d 100644 --- a/javascript/README.md +++ b/javascript/README.md @@ -1,17 +1,17 @@ -# @cm/email-webhook-verification +# @cm-email-gateway/email-webhook-verification Node.js/TypeScript SDK for verifying CM Email webhook signatures. ## Installation ```bash -npm install @cm/email-webhook-verification +npm install @cm-email-gateway/email-webhook-verification ``` Or with yarn: ```bash -yarn add @cm/email-webhook-verification +yarn add @cm-email-gateway/email-webhook-verification ``` ## Requirements @@ -21,7 +21,7 @@ yarn add @cm/email-webhook-verification ## Usage ```typescript -import { WebhookValidator } from '@cm/email-webhook-verification'; +import { WebhookValidator } from '@cm-email-gateway/email-webhook-verification'; // Initialize the validator with your secret key const validator = new WebhookValidator({ @@ -65,7 +65,7 @@ try { ```typescript import express from 'express'; -import { WebhookValidator, WebhookVerificationError } from '@cm/email-webhook-verification'; +import { WebhookValidator, WebhookVerificationError } from '@cm-email-gateway/email-webhook-verification'; const app = express(); app.use(express.raw({ type: 'application/json' })); diff --git a/javascript/package-lock.json b/javascript/package-lock.json index 6e2e805..fba1a12 100644 --- a/javascript/package-lock.json +++ b/javascript/package-lock.json @@ -1,12 +1,12 @@ { - "name": "@cm/email-webhook-verification", - "version": "1.0.0", + "name": "@cm-email-gateway/email-webhook-verification", + "version": "1.0.1", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "@cm/email-webhook-verification", - "version": "1.0.0", + "name": "@cm-email-gateway/email-webhook-verification", + "version": "1.0.1", "license": "MIT", "devDependencies": { "@types/jest": "^29.5.12", diff --git a/javascript/package.json b/javascript/package.json index 551faf6..4ac9829 100644 --- a/javascript/package.json +++ b/javascript/package.json @@ -1,6 +1,6 @@ { "name": "@cm-email-gateway/email-webhook-verification", - "version": "1.0.0", + "version": "1.0.1", "description": "SDK for verifying CM Email webhook signatures", "main": "dist/cjs/index.js", "module": "dist/esm/index.js",