mirror of https://github.com/grpc/grpc-dart.git
fix: Use package:web to get HttpStatus (#749)
* Use package:web to get HttpStatus * docs: add CHANGELOG.md entry --------- Co-authored-by: Moritz <mosum@google.com>
This commit is contained in:
parent
840661415d
commit
5ba28e3a1c
|
@ -7,6 +7,7 @@
|
|||
* Upgrade to `package:lints` version 5.0.0 and Dart SDK version 3.5.0.
|
||||
* Upgrade `example/grpc-web` code.
|
||||
* Update xhr transport to migrate off legacy JS/HTML apis.
|
||||
* Use `package:web` to get `HttpStatus`
|
||||
|
||||
## 4.0.1
|
||||
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
export 'io_bits_io.dart' if (dart.library.html) 'io_bits_web.dart';
|
||||
export 'io_bits_io.dart' if (dart.library.js_interop) 'io_bits_web.dart';
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// ignore: deprecated_member_use (#756)
|
||||
export 'dart:html' show HttpStatus;
|
||||
export 'package:web/web.dart' show HttpStatus;
|
||||
|
||||
/// Unavailable on the web
|
||||
class InternetAddress {}
|
||||
|
|
Loading…
Reference in New Issue