Skip to content

Commit

Permalink
chore(coin-lib-update): updated to latest coin lib version, code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
godenzim committed Sep 6, 2021
1 parent 6c42a04 commit 4f1b3d7
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
3 changes: 0 additions & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,6 @@ build-web:
only:
- develop
- master
- feat/github-actions
tags:
- docker

Expand Down Expand Up @@ -209,7 +208,6 @@ publish-web-dev:
- docker push $GOOGLE_TAG_LATEST_DEV
only:
- develop
- feat/github-actions
tags:
- docker

Expand Down Expand Up @@ -256,7 +254,6 @@ deploy-web-dev:
- kubectl apply -f k8s/airgap-wallet/common/ --recursive
only:
- develop
- feat/github-actions
tags:
- docker

Expand Down
9 changes: 9 additions & 0 deletions k8s/airgap-wallet/production/ingress.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,19 @@ spec:
- hosts:
- __CI_PROJECT_NAME__.prod.gke.papers.tech
secretName: __CI_PROJECT_NAME__-prod-tls
- hosts:
- wallet.airgap.it
secretName: wallet-airgap-it-prod-tls
rules:
- host: __CI_PROJECT_NAME__.prod.gke.papers.tech
http:
paths:
- backend:
serviceName: __CI_PROJECT_NAME__
servicePort: 80
- host: wallet.airgap.it
http:
paths:
- backend:
serviceName: __CI_PROJECT_NAME__
servicePort: 80
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"dependencies": {
"@airgap/angular-core": "0.0.17",
"@airgap/beacon-sdk": "2.2.10",
"@airgap/coinlib-core": "0.11.10",
"@airgap/coinlib-core": "0.11.12",
"@airgap/sapling-wasm": "0.0.6",
"@angular/animations": "^11.2.9",
"@angular/common": "^11.2.9",
Expand Down
5 changes: 0 additions & 5 deletions src/app/pages/scan/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,13 @@ export class ScanPage extends ScanBasePage {

if (sizeBefore === this.parts.size) {
// We scanned a string we already have in our cache, ignoring it and starting scan again.
console.log(`[SCAN:checkScan]: Already scanned string skipping ${data}`)
this.startScan()

return undefined
}

console.log(`[SCAN:checkScan]: Trying to decode string ${data}`)

this.ngZone.run(() => {
this.iacService
.handleRequest(data, IACMessageTransport.QR_SCANNER, (progress: number) => {
console.log('scan result', progress)
this.isMultiQr = true
this.percentageScanned = progress ?? 0
this.startScan()
Expand Down

0 comments on commit 4f1b3d7

Please sign in to comment.