@xata.io/client 0.0.0-alpha.vd18ae90 → 0.0.0-alpha.vea30e82

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/CHANGELOG.md CHANGED
@@ -1,14 +1,5 @@
1
1
  # @xata.io/client
2
2
 
3
- ## 0.8.1
4
-
5
- ### Patch Changes
6
-
7
- - 5110261: Fix execution from the browser
8
- - aa3d7e7: Allow sending sort as in the API
9
- - 0047193: Add new plugin system for the SDK
10
- - 43856a5: Add discriminated union search
11
-
12
3
  ## 0.8.0
13
4
 
14
5
  ### Patch Changes
@@ -10,7 +10,7 @@ export interface XataApiClientOptions {
10
10
  }
11
11
  export declare class XataApiClient {
12
12
  #private;
13
- constructor(options: XataApiClientOptions);
13
+ constructor(options?: XataApiClientOptions);
14
14
  get user(): UserApi;
15
15
  get workspaces(): WorkspaceApi;
16
16
  get databases(): DatabaseApi;
@@ -18,7 +18,7 @@ const fetch_1 = require("../util/fetch");
18
18
  const components_1 = require("./components");
19
19
  const providers_1 = require("./providers");
20
20
  class XataApiClient {
21
- constructor(options) {
21
+ constructor(options = {}) {
22
22
  var _a, _b;
23
23
  _XataApiClient_extraProps.set(this, void 0);
24
24
  _XataApiClient_namespaces.set(this, {});
@@ -5,7 +5,6 @@ import type * as Responses from './responses';
5
5
  import type * as Schemas from './schemas';
6
6
  export * from './client';
7
7
  export * from './components';
8
- export type { FetcherExtraProps, FetchImpl } from './fetcher';
9
8
  export { operationsByTag as Operations };
10
9
  export type { Responses, Schemas };
11
10
  export declare class XataApiPlugin implements XataPlugin {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xata.io/client",
3
- "version": "0.0.0-alpha.vd18ae90",
3
+ "version": "0.0.0-alpha.vea30e82",
4
4
  "description": "Xata.io SDK for TypeScript and JavaScript",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -23,5 +23,5 @@
23
23
  "url": "https://github.com/xataio/client-ts/issues"
24
24
  },
25
25
  "homepage": "https://github.com/xataio/client-ts/blob/main/client/README.md",
26
- "gitHead": "d18ae9064301c814d479cf527815638a32854332"
26
+ "gitHead": "ea30e82a7fa5bbecbdb38b6dac6854cd926c2db1"
27
27
  }