@stacksjs/types 0.75.85 → 0.75.86

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/payments.d.ts +10 -1
  2. package/package.json +5 -5
@@ -3,9 +3,10 @@ import type Stripe from 'stripe';
3
3
  // Configuration Types
4
4
  // =============================================================================
5
5
  export declare interface PaymentOptions {
6
- driver: 'stripe' | 'adyen' | (string & {})
6
+ driver: 'stripe' | 'adyen' | 'paddle' | (string & {})
7
7
  stripe: StripeConfig
8
8
  adyen?: AdyenConfig
9
+ paddle?: PaddleConfig
9
10
  currency?: string
10
11
  webhook?: WebhookConfig
11
12
  connect?: ConnectConfig
@@ -29,6 +30,14 @@ export declare interface AdyenConfig {
29
30
  hmacKey?: string
30
31
  shopperReferencePrefix?: string
31
32
  }
33
+ export declare interface PaddleConfig {
34
+ apiKey?: string
35
+ environment?: 'sandbox' | 'live'
36
+ webhookSecret?: string
37
+ clientToken?: string
38
+ taxCategory?: string
39
+ webhookTolerance?: number
40
+ }
32
41
  export declare interface WebhookConfig {
33
42
  secret: string
34
43
  tolerance?: number
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.85",
4
+ "version": "0.75.86",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -58,9 +58,9 @@
58
58
  "dependencies": {
59
59
  "@stacksjs/bunpress": "^0.2.15",
60
60
  "@stacksjs/clapp": "^0.2.12",
61
- "@stacksjs/events": "0.75.85",
62
- "@stacksjs/strings": "0.75.85",
63
- "@stacksjs/stx": "^0.2.378",
61
+ "@stacksjs/events": "0.75.86",
62
+ "@stacksjs/strings": "0.75.86",
63
+ "@stacksjs/stx": "^0.2.384",
64
64
  "@stacksjs/ts-validation": "^0.5.6",
65
65
  "bun-query-builder": "^0.3.5"
66
66
  },
@@ -73,7 +73,7 @@
73
73
  }
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.85",
76
+ "@stacksjs/validation": "0.75.86",
77
77
  "better-dx": "^0.2.24",
78
78
  "meilisearch": "^0.62.0"
79
79
  },