Skip to content

Commit fbb2119

Browse files
author
yiming.lu
committed
update: use dart.library.js_interop in place of dart.library.html
1 parent b96174d commit fbb2119

File tree

3 files changed

+8
-4
lines changed

3 files changed

+8
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 4.0.1
2+
3+
* Update xhr transport to migrate off legacy JS/HTML apis.
4+
15
## 4.0.0
26

37
* Set compressed flag correctly for grpc-encoding = identity. Fixes [#669](https://github.com/grpc/grpc-dart/issues/669) (https://github.com/grpc/grpc-dart/pull/693)

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

pubspec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
name: grpc
22
description: Dart implementation of gRPC, a high performance, open-source universal RPC framework.
3-
version: 4.0.0
3+
version: 4.0.1
44

55
repository: https://github.com/grpc/grpc-dart
66

77
environment:
8-
sdk: ^3.2.0
8+
sdk: ^3.4.0
99

1010
dependencies:
1111
async: ^2.5.0

0 commit comments

Comments
 (0)