Skip to content

Commit

Permalink
Merge pull request #153 from dev-protocol/feat/add-type-exports
Browse files Browse the repository at this point in the history
feat: add some types from index.ts
  • Loading branch information
yashdesu authored Dec 18, 2024
2 parents d973c5d + 3cb5c96 commit ce8780c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devprotocol/clubs-plugin-payments",
"version": "0.3.1",
"version": "0.3.2",
"type": "module",
"exports": {
".": {
Expand Down Expand Up @@ -93,7 +93,7 @@
},
"peerDependencies": {
"@devprotocol/clubs-core": "^3.22.1",
"@devprotocol/clubs-plugin-passports": "^0.1.0-beta.33",
"@devprotocol/clubs-plugin-passports": "^0.1.0-beta.36",
"ethers": "^6.0.0"
},
"repository": "https://github.com/dev-protocol/clubs-plugin-payments.git",
Expand Down
3 changes: 3 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import screenshot3 from './images/clubs-payments-3.jpg'
import Admin from './pages/admin.astro'
import { get } from './api/payment-key'
import { post } from './api/fulfillment'
import type { Override, ComposedItem } from './types'

export const getPagePaths = (async (
options,
Expand Down Expand Up @@ -142,6 +143,8 @@ export const meta = {
previewImages: [screenshot1.src, screenshot2.src, screenshot3.src],
} satisfies ClubsPluginMeta

export { type Override, type ComposedItem }

export default {
getPagePaths,
getAdminPaths,
Expand Down
2 changes: 1 addition & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,7 @@ __metadata:
vue-tsc: "npm:^2.0.0"
peerDependencies:
"@devprotocol/clubs-core": ^3.22.1
"@devprotocol/clubs-plugin-passports": ^0.1.0-beta.33
"@devprotocol/clubs-plugin-passports": ^0.1.0-beta.36
ethers: ^6.0.0
languageName: unknown
linkType: soft
Expand Down

0 comments on commit ce8780c

Please sign in to comment.