@objectstack/client 3.2.0 → 3.2.2

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.
@@ -1,5 +1,5 @@
1
1
 
2
- > @objectstack/client@3.2.0 build /home/runner/work/spec/spec/packages/client
2
+ > @objectstack/client@3.2.2 build /home/runner/work/spec/spec/packages/client
3
3
  > tsup --config ../../tsup.config.ts
4
4
 
5
5
  CLI Building entry: src/index.ts
@@ -10,13 +10,13 @@
10
10
  CLI Cleaning output folder
11
11
  ESM Build start
12
12
  CJS Build start
13
- CJS dist/index.js 53.17 KB
14
- CJS dist/index.js.map 104.24 KB
15
- CJS ⚡️ Build success in 53ms
16
13
  ESM dist/index.mjs 52.00 KB
17
14
  ESM dist/index.mjs.map 104.19 KB
18
- ESM ⚡️ Build success in 53ms
15
+ ESM ⚡️ Build success in 70ms
16
+ CJS dist/index.js 53.17 KB
17
+ CJS dist/index.js.map 104.24 KB
18
+ CJS ⚡️ Build success in 70ms
19
19
  DTS Build start
20
- DTS ⚡️ Build success in 5625ms
20
+ DTS ⚡️ Build success in 5636ms
21
21
  DTS dist/index.d.mts 30.61 KB
22
22
  DTS dist/index.d.ts 30.61 KB
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @objectstack/client
2
2
 
3
+ ## 3.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [46defbb]
8
+ - @objectstack/spec@3.2.2
9
+ - @objectstack/core@3.2.2
10
+
11
+ ## 3.2.1
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [850b546]
16
+ - @objectstack/spec@3.2.1
17
+ - @objectstack/core@3.2.1
18
+
3
19
  ## 3.2.0
4
20
 
5
21
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectstack/client",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Official Client SDK for ObjectStack Protocol",
6
6
  "main": "dist/index.js",
@@ -13,20 +13,20 @@
13
13
  }
14
14
  },
15
15
  "dependencies": {
16
- "@objectstack/core": "3.2.0",
17
- "@objectstack/spec": "3.2.0"
16
+ "@objectstack/core": "3.2.2",
17
+ "@objectstack/spec": "3.2.2"
18
18
  },
19
19
  "devDependencies": {
20
- "@hono/node-server": "^1.2.0",
20
+ "@hono/node-server": "^1.19.11",
21
21
  "msw": "^2.12.10",
22
22
  "typescript": "^5.0.0",
23
23
  "vitest": "^4.0.18",
24
- "@objectstack/driver-memory": "3.2.0",
25
- "@objectstack/hono": "3.2.0",
26
- "@objectstack/objectql": "3.2.0",
27
- "@objectstack/plugin-hono-server": "3.2.0",
28
- "@objectstack/plugin-msw": "3.2.0",
29
- "@objectstack/runtime": "3.2.0"
24
+ "@objectstack/driver-memory": "3.2.2",
25
+ "@objectstack/hono": "3.2.2",
26
+ "@objectstack/objectql": "3.2.2",
27
+ "@objectstack/plugin-hono-server": "3.2.2",
28
+ "@objectstack/plugin-msw": "3.2.2",
29
+ "@objectstack/runtime": "3.2.2"
30
30
  },
31
31
  "scripts": {
32
32
  "build": "tsup --config ../../tsup.config.ts",
@@ -37,7 +37,7 @@ describe('ObjectStackClient (with Hono Server)', () => {
37
37
  if (method === 'create') {
38
38
  const res = await ql.insert(params.object, params.data);
39
39
  const record = { ...params.data, ...res };
40
- return { object: params.object, id: record.id || record._id, record };
40
+ return { object: params.object, id: record.id, record };
41
41
  }
42
42
  // Params from HttpDispatcher: { object, id, ...query }
43
43
  if (method === 'get') {
@@ -43,7 +43,7 @@ describe('ObjectStackClient (with MSW Plugin)', () => {
43
43
  if (method === 'create') {
44
44
  const res = await ql.insert(params.object, params.data);
45
45
  const record = { ...params.data, ...res };
46
- return { object: params.object, id: record.id || record._id, record };
46
+ return { object: params.object, id: record.id, record };
47
47
  }
48
48
  if (method === 'get') {
49
49
  if (protocol) {