@clerk/types 4.56.3 → 4.56.4-canary.v20250502172156

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.mts CHANGED
@@ -5598,10 +5598,10 @@ interface Clerk {
5598
5598
  /**
5599
5599
  * Navigates to the next task or redirects to completion URL.
5600
5600
  * If the current session has pending tasks, it navigates to the next task.
5601
- * If all tasks are complete, it navigates to the provided completion URL.
5601
+ * If all tasks are complete, it navigates to the provided completion URL or defaults to the origin redirect URL (either from sign-in or sign-up).
5602
5602
  * @experimental
5603
5603
  */
5604
- __experimental_nextTask: (params?: NextTaskParams) => Promise<void>;
5604
+ __experimental_navigateToTask: (params?: NextTaskParams) => Promise<void>;
5605
5605
  /**
5606
5606
  * This is an optional function.
5607
5607
  * This function is used to load cached Client and Environment resources if Clerk fails to load them from the Frontend API.
package/dist/index.d.ts CHANGED
@@ -5598,10 +5598,10 @@ interface Clerk {
5598
5598
  /**
5599
5599
  * Navigates to the next task or redirects to completion URL.
5600
5600
  * If the current session has pending tasks, it navigates to the next task.
5601
- * If all tasks are complete, it navigates to the provided completion URL.
5601
+ * If all tasks are complete, it navigates to the provided completion URL or defaults to the origin redirect URL (either from sign-in or sign-up).
5602
5602
  * @experimental
5603
5603
  */
5604
- __experimental_nextTask: (params?: NextTaskParams) => Promise<void>;
5604
+ __experimental_navigateToTask: (params?: NextTaskParams) => Promise<void>;
5605
5605
  /**
5606
5606
  * This is an optional function.
5607
5607
  * This function is used to load cached Client and Environment resources if Clerk fails to load them from the Frontend API.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@clerk/types",
3
- "version": "4.56.3",
3
+ "version": "4.56.4-canary.v20250502172156",
4
4
  "description": "Typings for Clerk libraries.",
5
5
  "keywords": [
6
6
  "clerk",