@supertokens-plugins/rownd-nodejs 0.3.0-beta.1 → 0.3.0-beta.2

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/README.md CHANGED
@@ -64,16 +64,19 @@ RowndMigrationPlugin.init({
64
64
  });
65
65
  ```
66
66
 
67
- ### Mobile Deep Links
67
+ ### Client Link Domains
68
68
 
69
- Set `mobileDeepLinkBaseUrl` to rewrite mobile-context account links to a native deep link target. The value must be an absolute URL base, such as a custom scheme or HTTPS universal/app link domain.
69
+ Set `clientDomains` to rewrite account links to different frontend URL bases. Values must be absolute URL bases, including custom schemes for native deep links. The plugin selects `mobile` for `mobile_app` display context and `browser` otherwise. Consumers can pass `rownd_client_domain` to select any custom key.
70
70
 
71
71
  ```typescript
72
72
  RowndMigrationPlugin.init({
73
73
  rowndAppKey: process.env.ROWND_APP_KEY,
74
74
  rowndAppSecret: process.env.ROWND_APP_SECRET,
75
- mobileDeepLinkBaseUrl: "customDomain://",
76
- // or: mobileDeepLinkBaseUrl: "https://links.example.com",
75
+ clientDomains: {
76
+ browser: "https://app.example.com",
77
+ mobile: "customDomain://",
78
+ browser_local: "http://localhost:3000",
79
+ },
77
80
  });
78
81
  ```
79
82