Skip to content

Commit 007d655

Browse files
authored
Replaces js with js_interop for wasm compliation (#185)
1 parent c75430c commit 007d655

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/src/webcrypto/webcrypto.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import 'dart:typed_data';
2626
import '../impl_interface/impl_interface.dart';
2727
import '../impl_stub.dart'
2828
if (dart.library.ffi) '../impl_ffi/impl_ffi.dart'
29-
if (dart.library.js) '../impl_js/impl_js.dart' as impl;
29+
if (dart.library.js_interop) '../impl_js/impl_js.dart' as impl;
3030
import '../impl_stub/impl_stub.dart'
3131
if (dart.library.ffi) '../impl_ffi/impl_ffi.dart'
32-
if (dart.library.js) '../impl_js/impl_js.dart' show webCryptImpl;
32+
if (dart.library.js_interop) '../impl_js/impl_js.dart' show webCryptImpl;
3333

3434
export '../impl_interface/impl_interface.dart'
3535
show KeyPair, EllipticCurve, OperationError;

0 commit comments

Comments
 (0)