Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR updates the @vechain/vechain-contract-types package from version 1.1.0 to 1.2.0 and simplifies import paths across multiple files by removing deeply nested path specifications in favor of direct package imports.
Key changes:
- Updated
@vechain/vechain-contract-typesdependency from 1.1.0 to 1.2.0 - Refactored all contract factory imports to use shorter, cleaner paths from the package root
- Standardized import patterns across contract getter modules
Reviewed Changes
Copilot reviewed 12 out of 13 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| package.json | Updated @vechain/vechain-contract-types from version 1.1.0 to 1.2.0 |
| packages/contract-getters/src/vot3/balance.ts | Simplified VOT3__factory import path |
| packages/contract-getters/src/vetDomain/domain.ts | Simplified VetDomainsResolveUtilities__factory import path |
| packages/contract-getters/src/vetDomain/avatar.ts | Simplified VetDomainsPublicResolver__factory and VetDomainsRegistry__factory import paths |
| packages/contract-getters/src/veBetterPassport/isPerson.ts | Simplified VeBetterPassport__factory import path |
| packages/contract-getters/src/relayerRewardsPool/isRewardClaimable.ts | Simplified RelayerRewardsPool__factory import path |
| packages/contract-getters/src/erc20/tokenInfo.ts | Simplified VOT3__factory import path |
| packages/contract-getters/src/erc20/balance.ts | Simplified VOT3__factory import path |
| packages/contract-getters/src/b3tr/balance.ts | Simplified B3TR__factory import path |
| packages/contract-getters/src/allocationVoting/roundXApps.ts | Simplified XAllocationVoting__factory import path |
| packages/contract-getters/src/allocationVoting/currentRoundId.ts | Simplified XAllocationVoting__factory import path |
| packages/contract-getters/src/allocationPool/appShares.ts | Simplified XAllocationPool__factory import path |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
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.
Describe your changes
Update
@vechain/vechain-contract-typesto v1.2.0 and simplify import paths across all getter modules. This change removes deep nested import paths in favor of cleaner imports from the package root.Checklist before requesting a review