@solvapay/next 1.0.0-preview.17 → 1.0.0-preview.18

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.
package/dist/index.d.cts CHANGED
@@ -95,10 +95,12 @@ declare function processPayment(request: globalThis.Request, body: {
95
95
  declare function createCheckoutSession(request: globalThis.Request, body: {
96
96
  agentRef: string;
97
97
  planRef?: string;
98
+ returnUrl?: string;
98
99
  }, options?: {
99
100
  solvaPay?: SolvaPay;
100
101
  includeEmail?: boolean;
101
102
  includeName?: boolean;
103
+ returnUrl?: string;
102
104
  }): Promise<{
103
105
  sessionId: string;
104
106
  checkoutUrl: string;
package/dist/index.d.ts CHANGED
@@ -95,10 +95,12 @@ declare function processPayment(request: globalThis.Request, body: {
95
95
  declare function createCheckoutSession(request: globalThis.Request, body: {
96
96
  agentRef: string;
97
97
  planRef?: string;
98
+ returnUrl?: string;
98
99
  }, options?: {
99
100
  solvaPay?: SolvaPay;
100
101
  includeEmail?: boolean;
101
102
  includeName?: boolean;
103
+ returnUrl?: string;
102
104
  }): Promise<{
103
105
  sessionId: string;
104
106
  checkoutUrl: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvapay/next",
3
- "version": "1.0.0-preview.17",
3
+ "version": "1.0.0-preview.18",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",
@@ -29,9 +29,9 @@
29
29
  },
30
30
  "sideEffects": false,
31
31
  "dependencies": {
32
- "@solvapay/auth": "1.0.0-preview.17",
33
- "@solvapay/core": "1.0.0-preview.17",
34
- "@solvapay/server": "1.0.0-preview.17"
32
+ "@solvapay/auth": "1.0.0-preview.18",
33
+ "@solvapay/server": "1.0.0-preview.18",
34
+ "@solvapay/core": "1.0.0-preview.18"
35
35
  },
36
36
  "peerDependencies": {
37
37
  "next": ">=13.0.0"