@ikas/storefront-providers 4.0.0-alpha.25 → 4.0.0-alpha.27

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront-providers",
3
- "version": "4.0.0-alpha.25",
3
+ "version": "4.0.0-alpha.27",
4
4
  "description": "Data providers for ikas storefront theme components.",
5
5
  "author": "Umut Ozan Yıldırım",
6
6
  "license": "ISC",
@@ -17,10 +17,10 @@
17
17
  },
18
18
  "devDependencies": {
19
19
  "@rollup/plugin-commonjs": "^22.0.0",
20
- "@ikas/storefront-api": "^4.0.0-alpha.25",
21
- "@ikas/storefront-config": "^4.0.0-alpha.25",
22
- "@ikas/storefront-model-functions": "^4.0.0-alpha.25",
23
- "@ikas/storefront-models": "^4.0.0-alpha.25",
20
+ "@ikas/storefront-api": "^4.0.0-alpha.27",
21
+ "@ikas/storefront-config": "^4.0.0-alpha.27",
22
+ "@ikas/storefront-model-functions": "^4.0.0-alpha.27",
23
+ "@ikas/storefront-models": "^4.0.0-alpha.27",
24
24
  "@rollup/plugin-node-resolve": "^13.3.0",
25
25
  "@types/lodash": "^4.14.168",
26
26
  "@types/react": "^16.9.55",
@@ -37,10 +37,10 @@
37
37
  },
38
38
  "peerDependencies": {
39
39
  "mobx": "^6.1.3",
40
- "@ikas/storefront-api": "^4.0.0-alpha.25",
41
- "@ikas/storefront-config": "^4.0.0-alpha.25",
42
- "@ikas/storefront-model-functions": "^4.0.0-alpha.25",
43
- "@ikas/storefront-models": "^4.0.0-alpha.25",
40
+ "@ikas/storefront-api": "^4.0.0-alpha.27",
41
+ "@ikas/storefront-config": "^4.0.0-alpha.27",
42
+ "@ikas/storefront-model-functions": "^4.0.0-alpha.27",
43
+ "@ikas/storefront-models": "^4.0.0-alpha.27",
44
44
  "lodash": "^4.17.20"
45
45
  }
46
46
  }
@@ -92,14 +92,13 @@ export class IkasPageDataProvider {
92
92
  constructor(
93
93
  theme: IkasThemeJson,
94
94
  pageParams?: Record<string, any>,
95
- pageType?: IkasThemeJsonPageType,
96
- isEditor?: boolean
95
+ pageType?: IkasThemeJsonPageType
97
96
  ) {
98
97
  this.theme = theme;
99
98
  this.pageParams = pageParams || {};
100
99
  this.pageType = pageType;
101
100
 
102
- if (isEditor) makeAutoObservable(this);
101
+ makeAutoObservable(this);
103
102
  }
104
103
 
105
104
  get page(): IkasThemeJsonPage | undefined {