Merge pull request #2880 from murgatroid99/grpc-js-xds_preserve_type_state_1.12.x

grpc-js-xds: Preserve resource type version and nonce when unsubscribing (1.12.x)
This commit is contained in:
Michael Lumish 2025-01-08 15:27:36 -08:00 committed by GitHub
commit c6c69df25b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 1 additions and 4 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@grpc/grpc-js-xds",
"version": "1.12.0",
"version": "1.12.1",
"description": "Plugin for @grpc/grpc-js. Adds the xds:// URL scheme and associated features.",
"main": "build/src/index.js",
"scripts": {

View File

@ -457,9 +457,6 @@ class AdsCallState {
if (authorityMap.size === 0) {
typeState.subscribedResources.delete(name.authority);
}
if (typeState.subscribedResources.size === 0) {
this.typeStates.delete(type);
}
this.updateNames(type);
}