Skip to content

Commit 40c1c7b

Browse files
committed
🚚 rename hyper_secure_storage to hyper_storage_secure
1 parent 33b3e49 commit 40c1c7b

18 files changed

+22
-22
lines changed

packages/hyper_storage/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Switch between <b><a href="https://pub.dev/packages/shared_preferences">shared_p
3838
## Features
3939

4040
-**Simple API:** Easy to use API for storing and retrieving data.
41-
-**Multiple Backends:** Supports different backends like `InMemory`, `hive`, `shared_preferences`, and `secure_storage` (via separate packages).
41+
-**Multiple Backends:** Supports different backends like `InMemory`, `hive`, `shared_preferences`, and `flutter_secure_storage` (via separate packages).
4242
-**Typed Storage:** Store and retrieve data with type safety.
4343
-**JSON Serialization:** Store and retrieve custom objects by providing `toJson` and `fromJson` functions.
4444
-**Named Containers:** Organize your data into named containers for better structure.
@@ -62,7 +62,7 @@ dependencies:
6262
# Add one of the available backends of your choice:
6363
hyper_storage_hive: ^0.1.0
6464
hyper_storage_shared_preferences: ^0.1.0
65-
hyper_secure_storage: ^0.1.0
65+
hyper_storage_secure: ^0.1.0
6666
```
6767
6868
Then, run `flutter pub get` or `dart pub get`.
@@ -100,7 +100,7 @@ More backends are available in separate packages:
100100

101101
- [hyper_storage_hive](https://pub.dev/packages/hyper_storage_hive): Hive backend for persistent storage.
102102
- [hyper_storage_shared_preferences](https://pub.dev/packages/hyper_storage_shared_preferences): SharedPreferences backend for persistent storage.
103-
- [hyper_secure_storage](https://pub.dev/packages/hyper_secure_storage): Secure storage backend for sensitive data.
103+
- [hyper_storage_secure](https://pub.dev/packages/hyper_storage_secure): Secure storage backend for sensitive data.
104104

105105
## Contents
106106

packages/hyper_storage/docs/backends.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,15 +77,15 @@ void main() async {
7777
> Hive backend requires initialization of Hive before use. Hyper Storage do not handle Hive initialization for you.
7878
> You need to initialize Hive in your application before using the Hive backend. For example:
7979
80-
## [Secure Storage Backend](https://pub.dev/packages/hyper_secure_storage):
80+
## [Secure Storage Backend](https://pub.dev/packages/hyper_storage_secure):
8181

8282
A secure storage backend using [`flutter_secure_storage`](https://pub.dev/packages/flutter_secure_storage), which
8383
provides a way to store sensitive data securely. This backend is ideal for storing credentials, tokens, and other
8484
sensitive information.
8585

8686
```dart
8787
import 'package:hyper_storage/hyper_storage.dart';
88-
import 'package:hyper_secure_storage/hyper_secure_storage.dart';
88+
import 'package:hyper_storage_secure/hyper_storage_secure.dart';
8989
9090
void main() async {
9191
final storage = await HyperStorage.init(backend: SecureStorageBackend());
@@ -99,7 +99,7 @@ behavior.
9999
import 'package:flutter_secure_storage/flutter_secure_storage.dart';
100100
import 'package:hyper_storage/hyper_storage.dart';
101101
102-
import 'package:hyper_secure_storage/hyper_secure_storage.dart';
102+
import 'package:hyper_storage_secure/hyper_storage_secure.dart';
103103
104104
void main() async {
105105
final secureStorage = FlutterSecureStorage(

packages/hyper_storage/docs/getting_started.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ dependencies:
2525
# Add one of the available backends of your choice:
2626
hyper_storage_hive: ^0.1.0
2727
hyper_storage_shared_preferences: ^0.1.0
28-
hyper_secure_storage: ^0.1.0
28+
hyper_storage_secure: ^0.1.0
2929
```
3030
3131
Then, run `flutter pub get` or `dart pub get`.
@@ -38,7 +38,7 @@ More backends are available in separate packages:
3838

3939
- [hyper_storage_hive](https://pub.dev/packages/hyper_storage_hive): Hive backend for persistent storage.
4040
- [hyper_storage_shared_preferences](https://pub.dev/packages/hyper_storage_shared_preferences): SharedPreferences backend for persistent storage.
41-
- [hyper_secure_storage](https://pub.dev/packages/hyper_secure_storage): Secure storage backend for sensitive data.
41+
- [hyper_storage_secure](https://pub.dev/packages/hyper_storage_secure): Secure storage backend for sensitive data.
4242

4343
See the [Backends Documentation](backends.md) for more details.
4444

File renamed without changes.
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# hyper_secure_storage
1+
# hyper_storage_secure
22

3-
[![pub version](https://img.shields.io/pub/v/hyper_secure_storage.svg)](https://pub.dev/packages/hyper_secure_storage)
3+
[![pub version](https://img.shields.io/pub/v/hyper_storage_secure.svg)](https://pub.dev/packages/hyper_storage_secure)
44
[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)
55

66
A backend for `hyper_storage` that uses `flutter_secure_storage` for secure data storage.
@@ -13,14 +13,14 @@ A backend for `hyper_storage` that uses `flutter_secure_storage` for secure data
1313

1414
## Getting started
1515

16-
Add `hyper_secure_storage` to your `pubspec.yaml` dependencies:
16+
Add `hyper_storage_secure` to your `pubspec.yaml` dependencies:
1717

1818
```yaml
1919
dependencies:
2020
flutter:
2121
sdk: flutter
2222
hyper_storage: ^0.1.0 # Replace with the latest version
23-
hyper_secure_storage: ^0.1.0 # Replace with the latest version
23+
hyper_storage_secure: ^0.1.0 # Replace with the latest version
2424
```
2525
2626
Then, run `flutter pub get`.
@@ -40,7 +40,7 @@ Initialize `hyper_storage` with `SecureStorageBackend`.
4040
```dart
4141
import 'package:flutter/material.dart';
4242
import 'package:hyper_storage/hyper_storage.dart';
43-
import 'package:hyper_secure_storage/hyper_secure_storage_backend.dart';
43+
import 'package:hyper_storage_secure/hyper_storage_secure_backend.dart';
4444
4545
void main() async {
4646
WidgetsFlutterBinding.ensureInitialized();
File renamed without changes.
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Hyper Secure Storage Examples
22

3-
This file provides examples of how to use the `hyper_secure_storage` package with `hyper_storage` in a Flutter application for storing sensitive data.
3+
This file provides examples of how to use the `hyper_storage_secure` package with `hyper_storage` in a Flutter application for storing sensitive data.
44

55
## Contents
66

@@ -17,7 +17,7 @@ Make sure to call `WidgetsFlutterBinding.ensureInitialized()` before initializin
1717
```dart
1818
import 'package:flutter/material.dart';
1919
import 'package:hyper_storage/hyper_storage.dart';
20-
import 'package:hyper_secure_storage/hyper_secure_storage_backend.dart';
20+
import 'package:hyper_storage_secure/hyper_storage_secure_backend.dart';
2121
2222
void main() async {
2323
WidgetsFlutterBinding.ensureInitialized();
@@ -64,7 +64,7 @@ class MyApp extends StatelessWidget {
6464

6565
Once initialized, you can use `hyper_storage` to securely store and retrieve sensitive information like API keys, tokens, and passwords.
6666

67-
**Note:** `hyper_secure_storage` only supports storing `String` values. Other types will be converted to a `String` before being stored. When you retrieve the data, you will get a `String` back.
67+
**Note:** `hyper_storage_secure` only supports storing `String` values. Other types will be converted to a `String` before being stored. When you retrieve the data, you will get a `String` back.
6868

6969
### Storing Data
7070

packages/hyper_secure_storage/lib/hyper_secure_storage_backend.dart renamed to packages/hyper_storage_secure/lib/hyper_secure_storage_backend.dart

File renamed without changes.

0 commit comments

Comments
 (0)