@objectstack/client 0.1.1 → 0.3.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/CHANGELOG.md CHANGED
@@ -1,5 +1,32 @@
1
1
  # @objectstack/client
2
2
 
3
+ ## 0.3.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies
8
+ - @objectstack/spec@1.0.0
9
+
10
+ ## 0.2.0
11
+
12
+ ### Minor Changes
13
+
14
+ - Initial release of ObjectStack Protocol & Specification packages
15
+
16
+ This is the first public release of the ObjectStack ecosystem, providing:
17
+
18
+ - Core protocol definitions and TypeScript types
19
+ - ObjectQL query language and runtime
20
+ - Memory driver for in-memory data storage
21
+ - Client library for interacting with ObjectStack
22
+ - Hono server plugin for REST API endpoints
23
+ - Complete JSON schema generation for all specifications
24
+
25
+ ### Patch Changes
26
+
27
+ - Updated dependencies
28
+ - @objectstack/spec@0.2.0
29
+
3
30
  ## 0.1.1
4
31
 
5
32
  ### Patch Changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { QueryAST, FilterNode, SortNode, AggregationNode } from '@objectstack/spec';
1
+ import { QueryAST, FilterNode, SortNode, AggregationNode } from '@objectstack/spec/data';
2
2
  export interface ClientConfig {
3
3
  baseUrl: string;
4
4
  token?: string;
package/dist/index.js CHANGED
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ObjectStackClient = void 0;
4
- class ObjectStackClient {
1
+ export class ObjectStackClient {
5
2
  constructor(config) {
6
3
  /**
7
4
  * Metadata Operations
@@ -198,4 +195,3 @@ class ObjectStackClient {
198
195
  return this.routes[key] || `/api/v1/${key}`;
199
196
  }
200
197
  }
201
- exports.ObjectStackClient = ObjectStackClient;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@objectstack/client",
3
- "version": "0.1.1",
3
+ "version": "0.3.0",
4
4
  "description": "Official Client SDK for ObjectStack Protocol",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "dependencies": {
8
- "@objectstack/spec": "0.1.2"
8
+ "@objectstack/spec": "0.3.0"
9
9
  },
10
10
  "devDependencies": {
11
11
  "typescript": "^5.0.0"
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { QueryAST, FilterNode, SortNode, AggregationNode, WindowFunctionNode } from '@objectstack/spec';
1
+ import { QueryAST, FilterNode, SortNode, AggregationNode, WindowFunctionNode } from '@objectstack/spec/data';
2
2
 
3
3
  export interface ClientConfig {
4
4
  baseUrl: string;
package/tsconfig.json CHANGED
@@ -1,7 +1,8 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ES2020",
4
- "module": "commonjs",
4
+ "module": "ES2020",
5
+ "moduleResolution": "bundler",
5
6
  "declaration": true,
6
7
  "outDir": "./dist",
7
8
  "strict": true,