krawlet-js 2.2.0 → 2.2.1

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
@@ -1122,7 +1122,7 @@ var WebsocketsResource = class {
1122
1122
  } else if (trimmedPath.endsWith("/v1")) {
1123
1123
  base.pathname = `${trimmedPath}/ws`;
1124
1124
  } else {
1125
- base.pathname = "/api/v1/ws";
1125
+ base.pathname = "/v1/ws";
1126
1126
  }
1127
1127
  base.search = "";
1128
1128
  base.hash = "";
package/dist/index.js CHANGED
@@ -1083,7 +1083,7 @@ var WebsocketsResource = class {
1083
1083
  } else if (trimmedPath.endsWith("/v1")) {
1084
1084
  base.pathname = `${trimmedPath}/ws`;
1085
1085
  } else {
1086
- base.pathname = "/api/v1/ws";
1086
+ base.pathname = "/v1/ws";
1087
1087
  }
1088
1088
  base.search = "";
1089
1089
  base.hash = "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "krawlet-js",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "TypeScript/JavaScript client library for the Krawlet Minecraft economy tracking API",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",