sidechat.js 2.4.4 → 2.4.5

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/index.cjs CHANGED
@@ -1242,7 +1242,7 @@ class SidechatAPIClient {
1242
1242
  throw new SidechatAPIError("User is not authenticated.");
1243
1243
  }
1244
1244
  try {
1245
- const res = await fetch(`${this.apiRoot}/v1/chats/send`, {
1245
+ const res = await fetch(`${this.apiRoot}/v1/chats/start`, {
1246
1246
  method: "POST",
1247
1247
  headers: {
1248
1248
  ...this.defaultHeaders,
package/dist/index.mjs CHANGED
@@ -1238,7 +1238,7 @@ class SidechatAPIClient {
1238
1238
  throw new SidechatAPIError("User is not authenticated.");
1239
1239
  }
1240
1240
  try {
1241
- const res = await fetch(`${this.apiRoot}/v1/chats/send`, {
1241
+ const res = await fetch(`${this.apiRoot}/v1/chats/start`, {
1242
1242
  method: "POST",
1243
1243
  headers: {
1244
1244
  ...this.defaultHeaders,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sidechat.js",
3
- "version": "2.4.4",
3
+ "version": "2.4.5",
4
4
  "description": "A reverse-engineered API wrapper for Sidechat",
5
5
  "type": "module",
6
6
  "source": "./src/index.js",
@@ -1071,7 +1071,7 @@ class SidechatAPIClient {
1071
1071
  throw new SidechatAPIError("User is not authenticated.");
1072
1072
  }
1073
1073
  try {
1074
- const res = await fetch(`${this.apiRoot}/v1/chats/send`, {
1074
+ const res = await fetch(`${this.apiRoot}/v1/chats/start`, {
1075
1075
  method: "POST",
1076
1076
  headers: {
1077
1077
  ...this.defaultHeaders,