@ztimson/momentum 1.1.3 → 1.1.4

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.
File without changes
package/dist/index.js CHANGED
@@ -3975,7 +3975,7 @@ ${log}`;
3975
3975
  }
3976
3976
  text(path, set) {
3977
3977
  if (!path) throw new Error("Missing path");
3978
- if (set !== void 0) return this.momentum.api.request({ url: `api/${this.module}/${path}`, method: "PATCH", data: { text: set } });
3978
+ if (set !== void 0) return this.momentum.api.request({ url: `api/${this.module}/${path}`, method: "PATCH", body: { text: set } });
3979
3979
  else return this.momentum.api.request({ url: `api/${this.module}/${path}?text=true` });
3980
3980
  }
3981
3981
  /**
@@ -4145,7 +4145,7 @@ ${log}`;
4145
4145
  this.momentum = momentum;
4146
4146
  }
4147
4147
  }
4148
- const version = "1.1.3";
4148
+ const version = "1.1.4";
4149
4149
  class WebRtc extends PathEventEmitter {
4150
4150
  constructor(momentum) {
4151
4151
  super("webrtc");
package/dist/index.mjs CHANGED
@@ -3971,7 +3971,7 @@ class Storage extends PathEventEmitter {
3971
3971
  }
3972
3972
  text(path, set) {
3973
3973
  if (!path) throw new Error("Missing path");
3974
- if (set !== void 0) return this.momentum.api.request({ url: `api/${this.module}/${path}`, method: "PATCH", data: { text: set } });
3974
+ if (set !== void 0) return this.momentum.api.request({ url: `api/${this.module}/${path}`, method: "PATCH", body: { text: set } });
3975
3975
  else return this.momentum.api.request({ url: `api/${this.module}/${path}?text=true` });
3976
3976
  }
3977
3977
  /**
@@ -4141,7 +4141,7 @@ class Static extends Storage {
4141
4141
  this.momentum = momentum;
4142
4142
  }
4143
4143
  }
4144
- const version = "1.1.3";
4144
+ const version = "1.1.4";
4145
4145
  class WebRtc extends PathEventEmitter {
4146
4146
  constructor(momentum) {
4147
4147
  super("webrtc");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztimson/momentum",
3
- "version": "1.1.3",
3
+ "version": "1.1.4",
4
4
  "description": "Client library for momentum",
5
5
  "keywords": [
6
6
  "Momentum"