@poly-x/next 0.1.0-alpha.5 → 0.1.0-alpha.6

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/server.cjs CHANGED
@@ -160,7 +160,8 @@ function createAuthHandlers(handlersConfig = {}) {
160
160
  await client.setPassword({
161
161
  userId: proof.userId,
162
162
  newPassword,
163
- confirmPassword
163
+ confirmPassword,
164
+ ticket: proof.ticket
164
165
  });
165
166
  return attempt(newPassword);
166
167
  },
package/dist/server.mjs CHANGED
@@ -159,7 +159,8 @@ function createAuthHandlers(handlersConfig = {}) {
159
159
  await client.setPassword({
160
160
  userId: proof.userId,
161
161
  newPassword,
162
- confirmPassword
162
+ confirmPassword,
163
+ ticket: proof.ticket
163
164
  });
164
165
  return attempt(newPassword);
165
166
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@poly-x/next",
3
- "version": "0.1.0-alpha.5",
3
+ "version": "0.1.0-alpha.6",
4
4
  "description": "PolyX SDK for Next.js App Router - components plus server helpers",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -47,8 +47,8 @@
47
47
  "module": "./dist/index.mjs",
48
48
  "types": "./dist/index.d.cts",
49
49
  "dependencies": {
50
- "@poly-x/core": "0.1.0-alpha.5",
51
- "@poly-x/react": "0.1.0-alpha.5"
50
+ "@poly-x/core": "0.1.0-alpha.6",
51
+ "@poly-x/react": "0.1.0-alpha.6"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "next": ">=14",