@melio-eng/web-sdk 1.0.20 → 1.0.21

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.
Files changed (2) hide show
  1. package/dist/index.js +2 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -192,9 +192,8 @@ class OnboardingFlow extends Flow {
192
192
  if (this.enforceOnboarding !== undefined) {
193
193
  queryParams.push(`enforceOnboarding=${this.enforceOnboarding}`);
194
194
  }
195
- if (queryParams.length > 0) {
196
- url += `?${queryParams.join('&')}`;
197
- }
195
+ queryParams.push(`externalOrigin=${this.partnerName}`);
196
+ url += `?${queryParams.join('&')}`;
198
197
  return url;
199
198
  }
200
199
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melio-eng/web-sdk",
3
- "version": "1.0.20",
3
+ "version": "1.0.21",
4
4
  "description": "Melio Web SDK - Embed core Melio workflows directly into partner UI with minimal effort",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",