Skip to content

Commit

Permalink
merge
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobias Winkler committed Aug 17, 2018
2 parents b90e6c3 + 3722634 commit 9e594bf
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 5 deletions.
4 changes: 4 additions & 0 deletions VERSIONS.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
## Version 1.1.0
### Features
- Remove deployment description and move it to the evan.network wiki
<<<<<<< HEAD
- add subdomain dapp loading support
=======
- add subdomain support
>>>>>>> release/v1.1.0
## Version 1.0.2
### Features
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"author": "Contractus",
"author": "evan GmbH",
"cordova": {
"config": {
"ionic_build_dir": "deployment",
Expand Down Expand Up @@ -27,8 +27,8 @@
}
},
"dependencies": {
"@evan.network/api-blockchain-core": "^1.0.0",
"@evan.network/dbcp": "^1.0.0",
"@evan.network/api-blockchain-core": "^1.1.0",
"@evan.network/dbcp": "^1.2.0",
"cordova-android": "~6.4.0",
"cordova-ios": "4.5.4",
"cordova-plugin-camera": "^4.0.3",
Expand Down Expand Up @@ -61,8 +61,6 @@
"@angular/core": "^5.1.0",
"@compodoc/compodoc": "^1.0.5",
"@compodoc/gulp-compodoc": "0.0.8",
"@evan.network/api-blockchain-core": "^1.0.0",
"@evan.network/dbcp": "^1.0.0",
"@ionic-native/camera": "^4.7.0",
"@ionic-native/file": "^4.7.0",
"@ionic-native/file-path": "^4.7.0",
Expand Down
6 changes: 6 additions & 0 deletions src/app/dapp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,12 @@ function getVersionDBCPHashFromDAppVersion(requiredVersion: string, childENS: st
break;
}

// direct return as valid, if e.g. the minor of the versionToLoad load than the new check
// version (1.0.2 is lower than 1.1.0)
if (splittedVersion[x] === '*' && versionToLoad[x] < splittedChild[x]) {
break;
}

// check if a higher * value is selected
if (splittedVersion[x] === '*' && versionToLoad[x] > splittedChild[x]) {
isValid = false;
Expand Down

0 comments on commit 9e594bf

Please sign in to comment.