snapback2 0.0.1 → 0.0.2
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/client.mjs +1 -1
- package/dist/client.mjs.map +2 -2
- package/dist/test-runner.mjs +1 -1
- package/dist/test-runner.mjs.map +2 -2
- package/dist/test.mjs +1 -1
- package/dist/test.mjs.map +2 -2
- package/package.json +3 -3
package/dist/test-runner.mjs
CHANGED
|
@@ -7008,7 +7008,7 @@ var Client = class _Client {
|
|
|
7008
7008
|
}
|
|
7009
7009
|
this.createOptions = options;
|
|
7010
7010
|
this.url = options.url.replace(/\/+$/, "");
|
|
7011
|
-
this.fetchImpl = options.fetch ?? globalThis.fetch;
|
|
7011
|
+
this.fetchImpl = options.fetch ?? globalThis.fetch?.bind(globalThis);
|
|
7012
7012
|
this.customFetch = options.fetch !== void 0;
|
|
7013
7013
|
if (typeof this.fetchImpl !== "function") throw new TypeError("createClient requires a fetch implementation");
|
|
7014
7014
|
this.tokenStore = options.tokenStore;
|