Skip to content

Commit

Permalink
Update CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
rygine authored Nov 23, 2024
1 parent d2301c2 commit eab35c2
Showing 1 changed file with 15 additions and 2 deletions.
17 changes: 15 additions & 2 deletions packages/frames-validator/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,22 @@

## 1.0.0

### Major Changes
### BREAKING CHANGE

- 86a8f9f: Add V3 support to Frames client and validator
- 86a8f9f: Added support for validating V3 frames

`validateFramesPost` is now async to support fetching the inbox ID of an account address when validating V3 frames. It also accepts a second parameter to specify the environment to use when looking up inbox IDs. In production, this parameter **must** be set to `production`.

```ts
import { XmtpValidator, validateFramesPost } from "@xmtp/frames-validator";

const validator = new XmtpValidator();
// environment must be set in production (default: "dev")
const validation = await validator(payload, "production");

// now async, also requires environment in production (default: "dev")
const validation = await validateFramesPost(payload, "production");
```

## 0.6.3

Expand Down

0 comments on commit eab35c2

Please sign in to comment.