Skip to content

Commit

Permalink
Merge branch 'master' into feature/orm-graphql
Browse files Browse the repository at this point in the history
  • Loading branch information
simonas-notcat committed Mar 19, 2020
2 parents 29bf414 + 886d592 commit 210e898
Show file tree
Hide file tree
Showing 10 changed files with 52 additions and 11 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.4](https://github.com/uport-project/daf/compare/v3.1.3...v3.1.4) (2020-03-19)


### Bug Fixes

* Fetching credentials for SDR ([e91668e](https://github.com/uport-project/daf/commit/e91668e664fca7d9826fd45e179cafe1b3cbe975))





## [3.1.3](https://github.com/uport-project/daf/compare/v3.1.2...v3.1.3) (2020-03-18)


Expand Down
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "3.1.3",
"version": "3.1.4",
"packages": [
"packages/*"
],
Expand Down
11 changes: 11 additions & 0 deletions packages/daf-cli/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.4](https://github.com/uport-project/daf/compare/v3.1.3...v3.1.4) (2020-03-19)


### Bug Fixes

* Fetching credentials for SDR ([e91668e](https://github.com/uport-project/daf/commit/e91668e664fca7d9826fd45e179cafe1b3cbe975))





## [3.1.3](https://github.com/uport-project/daf/compare/v3.1.2...v3.1.3) (2020-03-18)

**Note:** Version bump only for package daf-cli
Expand Down
6 changes: 3 additions & 3 deletions packages/daf-cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "daf-cli",
"description": "DAF command line tool",
"version": "3.1.3",
"version": "3.1.4",
"main": "build/cli.js",
"types": "build/cli.d.ts",
"bin": {
Expand All @@ -16,7 +16,7 @@
"commander": "^4.0.1",
"console-table-printer": "^1.1.15",
"daf-core": "^3.1.3",
"daf-data-store": "^3.1.3",
"daf-data-store": "^3.1.4",
"daf-debug": "^3.1.3",
"daf-did-comm": "^3.1.3",
"daf-did-jwt": "^3.1.3",
Expand All @@ -25,7 +25,7 @@
"daf-libsodium": "^3.1.3",
"daf-resolver": "^3.0.1",
"daf-resolver-universal": "^3.0.1",
"daf-selective-disclosure": "^3.1.3",
"daf-selective-disclosure": "^3.1.4",
"daf-trust-graph": "^3.1.3",
"daf-url": "^3.1.3",
"daf-w3c": "^3.1.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/daf-cli/src/setup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const initializeDb = async () => {
type: 'sqlite',
database: defaultPath + 'database-v2.sqlite',
synchronize: true,
logging: true,
logging: process.env.DEBUG_DAF_DB ? true : false,
entities: [...Daf.Entities],
})
}
Expand Down
11 changes: 11 additions & 0 deletions packages/daf-data-store/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.4](https://github.com/uport-project/daf/compare/v3.1.3...v3.1.4) (2020-03-19)


### Bug Fixes

* Fetching credentials for SDR ([e91668e](https://github.com/uport-project/daf/commit/e91668e664fca7d9826fd45e179cafe1b3cbe975))





## [3.1.3](https://github.com/uport-project/daf/compare/v3.1.2...v3.1.3) (2020-03-18)

**Note:** Version bump only for package daf-data-store
Expand Down
2 changes: 1 addition & 1 deletion packages/daf-data-store/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "daf-data-store",
"description": "DID Agent Framework Data Store",
"version": "3.1.3",
"version": "3.1.4",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
Expand Down
6 changes: 3 additions & 3 deletions packages/daf-data-store/src/data-store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ export class DataStore {
claim_type: string
}) {
let where = {}

if (iss) {
if (iss && iss.length > 0) {
where['issuer'] = In(iss)
}
if (sub) {
if (sub && iss.length > 0) {
where['subject'] = In(sub)
}

Expand Down
8 changes: 8 additions & 0 deletions packages/daf-selective-disclosure/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [3.1.4](https://github.com/uport-project/daf/compare/v3.1.3...v3.1.4) (2020-03-19)

**Note:** Version bump only for package daf-selective-disclosure





## [3.1.3](https://github.com/uport-project/daf/compare/v3.1.2...v3.1.3) (2020-03-18)

**Note:** Version bump only for package daf-selective-disclosure
Expand Down
4 changes: 2 additions & 2 deletions packages/daf-selective-disclosure/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "daf-selective-disclosure",
"description": "DAF selective disclosure",
"version": "3.1.3",
"version": "3.1.4",
"main": "build/index.js",
"types": "build/index.d.ts",
"scripts": {
Expand All @@ -10,7 +10,7 @@
"dependencies": {
"blakejs": "^1.1.0",
"daf-core": "^3.1.3",
"daf-data-store": "^3.1.3",
"daf-data-store": "^3.1.4",
"daf-did-jwt": "^3.1.3",
"debug": "^4.1.1",
"did-jwt": "^4.0.0"
Expand Down

0 comments on commit 210e898

Please sign in to comment.