Skip to content

Commit f9b34ff

Browse files
Version Packages (#7149)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent f3abea3 commit f9b34ff

File tree

5 files changed

+88
-44
lines changed

5 files changed

+88
-44
lines changed

.changeset/webhook-verification.md

Lines changed: 0 additions & 22 deletions
This file was deleted.

packages/thirdweb/CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# thirdweb
22

3+
## 5.101.0
4+
5+
### Minor Changes
6+
7+
- [#7103](https://github.com/thirdweb-dev/js/pull/7103) [`f3abea3`](https://github.com/thirdweb-dev/js/commit/f3abea32762da1549b5bc3bc19365bec51d419ab) Thanks [@jnsdls](https://github.com/jnsdls)! - Added webhook verification functionality to securely verify incoming webhooks from thirdweb. This includes:
8+
9+
- New `Webhook.parse` function to verify webhook signatures and timestamps
10+
- Support for both `x-payload-signature` and `x-pay-signature` header formats
11+
- Timestamp verification with configurable tolerance
12+
- Version 2 webhook payload type support
13+
14+
Example usage:
15+
16+
```typescript
17+
import { Webhook } from "thirdweb/bridge";
18+
19+
const webhook = await Webhook.parse(
20+
payload,
21+
headers,
22+
secret,
23+
300, // optional tolerance in seconds
24+
);
25+
```
26+
327
## 5.100.2
428

529
### Patch Changes

packages/thirdweb/package.json

Lines changed: 61 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "thirdweb",
3-
"version": "5.100.2",
3+
"version": "5.101.0",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"
@@ -147,26 +147,66 @@
147147
},
148148
"typesVersions": {
149149
"*": {
150-
"adapters/*": ["./dist/types/exports/adapters/*.d.ts"],
151-
"auth": ["./dist/types/exports/auth.d.ts"],
152-
"chains": ["./dist/types/exports/chains.d.ts"],
153-
"contract": ["./dist/types/exports/contract.d.ts"],
154-
"deploys": ["./dist/types/exports/deploys.d.ts"],
155-
"event": ["./dist/types/exports/event.d.ts"],
156-
"extensions/*": ["./dist/types/exports/extensions/*.d.ts"],
157-
"pay": ["./dist/types/exports/pay.d.ts"],
158-
"react": ["./dist/types/exports/react.d.ts"],
159-
"react-native": ["./dist/types/exports/react.native.d.ts"],
160-
"rpc": ["./dist/types/exports/rpc.d.ts"],
161-
"storage": ["./dist/types/exports/storage.d.ts"],
162-
"transaction": ["./dist/types/exports/transaction.d.ts"],
163-
"utils": ["./dist/types/exports/utils.d.ts"],
164-
"wallets": ["./dist/types/exports/wallets.d.ts"],
165-
"wallets/*": ["./dist/types/exports/wallets/*.d.ts"],
166-
"modules": ["./dist/types/exports/modules.d.ts"],
167-
"social": ["./dist/types/exports/social.d.ts"],
168-
"ai": ["./dist/types/exports/ai.d.ts"],
169-
"bridge": ["./dist/types/exports/bridge.d.ts"]
150+
"adapters/*": [
151+
"./dist/types/exports/adapters/*.d.ts"
152+
],
153+
"auth": [
154+
"./dist/types/exports/auth.d.ts"
155+
],
156+
"chains": [
157+
"./dist/types/exports/chains.d.ts"
158+
],
159+
"contract": [
160+
"./dist/types/exports/contract.d.ts"
161+
],
162+
"deploys": [
163+
"./dist/types/exports/deploys.d.ts"
164+
],
165+
"event": [
166+
"./dist/types/exports/event.d.ts"
167+
],
168+
"extensions/*": [
169+
"./dist/types/exports/extensions/*.d.ts"
170+
],
171+
"pay": [
172+
"./dist/types/exports/pay.d.ts"
173+
],
174+
"react": [
175+
"./dist/types/exports/react.d.ts"
176+
],
177+
"react-native": [
178+
"./dist/types/exports/react.native.d.ts"
179+
],
180+
"rpc": [
181+
"./dist/types/exports/rpc.d.ts"
182+
],
183+
"storage": [
184+
"./dist/types/exports/storage.d.ts"
185+
],
186+
"transaction": [
187+
"./dist/types/exports/transaction.d.ts"
188+
],
189+
"utils": [
190+
"./dist/types/exports/utils.d.ts"
191+
],
192+
"wallets": [
193+
"./dist/types/exports/wallets.d.ts"
194+
],
195+
"wallets/*": [
196+
"./dist/types/exports/wallets/*.d.ts"
197+
],
198+
"modules": [
199+
"./dist/types/exports/modules.d.ts"
200+
],
201+
"social": [
202+
"./dist/types/exports/social.d.ts"
203+
],
204+
"ai": [
205+
"./dist/types/exports/ai.d.ts"
206+
],
207+
"bridge": [
208+
"./dist/types/exports/bridge.d.ts"
209+
]
170210
}
171211
},
172212
"browser": {

packages/wagmi-adapter/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @thirdweb-dev/wagmi-adapter
22

3+
## 0.2.83
4+
35
## 0.2.82
46

57
## 0.2.81

packages/wagmi-adapter/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@thirdweb-dev/wagmi-adapter",
3-
"version": "0.2.82",
3+
"version": "0.2.83",
44
"repository": {
55
"type": "git",
66
"url": "git+https://github.com/thirdweb-dev/js.git#main"

0 commit comments

Comments
 (0)