Skip to content

Commit d49f9f7

Browse files
minoicaran
authored andcommitted
update: use dart.library.js_interop in place of dart.library.html
1 parent 74897b2 commit d49f9f7

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
* When the keep alive manager runs into a timeout, it will finish the transport instead of closing
66
the connection, as defined in the gRPC spec.
77
* Upgrade to `package:lints` version 5.0.0 and Dart SDK version 3.5.0.
8+
* Update xhr transport to migrate off legacy JS/HTML apis.
89

910
## 4.0.1
1011

lib/grpc_or_grpcweb.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
// See the License for the specific language governing permissions and
1414
// limitations under the License.
1515

16-
import 'src/client/grpc_or_grpcweb_channel_web.dart'
17-
if (dart.library.io) 'src/client/grpc_or_grpcweb_channel_grpc.dart';
16+
import 'src/client/grpc_or_grpcweb_channel_grpc.dart'
17+
if (dart.library.js_interop) 'src/client/grpc_or_grpcweb_channel_web.dart';
1818
import 'src/client/http2_channel.dart';
1919
import 'src/client/options.dart';
2020

0 commit comments

Comments
 (0)