diff --git a/.husky/_/husky.sh b/.husky/_/husky.sh index ca2720e..f9d0637 100644 --- a/.husky/_/husky.sh +++ b/.husky/_/husky.sh @@ -1,30 +1,9 @@ -#!/bin/sh -if [ -z "$husky_skip_init" ]; then - debug () { - [ "$HUSKY_DEBUG" = "1" ] && echo "husky (debug) - $1" - } +echo "husky - DEPRECATED - readonly hook_name="$(basename "$0")" - debug "starting $hook_name..." +Please remove the following two lines from $0: - if [ "$HUSKY" = "0" ]; then - debug "HUSKY env variable is set to 0, skipping hook" - exit 0 - fi +#!/usr/bin/env sh +. \"\$(dirname -- \"\$0\")/_/husky.sh\" - if [ -f ~/.huskyrc ]; then - debug "sourcing ~/.huskyrc" - . ~/.huskyrc - fi - - export readonly husky_skip_init=1 - sh -e "$0" "$@" - exitCode="$?" - - if [ $exitCode != 0 ]; then - echo "husky - $hook_name hook exited with code $exitCode (error)" - exit $exitCode - fi - - exit 0 -fi +They WILL FAIL in v10.0.0 +" \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ca7884e..63172c2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # transaction-manager-service Changelog +## 0.3.0 - 2024-11-25 + +### Changed + +- added test coverage +- added health check option + ## 0.2.0 - 2024-10-11 ### Changed diff --git a/package.json b/package.json index 7fc8eaa..63fc7b5 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@digitalcredentials/transaction-service", "description": "An express app for managing challenges in a DIDAuth exchange.", - "version": "0.2.0", + "version": "0.3.0", "type": "module", "scripts": { "start": "node -r dotenv/config server.js",