@hellotext/hellotext 2.0.5 → 2.0.6

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/lib/hellotext.cjs CHANGED
@@ -33,8 +33,8 @@ let Hellotext = /*#__PURE__*/function () {
33
33
  * @param { Configuration } config
34
34
  */
35
35
  async function initialize(business, config) {
36
- this.forms = new _models.FormCollection();
37
36
  this.business = new _models.Business(business);
37
+ this.forms = new _models.FormCollection();
38
38
  _core.Configuration.assign(config);
39
39
  _models.Session.initialize();
40
40
  _classPrivateFieldLooseBase(this, _query)[_query] = new _models.Query();
package/lib/hellotext.js CHANGED
@@ -31,8 +31,8 @@ var Hellotext = /*#__PURE__*/function () {
31
31
  */
32
32
  function () {
33
33
  var _initialize = _asyncToGenerator(function* (business, config) {
34
- this.forms = new FormCollection();
35
34
  this.business = new Business(business);
35
+ this.forms = new FormCollection();
36
36
  Configuration.assign(config);
37
37
  Session.initialize();
38
38
  _classPrivateFieldLooseBase(this, _query)[_query] = new Query();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hellotext/hellotext",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Hellotext JavaScript Client",
5
5
  "source": "src/index.js",
6
6
  "main": "lib/index.cjs",
package/src/hellotext.js CHANGED
@@ -20,8 +20,8 @@ class Hellotext {
20
20
  * @param { Configuration } config
21
21
  */
22
22
  static async initialize(business, config) {
23
- this.forms = new FormCollection()
24
23
  this.business = new Business(business)
24
+ this.forms = new FormCollection()
25
25
 
26
26
  Configuration.assign(config)
27
27
  Session.initialize()