Skip to content

fix(deps): update dependency @mysten/sui to v2 - #465

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mysten-sui-2.x
Open

fix(deps): update dependency @mysten/sui to v2#465
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/mysten-sui-2.x

Conversation

@renovate

@renovate renovate Bot commented Jan 30, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@mysten/sui (source) 1.28.22.17.0 age confidence

Release Notes

MystenLabs/ts-sdks (@​mysten/sui)

v2.16.0

Compare Source

Minor Changes
  • 6adc085: Add parseToUnits and parseToMist balance parsing utilities using pure bigint
    arithmetic.
Patch Changes
  • b1bf49a: Fix extractMvrTypes and replaceMvrNames to handle vector and primitive type
    parameters. Previously, these functions passed all string type parameters directly to
    parseStructTag, which produced corrupted results for vector types (e.g.,
    vector<@&#8203;mvr/demo::baz::Qux>) and threw on primitives (e.g., u8). Vector types are now
    unwrapped and recursed into, and primitive types are passed through unchanged.

v2.15.0

Compare Source

Minor Changes
  • 43b2670: Re-export GrpcWebFetchTransport, GrpcWebOptions, and RpcTransport from
    @mysten/sui/grpc so users can configure custom transports without adding @protobuf-ts/* as
    direct dependencies.
Patch Changes
  • ef0b8a7: Error when mixing SUI CoinWithBalance intents that use the gas coin with ones that set
    useGasCoin: false in the same transaction, preventing potential double-counting of address
    balance.

v2.14.1

Compare Source

Patch Changes
  • 2d57e9c: Fix normalizeStructTag to reject top-level vector type strings with a clear error.
    Previously, calling normalizeStructTag('vector<0x2::sui::SUI>') would produce a corrupted result
    because the vector string was passed directly to parseStructTag, which misinterpreted it. The
    function now throws an error directing callers to use normalizeTypeTag instead.
  • a3f2b49: Remove coin reservation feature flag check from core resolver

v2.14.0

Compare Source

Minor Changes
  • d0a401e: Update Display.output type from Record<string, string> to Record<string, unknown>
    to match actual API behavior. Display v2 templates can produce structured JSON values (objects,
    arrays) for fields that reference non-string Move types or use the :json transform. This affects
    the core client type, the JSON-RPC DisplayFieldsResponse type, and all three transport
    implementations (gRPC, GraphQL, JSON-RPC).

v2.13.4

Compare Source

Patch Changes
  • 2f76ba2: Revert removal of coin reservation feature flag check in core resolver

v2.13.3

Compare Source

Patch Changes
  • 3324a93: Remove enable_coin_reservation_obj_refs feature flag check from core resolver. Coin
    reservation refs are now created whenever address balance is non-zero, removing the need for the
    getProtocolConfig call during transaction building.

v2.13.2

Compare Source

Patch Changes
  • 0819c73: Fix JSON-RPC defaultNameServiceName returning undefined instead of null when no
    name is found.
  • 8491b8e: Fix parseStructTag to reject malformed inputs: empty address/module/name components
    (e.g. ::foo::Bar) and trailing content after type parameters (e.g. Coin<u8>GARBAGE).

v2.13.1

Compare Source

Patch Changes
  • 82c2386: Fix JSON-RPC simulateTransaction includes when dryRun fails for non-public functions with
    checksEnabled: false. balanceChanges and objectTypes no longer return incorrect data from failed
    dryRun, and the transaction include no longer crashes for unbuilt Transaction objects.

v2.13.0

Compare Source

Minor Changes
  • 329350a: Add tx.coin() and tx.balance() methods and rewrite CoinWithBalance intent resolution.

    • tx.coin({ type, balance }) — produces a Coin<T> of the requested balance, sourced from owned
      coins and gas
    • tx.balance({ type, balance }) — produces a Balance<T> of the requested balance, sourced from
      address balance or owned coins
    • When balance intents are used, the merged pool remainder is converted to Balance and returned to
      the sender's address balance via send_funds
    • Multiple intents of the same coin type are now resolved with a single combined SplitCoins
      instead of per-intent splits
  • 3c83909: Optimize transaction resolver to parallelize independent network requests (system state,
    balance, coins, protocol config) and add coin reservation compat mode for address balance gas
    payment when coin_reservation feature flag is enabled.

v2.12.1

Compare Source

Patch Changes
  • f9067d5: Fix JSON-RPC simulateTransaction failing when passed a Transaction instance with
    unresolved object inputs

v2.12.0

Compare Source

Minor Changes
  • bfeff69: Add checksEnabled option to simulateTransaction to allow disabling transaction
    validation checks during simulation, enabling inspection of non-public/non-entry Move functions.

v2.11.0

Compare Source

Minor Changes
  • 319aae1: Remove WebSocket client and streaming subscription APIs from the JSON-RPC transport. The
    subscribe method, WebSocketConstructor option, websocket option,
    JsonRpcTransportSubscribeOptions type, and Unsubscribe type have been removed from the public
    API.

v2.10.0

Minor Changes
  • 78a577b: Add getProtocolConfig() Core API method returning protocol version, feature flags, and
    config attributes.
Patch Changes
  • 2ee1a2a: Improve waitForTransaction polling with schedule-based timing tuned to actual indexing
    latency. Default schedule polls at 0, 300, 600, 1500, 3500ms then every 2s. Add pollSchedule
    option for custom absolute-time schedules.

v2.7.0

Compare Source

Minor Changes
  • 2faaf69: Add include: { display: true } support to getObject, getObjects, and
    listOwnedObjects across all three transports (gRPC, GraphQL, JSON-RPC). Returns a Display
    object with output and errors fields when a Display template exists for the object type, or
    null when no template is registered.

v2.6.0

Compare Source

Minor Changes
  • 903eecc: Add childId to getDynamicField response for dynamic object fields.
  • e33fea3: Add json field to event data in transaction responses. When events: true is included,
    each event now contains a json field with the JSON representation of the event's Move struct
    data (or null if unavailable). Supported across all three transports (gRPC, GraphQL, JSON-RPC).
  • 903eecc: Add include: { value: true } option to listDynamicFields on SuiGrpcClient and
    SuiGraphQLClient to optionally return the field values
Patch Changes
  • e33fea3: Fix gas payment resolution to check sender's address balance when sender is their own gas
    payer. Previously, address balance was only checked for sponsored transactions, causing "No valid
    gas coins found" errors for accounts with sufficient address balance but no coin objects.
  • 903eecc: Fix IDE autocomplete for include option in client and client.core methods
  • 903eecc: Update GraphQL schema and remove references to dropped SimulationResult.error and
    ExecutionResult.errors fields

v2.5.1

Compare Source

Patch Changes
  • e8f985e: Fix duplicate storageCost in ParallelTransactionExecutor gas calculation, which was
    double-counting storage costs.

v2.5.0

Compare Source

Minor Changes
  • 1c97aa2: Add childId for listDyanamicFields response and fix name encoding for dynamic field
    objects
Patch Changes
  • 9ab9a50: Fix parseTypeTag to correctly handle vector type parameters containing struct types
    (e.g. vector<0x2::sui::SUI>). Previously, the :: inside the vector's type parameter caused the
    entire vector to be incorrectly parsed as a struct tag. Also reject malformed vector inputs like
    vector<> (empty type parameter) and vector<u8 (missing closing bracket).

v2.4.0

Minor Changes
  • 5270eaf: Add isValidStructTag validation utility. isValidNamedType now also validates the full
    struct tag structure (completing the TODO that previously returned true unconditionally).

v2.3.1

Compare Source

Patch Changes
  • 265ec25: Add isPreparedForSerialization method to Transaction class for checking if a
    transaction is ready for JSON serialization. Update Transaction.from to validate that
    transactions are prepared before copying and automatically register the CoinWithBalance intent
    resolver when needed.

v2.3.0

Compare Source

Minor Changes
  • 724a13a: Improve handling of clever errors during simulation
Patch Changes
  • fcbf952: Fix $extend chaining so that client.$extend(sdk1()).$extend(sdk2()) works correctly.
    Previously, the second $extend call would lose the extensions from the first call.

v2.2.0

Compare Source

Minor Changes
  • 6125fbd: Add getCoinMetadata to core api

v2.1.0

Compare Source

Minor Changes
  • f950118: Use a Proxy for client extensions

v2.0.1

Patch Changes

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@vercel

vercel Bot commented Jan 30, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
wallet-kit-demo Ready Ready Preview, Comment May 28, 2026 6:10pm
wallet-kit-demo-test Ready Ready Preview, Comment May 28, 2026 6:10pm
wallet-kit-with-nextjs-app-router Error Error May 28, 2026 6:10pm

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jan 30, 2026

Copy link
Copy Markdown

Deploying wallet-kit with  Cloudflare Pages  Cloudflare Pages

Latest commit: 45db816
Status:🚫  Build failed.

View logs

@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 00688b9 to f15c53f Compare January 31, 2026 00:39
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from f15c53f to b41168e Compare February 2, 2026 16:40
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from b41168e to 8975522 Compare February 3, 2026 20:44
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 8975522 to deccfdf Compare February 6, 2026 00:27
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from deccfdf to 18b53f4 Compare February 6, 2026 20:29
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 18b53f4 to 2d8011b Compare February 10, 2026 22:16
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 2d8011b to 77e7ec1 Compare February 12, 2026 11:48
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 3d8fdfe to 0068f69 Compare March 5, 2026 01:29
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 0068f69 to 0705f57 Compare March 5, 2026 15:50
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 0705f57 to ce743df Compare March 12, 2026 21:55
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from ce743df to 3a6b10b Compare March 13, 2026 15:36
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 3a6b10b to 0e25a13 Compare March 14, 2026 01:12
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 0e25a13 to 6920f7f Compare March 17, 2026 20:39
@renovate
renovate Bot force-pushed the renovate/mysten-sui-2.x branch from 6920f7f to c340836 Compare March 18, 2026 21:37
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.

0 participants