Skip to content

Commit

Permalink
Revert "fix: invalid string type (#77)" (#80)
Browse files Browse the repository at this point in the history
This reverts commit 13fc5ed.
  • Loading branch information
jerson authored Oct 12, 2024
1 parent da931f7 commit ebcd5fc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/web/rsa_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import 'package:web/web.dart';

class FastRsaPlugin {
var _counter = 0;
Worker worker = Worker('assets/packages/fast_rsa/web/assets/worker.js');
Worker worker = Worker(
'assets/packages/fast_rsa/web/assets/worker.js'.toJS,
);
Map<String, Completer<Uint8List>> completers = {};

static void registerWith(Registrar registrar) {
Expand Down

0 comments on commit ebcd5fc

Please sign in to comment.