Skip to content

Commit e7315e3

Browse files
committed
chore: rename "jwk" to "jwk_plus"
1 parent b0b3995 commit e7315e3

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Open-sourced under the [Apache License 2.0](LICENSE).
2222
- [cryptography_test](cryptography_flutter)
2323
- Cross-platform tests. Note that "cryptography" and "cryptography_flutter_integration_test"
2424
contain more tests than just these.
25-
- [jwk](jwk)
25+
- [jwk_plus](jwk)
2626
- JWK (JSON Web Key) encoding / decoding.
2727

2828
## Contributing

jwk/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
[![Pub Package](https://img.shields.io/pub/v/jwk.svg)](https://pub.dev/packages/jwk)
1+
[![Pub Package](https://img.shields.io/pub/v/jwk_plus.svg)](https://pub.dev/packages/jwk_plus)
22
[![Github Actions CI](https://github.com/emz-hanauer/dart-cryptography/workflows/Dart%20CI/badge.svg)](https://github.com/emz-hanauer/dart-cryptography/actions?query=workflow%3A%22Dart+CI%22)
33

44
# Overview
55

6-
JWK (JSON Web Key) encoding and decoding. Designed to be used with
6+
JWK plus (JSON Web Key) encoding and decoding. Designed to be used with
77
[package:cryptography_plus](https://pub.dev/packages/cryptography_plus).
88

99
Licensed under the [Apache License 2.0](LICENSE).
@@ -15,7 +15,7 @@ In _pubspec.yaml_
1515
```yaml
1616
dependencies:
1717
cryptography_plus: ^2.7.0
18-
jwk: ^0.2.4
18+
jwk_plus: ^0.2.4
1919
```
2020
2121
# Examples
@@ -24,7 +24,7 @@ dependencies:
2424
2525
```dart
2626
import 'package:cryptography_plus/cryptography_plus.dart';
27-
import 'package:jwk/jwk.dart';
27+
import 'package:jwk_plus/jwk_plus.dart';
2828

2929
Future<void> main() async {
3030
final keyPair = await RsaPss().newKeyPair();
@@ -36,7 +36,7 @@ Future<void> main() async {
3636
## Decoding SecretKey
3737

3838
```dart
39-
import 'package:jwk/jwk.dart';
39+
import 'package:jwk_plus/jwk_plus.dart';
4040
4141
void main() {
4242
final jwk = Jwk.fromJson({

jwk/lib/jwk.dart renamed to jwk/lib/jwk_plus.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
/// JWK (JSON Web Key) encoding and decoding.
1616
///
1717
/// See documentation for the class [Jwk].
18-
library jwk;
18+
library jwk_plus;
1919

2020
import 'dart:convert';
2121
import 'dart:typed_data';

jwk/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: jwk
1+
name: jwk_plus
22
version: 0.2.4
33
homepage: https://github.com/emz-hanauer/dart-cryptography
44
description: JWK (JSON Web Key) encoding and decoding (for package:cryptography).

jwk/test/jwk_test.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
import 'package:jwk/jwk.dart';
15+
import 'package:jwk_plus/jwk_plus.dart';
1616
import 'package:test/test.dart';
1717

1818
void main() {

0 commit comments

Comments
 (0)