Skip to content

Update dependency @grpc/grpc-js to v1.13.3 #3802

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 8, 2025

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Apr 13, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@grpc/grpc-js (source) 1.13.2 -> 1.13.3 age adoption passing confidence

Release Notes

grpc/grpc-node (@​grpc/grpc-js)

v1.13.3: @​grpc/grpc-js 1.13.3

Compare Source

  • Disable Nagle's algorithm (#​2936)
  • Avoid calling http2.getDefaultSettings (#​2937)

Configuration

📅 Schedule: Branch creation - "* * * * 0,6" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

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


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

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

@renovate renovate bot enabled auto-merge (squash) April 13, 2025 15:34
Copy link

changeset-bot bot commented Apr 13, 2025

🦋 Changeset detected

Latest commit: be1569a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@chainlink/kaiko-state-adapter Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 4a71fec to ea8c777 Compare April 13, 2025 19:11
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from ea8c777 to ec3c25b Compare April 13, 2025 20:07
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from ec3c25b to e7d0f9a Compare April 14, 2025 06:19
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from e7d0f9a to 2f8d4e9 Compare April 14, 2025 13:27
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 2f8d4e9 to 7c5f9b0 Compare April 14, 2025 14:10
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 7c5f9b0 to 5e9ca2b Compare April 14, 2025 15:08
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 5e9ca2b to d862b78 Compare April 14, 2025 15:46
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from d862b78 to 8fc24bc Compare April 14, 2025 17:30
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 8fc24bc to a790729 Compare April 14, 2025 18:35
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from a790729 to 82fbabe Compare April 14, 2025 19:26
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 82fbabe to 971bdb5 Compare April 15, 2025 12:45
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 971bdb5 to 18c27bd Compare April 15, 2025 13:18
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 18c27bd to 717d1a1 Compare April 15, 2025 13:22
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 717d1a1 to bcd2275 Compare April 15, 2025 13:31
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 514e953 to f5db827 Compare April 25, 2025 18:32
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from f5db827 to 730de7c Compare April 28, 2025 12:50
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from 730de7c to cc80417 Compare April 28, 2025 12:58
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch 9 times, most recently from 102cd08 to 4dbd555 Compare May 6, 2025 13:04
@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch 6 times, most recently from bfcc84c to a3989a6 Compare May 8, 2025 18:23
@dskloetc
Copy link
Contributor

dskloetc commented May 8, 2025

Looks like grpc-js can only be updated if @kaiko-data/sdk-node is updated at the same time because the current version of @kaiko-data/sdk-node uses @grpc-grpc-js-npm-1.13.2 which is incompatible with 1.13.3 for some reason.

$ yarn tsc --noEmit -p packages/sources/kaiko-state/tsconfig.json 
packages/sources/kaiko-state/src/transport/state.ts:32:76 - error TS2345: Argument of type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/channel-credentials").ChannelCredentials' is not assignable to parameter of type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/channel-credentials").ChannelCredentials'.
  Types of property 'compose' are incompatible.
    Type '(callCredentials: import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/call-credentials").CallCredentials) => import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/channel-credentials").ChannelCredentials' is not assignable to type '(callCredentials: import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/call-credentials").CallCredentials) => import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/channel-credentials").ChannelCredentials'.
      Types of parameters 'callCredentials' and 'callCredentials' are incompatible.
        Type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/call-credentials").CallCredentials' is not assignable to type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/call-credentials").CallCredentials'.
          The types returned by 'generateMetadata(...)' are incompatible between these types.
            Type 'Promise<import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata>' is not assignable to type 'Promise<import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata>'.
              Type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata' is not assignable to type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata'.
                Property 'internalRepr' is protected but type 'Metadata' is not a class derived from 'Metadata'.

32     const client = new StreamAggregatedStatePriceServiceV1Client(endpoint, generateCreds(apiKey))
                                                                              ~~~~~~~~~~~~~~~~~~~~~

packages/sources/kaiko-state/src/transport/state.ts:62:21 - error TS2345: Argument of type 'ClientReadableStream<StreamAggregatedStatePriceResponseV1>' is not assignable to parameter of type 'ClientReadableStream<StreamAggregatedStatePriceResponseV1> | PromiseLike<ClientReadableStream<StreamAggregatedStatePriceResponseV1>>'.
  Type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/call").ClientReadableStream<import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@kaiko-data-sdk-node-npm-1.26.0-8b0a5f17fa-d343ec5fa4.zip/node_modules/@kaiko-data/sdk-node/sdk/stream/aggregated_state_price_v1/response_pb").StreamAggregatedStatePriceResponseV1>' is not assignable to type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/call").ClientReadableStream<import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@kaiko-data-sdk-node-npm-1.26.0-8b0a5f17fa-d343ec5fa4.zip/node_modules/@kaiko-data/sdk-node/sdk/stream/aggregated_state_price_v1/response_pb").StreamAggregatedStatePriceResponseV1>'.
    Type 'ClientReadableStream<StreamAggregatedStatePriceResponseV1>' is not assignable to type '{ call?: InterceptingCallInterface | undefined; cancel(): void; getPeer(): string; }'.
      Types of property 'call' are incompatible.
        Type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/client-interceptors").InterceptingCallInterface | undefined' is not assignable to type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/client-interceptors").InterceptingCallInterface | undefined'.
          Type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/client-interceptors").InterceptingCallInterface' is not assignable to type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/client-interceptors").InterceptingCallInterface'.
            Types of property 'start' are incompatible.
              Type '(metadata: import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata, listener?: Partial<import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/call-interface").InterceptingListener> | undefined) => void' is not assignable to type '(metadata: import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata, listener?: Partial<import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/call-interface").InterceptingListener> | undefined) => void'.
                Types of parameters 'metadata' and 'metadata' are incompatible.
                  Type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.3-9dcb5a84de-0b5016baf0.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata' is not assignable to type 'import("/Users/dskloet/dev/external-adapters-js/tree9/.yarn/cache/@grpc-grpc-js-npm-1.13.2-2010829daa-80b7bebc1d.zip/node_modules/@grpc/grpc-js/build/src/metadata").Metadata'.
                    Property 'internalRepr' is protected but type 'Metadata' is not a class derived from 'Metadata'.

62             resolve(client.subscribe(request))
                       ~~~~~~~~~~~~~~~~~~~~~~~~~


Found 2 errors in the same file, starting at: packages/sources/kaiko-state/src/transport/state.ts:32

@renovate renovate bot force-pushed the renovate/grpc-grpc-js-1.13.x branch from a3989a6 to 067da69 Compare May 8, 2025 18:51
@mxiao-cll
Copy link
Contributor

Simply change this:

'@grpc/grpc-js': '1.13.2'

@renovate renovate bot merged commit 8f53d40 into main May 8, 2025
16 checks passed
@renovate renovate bot deleted the renovate/grpc-grpc-js-1.13.x branch May 8, 2025 19:35
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