@faststore/api 2.1.31 → 2.1.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/dist/api.cjs.development.js +6 -6
- package/dist/api.cjs.development.js.map +1 -1
- package/dist/api.cjs.production.min.js +1 -1
- package/dist/api.cjs.production.min.js.map +1 -1
- package/dist/api.esm.js +6 -6
- package/dist/api.esm.js.map +1 -1
- package/package.json +6 -6
- package/src/platforms/vtex/clients/commerce/index.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@faststore/api",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.36",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"node": ">=12"
|
|
15
15
|
},
|
|
16
16
|
"scripts": {
|
|
17
|
-
"dev": "
|
|
18
|
-
"dev:
|
|
17
|
+
"dev": "concurrently \"yarn generate -w\" \"tsdx watch\"",
|
|
18
|
+
"dev:server": "tsdx watch --entry ./local/server.ts --target node --onSuccess \"node ./dist\"",
|
|
19
19
|
"build": "graphql-codegen --config codegen.yml && tsdx build",
|
|
20
20
|
"lint": "eslint src/**/*.ts",
|
|
21
21
|
"test": "tsdx test",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@envelop/core": "^2.6.0",
|
|
39
|
-
"@faststore/eslint-config": "^2.1.
|
|
40
|
-
"@faststore/shared": "^2.1.
|
|
39
|
+
"@faststore/eslint-config": "^2.1.33",
|
|
40
|
+
"@faststore/shared": "^2.1.33",
|
|
41
41
|
"@graphql-codegen/cli": "2.2.0",
|
|
42
42
|
"@graphql-codegen/typescript": "2.2.2",
|
|
43
43
|
"@types/express": "^4.17.16",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"@envelop/core": "^1 || ^2",
|
|
57
57
|
"graphql": "^15.6.0"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "2bb75febbcbdc8c114d3f0912db8502840851440"
|
|
60
60
|
}
|
|
@@ -261,7 +261,7 @@ export const VtexCommerce = (
|
|
|
261
261
|
}
|
|
262
262
|
},
|
|
263
263
|
getSessionOrder: (): Promise<Session> => {
|
|
264
|
-
return fetchAPI(`${base}/api/sessions?items=
|
|
264
|
+
return fetchAPI(`${base}/api/sessions?items=public.orderFormId`, {
|
|
265
265
|
method: 'GET',
|
|
266
266
|
headers: {
|
|
267
267
|
'content-type': 'application/json',
|