@ikas/storefront-api 4.0.0-alpha.13 → 4.0.0-alpha.15
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.
|
|
3
|
+
"version": "4.0.0-alpha.15",
|
|
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.",
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
"generate": "api-generator --generate --url=https://api.myikas.dev/api/sf/graphql --modelPath=./models.json --generatePath=./src/__api && prettier --write ./src/__api"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@ikas/fe-api-client": "^1.0.16
|
|
19
|
+
"@ikas/fe-api-client": "^1.0.16",
|
|
20
20
|
"ts-essentials": "^7.0.1"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@rollup/plugin-commonjs": "^22.0.0",
|
|
24
|
-
"@ikas/storefront-config": "^4.0.0-alpha.
|
|
25
|
-
"@ikas/storefront-models": "^4.0.0-alpha.
|
|
24
|
+
"@ikas/storefront-config": "^4.0.0-alpha.15",
|
|
25
|
+
"@ikas/storefront-models": "^4.0.0-alpha.15",
|
|
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.
|
|
39
|
-
"@ikas/storefront-models": "^4.0.0-alpha.
|
|
38
|
+
"@ikas/storefront-config": "^4.0.0-alpha.15",
|
|
39
|
+
"@ikas/storefront-models": "^4.0.0-alpha.15",
|
|
40
40
|
"axios": "^0.26.0"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { QueryParams as
|
|
1
|
+
import { QueryParams as GetMasterPassRequestTokenQueryParams } from "../../__api/queries/getMasterPassRequestToken";
|
|
2
2
|
|
|
3
|
-
export type {
|
|
3
|
+
export type { GetMasterPassRequestTokenQueryParams };
|
|
4
4
|
|
|
5
|
-
export async function
|
|
6
|
-
data:
|
|
5
|
+
export async function getMasterPassRequestToken(
|
|
6
|
+
data: GetMasterPassRequestTokenQueryParams
|
|
7
7
|
) {
|
|
8
|
-
const
|
|
9
|
-
await import("../../__api/queries/
|
|
8
|
+
const _getMasterPassRequestToken = (
|
|
9
|
+
await import("../../__api/queries/getMasterPassRequestToken")
|
|
10
10
|
).default;
|
|
11
|
-
return await
|
|
11
|
+
return await _getMasterPassRequestToken(data);
|
|
12
12
|
}
|