@ikas/storefront-api 4.0.0-alpha.34 → 4.0.0-alpha.36

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-api",
3
- "version": "4.0.0-alpha.34",
3
+ "version": "4.0.0-alpha.36",
4
4
  "author": "Umut Ozan Yıldırım",
5
5
  "license": "ISC",
6
6
  "description": "API functions that returns models from the ikas-storefront-models package.",
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "devDependencies": {
23
23
  "@rollup/plugin-commonjs": "^22.0.0",
24
- "@ikas/storefront-config": "^4.0.0-alpha.34",
25
- "@ikas/storefront-models": "^4.0.0-alpha.34",
24
+ "@ikas/storefront-config": "^4.0.0-alpha.36",
25
+ "@ikas/storefront-models": "^4.0.0-alpha.36",
26
26
  "@rollup/plugin-node-resolve": "^13.3.0",
27
27
  "prettier": "^2.2.1",
28
28
  "rollup": "^2.75.6",
@@ -35,8 +35,8 @@
35
35
  "axios": "^0.26.0"
36
36
  },
37
37
  "peerDependencies": {
38
- "@ikas/storefront-config": "^4.0.0-alpha.34",
39
- "@ikas/storefront-models": "^4.0.0-alpha.34",
38
+ "@ikas/storefront-config": "^4.0.0-alpha.36",
39
+ "@ikas/storefront-models": "^4.0.0-alpha.36",
40
40
  "axios": "^0.26.0"
41
41
  }
42
42
  }
@@ -105,7 +105,7 @@ export async function getAvailableStockLocations(
105
105
  ).default;
106
106
  const response = await _getAvailableStockLocations(params);
107
107
  return new APIResponse(
108
- response.data as IkasAvailableStockLocation[] | undefined,
108
+ response.data?.stockLocations as IkasAvailableStockLocation[] | undefined,
109
109
  response.graphQLErrors
110
110
  );
111
111
  }