Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: smartcontractkit/ccip-tools-ts
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.4.1
Choose a base ref
...
head repository: smartcontractkit/ccip-tools-ts
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.4.2
Choose a head ref
  • 9 commits
  • 52 files changed
  • 3 contributors

Commits on Apr 1, 2026

  1. deps: bump major versions (#215)

    * deps: upgrade @aptos-labs/ts-sdk, @mysten/bcs and @mysten/sui to latest major
    
    - @aptos-labs/ts-sdk: ^5.2.1 → ^6.3.1 (no API changes in used surface)
    - @mysten/bcs: ^1.9.2 → ^2.0.3 (no API changes in used surface)
    - @mysten/sui: ^1.45.2 → ^2.13.2
    
    Breaking changes in @mysten/sui v2:
    - SuiClient renamed to SuiJsonRpcClient, moved from @mysten/sui/client
      to @mysten/sui/jsonRpc; update all imports in sui/{discovery,events,
      exec,index,objects}.ts
    - SuiEventFilter also moved to @mysten/sui/jsonRpc
    - SuiGraphQLClient and SuiJsonRpcClient constructors now require a
      'network' field; derive it from the chain network name in SuiChain
      constructor and fromUrl factory
    
    * deps: upgrade ESLint to v10, replace eslint-plugin-import with import-x
    
    - eslint: ^9.39.4 -> ^10.1.0
    - @eslint/js: ^9.39.4 -> ^10.0.1
    - eslint-plugin-import ^2.32.0 removed (unmaintained, no ESLint v10 support)
    - eslint-import-resolver-typescript removed (not needed: all relative
      imports already use explicit .ts extensions resolved by createNodeResolver)
    - eslint-plugin-import-x ^4.16.2 added (maintained fork, supports v8/9/10)
    
    eslint.config.mjs:
    - Replace importPlugin.flatConfigs.recommended/.typescript with
      importXPlugin.flatConfigs.recommended + inlined settings equivalent
    - Replace resolver config with createNodeResolver (import-x/resolver-next)
    - Rename all 'import/' rule/setting keys to 'import-x/'
    
    Fix new ESLint v10 errors (no-useless-assignment, preserve-caught-error):
    - aptos/token.ts: remove dead-store in first catch block
    - evm/extra-args.ts: remove offset += tokenArgsLen before return
    - evm/index.ts: inline provider_ per-branch, drop typeAndVersion re-fetch,
      move typeAndVersion fetch before opts_ declaration
    - hasher/merklemulti.ts: remove = undefined on let b
    - solana/utils.ts: replace assignment-in-condition with three const matches
    - solana/__tests__/integration.test.ts: add { cause: error } to rethrow
    - sui/events.ts: remove hasNextPage = false before break
    - sui/index.ts: remove = null initialiser on let metadata
    
    * fix(ccip-api-ref): add @types/react-dom, fix preserve-caught-error lint error
    
    - Add @types/react-dom ^19.2.3 as devDependency; react-dom@19 does not
      bundle its own types, causing no-unsafe-call / no-unsafe-return errors
      on createPortal() calls in MarkdownPreviewModal and ApiCopyButton
    - contentExtractor.ts: add { cause: error } to rethrown Error to satisfy
      the preserve-caught-error rule introduced by ESLint v10 upgrade
    
    * deps: upgrade TypeScript to v6, align tsconfigs with TS6 defaults
    
    Version bumps:
    - typescript: 5.9.3 -> 6.0.2 (all packages)
    
    Breaking changes addressed in tsconfigs (TS6 defaults):
    - types: [] is now the default; add "types": ["node"] to root,
      ccip-sdk and ccip-cli tsconfigs (ccip-api-ref already had it)
    - rootDir now defaults to tsconfig.json directory instead of being
      inferred from input file common root; add "rootDir": "./src" to
      both tsconfig.build.json files to preserve output structure
    
    TS6 recommended settings applied:
    - target: ES2022 -> ES2025 (new TS6 default) across all packages
    - lib: ["ES2023"] -> ["ES2025"] for Node.js packages (root, sdk, cli)
    - ccip-api-ref: module ESNext -> preserve (TS6-recommended for bundled
      apps; pairs with existing moduleResolution: bundler); add
      lib: ["ES2025", "DOM"] (dom.iterable now merged into dom in TS6)
    - Drop useUnknownInCatchVariables: true from ccip-sdk tsconfig
      (already covered by strict: true since TS 4.4)
    - Drop esModuleInterop: true from ccip-api-ref tsconfig
      (always enabled in TS6, explicit setting is redundant)
    
    TS7 preparation:
    - Add stableTypeOrdering: true to all tsconfigs; pre-validates union
      type ordering parity with TS7's parallel checker (to be removed
      before the actual TS7 upgrade)
    
    * cleanup transient `got` dependency from root
    
    * show: make sure receipt from api also waits for attestation
    
    * bump to v1.4.2
    andrevmatos authored Apr 1, 2026
    Configuration menu
    Copy the full SHA
    871f2c1 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    142c9d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d22b278 View commit details
    Browse the repository at this point in the history
  4. cli: fix get-supported-tokens on tokenPool addresses (#217)

    * cli: fix get-supported-tokens on tokenPool addresses
    
    Broken since we enabled --fee-tokens by default, in #207
    
    * lint: disable CCIPError requirement in cli
    
    relevant only for SDK; cli is free to use whatever error it wants
    andrevmatos authored Apr 1, 2026
    Configuration menu
    Copy the full SHA
    f874d03 View commit details
    Browse the repository at this point in the history

Commits on Apr 9, 2026

  1. Configuration menu
    Copy the full SHA
    419b0ed View commit details
    Browse the repository at this point in the history
  2. fix: estimate with cctp decimal bps (#222)

    * ccip: fix non-integer cctp bps
    
    * bump selectors
    
    * bump deps
    andrevmatos authored Apr 9, 2026
    Configuration menu
    Copy the full SHA
    6510caa View commit details
    Browse the repository at this point in the history

Commits on Apr 10, 2026

  1. fix: manual exec when small gasLimit estimated (#223)

    fix: manual exec gas estimations tokensGasLimit override
    andrevmatos authored Apr 10, 2026
    Configuration menu
    Copy the full SHA
    6067811 View commit details
    Browse the repository at this point in the history
  2. cli: adopt Vercel/gws output architecture for clean JSON output (#219)

    * cli: adopt Vercel/gws output architecture for clean JSON output
    
    * cli: add --json shorthand for --format json
    aelmanaa authored Apr 10, 2026
    Configuration menu
    Copy the full SHA
    81f6baf View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    5b3d1c9 View commit details
    Browse the repository at this point in the history
Loading