diff --git a/mod.ts b/mod.ts index 8016ff5..ba3098a 100644 --- a/mod.ts +++ b/mod.ts @@ -4,7 +4,7 @@ export { default as hellthreadPolicy, type Hellthread } from './src/policies/hel export { default as keywordPolicy } from './src/policies/keyword-policy.ts'; export { default as noopPolicy } from './src/policies/noop-policy.ts'; export { default as openaiPolicy, type OpenAI, type OpenAIHandler } from './src/policies/openai-policy.ts'; -export { default as powPolicy } from './src/policies/pow-policy.ts'; +export { default as powPolicy, type POW } from './src/policies/pow-policy.ts'; export { default as pubkeyBanPolicy } from './src/policies/pubkey-ban-policy.ts'; export { default as rateLimitPolicy, type RateLimit } from './src/policies/rate-limit-policy.ts'; export { default as readOnlyPolicy } from './src/policies/read-only-policy.ts'; diff --git a/src/policies/pow-policy.ts b/src/policies/pow-policy.ts index 41a96d9..1545d3f 100644 --- a/src/policies/pow-policy.ts +++ b/src/policies/pow-policy.ts @@ -31,3 +31,5 @@ const powPolicy: Policy = ({ event }, opts = {}) => { }; export default powPolicy; + +export type { POW };