@mx-space/api-client 1.6.1 → 1.6.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.
@@ -31,7 +31,7 @@ export class AckController<ResponseWrapper> implements IController {
31
31
  }
32
32
 
33
33
  read(type: 'post' | 'note', id: string) {
34
- return this.proxy.ack.post<never>({
34
+ return this.proxy.post<never>({
35
35
  data: {
36
36
  type: 'read',
37
37
  payload: {
package/dist/index.cjs CHANGED
@@ -176,7 +176,7 @@ var AckController = class {
176
176
  return this.client.proxy(this.base);
177
177
  }
178
178
  read(type, id) {
179
- return this.proxy.ack.post({
179
+ return this.proxy.post({
180
180
  data: {
181
181
  type: "read",
182
182
  payload: {
@@ -112,7 +112,7 @@
112
112
  return this.client.proxy(this.base);
113
113
  }
114
114
  read(type, id) {
115
- return this.proxy.ack.post({
115
+ return this.proxy.post({
116
116
  data: {
117
117
  type: "read",
118
118
  payload: {
package/dist/index.js CHANGED
@@ -110,7 +110,7 @@ var AckController = class {
110
110
  return this.client.proxy(this.base);
111
111
  }
112
112
  read(type, id) {
113
- return this.proxy.ack.post({
113
+ return this.proxy.post({
114
114
  data: {
115
115
  type: "read",
116
116
  payload: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mx-space/api-client",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "type": "module",
5
5
  "description": "A api client for mx-space server@next",
6
6
  "author": "Innei",