Skip to content

Commit

Permalink
fix: invalid string type (#77)
Browse files Browse the repository at this point in the history
  • Loading branch information
janek515 authored Sep 10, 2024
1 parent 46e8686 commit 13fc5ed
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/web/rsa_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,7 @@ import 'package:web/web.dart';

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

static void registerWith(Registrar registrar) {
Expand Down

0 comments on commit 13fc5ed

Please sign in to comment.