@ikas/storefront 0.0.162-alpha.2 → 0.0.162-alpha.3

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
@@ -38781,7 +38781,9 @@ var cart = /*#__PURE__*/Object.freeze({
38781
38781
  });
38782
38782
 
38783
38783
  var IkasPageEditor$1 = dynamic(function () { return Promise.resolve().then(function () { return index; }).then(function (mod) { return mod.IkasPageEditor; }); }, { ssr: false });
38784
- var Page$c = function () {
38784
+ var Page$c = function (_a) {
38785
+ var configJson = _a.configJson;
38786
+ IkasStorefrontConfig.initWithJson(configJson);
38785
38787
  return createElement(IkasPageEditor$1, null);
38786
38788
  };
38787
38789
  var getStaticProps$b = function (context) { return __awaiter(void 0, void 0, void 0, function () {
package/build/index.js CHANGED
@@ -38759,7 +38759,9 @@ var cart = /*#__PURE__*/Object.freeze({
38759
38759
  });
38760
38760
 
38761
38761
  var IkasPageEditor$1 = dynamic__default['default'](function () { return Promise.resolve().then(function () { return index; }).then(function (mod) { return mod.IkasPageEditor; }); }, { ssr: false });
38762
- var Page$c = function () {
38762
+ var Page$c = function (_a) {
38763
+ var configJson = _a.configJson;
38764
+ IkasStorefrontConfig.initWithJson(configJson);
38763
38765
  return React.createElement(IkasPageEditor$1, null);
38764
38766
  };
38765
38767
  var getStaticProps$b = function (context) { return __awaiter(void 0, void 0, void 0, function () {
@@ -1,7 +1,8 @@
1
- /// <reference types="react" />
1
+ import * as React from "react";
2
2
  import { GetStaticProps } from "next";
3
- export declare const getStaticProps: GetStaticProps;
4
- declare const _default: (() => JSX.Element) & {
5
- displayName: string;
3
+ declare type Props = {
4
+ configJson: Record<string, any>;
6
5
  };
6
+ export declare const getStaticProps: GetStaticProps;
7
+ declare const _default: React.FunctionComponent<Props>;
7
8
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "0.0.162-alpha.2",
3
+ "version": "0.0.162-alpha.3",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",