node-ts-screeps-api 0.0.14 → 0.0.15
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/README.md +6 -0
- package/dist/authInfo.d.ts +2 -1
- package/dist/authInfoSample.d.ts +2 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/src/rawApi.d.ts +15 -0
- package/dist/test/unit/officialServerApi.test.d.ts +1 -0
- package/package.json +1 -1
- package/src/rawApi.ts +3 -3
- package/test/unit/officialServerApi.test.ts +22 -0
package/README.md
CHANGED
package/dist/authInfo.d.ts
CHANGED
package/dist/authInfoSample.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -3704,6 +3704,12 @@ class RawApi {
|
|
|
3704
3704
|
async postSegment(args) {
|
|
3705
3705
|
return this.req("POST", "/api/user/memory-segment", args);
|
|
3706
3706
|
}
|
|
3707
|
+
async getMemory(args) {
|
|
3708
|
+
return this.req("GET", "/api/user/memory", args);
|
|
3709
|
+
}
|
|
3710
|
+
async postMemory(args) {
|
|
3711
|
+
return this.req("POST", "/api/user/memory", args);
|
|
3712
|
+
}
|
|
3707
3713
|
async findUser(username) {
|
|
3708
3714
|
return this.req("GET", "/api/user/find", { username });
|
|
3709
3715
|
}
|