Skip to content

Commit

Permalink
Merge pull request #302 from 0xPolygonID/hotfix/PID701-multiple-proof…
Browse files Browse the repository at this point in the history
…-request-bug

 Multiple proof request bug
  • Loading branch information
plusema86 authored May 11, 2023
2 parents 37188e6 + 9c1581c commit 3a5079a
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

# Polygon ID Flutter SDK

[![pub package](https://img.shields.io/badge/pub-2.2.0-blueviolet)](https://pub.dev/packages/polygonid_flutter_sdk)
[![pub package](https://img.shields.io/badge/pub-2.2.2-blueviolet)](https://pub.dev/packages/polygonid_flutter_sdk)
[![build](https://github.com/iden3/polygonid-flutter-sdk/workflows/polygonid_flutter_sdk/badge.svg)](https://github.com/iden3/polygonid-flutter-sdk/actions?query=workflow%3Apolygonid_flutter_sdk)
[![codecov](https://codecov.io/gh/iden3/polygonid-flutter-sdk/branch/develop/graph/badge.svg?token=0SI0XWGXKL)](https://codecov.io/gh/iden3/polygonid-flutter-sdk)
[![license](https://img.shields.io/badge/License-agpl-blue.svg)](https://github.com/iden3/polygonid-flutter-sdk/blob/master/LICENSE)
Expand Down
2 changes: 1 addition & 1 deletion example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ description: Demonstrates how to use the polygonid_flutter_sdk plugin.
# pub.dev using `flutter pub publish`. This is preferred for private packages.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev

version: 2.2.0+23050201
version: 2.2.2+23050202


environment:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ class GetIden3commProofsUseCase
genesisDid: param.genesisDid,
profileNonce: param.profileNonce,
privateKey: param.privateKey))
.then((claim) => claim.first)
.then((claims) => claims.firstWhere(
(element) => element.type == request.scope.query.type))
.then((credential) async {
String circuitId = request.scope.circuitId;
CircuitDataEntity circuitData =
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: polygonid_flutter_sdk
description: PolygonID Flutter SDK (https://polygon.technology/polygon-id). This plugin provides a cross-platform tool (iOS, Android) to integrate the PolygonID solution.
version: 2.2.0
version: 2.2.2
homepage: https://polygon.technology/polygon-id
repository: https://github.com/iden3/polygonid-flutter-sdk
issue_tracker: https://github.com/iden3/polygonid-flutter-sdk/issues
Expand Down

0 comments on commit 3a5079a

Please sign in to comment.