mirror of
https://github.com/xtr-dev/payload-billing.git
synced 2025-12-10 10:53:23 +00:00
chore: bump package version to 0.1.9 and simplify test provider initialization logic
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@xtr-dev/payload-billing",
|
"name": "@xtr-dev/payload-billing",
|
||||||
"version": "0.1.8",
|
"version": "0.1.9",
|
||||||
"description": "PayloadCMS plugin for billing and payment provider integrations with tracking and local testing",
|
"description": "PayloadCMS plugin for billing and payment provider integrations with tracking and local testing",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
@@ -432,7 +432,7 @@ export const testProvider = (testConfig: TestProviderConfig) => {
|
|||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
onInit: async (payload: Payload) => {
|
onInit: (payload: Payload) => {
|
||||||
logWebhookEvent('Test Provider', 'Test payment provider initialized')
|
logWebhookEvent('Test Provider', 'Test payment provider initialized')
|
||||||
|
|
||||||
// Clean up old sessions periodically (older than 1 hour)
|
// Clean up old sessions periodically (older than 1 hour)
|
||||||
|
|||||||
Reference in New Issue
Block a user