@xata.io/client 0.0.0-beta.7fe10d6 → 0.0.0-beta.96dc1f0
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/index.js +2 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
@@ -287,7 +287,8 @@ class RestRepository extends Repository {
|
|
287
287
|
return __awaiter(this, void 0, void 0, function* () {
|
288
288
|
const { databaseURL, apiKey } = this.client.options;
|
289
289
|
const branch = yield this.client.getBranch();
|
290
|
-
const
|
290
|
+
const fetchImpl = this.fetch;
|
291
|
+
const resp = yield fetchImpl(`${databaseURL}:${branch}${path}`, {
|
291
292
|
method,
|
292
293
|
headers: {
|
293
294
|
Accept: '*/*',
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@xata.io/client",
|
3
|
-
"version": "0.0.0-beta.
|
3
|
+
"version": "0.0.0-beta.96dc1f0",
|
4
4
|
"description": "Xata.io SDK for TypeScript and JavaScript",
|
5
5
|
"main": "./dist/index.js",
|
6
6
|
"types": "./dist/index.d.ts",
|
@@ -20,5 +20,5 @@
|
|
20
20
|
"url": "https://github.com/xataio/client-ts/issues"
|
21
21
|
},
|
22
22
|
"homepage": "https://github.com/xataio/client-ts/blob/main/client/README.md",
|
23
|
-
"gitHead": "
|
23
|
+
"gitHead": "96dc1f0ad5f0ec5bfdcb2441657cc07b4ba52759"
|
24
24
|
}
|