@wix/auto_sdk_ecom_cart 1.0.65 → 1.0.67

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.
@@ -16,103 +16,33 @@ import { transformPaths } from "@wix/sdk-runtime/transformations/transform-paths
16
16
  import { resolveUrl } from "@wix/sdk-runtime/rest-modules";
17
17
  function resolveComWixEcomCartApiV1CartServiceUrl(opts) {
18
18
  const domainToMappings = {
19
- "api._api_base_domain_": [
20
- {
21
- srcPath: "/cart",
22
- destPath: ""
23
- }
24
- ],
25
19
  "www.wixapis.com": [
26
20
  {
27
21
  srcPath: "/ecom/v1/carts",
28
22
  destPath: "/v1/carts"
29
23
  }
30
24
  ],
31
- "www.wixgateway.com": [
32
- {
33
- srcPath: "/ecom/v1/carts",
34
- destPath: "/v1/carts"
35
- }
36
- ],
37
25
  _: [
38
26
  {
39
27
  srcPath: "/_api/ecom-cart",
40
28
  destPath: ""
41
29
  },
42
- {
43
- srcPath: "/_api/cart",
44
- destPath: ""
45
- },
46
- {
47
- srcPath: "/ecom/v1/carts",
48
- destPath: "/v1/carts"
49
- }
50
- ],
51
- "manage._base_domain_": [
52
30
  {
53
31
  srcPath: "/ecom/v1/carts",
54
32
  destPath: "/v1/carts"
55
33
  }
56
34
  ],
57
- "editor._base_domain_": [
58
- {
59
- srcPath: "/_api/ecom-cart",
60
- destPath: ""
61
- }
62
- ],
63
- "blocks._base_domain_": [
64
- {
65
- srcPath: "/_api/ecom-cart",
66
- destPath: ""
67
- }
68
- ],
69
- "create.editorx": [
70
- {
71
- srcPath: "/_api/ecom-cart",
72
- destPath: ""
73
- }
74
- ],
75
- "*.dev.wix-code.com": [
76
- {
77
- srcPath: "/_api/ecom-cart",
78
- destPath: ""
79
- }
80
- ],
81
35
  "www._base_domain_": [
82
36
  {
83
37
  srcPath: "/_api/ecom-cart",
84
38
  destPath: ""
85
39
  }
86
40
  ],
87
- "bo._base_domain_": [
88
- {
89
- srcPath: "/ecom/v1/carts",
90
- destPath: "/v1/carts"
91
- }
92
- ],
93
- "wixbo.ai": [
94
- {
95
- srcPath: "/ecom/v1/carts",
96
- destPath: "/v1/carts"
97
- }
98
- ],
99
- "wix-bo.com": [
100
- {
101
- srcPath: "/ecom/v1/carts",
102
- destPath: "/v1/carts"
103
- }
104
- ],
105
- "editor.wixapps.net": [
41
+ "api._api_base_domain_": [
106
42
  {
107
- srcPath: "/_api/ecom-cart",
43
+ srcPath: "/cart-v1-proxy",
108
44
  destPath: ""
109
45
  }
110
- ],
111
- "apps._base_domain_": [
112
- {
113
- srcPath: "/ecom/v1/carts",
114
- destPath: "/v1/carts"
115
- }
116
46
  ]
117
47
  };
118
48
  return resolveUrl(Object.assign(opts, { domainToMappings }));