@livechat/accounts-sdk 2.0.7 → 2.0.8

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.
@@ -2444,7 +2444,7 @@
2444
2444
  var flow = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
2445
2445
  var localOptions = Object.assign({}, this.options, options);
2446
2446
 
2447
- if (!params.state) {
2447
+ if (!localOptions.state) {
2448
2448
  localOptions.state = random.string(localOptions.key_length);
2449
2449
  }
2450
2450