@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 +7 -4
- package/dist/bulkMigrate.js +44 -584
- package/dist/index.d.mts +12 -20
- package/dist/index.d.ts +12 -20
- package/dist/index.js +1173 -1186
- package/dist/index.mjs +1446 -1460
- package/package.json +1 -3
package/README.md
CHANGED
|
@@ -64,16 +64,19 @@ RowndMigrationPlugin.init({
|
|
|
64
64
|
});
|
|
65
65
|
```
|
|
66
66
|
|
|
67
|
-
###
|
|
67
|
+
### Client Link Domains
|
|
68
68
|
|
|
69
|
-
Set `
|
|
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
|
-
|
|
76
|
-
|
|
75
|
+
clientDomains: {
|
|
76
|
+
browser: "https://app.example.com",
|
|
77
|
+
mobile: "customDomain://",
|
|
78
|
+
browser_local: "http://localhost:3000",
|
|
79
|
+
},
|
|
77
80
|
});
|
|
78
81
|
```
|
|
79
82
|
|