Skip to content

Fix: Update Contract Types#16

Merged
victorkl400 merged 4 commits intomainfrom
fix/update-types
Nov 6, 2025
Merged

Fix: Update Contract Types#16
victorkl400 merged 4 commits intomainfrom
fix/update-types

Conversation

@victorkl400
Copy link
Contributor

@victorkl400 victorkl400 commented Nov 6, 2025

Describe your changes

Update @vechain/vechain-contract-types to 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

  • I have performed a self-review of my code
  • I have executed relevant tests
  • I have added thorough tests for the changes
  • Does this need a documentation update?

@victorkl400 victorkl400 requested a review from Copilot November 6, 2025 12:36
@victorkl400 victorkl400 self-assigned this Nov 6, 2025
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

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-types dependency 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.

@socket-security
Copy link

socket-security bot commented Nov 6, 2025

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​vechain/​vechain-contract-types@​1.1.0 ⏵ 1.2.4100 +29100100 +8100 +6100

View full report

@victorkl400 victorkl400 merged commit c760ecf into main Nov 6, 2025
4 checks passed
@victorkl400 victorkl400 deleted the fix/update-types branch November 6, 2025 14:40
@victorkl400 victorkl400 mentioned this pull request Nov 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants