Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions go/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions go/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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() {
Expand Down Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion go/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.0.0
1.0.1
10 changes: 8 additions & 2 deletions javascript/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
10 changes: 5 additions & 5 deletions javascript/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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({
Expand Down Expand Up @@ -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' }));
Expand Down
8 changes: 4 additions & 4 deletions javascript/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion javascript/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
Loading