@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.
- package/dist/index.js +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
|
-
|
|
263
|
+
token: authorizationCode,
|
|
264
264
|
theme: this.partnerName,
|
|
265
265
|
});
|
|
266
266
|
const baseUrl = getBaseUrl(this.environment);
|
|
267
|
-
let finalUrl = `${baseUrl}/${this.partnerName}/
|
|
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