@melio-eng/web-sdk 1.0.8-pr.20.d24c8b3 → 1.0.8-pr.21.9ad5c63

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 CHANGED
@@ -11,6 +11,8 @@ function getBaseUrl(environment) {
11
11
  return 'https://partnerships.public-qa.melioservices.com';
12
12
  case 'certification':
13
13
  return 'https://partnerships.certification.melioservices.com';
14
+ case 'eilat':
15
+ return 'https://partnerships.eilat.melioservices.com';
14
16
  case 'localhost':
15
17
  return 'http://localhost:3005';
16
18
  default:
@@ -253,7 +255,7 @@ export class MelioSDK {
253
255
  theme: this.partnerName,
254
256
  });
255
257
  const baseUrl = getBaseUrl(this.environment);
256
- let finalUrl = `${baseUrl}/${this.partnerName}/auth?${params.toString()}`;
258
+ let finalUrl = `${baseUrl}/${this.partnerName}/start?${params.toString()}`;
257
259
  // Add cdn_branch_override parameter for staging01 environment
258
260
  if (this.environment === 'staging01') {
259
261
  finalUrl += '&cdn_branch_override=xero';
package/dist/types.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * Available environments for the SDK
3
3
  */
4
- export type Environment = 'production' | 'staging01' | 'public-qa' | 'certification' | 'localhost';
4
+ export type Environment = 'production' | 'staging01' | 'public-qa' | 'certification' | 'localhost' | 'eilat';
5
5
  /**
6
6
  * Configuration options for SDK initialization
7
7
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melio-eng/web-sdk",
3
- "version": "1.0.8-pr.20.d24c8b3",
3
+ "version": "1.0.8-pr.21.9ad5c63",
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",