Skip to content

Commit 10d9e37

Browse files
authored
Merge pull request #143 from camelus-hq/chore-upgrade-packages
Chore upgrade packages
2 parents 7c301f2 + 2776310 commit 10d9e37

32 files changed

+345
-353
lines changed

apipod/apipod_client/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ environment:
66

77
dependencies:
88
serverpod_client: 2.8.0
9-
ndk: ^0.5.1
9+
ndk: ^0.6.0
1010

1111

1212
dependency_overrides:

lib/domain_layer/usecases/generate_private_key.dart

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ import '../entities/generated_private_key.dart';
99

1010
class GeneratePrivateKey {
1111
static GeneratedPrivateKey generateKey() {
12-
final mnemonic = Mnemonic.generate(Language.english, entropyLength: 256);
12+
final mnemonic = Mnemonic.generate(
13+
Language.english,
14+
length: MnemonicLength.words24,
15+
);
1316

1417
final sentence = mnemonic.sentence;
1518
final words = mnemonic.words;

lib/presentation_layer/components/edit_profile.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import 'dart:typed_data';
33
import 'package:camelus/l10n/app_localizations.dart';
44
import 'package:flutter/material.dart';
55
import 'package:flutter_riverpod/flutter_riverpod.dart';
6+
import 'package:flutter_riverpod/legacy.dart';
67

78
import '../atoms/camer_upload.dart';
89
import '../atoms/round_image_border.dart';

lib/presentation_layer/components/enable_notifications.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ import 'package:firebase_messaging/firebase_messaging.dart';
77
import 'package:flutter/foundation.dart';
88
import 'package:flutter/material.dart';
99
import 'package:flutter_riverpod/flutter_riverpod.dart';
10+
import 'package:flutter_riverpod/legacy.dart';
1011

1112
import '../atoms/spinner_center.dart';
1213
import '../providers/db_app_provider.dart';

lib/presentation_layer/components/note_card/post_content.dart

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ import 'package:flutter/gestures.dart';
55
import 'package:flutter/material.dart';
66
import 'package:flutter_link_previewer/flutter_link_previewer.dart';
77
import 'package:flutter_riverpod/flutter_riverpod.dart';
8+
import 'package:flutter_riverpod/legacy.dart';
89
import 'package:go_router/go_router.dart';
910
import 'package:phosphor_flutter/phosphor_flutter.dart';
11+
1012
import 'package:url_launcher/url_launcher_string.dart';
1113

1214
import '../../../domain_layer/entities/parsed_post.dart';

lib/presentation_layer/components/starter_packs/edit_starter_pack/edit_starter_pack_provider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import 'package:flutter/foundation.dart';
2-
import 'package:flutter_riverpod/flutter_riverpod.dart';
2+
import 'package:flutter_riverpod/legacy.dart';
33
import 'package:ndk/shared/nips/nip19/nip19.dart';
44

55
import '../../../../data_layer/data_sources/serverpod_data_source.dart';

lib/presentation_layer/components/starter_packs/trending_starter_packs/trending_starter_packs_state_provider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import 'dart:async';
22

33
import 'package:camelus/presentation_layer/providers/ndk_provider.dart';
4+
import 'package:flutter_riverpod/legacy.dart';
45
import 'package:ndk/ndk.dart';
5-
import 'package:riverpod/riverpod.dart';
66

77
import '../../../../data_layer/models/nostr_lists_model.dart';
88
import '../../../../domain_layer/entities/nostr_list.dart';

lib/presentation_layer/components/video/video_player_state_provider.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import 'dart:async';
22

3-
import 'package:flutter_riverpod/flutter_riverpod.dart';
3+
import 'package:flutter_riverpod/legacy.dart';
44
import 'package:ndk/ndk.dart';
55
import 'package:video_player/video_player.dart';
66

lib/presentation_layer/components/write_post/post_settings_dialog.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'package:flutter_riverpod/flutter_riverpod.dart';
2+
import 'package:flutter_riverpod/legacy.dart';
23
import 'package:flutter/material.dart';
34
import 'package:camelus/l10n/app_localizations.dart';
45

lib/presentation_layer/providers/app_bar_provider/app_bottom_bar_provider.dart

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import 'package:flutter_riverpod/flutter_riverpod.dart';
2+
import 'package:flutter_riverpod/legacy.dart';
23
import 'dart:async';
34

45
enum NavigationTab { home, search, notifications, chat }

0 commit comments

Comments
 (0)