Skip to content

Commit

Permalink
fix: export as value and not type (#338)
Browse files Browse the repository at this point in the history
  • Loading branch information
kdamball authored Sep 5, 2023
1 parent ed4e36a commit eed29ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
export { getManagementToken } from './keys'
export { signRequest, verifyRequest, ContentfulHeader } from './requests'
export { signRequest, verifyRequest, ContentfulHeader, DeliveryFunctionEventType } from './requests'

export type {
AppActionCallContext,
CanonicalRequest,
SignedRequestHeaders,
DeliveryFunctionEventContext,
DeliveryFunctionEventHandler,
DeliveryFunctionEventType,
} from './requests'
3 changes: 1 addition & 2 deletions src/requests/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
export { signRequest } from './sign-request'
export { verifyRequest } from './verify-request'
export { ContentfulHeader, ContentfulContextHeader } from './typings'
export { ContentfulHeader, ContentfulContextHeader, DeliveryFunctionEventType } from './typings'
export type {
AppActionCallContext,
CanonicalRequest,
DeliveryFunctionEventContext,
DeliveryFunctionEventHandler,
DeliveryFunctionEventType,
SignedRequestWithContextHeadersWithApp,
SignedRequestWithContextHeadersWithUser,
SignedRequestWithoutContextHeaders,
Expand Down

0 comments on commit eed29ee

Please sign in to comment.