feat: Upgrade Taquito SDK from v20 to v24.2#947
Merged
Conversation
- Bump all @taquito/* packages to ^24.2.0 - Remove @airgap/beacon-sdk and @airgap/beacon-types (replaced by @ecadlabs/beacon-types) - Migrate contract.methods to contract.methodsObject (removed in v23+) - Convert propose() calls from positional args to named object params - Rename bytes2Char to bytesToString (@taquito/utils) - Alias MichelsonV1Expression for MichelineMichelsonV1Expression rename - Remove unused encodePubKey import - Add process/browser polyfill and vm:false webpack fallback - Fix ESM fullySpecified resolution for process module
✅ Deploy Preview for tezos-homebase ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
@taquito/*packages from v20 to v24.2 to ensure the dApp uses available/updated Tezos nodes@airgap/beacon-sdkand@airgap/beacon-typeswith@ecadlabs/beacon-typescontract.methods(removed in v23) tocontract.methodsObjectwith named object paramsbytes2Char→bytesToString,MichelineMichelsonV1Expression→MichelsonV1Expression, removes unusedencodePubKey)process/browserpolyfill andvm: falsewebpack fallback for new transitive dependenciesFiles changed (13)
package.json/yarn.lock— dependency bumpscraco.config.js— webpack polyfills (process, vm, ESM fullySpecified fix)src/services/contracts/baseDAO/class.ts— methodsObject + named params for propose, vote, callCustomsrc/services/contracts/baseDAO/lambdaDAO/index.ts— methodsObject + named params for propose (6 methods)src/services/contracts/token/index.ts— methodsObject for set_delegatesrc/modules/explorer/components/ArbitraryContractInteractionForm.tsx— methodsObject + named params for proposesrc/modules/lite/explorer/components/DownloadCsvFile.tsx— bytes2Char → bytesToStringsrc/services/aci/index.ts,src/services/aci/endpoint.ts— MichelsonV1Expression type renamesrc/services/beacon/utils.ts,src/services/lite/utils.ts,src/services/utils/utils.ts— beacon import migrationTest plan