@melio-eng/web-sdk 1.0.9 → 1.0.10-pr.25.075c2c8

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 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -260,11 +260,11 @@ export class MelioSDK {
260
260
  */
261
261
  createAuthInitUrl(authorizationCode) {
262
262
  const params = new URLSearchParams({
263
- code: authorizationCode,
263
+ token: authorizationCode,
264
264
  theme: this.partnerName,
265
265
  });
266
266
  const baseUrl = getBaseUrl(this.environment);
267
- let finalUrl = `${baseUrl}/${this.partnerName}/auth?${params.toString()}`;
267
+ let finalUrl = `${baseUrl}/${this.partnerName}/start?${params.toString()}`;
268
268
  // Add cdn_branch_override parameter for non-production environments
269
269
  if (this.branchOverride && this.environment !== 'production') {
270
270
  finalUrl += `&cdn_branch_override=${this.branchOverride}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melio-eng/web-sdk",
3
- "version": "1.0.9",
3
+ "version": "1.0.10-pr.25.075c2c8",
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",