Skip to content

Commit ee3495f

Browse files
committed
Deprecate pack (#6823)
<!-- ## title your PR with this format: "[SDK/Dashboard/Portal] Feature/Fix: Concise title for the changes" If you did not copy the branch name from Linear, paste the issue tag here (format is TEAM-0000): ## Notes for the reviewer Anything important to call out? Be sure to also clarify these in your comments. ## How to test Unit tests, playground, etc. --> <!-- start pr-codex --> --- ## PR-Codex overview This PR focuses on deprecating the `Pack` contract in the `thirdweb` library due to its incompatibility with the Pectra update. Support for this contract will be removed in the next release. ### Detailed summary - Added deprecation notice for the `Pack` contract in: - `packages/thirdweb/src/extensions/pack/createNewPack.ts` - `packages/thirdweb/src/extensions/prebuilts/deploy-pack.ts` > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` <!-- end pr-codex -->
1 parent ec5362b commit ee3495f

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.changeset/fluffy-bars-crash.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"thirdweb": patch
3+
---
4+
5+
Deprecate Pack

packages/thirdweb/src/extensions/pack/createNewPack.ts

+2
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,8 @@ export type CreateNewPackParams = {
7878
};
7979

8080
/**
81+
* * @deprecated [Pack contract is incompatible with Pectra update. Support for this contract is being removed in next release.]
82+
*
8183
* @extension PACK
8284
* @example
8385
* ```ts

packages/thirdweb/src/extensions/prebuilts/deploy-pack.ts

+2
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,8 @@ export type DeployPackContractOptions = Prettify<
5555
>;
5656

5757
/**
58+
* @deprecated [Pack contract is incompatible with Pectra update. Support for this contract is being removed in next release.]
59+
*
5860
* Deploy a thirdweb Pack contract
5961
* @param options params for deploying [`Pack contract`](https://thirdweb.com/thirdweb.eth/Pack)
6062
* @returns

0 commit comments

Comments
 (0)