@coveo/shopify 1.7.2-pre.1b995035ea → 1.7.2-pre.40e5fe62d5

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.
@@ -65,7 +65,7 @@ function memoize(fn, getCacheKey) {
65
65
 
66
66
  // src/utilities/app-proxy.ts
67
67
  var memoizedFetch = memoize(
68
- (...args) => global.fetch(...args),
68
+ (...args) => fetch(...args),
69
69
  (url) => url
70
70
  );
71
71
  async function fetchAppProxyConfig({
@@ -63,7 +63,7 @@ function memoize(fn, getCacheKey) {
63
63
 
64
64
  // src/utilities/app-proxy.ts
65
65
  var memoizedFetch = memoize(
66
- (...args) => global.fetch(...args),
66
+ (...args) => fetch(...args),
67
67
  (url) => url
68
68
  );
69
69
  async function fetchAppProxyConfig({
@@ -103,7 +103,7 @@ function memoize(fn, getCacheKey) {
103
103
 
104
104
  // src/utilities/app-proxy.ts
105
105
  var memoizedFetch = memoize(
106
- (...args) => global.fetch(...args),
106
+ (...args) => fetch(...args),
107
107
  (url) => url
108
108
  );
109
109
  async function fetchAppProxyConfig({
@@ -1,5 +1,5 @@
1
1
  import { memoize } from './memoize';
2
- const memoizedFetch = memoize((...args) => global.fetch(...args), (url) => url);
2
+ const memoizedFetch = memoize((...args) => fetch(...args), (url) => url);
3
3
  /**
4
4
  * Fetches configuration from the app proxy.
5
5
  *
@@ -54,7 +54,7 @@ function memoize(fn, getCacheKey) {
54
54
 
55
55
  // src/utilities/app-proxy.ts
56
56
  var memoizedFetch = memoize(
57
- (...args) => global.fetch(...args),
57
+ (...args) => fetch(...args),
58
58
  (url) => url
59
59
  );
60
60
  async function fetchAppProxyConfig({
package/package.json CHANGED
@@ -8,7 +8,7 @@
8
8
  "main": "./dist/headless.esm.js",
9
9
  "module": "./dist/headless.esm.js",
10
10
  "license": "Apache-2.0",
11
- "version": "1.7.2-pre.1b995035ea",
11
+ "version": "1.7.2-pre.40e5fe62d5",
12
12
  "files": [
13
13
  "dist/"
14
14
  ],
@@ -62,7 +62,7 @@
62
62
  },
63
63
  "dependencies": {
64
64
  "@coveo/relay": "1.2.1",
65
- "@coveo/headless": "3.27.2-pre.1b995035ea",
65
+ "@coveo/headless": "3.27.2-pre.40e5fe62d5",
66
66
  "uuid": "^11.0.0"
67
67
  },
68
68
  "engines": {