@melio-eng/web-sdk 1.0.17-pr.35.6d53e91 → 1.0.17-pr.35.c02b150

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 +7 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -239,6 +239,12 @@ const isEmptyString = (str) => {
239
239
  class InitFlow extends Flow {
240
240
  constructor(containerId, config, partnerName, environment, branchOverride) {
241
241
  super(containerId, config, partnerName, environment, branchOverride);
242
+ console.log('🔧 InitFlow constructor', {
243
+ config,
244
+ partnerName,
245
+ environment,
246
+ branchOverride,
247
+ });
242
248
  if (isEmptyString(config.authCode)) {
243
249
  throw new Error('Authorization code is required for init flow');
244
250
  }
@@ -291,6 +297,7 @@ export class MelioSDK {
291
297
  const flow = new InitFlow('', // no need container id for init flow as it is created inside the initialization
292
298
  { authCode: authenticationCode, containerId: '' }, this.partnerName, this.environment, this.branchOverride);
293
299
  flow.initialize();
300
+ console.log('🔧 InitFlow initialized', flow);
294
301
  this.setupKeepAlive();
295
302
  return flow;
296
303
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@melio-eng/web-sdk",
3
- "version": "1.0.17-pr.35.6d53e91",
3
+ "version": "1.0.17-pr.35.c02b150",
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",