From 7e8b5198de6bfbafd12e8478021dbee0b7b9a644 Mon Sep 17 00:00:00 2001 From: Henry Tsai Date: Fri, 21 Jun 2024 14:55:38 -0700 Subject: [PATCH 1/2] Exported permission related types --- package-lock.json | 4 ++-- package.json | 2 +- src/index.ts | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4ff17983c..6539b40b5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@tbd54566975/dwn-sdk-js", - "version": "0.3.9", + "version": "0.3.10", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@tbd54566975/dwn-sdk-js", - "version": "0.3.9", + "version": "0.3.10", "license": "Apache-2.0", "dependencies": { "@ipld/dag-cbor": "9.0.3", diff --git a/package.json b/package.json index bf0e46287..474f8846c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tbd54566975/dwn-sdk-js", - "version": "0.3.9", + "version": "0.3.10", "description": "A reference implementation of https://identity.foundation/decentralized-web-node/spec/", "repository": { "type": "git", diff --git a/src/index.ts b/src/index.ts index 726557e37..4366fddde 100644 --- a/src/index.ts +++ b/src/index.ts @@ -50,6 +50,7 @@ export { Secp256r1 } from './utils/secp256r1.js'; export { Signer } from './types/signer.js'; export { SortDirection } from './types/query-types.js'; export { Time } from './utils/time.js'; +export * from './types/permission-types.js'; // concrete implementations of stores and event stream export { DataStoreLevel } from './store/data-store-level.js'; From 43de0deef3169919676ca827ca5cd92906eb9633 Mon Sep 17 00:00:00 2001 From: Henry Tsai Date: Fri, 21 Jun 2024 15:06:55 -0700 Subject: [PATCH 2/2] removed redundant exports --- src/index.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 4366fddde..5d4469562 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,6 @@ export type { EventListener, EventStream, EventSubscription, MessageEvent, Subsc export type { GenericMessage, GenericMessageReply, MessageSort, MessageSubscription, Pagination, QueryResultEntry } from './types/message-types.js'; export type { MessagesGetMessage, MessagesGetReply, MessagesGetReplyEntry } from './types/messages-types.js'; export type { Filter, EqualFilter, OneOfFilter, RangeFilter, RangeCriterion, PaginationCursor, QueryOptions } from './types/query-types.js'; -export type { PermissionConditions, PermissionScope } from './types/permission-types.js'; export type { ProtocolsConfigureDescriptor, ProtocolDefinition, ProtocolTypes, ProtocolRuleSet, ProtocolsQueryFilter, ProtocolsConfigureMessage, ProtocolsQueryMessage, ProtocolsQueryReply } from './types/protocols-types.js'; export type { EncryptionProperty, RecordsDeleteMessage, RecordsQueryMessage, RecordsQueryReply, RecordsQueryReplyEntry, RecordsReadMessage, RecordsReadReply, RecordsSubscribeDescriptor, RecordsSubscribeMessage, RecordsSubscribeReply, RecordSubscriptionHandler, RecordsWriteDescriptor, RecordsWriteTags, RecordsWriteTagValue, RecordsWriteMessage } from './types/records-types.js'; export { authenticate } from './core/auth.js';