@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.
@@ -22,7 +22,7 @@ var api = require('@opentelemetry/api');
22
22
  var apiLogs = require('@opentelemetry/api-logs');
23
23
 
24
24
  var name = "@faststore/api";
25
- var version = "2.1.28";
25
+ var version = "2.1.33";
26
26
  var license = "MIT";
27
27
  var main = "dist/index.js";
28
28
  var typings = "dist/index.d.ts";
@@ -36,8 +36,8 @@ var engines = {
36
36
  node: ">=12"
37
37
  };
38
38
  var scripts = {
39
- dev: "tsdx watch --entry ./local/server.ts --target node --onSuccess \"node ./dist\"",
40
- "dev:no-server": "concurrently \"yarn generate -w\" \"tsdx watch\"",
39
+ dev: "concurrently \"yarn generate -w\" \"tsdx watch\"",
40
+ "dev:server": "tsdx watch --entry ./local/server.ts --target node --onSuccess \"node ./dist\"",
41
41
  build: "graphql-codegen --config codegen.yml && tsdx build",
42
42
  lint: "eslint src/**/*.ts",
43
43
  test: "tsdx test",
@@ -58,8 +58,8 @@ var dependencies = {
58
58
  };
59
59
  var devDependencies = {
60
60
  "@envelop/core": "^2.6.0",
61
- "@faststore/eslint-config": "^2.1.9",
62
- "@faststore/shared": "^2.1.9",
61
+ "@faststore/eslint-config": "^2.1.33",
62
+ "@faststore/shared": "^2.1.33",
63
63
  "@graphql-codegen/cli": "2.2.0",
64
64
  "@graphql-codegen/typescript": "2.2.2",
65
65
  "@types/express": "^4.17.16",
@@ -293,7 +293,7 @@ const VtexCommerce = ({
293
293
  }
294
294
  },
295
295
  getSessionOrder: () => {
296
- return fetchAPI(`${base}/api/sessions?items=checkout.orderFormId`, {
296
+ return fetchAPI(`${base}/api/sessions?items=public.orderFormId`, {
297
297
  method: 'GET',
298
298
  headers: {
299
299
  'content-type': 'application/json',