Skip to content

Commit

Permalink
feat: publish jose_plus
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmednfwela committed Sep 14, 2023
1 parent 88b23a1 commit 35d4471
Show file tree
Hide file tree
Showing 9 changed files with 18 additions and 22 deletions.
2 changes: 1 addition & 1 deletion example/jose_example.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:convert';
import 'dart:io';

import 'package:jose/jose.dart';
import 'package:jose_plus/jose.dart';

void main() async {
await example1();
Expand Down
4 changes: 2 additions & 2 deletions lib/src/jwa.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
library jose.jwa;

import 'package:crypto_keys/crypto_keys.dart';
import 'package:jose/jose.dart';
import 'package:jose/src/util.dart';
import 'package:jose_plus/jose.dart';
import 'package:jose_plus/src/util.dart';
import 'package:meta/meta.dart';

class JsonWebAlgorithm {
Expand Down
4 changes: 2 additions & 2 deletions lib/src/jwk.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import 'package:collection/collection.dart' show IterableExtension;
import 'package:crypto_keys/crypto_keys.dart';
import 'package:http/http.dart' as http;
import 'package:http_parser/http_parser.dart';
import 'package:jose/src/jwa.dart';
import 'jwa.dart';
import 'package:meta/meta.dart';
import 'package:x509/x509.dart' as x509;
import 'package:x509_plus/x509.dart' as x509;

import 'jose.dart';
import 'util.dart';
Expand Down
14 changes: 7 additions & 7 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
name: jose
name: jose_plus
description: Javascript Object Signing and Encryption (JOSE) library supporting JWE, JWS, JWK and JWT
version: 0.3.4
homepage: https://github.com/appsup-dart/jose
homepage: https://github.com/Bdaya-Dev/jose
funding:
- https://github.com/sponsors/rbellens

- https://github.com/sponsors/rbellens

environment:
sdk: ^3.0.0
Expand All @@ -13,16 +12,17 @@ dependencies:
crypto_keys: ^0.3.0+1
meta: ^1.1.6
typed_data: ^1.0.0
x509: ^0.2.1
http: '>=0.13.0 <2.0.0'
x509_plus: ^0.2.1
http: ">=0.13.0 <2.0.0"
http_parser: ^4.0.0
asn1lib: ^1.0.0
collection: ^1.15.0

dev_dependencies:
test: ^1.24.4
lints: ^2.1.1
melos: ^3.1.1

false_secrets:
- test/pem/*
- example/*.key
- example/*.key
2 changes: 1 addition & 1 deletion test/jwa_test.dart
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import 'dart:convert';

import 'package:crypto_keys/crypto_keys.dart';
import 'package:jose/jose.dart';
import 'package:jose_plus/jose.dart';
import 'package:test/test.dart';

void main() {
Expand Down
4 changes: 2 additions & 2 deletions test/jwe_test.dart
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import 'dart:convert';

import 'package:jose_plus/jose.dart';
import 'package:test/test.dart';
import 'package:jose/src/jwe.dart';
import 'package:jose/src/jwk.dart';


void main() {
group('JWE Examples from RFC7516', () {
Expand Down
3 changes: 1 addition & 2 deletions test/jwk_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import 'dart:io';
import 'package:crypto_keys/crypto_keys.dart';
import 'package:http/http.dart';
import 'package:http/testing.dart';
import 'package:jose/src/jose.dart';
import 'package:jose/src/jwk.dart';
import 'package:jose_plus/jose.dart';
import 'package:test/test.dart';

void main() {
Expand Down
4 changes: 1 addition & 3 deletions test/jws_test.dart
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import 'package:jose/src/jwk.dart';
import 'package:jose/src/jws.dart';
import 'package:jose/src/jose.dart';
import 'package:jose_plus/jose.dart';
import 'package:test/test.dart';

void main() {
Expand Down
3 changes: 1 addition & 2 deletions test/jwt_test.dart
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import 'package:jose/src/jwk.dart';
import 'package:jose/src/jwt.dart';
import 'package:jose_plus/jose.dart';
import 'package:test/test.dart';

void main() {
Expand Down

0 comments on commit 35d4471

Please sign in to comment.