Skip to content

Commit

Permalink
Version Packages (#5503)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
jnsdls and github-actions[bot] authored Nov 23, 2024
1 parent ac42c45 commit de2a7ba
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 38 deletions.
37 changes: 0 additions & 37 deletions .changeset/long-queens-draw.md

This file was deleted.

38 changes: 38 additions & 0 deletions packages/thirdweb/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@
# thirdweb

## 5.71.0

### Minor Changes

- [#5501](https://github.com/thirdweb-dev/js/pull/5501) [`ac42c45`](https://github.com/thirdweb-dev/js/commit/ac42c4538ef41cc842d2fd723471c21d865ee411) Thanks [@gregfromstl](https://github.com/gregfromstl)! - Added new deployment utility functions to help manage infrastructure contracts and initialization:

- `getInitializeTransaction`: Prepare initialization transaction for contract deployment
- `getOrDeployInfraForPublishedContract`: Get or deploy required infrastructure for published contracts

```typescript
import {
getInitializeTransaction,
getOrDeployInfraForPublishedContract,
} from "thirdweb";

// Get initialization transaction
const initTx = await getInitializeTransaction({
client,
chain,
account,
implementationContract,
deployMetadata,
initializeParams: {
name: "My Contract",
symbol: "CNTRCT",
},
});

// Get or deploy infrastructure
const infra = await getOrDeployInfraForPublishedContract({
chain,
client,
account,
contractId: "MyContract",
constructorParams: params,
});
```

## 5.70.1

### 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.70.1",
"version": "5.71.0",
"repository": {
"type": "git",
"url": "git+https://github.com/thirdweb-dev/js.git#main"
Expand Down

0 comments on commit de2a7ba

Please sign in to comment.