@syncfy/authentication-widget 2.1.1 → 2.2.0
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 +26 -0
- package/dist/syncfy-authentication-widget.cjs.js +529 -190
- package/dist/syncfy-authentication-widget.css +133 -35
- package/dist/syncfy-authentication-widget.esm.js +531 -192
- package/dist/syncfy-authentication-widget.umd.js +121 -136
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -83,6 +83,32 @@ var syncfyWidget = new SyncfyWidget({
|
|
|
83
83
|
|
|
84
84
|
Whether the consent is actually mandatory for a given integrator is decided by the backend from the contract. This option only controls whether the widget asks for it.
|
|
85
85
|
|
|
86
|
+
### Full site list
|
|
87
|
+
|
|
88
|
+
`config.navigation.displayFullSiteList` is **off by default**, and the widget asks for a country and a category as it always has while it stays off.
|
|
89
|
+
|
|
90
|
+
Turn it on and the widget lists every institution at once, under a country heading and a category heading that stay on screen while scrolling, with the search above them. Selecting an institution continues as usual.
|
|
91
|
+
|
|
92
|
+
```
|
|
93
|
+
var syncfyWidget = new SyncfyWidget({
|
|
94
|
+
token: "syncfy_token",
|
|
95
|
+
config: {
|
|
96
|
+
entrypoint: {
|
|
97
|
+
country: "MX"
|
|
98
|
+
},
|
|
99
|
+
navigation: {
|
|
100
|
+
displayFullSiteList: true
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
});
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
- `entrypoint.country` goes first and the rest follow alphabetically. Without it every country is alphabetical.
|
|
107
|
+
- Categories are always alphabetical by their translated name.
|
|
108
|
+
- `navigation.hideSelectCountry` lists a single country: `entrypoint.country`, or `MX` when it is not set.
|
|
109
|
+
- `entrypoint.siteOrganizationType` is ignored. To limit the categories use `navigation.displaySiteOrganizationTypes` or `navigation.hideSiteOrganizationTypes`.
|
|
110
|
+
- The `display*` and `hide*` filters apply as usual, and the Plaid button is not shown in this list.
|
|
111
|
+
|
|
86
112
|
## ⚠️ Environment Compatibility
|
|
87
113
|
|
|
88
114
|
If you are using modern build tools (like Vite in Angular 16+ or Next.js), you may encounter a ReferenceError: global is not defined. This happens because modern environments do not include Node.js polyfills by default.
|