Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add frames-validator package #687

Merged
merged 51 commits into from
Oct 18, 2024
Merged

Add frames-validator package #687

merged 51 commits into from
Oct 18, 2024

Conversation

rygine
Copy link
Collaborator

@rygine rygine commented Oct 18, 2024

Summary

This brings in the frames-validator package from the xmtp-js-node-tools repo with commit history.

Notable changes

  • Exported functions checkUntrustedData, getVerifiedWalletAddress, and validateFramesPost are now sync
  • XmtpValidator.validate is still async to maintain compatibility with @open-frames types, even though it doesn't need to be

Other changes

  • Updated developer dependencies
  • Fixed config and lint issues

neekolas and others added 30 commits October 18, 2024 11:24
Bumps [@xmtp/xmtp-js](https://github.com/xmtp/xmtp-js) from 11.3.5 to 11.3.12.
- [Release notes](https://github.com/xmtp/xmtp-js/releases)
- [Commits](v11.3.5...v11.3.12)

---
updated-dependencies:
- dependency-name: "@xmtp/xmtp-js"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [rollup](https://github.com/rollup/rollup) from 4.9.6 to 4.12.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.9.6...v4.12.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [viem](https://github.com/wevm/viem) from 2.7.8 to 2.7.14.
- [Release notes](https://github.com/wevm/viem/releases)
- [Commits](https://github.com/wevm/viem/compare/[email protected]@2.7.14)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
dependabot bot and others added 19 commits October 18, 2024 11:24
Bumps [@noble/hashes](https://github.com/paulmillr/noble-hashes) from 1.3.3 to 1.4.0.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases)
- [Commits](paulmillr/noble-hashes@1.3.3...1.4.0)

---
updated-dependencies:
- dependency-name: "@noble/hashes"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [rollup](https://github.com/rollup/rollup) from 4.12.0 to 4.13.0.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.12.0...v4.13.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Updated packages
Added state verification
Checks for state and inputText
Bumps [@xmtp/proto](https://github.com/xmtp/proto) from 3.45.0 to 3.52.0.
- [Release notes](https://github.com/xmtp/proto/releases)
- [Commits](xmtp/proto@v3.45.0...v3.52.0)

---
updated-dependencies:
- dependency-name: "@xmtp/proto"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [viem](https://github.com/wevm/viem) from 2.7.14 to 2.9.28.
- [Release notes](https://github.com/wevm/viem/releases)
- [Commits](https://github.com/wevm/viem/compare/[email protected]@2.9.28)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@xmtp/proto](https://github.com/xmtp/proto) from 3.52.0 to 3.56.0.
- [Release notes](https://github.com/xmtp/proto/releases)
- [Commits](xmtp/proto@v3.52.0...v3.56.0)

---
updated-dependencies:
- dependency-name: "@xmtp/proto"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 5.3.3 to 5.4.5.
- [Release notes](https://github.com/Microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.3.3...v5.4.5)

---
updated-dependencies:
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [@xmtp/proto](https://github.com/xmtp/proto) from 3.56.0 to 3.61.1.
- [Release notes](https://github.com/xmtp/proto/releases)
- [Commits](xmtp/proto@v3.56.0...v3.61.1)

---
updated-dependencies:
- dependency-name: "@xmtp/proto"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [viem](https://github.com/wevm/viem) from 2.9.28 to 2.16.5.
- [Release notes](https://github.com/wevm/viem/releases)
- [Commits](https://github.com/wevm/viem/compare/[email protected]@2.16.5)

---
updated-dependencies:
- dependency-name: viem
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [rollup-plugin-dts](https://github.com/Swatinem/rollup-plugin-dts) from 6.1.0 to 6.1.1.
- [Changelog](https://github.com/Swatinem/rollup-plugin-dts/blob/master/CHANGELOG.md)
- [Commits](Swatinem/rollup-plugin-dts@v6.1.0...v6.1.1)

---
updated-dependencies:
- dependency-name: rollup-plugin-dts
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@rygine rygine requested review from a team as code owners October 18, 2024 16:25
Copy link

changeset-bot bot commented Oct 18, 2024

⚠️ No Changeset found

Latest commit: f6c756b

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

cloudflare-workers-and-pages bot commented Oct 18, 2024

Deploying xmtp-js-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: f6c756b
Status: ✅  Deploy successful!
Preview URL: https://1d609bb1.xmtp-js.pages.dev
Branch Preview URL: https://rygine-frames-validator.xmtp-js.pages.dev

View logs

@rygine rygine force-pushed the rygine/frames-validator branch from 144b8b0 to f6c756b Compare October 18, 2024 16:37
@rygine rygine merged commit c34654f into main Oct 18, 2024
20 checks passed
@rygine rygine deleted the rygine/frames-validator branch October 18, 2024 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants