@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.esm.js CHANGED
@@ -18,7 +18,7 @@ import { trace, context, SpanKind } from '@opentelemetry/api';
18
18
  import { SeverityNumber } from '@opentelemetry/api-logs';
19
19
 
20
20
  var name = "@faststore/api";
21
- var version = "2.1.28";
21
+ var version = "2.1.33";
22
22
  var license = "MIT";
23
23
  var main = "dist/index.js";
24
24
  var typings = "dist/index.d.ts";
@@ -32,8 +32,8 @@ var engines = {
32
32
  node: ">=12"
33
33
  };
34
34
  var scripts = {
35
- dev: "tsdx watch --entry ./local/server.ts --target node --onSuccess \"node ./dist\"",
36
- "dev:no-server": "concurrently \"yarn generate -w\" \"tsdx watch\"",
35
+ dev: "concurrently \"yarn generate -w\" \"tsdx watch\"",
36
+ "dev:server": "tsdx watch --entry ./local/server.ts --target node --onSuccess \"node ./dist\"",
37
37
  build: "graphql-codegen --config codegen.yml && tsdx build",
38
38
  lint: "eslint src/**/*.ts",
39
39
  test: "tsdx test",
@@ -54,8 +54,8 @@ var dependencies = {
54
54
  };
55
55
  var devDependencies = {
56
56
  "@envelop/core": "^2.6.0",
57
- "@faststore/eslint-config": "^2.1.9",
58
- "@faststore/shared": "^2.1.9",
57
+ "@faststore/eslint-config": "^2.1.33",
58
+ "@faststore/shared": "^2.1.33",
59
59
  "@graphql-codegen/cli": "2.2.0",
60
60
  "@graphql-codegen/typescript": "2.2.2",
61
61
  "@types/express": "^4.17.16",
@@ -289,7 +289,7 @@ const VtexCommerce = ({
289
289
  }
290
290
  },
291
291
  getSessionOrder: () => {
292
- return fetchAPI(`${base}/api/sessions?items=checkout.orderFormId`, {
292
+ return fetchAPI(`${base}/api/sessions?items=public.orderFormId`, {
293
293
  method: 'GET',
294
294
  headers: {
295
295
  'content-type': 'application/json',