@xata.io/client
Advanced tools
Comparing version 0.0.0-alpha.a59de40 to 0.0.0-alpha.a824144
@@ -167,3 +167,3 @@ export interface XataRecord { | ||
fetch?: unknown; | ||
databaseURL: string; | ||
databaseURL?: string; | ||
branch: BranchStrategyOption; | ||
@@ -170,0 +170,0 @@ apiKey: string; |
@@ -290,3 +290,4 @@ "use strict"; | ||
const branch = yield this.client.getBranch(); | ||
const resp = yield this.fetch(`${databaseURL}:${branch}${path}`, { | ||
const fetchImpl = this.fetch; | ||
const resp = yield fetchImpl(`${databaseURL}:${branch}${path}`, { | ||
method, | ||
@@ -293,0 +294,0 @@ headers: { |
{ | ||
"name": "@xata.io/client", | ||
"version": "0.0.0-alpha.a59de40", | ||
"version": "0.0.0-alpha.a824144", | ||
"description": "Xata.io SDK for TypeScript and JavaScript", | ||
@@ -9,3 +9,3 @@ "main": "./dist/index.js", | ||
"test": "echo \"Error: no test specified\" && exit 1", | ||
"build": "tsc", | ||
"build": "tsc -p tsconfig.build.json", | ||
"prepack": "npm run build" | ||
@@ -24,3 +24,3 @@ }, | ||
"homepage": "https://github.com/xataio/client-ts/blob/main/client/README.md", | ||
"gitHead": "a59de400cbff536c203ca16780c8b3dab66e333f" | ||
"gitHead": "a8241440286e903ff966d2f45335eac8387061f4" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
Found 1 instance in 1 package
0
2
42388
7
708