@rushdb/javascript-sdk 1.10.1 → 1.11.0

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/sdk/sdk.d.ts CHANGED
@@ -2,7 +2,7 @@ import type { HttpClient } from '../network/HttpClient.js';
2
2
  import type { Schema } from '../types/index.js';
3
3
  import type { DBRecord } from './record.js';
4
4
  import { DBRecordInstance } from './record.js';
5
- import { SDKConfig, State } from './types.js';
5
+ import type { SDKConfig, State } from './types.js';
6
6
  import { RestAPI } from '../api/api.js';
7
7
  export declare class RushDB extends RestAPI {
8
8
  static instance: RushDB | null;
@@ -1,5 +1,5 @@
1
1
  import type { HttpClientInterface } from '../network/HttpClient.js';
2
- import { PlanPrefix } from './constants';
2
+ import type { PlanPrefix } from './constants';
3
3
  type ApiConnectionConfig = {
4
4
  host?: string;
5
5
  port?: number;
@@ -1,5 +1,5 @@
1
1
  import type { PropertyValue, Schema, InferSchemaTypesWrite } from '../types/index.js';
2
- import { SDKConfig, TokenPublicVariables } from './types.js';
2
+ import type { SDKConfig, TokenPublicVariables } from './types.js';
3
3
  export declare const mergeDefaultsWithPayload: <S extends Schema = Schema>(schema: S, data: Partial<InferSchemaTypesWrite<S>>) => Promise<InferSchemaTypesWrite<S>>;
4
4
  export declare const pickUniqFieldsFromRecord: <S extends Schema = Schema>(schema: S, data: Partial<InferSchemaTypesWrite<S>>) => Record<string, PropertyValue>;
5
5
  export declare const pickUniqFieldsFromRecords: <S extends Schema = Schema>(data: Array<Partial<InferSchemaTypesWrite<S>>>, schema: S, label: string) => Record<string, PropertyValue[]>;
package/package.json CHANGED
@@ -33,7 +33,7 @@
33
33
  "rushdb"
34
34
  ],
35
35
  "license": "Apache-2.0",
36
- "version": "1.10.1",
36
+ "version": "1.11.0",
37
37
  "type": "module",
38
38
  "files": [
39
39
  "dist"