node-ts-screeps-api 0.0.18 → 0.0.19

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/rawApi.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "node-ts-screeps-api",
3
- "version": "0.0.18",
3
+ "version": "0.0.19",
4
4
  "description": "node-ts-screeps-api",
5
5
  "main": "dist/index.js",
6
6
  "typings": "./dist/src/index.d.ts",
package/src/rawApi.ts CHANGED
@@ -173,7 +173,7 @@ export class RawApi<T extends AuthType> {
173
173
  return this.req("GET", "/api/game/world-size", args);
174
174
  }
175
175
 
176
- public async getUserRooms(args: { interval: number }): Promise<{
176
+ public async getUserRooms(args: { id: string }): Promise<{
177
177
  ok: number;
178
178
  shards: Record<string, string[]>;
179
179
  reservations: Record<string, string[]>;