@stacksjs/types 0.75.74 → 0.75.75

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 +6 -6
@@ -3,8 +3,9 @@ import type Stripe from 'stripe';
3
3
  // Configuration Types
4
4
  // =============================================================================
5
5
  export declare interface PaymentOptions {
6
- driver: 'stripe'
6
+ driver: 'stripe' | 'adyen' | (string & {})
7
7
  stripe: StripeConfig
8
+ adyen?: AdyenConfig
8
9
  currency?: string
9
10
  webhook?: WebhookConfig
10
11
  connect?: ConnectConfig
@@ -20,6 +21,14 @@ export declare interface StripeConfig {
20
21
  apiVersion?: string
21
22
  webhookSecret?: string
22
23
  }
24
+ export declare interface AdyenConfig {
25
+ apiKey?: string
26
+ merchantAccount?: string
27
+ environment?: 'test' | 'live'
28
+ liveUrlPrefix?: string
29
+ hmacKey?: string
30
+ shopperReferencePrefix?: string
31
+ }
23
32
  export declare interface WebhookConfig {
24
33
  secret: string
25
34
  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.74",
4
+ "version": "0.75.75",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -56,11 +56,11 @@
56
56
  "prepublishOnly": "bun run build"
57
57
  },
58
58
  "dependencies": {
59
- "@stacksjs/bunpress": "^0.2.8",
59
+ "@stacksjs/bunpress": "^0.2.15",
60
60
  "@stacksjs/clapp": "^0.2.12",
61
- "@stacksjs/events": "0.75.74",
62
- "@stacksjs/strings": "0.75.74",
63
- "@stacksjs/stx": "^0.2.374",
61
+ "@stacksjs/events": "0.75.75",
62
+ "@stacksjs/strings": "0.75.75",
63
+ "@stacksjs/stx": "^0.2.378",
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.74",
76
+ "@stacksjs/validation": "0.75.75",
77
77
  "better-dx": "^0.2.24",
78
78
  "meilisearch": "^0.62.0"
79
79
  },