@solvapay/auth 1.0.0-preview.20 → 1.0.0-preview.21

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/README.md +1 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -75,7 +75,7 @@ const auth = new SupabaseAuthAdapter({
75
75
  const solvaPay = createSolvaPay({ apiKey: process.env.SOLVAPAY_SECRET_KEY! })
76
76
 
77
77
  // Use with Next.js adapter
78
- export const POST = solvaPay.payable({ agent: 'my-api' }).next(
78
+ export const POST = solvaPay.payable({ product: 'my-api' }).next(
79
79
  async args => {
80
80
  return { result: 'success' }
81
81
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solvapay/auth",
3
- "version": "1.0.0-preview.20",
3
+ "version": "1.0.0-preview.21",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.js",