Skip to content

Commit

Permalink
feat(hydrated_bloc): use package:hive_ce (#4262)
Browse files Browse the repository at this point in the history
  • Loading branch information
felangel authored Nov 21, 2024
1 parent 841651f commit 4da0bbd
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion packages/hydrated_bloc/lib/src/hydrated_cipher.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import 'dart:typed_data';

import 'package:hive/hive.dart';
import 'package:hive_ce/hive.dart';

/// Abstract cipher can be implemented to customize encryption.
abstract class HydratedCipher implements HiveCipher {
Expand Down
4 changes: 2 additions & 2 deletions packages/hydrated_bloc/lib/src/hydrated_storage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';

import 'package:hive/hive.dart';
import 'package:hive_ce/hive.dart';
// ignore: implementation_imports
import 'package:hive/src/hive_impl.dart';
import 'package:hive_ce/src/hive_impl.dart';
import 'package:hydrated_bloc/src/hydrated_cipher.dart';
import 'package:meta/meta.dart';
import 'package:synchronized/synchronized.dart';
Expand Down
2 changes: 1 addition & 1 deletion packages/hydrated_bloc/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ environment:

dependencies:
bloc: ^8.1.1
hive: ^2.0.0
hive_ce: ^2.6.0
meta: ^1.3.0
synchronized: ^3.0.0

Expand Down
4 changes: 2 additions & 2 deletions packages/hydrated_bloc/test/hive_interference_test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:io';

import 'package:hive/hive.dart';
import 'package:hive_ce/hive.dart';
// ignore: implementation_imports
import 'package:hive/src/hive_impl.dart';
import 'package:hive_ce/src/hive_impl.dart';
import 'package:path/path.dart' as p;
import 'package:test/test.dart';

Expand Down
2 changes: 1 addition & 1 deletion packages/hydrated_bloc/test/hydrated_aes_cipher_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:convert';

import 'package:crypto/crypto.dart';
import 'package:hive/hive.dart';
import 'package:hive_ce/hive.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
import 'package:test/test.dart';

Expand Down
4 changes: 2 additions & 2 deletions packages/hydrated_bloc/test/hydrated_storage_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import 'dart:async';
import 'dart:convert';
import 'dart:io';

import 'package:hive/hive.dart';
import 'package:hive_ce/hive.dart';
// ignore: implementation_imports
import 'package:hive/src/hive_impl.dart';
import 'package:hive_ce/src/hive_impl.dart';
import 'package:hydrated_bloc/hydrated_bloc.dart';
import 'package:mocktail/mocktail.dart';
import 'package:path/path.dart' as p;
Expand Down

0 comments on commit 4da0bbd

Please sign in to comment.