Skip to content

Commit

Permalink
Merge branch 'main' into diehuxx/context-role
Browse files Browse the repository at this point in the history
* main:
  #439 - Added `ownerSignature` authentication & corrected naming (#538)
  Removed hooks and snapshots code (#537)
  Normalize schema and protocol in create method of permission-grant (#532)
  • Loading branch information
Diane Huxley committed Oct 5, 2023
2 parents bf9c8eb + 04f821d commit 982b02f
Show file tree
Hide file tree
Showing 36 changed files with 565 additions and 737 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Here's to a thrilling Hacktoberfest voyage with us! 🎉
# Decentralized Web Node (DWN) SDK <!-- omit in toc -->

Code Coverage
![Statements](https://img.shields.io/badge/statements-98.08%25-brightgreen.svg?style=flat) ![Branches](https://img.shields.io/badge/branches-95.22%25-brightgreen.svg?style=flat) ![Functions](https://img.shields.io/badge/functions-95.14%25-brightgreen.svg?style=flat) ![Lines](https://img.shields.io/badge/lines-98.08%25-brightgreen.svg?style=flat)
![Statements](https://img.shields.io/badge/statements-98.37%25-brightgreen.svg?style=flat) ![Branches](https://img.shields.io/badge/branches-95.31%25-brightgreen.svg?style=flat) ![Functions](https://img.shields.io/badge/functions-95.68%25-brightgreen.svg?style=flat) ![Lines](https://img.shields.io/badge/lines-98.37%25-brightgreen.svg?style=flat)

- [Introduction](#introduction)
- [Installation](#installation)
Expand Down
8 changes: 2 additions & 6 deletions build/compile-validators.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ import Definitions from '../json-schemas/definitions.json' assert { type: 'json'
import EventsGet from '../json-schemas/events/events-get.json' assert { type: 'json' };
import GeneralJwk from '../json-schemas/jwk/general-jwk.json' assert { type: 'json' };
import GeneralJws from '../json-schemas/general-jws.json' assert { type: 'json' };
import GenericSignaturePayload from '../json-schemas/authorization-payloads/base-authorization-payload.json' assert { type: 'json' };
import HooksWrite from '../json-schemas/hooks/hooks-write.json' assert { type: 'json' };
import GenericSignaturePayload from '../json-schemas/signature-payloads/generic-signature-payload.json' assert { type: 'json' };
import JwkVerificationMethod from '../json-schemas/jwk-verification-method.json' assert { type: 'json' };
import MessagesGet from '../json-schemas/interface-methods/messages-get.json' assert { type: 'json' };
import PermissionsDefinitions from '../json-schemas/permissions/permissions-definitions.json' assert { type: 'json' };
Expand All @@ -42,9 +41,8 @@ import RecordsFilter from '../json-schemas/interface-methods/records-filter.json
import RecordsQuery from '../json-schemas/interface-methods/records-query.json' assert { type: 'json' };
import RecordsRead from '../json-schemas/interface-methods/records-read.json' assert { type: 'json' };
import RecordsWrite from '../json-schemas/interface-methods/records-write.json' assert { type: 'json' };
import RecordsWriteSignaturePayload from '../json-schemas/authorization-payloads/records-write-authorization-payload.json' assert { type: 'json' };
import RecordsWriteSignaturePayload from '../json-schemas/signature-payloads/records-write-author-signature-payload.json' assert { type: 'json' };
import RecordsWriteUnidentified from '../json-schemas/interface-methods/records-write-unidentified.json' assert { type: 'json' };
import SnapshotsCreate from '../json-schemas/interface-methods/snapshots-create.json' assert { type: 'json' };

const schemas = {
Authorization,
Expand All @@ -57,7 +55,6 @@ const schemas = {
Definitions,
GeneralJwk,
GeneralJws,
HooksWrite,
JwkVerificationMethod,
MessagesGet,
PermissionsDefinitions,
Expand All @@ -72,7 +69,6 @@ const schemas = {
RecordsRead,
RecordsFilter,
PublicJwk,
SnapshotsCreate,
GenericSignaturePayload,
RecordsWriteSignaturePayload
};
Expand Down
Loading

0 comments on commit 982b02f

Please sign in to comment.