Skip to content

Deprecate Pack #6781

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Deprecate Pack #6781

wants to merge 2 commits into from

Conversation

kumaryash90
Copy link
Member

@kumaryash90 kumaryash90 commented Apr 21, 2025


PR-Codex overview

This PR focuses on the removal of various files and code related to the Pack extension and its associated functionalities within the thirdweb project, streamlining the codebase by eliminating unused components.

Detailed summary

  • Deleted files related to the Pack extension, including:
    • pack.ts
    • createNewPack.ts
    • deploy-pack.ts
    • Various generated files and JSON ABIs
  • Simplified the assignment of forwarderContractId to always be "Forwarder".
  • Removed references to thirdweb.eth/Pack from the explore data.
  • Deleted export statements related to PackContractParams, DeployPackContractOptions, and deployPackContract.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@kumaryash90 kumaryash90 requested review from a team as code owners April 21, 2025 11:42
Copy link

changeset-bot bot commented Apr 21, 2025

⚠️ No Changeset found

Latest commit: 21b71e1

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

vercel bot commented Apr 21, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docs-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 3:04pm
login ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 3:04pm
thirdweb_playground ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 3:04pm
thirdweb-www ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 3:04pm
wallet-ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 21, 2025 3:04pm

Copy link
Contributor

graphite-app bot commented Apr 21, 2025

How to use the Graphite Merge Queue

Add either label to this PR to merge it via the merge queue:

  • merge-queue - adds this PR to the back of the merge queue
  • hotfix - for urgent hot fixes, skip the queue and merge this PR next

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

Copy link
Contributor

github-actions bot commented Apr 21, 2025

size-limit report 📦

Path Size Loading time (3g) Running time (snapdragon) Total time
thirdweb (esm) 50.71 KB (0%) 1.1 s (0%) 195 ms (+72.96% 🔺) 1.3 s
thirdweb (cjs) 138.82 KB (0%) 2.8 s (0%) 339 ms (+47.25% 🔺) 3.2 s
thirdweb (minimal + tree-shaking) 5.6 KB (0%) 113 ms (0%) 61 ms (+868.05% 🔺) 173 ms
thirdweb/chains (tree-shaking) 514 B (0%) 11 ms (0%) 37 ms (+1178.45% 🔺) 47 ms
thirdweb/react (minimal + tree-shaking) 19.37 KB (0%) 388 ms (0%) 135 ms (+695.08% 🔺) 522 ms

Copy link
Member

@jnsdls jnsdls left a comment

Choose a reason for hiding this comment

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

should we split this into multiple PRs?

  1. disable pack in dashboard
  2. remove pack from SDK (needs AT LEAST a minor version, should REALISTICALLY be a major version)

Copy link
Member

@joaquim-verges joaquim-verges left a comment

Choose a reason for hiding this comment

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

would not remove the pack code entirely.

we still have the Chainlink version which still works and uses the same SDK code

@kumaryash90
Copy link
Member Author

would not remove the pack code entirely.

we still have the Chainlink version which still works and uses the same SDK code

Or I can just remove the deploy functions from export for now? @joaquim-verges

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Dashboard Involves changes to the Dashboard. packages SDK Involves changes to the thirdweb SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants