Skip to content

Version Packages #7207

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

Merged
merged 1 commit into from
May 29, 2025
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
95 changes: 0 additions & 95 deletions .changeset/engine-enhancements.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/stupid-adults-flow.md

This file was deleted.

6 changes: 6 additions & 0 deletions packages/engine/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @thirdweb-dev/insight

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Fix changelog header to reference the correct package
The header currently reads # @thirdweb-dev/insight but this is the changelog for the Engine package. It should be updated to # @thirdweb-dev/engine.

Apply this diff:

-# @thirdweb-dev/insight
+# @thirdweb-dev/engine
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
# @thirdweb-dev/engine
🤖 Prompt for AI Agents
In packages/engine/CHANGELOG.md at line 2, the changelog header incorrectly
references the package as @thirdweb-dev/insight. Update this header to correctly
reference the Engine package by changing it to # @thirdweb-dev/engine.

## 3.0.3

### Patch Changes

- [#7190](https://github.com/thirdweb-dev/js/pull/7190) [`861e623`](https://github.com/thirdweb-dev/js/commit/861e623a1b7519bcac09c0c6d975cad2c0c5be4f) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Updated to latest API

## 3.0.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/engine/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/engine",
"version": "3.0.2",
"version": "3.0.3",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down
101 changes: 101 additions & 0 deletions packages/thirdweb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,106 @@
# thirdweb

## 5.102.0

### Minor Changes

- [#7190](https://github.com/thirdweb-dev/js/pull/7190) [`861e623`](https://github.com/thirdweb-dev/js/commit/861e623a1b7519bcac09c0c6d975cad2c0c5be4f) Thanks [@joaquim-verges](https://github.com/joaquim-verges)! - Enhanced Engine functionality with server wallet management, search transactions and batch transaction support:

- Added `Engine.createServerWallet()` to create a new server wallet with a custom label

```ts
import { Engine } from "thirdweb";

const serverWallet = await Engine.createServerWallet({
client,
label: "My Server Wallet",
});
console.log(serverWallet.address);
console.log(serverWallet.smartAccountAddress);
```

- Added `Engine.getServerWallets()` to list all existing server wallets

```ts
import { Engine } from "thirdweb";

const serverWallets = await Engine.getServerWallets({
client,
});
console.log(serverWallets);
```

- Added `Engine.searchTransactions()` to search for transactions by various filters (id, chainId, from address, etc.)

```ts
// Search by transaction IDs
const transactions = await Engine.searchTransactions({
client,
filters: [
{
field: "id",
values: ["1", "2", "3"],
},
],
});

// Search by chain ID and sender address
const transactions = await Engine.searchTransactions({
client,
filters: [
{
filters: [
{
field: "from",
values: ["0x1234567890123456789012345678901234567890"],
},
{
field: "chainId",
values: ["8453"],
},
],
operation: "AND",
},
],
pageSize: 100,
page: 0,
});
```

- Added `serverWallet.enqueueBatchTransaction()` to enqueue multiple transactions in a single batch

```ts
// Prepare multiple transactions
const transaction1 = claimTo({
contract,
to: firstRecipient,
quantity: 1n,
});
const transaction2 = claimTo({
contract,
to: secondRecipient,
quantity: 1n,
});

// Enqueue as a batch
const { transactionId } = await serverWallet.enqueueBatchTransaction({
transactions: [transaction1, transaction2],
});

// Wait for batch completion
const { transactionHash } = await Engine.waitForTransactionHash({
client,
transactionId,
});
```
Comment on lines +70 to +95
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue

Missing changelog entry for waitForTransactionHash
The snippet demonstrates Engine.waitForTransactionHash(), but there's no corresponding bullet under "Minor Changes". This method is a key addition per the PR summary and should be listed.

Please insert a bullet, for example:

   - Added `serverWallet.enqueueBatchTransaction()` to enqueue multiple transactions in a single batch
+  - Added `Engine.waitForTransactionHash()` to await batch transaction completion by transaction ID
   - Improved server wallet transaction handling with better error reporting
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- Added `serverWallet.enqueueBatchTransaction()` to enqueue multiple transactions in a single batch
```ts
// Prepare multiple transactions
const transaction1 = claimTo({
contract,
to: firstRecipient,
quantity: 1n,
});
const transaction2 = claimTo({
contract,
to: secondRecipient,
quantity: 1n,
});
// Enqueue as a batch
const { transactionId } = await serverWallet.enqueueBatchTransaction({
transactions: [transaction1, transaction2],
});
// Wait for batch completion
const { transactionHash } = await Engine.waitForTransactionHash({
client,
transactionId,
});
```
- Added `serverWallet.enqueueBatchTransaction()` to enqueue multiple transactions in a single batch
+ - Added `Engine.waitForTransactionHash()` to await batch transaction completion by transaction ID
🤖 Prompt for AI Agents
In packages/thirdweb/CHANGELOG.md between lines 70 and 95, add a new bullet
point under the "Minor Changes" section to document the addition of the
Engine.waitForTransactionHash() method. This entry should briefly describe the
method's purpose, such as waiting for a transaction hash given a transaction ID,
to align the changelog with the PR summary and code examples.


- Improved server wallet transaction handling with better error reporting

### Patch Changes

- Updated dependencies [[`861e623`](https://github.com/thirdweb-dev/js/commit/861e623a1b7519bcac09c0c6d975cad2c0c5be4f)]:
- @thirdweb-dev/engine@3.0.3

## 5.101.2

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/thirdweb/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thirdweb",
"version": "5.101.2",
"version": "5.102.0",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down
2 changes: 2 additions & 0 deletions packages/wagmi-adapter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @thirdweb-dev/wagmi-adapter

## 0.2.86

Comment on lines +3 to +4
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🛠️ Refactor suggestion

Missing changelog entry details for 0.2.86
The new version header is present but does not include any release notes (e.g., dependency bumps or compatibility fixes).

Please populate the 0.2.86 section with a concise summary of changes—or add a “No user-facing changes” note—so consumers can track what changed. For example:

## 0.2.86

+### Patch Changes
+- Bump `@thirdweb-dev/engine` to 3.0.3 for Engine API updates
+- Update compatibility with `@thirdweb-dev/thirdweb` v5.102.0
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## 0.2.86
## 0.2.86
### Patch Changes
- Bump `@thirdweb-dev/engine` to 3.0.3 for Engine API updates
- Update compatibility with `@thirdweb-dev/thirdweb` v5.102.0
🤖 Prompt for AI Agents
In packages/wagmi-adapter/CHANGELOG.md at lines 3 to 4, the version header for
0.2.86 is present but lacks any release notes or details. Add a concise summary
of the changes included in this release, such as dependency updates or
compatibility fixes. If there are no user-facing changes, add a note stating "No
user-facing changes" to inform consumers about the release status.

## 0.2.85

## 0.2.84
Expand Down
2 changes: 1 addition & 1 deletion packages/wagmi-adapter/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@thirdweb-dev/wagmi-adapter",
"version": "0.2.85",
"version": "0.2.86",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down
Loading