Skip to content

Commit

Permalink
fix: DID Document validation (#73)
Browse files Browse the repository at this point in the history
* fix: DID Document validation

* feat: Update error handling

* fix: Deactivate DID bug
  • Loading branch information
DaevMithran committed Jan 31, 2023
1 parent 28e6414 commit d5baa0c
Show file tree
Hide file tree
Showing 11 changed files with 357 additions and 877 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
target: runner
tags: ${{ steps.meta.outputs.tags }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min

- name: Save Docker image
run: docker save ${{ env.IMAGE_NAME }} > did-registrar-staging.tar
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,13 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: "Obtain Github App token"
id: app-token
uses: getsentry/action-github-app-token@v1.0.6
uses: getsentry/action-github-app-token@v2.0.0
with:
app_id: ${{ secrets.BOT_APP_ID }}
private_key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
Expand Down Expand Up @@ -115,7 +115,7 @@ jobs:
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
cache-to: type=gha,mode=min

- name: Push image to DigitalOcean Container Registry
run: docker image push --all-tags ${{ env.IMAGE_NAME }}
run: docker image push --all-tags ${{ env.IMAGE_NAME }}
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

## [2.0.0-develop.2](https://github.com/cheqd/did-registrar/compare/2.0.0-develop.1...2.0.0-develop.2) (2023-01-30)


### Bug Fixes

* DID Document validation ([#73](https://github.com/cheqd/did-registrar/issues/73)) ([c963e78](https://github.com/cheqd/did-registrar/commit/c963e78535aa3c63901b865db9705e7c29da7d49))

## [2.0.0-develop.1](https://github.com/cheqd/did-registrar/compare/1.2.0-develop.3...2.0.0-develop.1) (2023-01-30)


Expand Down Expand Up @@ -38,7 +45,11 @@
* Support deactivate did tx ([ea4b28f](https://github.com/cheqd/did-registrar/commit/ea4b28f7a42f666e75f377595a79ac443dec39ac))
* Support mnemonic secret && Update validation and swagger ([c5bafed](https://github.com/cheqd/did-registrar/commit/c5bafed3f294637f3389789d21740d25634951f9))

## [1.1.3-develop.1](https://github.com/cheqd/did-registrar/compare/1.1.2...1.1.3-develop.1) (2022-10-26)
## [1.1.5](https://github.com/cheqd/did-registrar/compare/1.1.4...1.1.5) (2022-11-29)

## [1.1.4](https://github.com/cheqd/did-registrar/compare/1.1.3...1.1.4) (2022-11-09)

## [1.1.3](https://github.com/cheqd/did-registrar/compare/1.1.2...1.1.3) (2022-11-03)

## [1.1.2](https://github.com/cheqd/did-registrar/compare/1.1.1...1.1.2) (2022-10-21)

Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
### STAGE 1: Build did-registrar app ###
###############################################################

FROM node:16-alpine AS builder
FROM node:18-alpine AS builder

# Set working directory & bash defaults
WORKDIR /home/node/app
Expand All @@ -20,7 +20,7 @@ RUN npm run build
### STAGE 2: Run did-registar app ###
###############################################################

FROM node:16-alpine AS runner
FROM node:18-alpine AS runner

# Set working directory & bash defaults
WORKDIR /home/node/app
Expand Down
Loading

0 comments on commit d5baa0c

Please sign in to comment.