@ikas/storefront 1.0.12 → 1.0.13

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.
@@ -42,6 +42,8 @@ export default class AddressFormViewModel {
42
42
  id?: string | undefined;
43
43
  name?: string | undefined;
44
44
  code?: string | undefined;
45
+ iso2?: string | undefined;
46
+ iso3?: string | undefined;
45
47
  } | null | undefined;
46
48
  get state(): {
47
49
  id?: string | undefined;
@@ -53,6 +55,8 @@ export default class AddressFormViewModel {
53
55
  id?: string | undefined;
54
56
  name?: string | undefined;
55
57
  code?: string | undefined;
58
+ iso2?: string | undefined;
59
+ iso3?: string | undefined;
56
60
  } | null | undefined;
57
61
  get city(): {
58
62
  id?: string | undefined;
@@ -64,6 +68,8 @@ export default class AddressFormViewModel {
64
68
  id?: string | undefined;
65
69
  name?: string | undefined;
66
70
  code?: string | undefined;
71
+ iso2?: string | undefined;
72
+ iso3?: string | undefined;
67
73
  } | null | undefined;
68
74
  get district(): {
69
75
  id?: string | undefined;
@@ -75,6 +81,8 @@ export default class AddressFormViewModel {
75
81
  id?: string | undefined;
76
82
  name?: string | undefined;
77
83
  code?: string | undefined;
84
+ iso2?: string | undefined;
85
+ iso3?: string | undefined;
78
86
  } | null | undefined;
79
87
  get countryOptions(): {
80
88
  label: string;
package/build/index.es.js CHANGED
@@ -26160,8 +26160,8 @@ function beginCheckoutFBPItem(checkout) {
26160
26160
  var contentIds = [];
26161
26161
  var contents = [];
26162
26162
  (_a = checkout.cart) === null || _a === void 0 ? void 0 : _a.items.map(function (item) {
26163
- contentIds.push(item.id);
26164
- contents.push({ id: item.id, quantity: item.quantity });
26163
+ contentIds.push(item.variant.id);
26164
+ contents.push({ id: item.variant.id, quantity: item.quantity });
26165
26165
  });
26166
26166
  return {
26167
26167
  contents: contents,
@@ -26177,8 +26177,8 @@ function viewCartFBPItem(cart) {
26177
26177
  var contentIds = [];
26178
26178
  var contents = [];
26179
26179
  cart.items.map(function (item) {
26180
- contentIds.push(item.id);
26181
- contents.push({ id: item.id, quantity: item.quantity });
26180
+ contentIds.push(item.variant.id);
26181
+ contents.push({ id: item.variant.id, quantity: item.quantity });
26182
26182
  });
26183
26183
  return {
26184
26184
  contents: contents,
package/build/index.js CHANGED
@@ -26140,8 +26140,8 @@ function beginCheckoutFBPItem(checkout) {
26140
26140
  var contentIds = [];
26141
26141
  var contents = [];
26142
26142
  (_a = checkout.cart) === null || _a === void 0 ? void 0 : _a.items.map(function (item) {
26143
- contentIds.push(item.id);
26144
- contents.push({ id: item.id, quantity: item.quantity });
26143
+ contentIds.push(item.variant.id);
26144
+ contents.push({ id: item.variant.id, quantity: item.quantity });
26145
26145
  });
26146
26146
  return {
26147
26147
  contents: contents,
@@ -26157,8 +26157,8 @@ function viewCartFBPItem(cart) {
26157
26157
  var contentIds = [];
26158
26158
  var contents = [];
26159
26159
  cart.items.map(function (item) {
26160
- contentIds.push(item.id);
26161
- contents.push({ id: item.id, quantity: item.quantity });
26160
+ contentIds.push(item.variant.id);
26161
+ contents.push({ id: item.variant.id, quantity: item.quantity });
26162
26162
  });
26163
26163
  return {
26164
26164
  contents: contents,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikas/storefront",
3
- "version": "1.0.12",
3
+ "version": "1.0.13",
4
4
  "main": "./build/index.js",
5
5
  "module": "./build/index.es.js",
6
6
  "author": "Umut Ozan Yıldırım",