From 6fe54a427745fe411c53d23c0776b7f44b1554fb Mon Sep 17 00:00:00 2001 From: Agustina Aldasoro Date: Thu, 7 Apr 2022 16:24:31 -0300 Subject: [PATCH 1/2] Remove legacy audit info --- .../examples/content/200-audit-response.json | 4 ++-- .../schemas/content/200-audit-response.yaml | 14 +++++++++++--- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/openapi/components/examples/content/200-audit-response.json b/openapi/components/examples/content/200-audit-response.json index a51128a..bb80fb4 100644 --- a/openapi/components/examples/content/200-audit-response.json +++ b/openapi/components/examples/content/200-audit-response.json @@ -1,7 +1,7 @@ { "value": { "version": "v3", - "deployedTimestamp": 1628271052660, + "localTimestamp": 1628271052660, "authChain": [ { "type": "SIGNER", @@ -21,4 +21,4 @@ ] } -} \ No newline at end of file +} diff --git a/openapi/components/schemas/content/200-audit-response.yaml b/openapi/components/schemas/content/200-audit-response.yaml index dbe6d13..c76bd83 100644 --- a/openapi/components/schemas/content/200-audit-response.yaml +++ b/openapi/components/schemas/content/200-audit-response.yaml @@ -1,12 +1,12 @@ required: - version - - deployedTimestamp + - localTimestamp - authChain type: object properties: version: type: string - deployedTimestamp: + localTimestamp: type: number authChain: type: array @@ -22,4 +22,12 @@ properties: payload: type: string signature: - type: string \ No newline at end of file + type: string + overwrittenBy: + type: string + isDenylisted: + type: boolean + denylistedContent: + type: array + items: + type: string From c8cc5dc1323ffc5e7fbdb17c477460f5b547a974 Mon Sep 17 00:00:00 2001 From: Agustina Aldasoro Date: Thu, 7 Apr 2022 16:30:26 -0300 Subject: [PATCH 2/2] publish version --- .github/workflows/npm-publish.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f8c2ab0..dad228c 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -1,5 +1,7 @@ on: push: + tags: + - '*' branches: - main - master @@ -35,4 +37,4 @@ jobs: registry-url: 'https://registry.npmjs.org' access: public env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} \ No newline at end of file + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}