@ikas/storefront 0.0.4 → 0.0.5

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/build/index.es.js CHANGED
@@ -1,4 +1,4 @@
1
- import { makeAutoObservable, toJS, runInAction, reaction, action, computed, makeObservable, observable, configure } from 'mobx';
1
+ import { makeAutoObservable, toJS, runInAction, reaction, action, computed, configure } from 'mobx';
2
2
  import queryString$1 from 'querystring';
3
3
  import React, { createElement, useState, useEffect, Fragment, useCallback, useRef } from 'react';
4
4
  import { observer } from 'mobx-react-lite';
@@ -22187,22 +22187,23 @@ var IkasCartStore = /** @class */ (function () {
22187
22187
  _this._checkoutId = undefined;
22188
22188
  };
22189
22189
  this.baseStore = baseStore;
22190
- makeObservable(this, {
22191
- cart: observable,
22192
- //@ts-ignore
22193
- baseStore: observable,
22194
- //@ts-ignore
22195
- _checkoutId: observable,
22196
- //@ts-ignore
22197
- _isLoadingCart: observable,
22198
- //@ts-ignore
22199
- _cartLoadFinished: observable,
22200
- isBrowser: computed,
22201
- isLoadingCart: computed,
22202
- cartLoadFinished: computed,
22203
- checkoutId: computed,
22204
- checkoutUrl: computed,
22205
- });
22190
+ makeAutoObservable(this);
22191
+ // makeObservable(this, {
22192
+ // cart: observable,
22193
+ // //@ts-ignore
22194
+ // baseStore: observable,
22195
+ // //@ts-ignore
22196
+ // _checkoutId: observable,
22197
+ // //@ts-ignore
22198
+ // _isLoadingCart: observable,
22199
+ // //@ts-ignore
22200
+ // _cartLoadFinished: observable,
22201
+ // isBrowser: computed,
22202
+ // isLoadingCart: computed,
22203
+ // cartLoadFinished: computed,
22204
+ // checkoutId: computed,
22205
+ // checkoutUrl: computed,
22206
+ // });
22206
22207
  this.getCart();
22207
22208
  }
22208
22209
  Object.defineProperty(IkasCartStore.prototype, "isBrowser", {
package/build/index.js CHANGED
@@ -22173,22 +22173,23 @@ var IkasCartStore = /** @class */ (function () {
22173
22173
  _this._checkoutId = undefined;
22174
22174
  };
22175
22175
  this.baseStore = baseStore;
22176
- mobx.makeObservable(this, {
22177
- cart: mobx.observable,
22178
- //@ts-ignore
22179
- baseStore: mobx.observable,
22180
- //@ts-ignore
22181
- _checkoutId: mobx.observable,
22182
- //@ts-ignore
22183
- _isLoadingCart: mobx.observable,
22184
- //@ts-ignore
22185
- _cartLoadFinished: mobx.observable,
22186
- isBrowser: mobx.computed,
22187
- isLoadingCart: mobx.computed,
22188
- cartLoadFinished: mobx.computed,
22189
- checkoutId: mobx.computed,
22190
- checkoutUrl: mobx.computed,
22191
- });
22176
+ mobx.makeAutoObservable(this);
22177
+ // makeObservable(this, {
22178
+ // cart: observable,
22179
+ // //@ts-ignore
22180
+ // baseStore: observable,
22181
+ // //@ts-ignore
22182
+ // _checkoutId: observable,
22183
+ // //@ts-ignore
22184
+ // _isLoadingCart: observable,
22185
+ // //@ts-ignore
22186
+ // _cartLoadFinished: observable,
22187
+ // isBrowser: computed,
22188
+ // isLoadingCart: computed,
22189
+ // cartLoadFinished: computed,
22190
+ // checkoutId: computed,
22191
+ // checkoutUrl: computed,
22192
+ // });
22192
22193
  this.getCart();
22193
22194
  }
22194
22195
  Object.defineProperty(IkasCartStore.prototype, "isBrowser", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.4",
3
+ "version": "0.0.5",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",