node-ts-screeps-api 0.0.16 → 0.0.18
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.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/src/rawApi.d.ts +7 -0
- package/package.json +8 -4
- package/src/rawApi.ts +183 -175
package/dist/index.js
CHANGED
|
@@ -3734,6 +3734,9 @@ class RawApi {
|
|
|
3734
3734
|
async getWorldSize(args) {
|
|
3735
3735
|
return this.req("GET", "/api/game/world-size", args);
|
|
3736
3736
|
}
|
|
3737
|
+
async getUserRooms(args) {
|
|
3738
|
+
return this.req("GET", "/api/user/rooms", args);
|
|
3739
|
+
}
|
|
3737
3740
|
}
|
|
3738
3741
|
|
|
3739
3742
|
var bufferUtil$1 = {exports: {}};
|