@xmobitea/gn-typescript-client 2.6.5 → 2.6.6
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
CHANGED
|
@@ -4194,8 +4194,8 @@ var MasterPlayerModels;
|
|
|
4194
4194
|
MasterPlayerModels_metadata("design:type", String)
|
|
4195
4195
|
], SendSocketOperationEventRequestData.prototype, "userId", void 0);
|
|
4196
4196
|
MasterPlayerModels_decorate([
|
|
4197
|
-
|
|
4198
|
-
MasterPlayerModels_metadata("design:type",
|
|
4197
|
+
StringDataMember({ code: ParameterCode.EventCode, minLength: 1, maxLength: 64 }),
|
|
4198
|
+
MasterPlayerModels_metadata("design:type", String)
|
|
4199
4199
|
], SendSocketOperationEventRequestData.prototype, "eventCode", void 0);
|
|
4200
4200
|
MasterPlayerModels_decorate([
|
|
4201
4201
|
GNHashtableDataMember({ code: ParameterCode.EventParameters, mustNonNull: true, minLength: 0, maxLength: 128, isOptional: true }),
|
|
@@ -11656,7 +11656,7 @@ var DashboardModels;
|
|
|
11656
11656
|
class LoginByAdminAccountRequestData {
|
|
11657
11657
|
}
|
|
11658
11658
|
DashboardModels_decorate([
|
|
11659
|
-
StringDataMember({ code: ParameterCode.Username, minLength:
|
|
11659
|
+
StringDataMember({ code: ParameterCode.Username, minLength: 4, maxLength: 32, mustNonNull: true }),
|
|
11660
11660
|
DashboardModels_metadata("design:type", String)
|
|
11661
11661
|
], LoginByAdminAccountRequestData.prototype, "username", void 0);
|
|
11662
11662
|
DashboardModels_decorate([
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GNArray, GNHashtable } from "./../../common/GNData";
|
|
2
1
|
export declare namespace CloudScriptModels {
|
|
3
2
|
class AddFunctionRequestData {
|
|
4
3
|
script: string;
|
|
@@ -21,7 +20,7 @@ export declare namespace CloudScriptModels {
|
|
|
21
20
|
class ExecuteFunctionRequestData {
|
|
22
21
|
userId?: string;
|
|
23
22
|
functionName: string;
|
|
24
|
-
functionParameters?:
|
|
23
|
+
functionParameters?: any;
|
|
25
24
|
version?: string;
|
|
26
25
|
}
|
|
27
26
|
class ServerExecuteFunctionRequestData extends ExecuteFunctionRequestData {
|
|
@@ -53,7 +52,7 @@ export declare namespace CloudScriptModels {
|
|
|
53
52
|
status: number;
|
|
54
53
|
executionTimeInMs: number;
|
|
55
54
|
memoryUsedInBytes: number;
|
|
56
|
-
functionResult:
|
|
55
|
+
functionResult: any;
|
|
57
56
|
errorMessage: string;
|
|
58
57
|
functionLogs: Array<string>;
|
|
59
58
|
}
|
|
@@ -834,7 +834,7 @@ export declare namespace MasterPlayerModels {
|
|
|
834
834
|
}
|
|
835
835
|
class SendSocketOperationEventRequestData {
|
|
836
836
|
userId?: string;
|
|
837
|
-
eventCode:
|
|
837
|
+
eventCode: string;
|
|
838
838
|
eventParameters?: GNHashtable;
|
|
839
839
|
}
|
|
840
840
|
class ServerSendSocketOperationEventRequestData extends SendSocketOperationEventRequestData {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xmobitea/gn-typescript-client",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.6",
|
|
4
4
|
"description": "GearN Typescript Client SDK by XmobiTea (Pro)",
|
|
5
5
|
"types": "dist/index.d.ts",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
"push": "npm run build && npm publish && git push"
|
|
17
17
|
},
|
|
18
18
|
"author": "changx.develop@gmail.com (https://xmobitea.com)",
|
|
19
|
-
"license": "
|
|
19
|
+
"license": "MIT",
|
|
20
20
|
"devDependencies": {
|
|
21
21
|
"@types/mocha": "^10.0.10",
|
|
22
22
|
"@types/node": "^22.15.17",
|
|
@@ -40,5 +40,25 @@
|
|
|
40
40
|
},
|
|
41
41
|
"directories": {
|
|
42
42
|
"test": "test"
|
|
43
|
+
},
|
|
44
|
+
"repository": {
|
|
45
|
+
"type": "git",
|
|
46
|
+
"url": "git+https://github.com/XmobiTea-Family/GearN-typescript-client-sdk.git"
|
|
47
|
+
},
|
|
48
|
+
"keywords": [
|
|
49
|
+
"GN",
|
|
50
|
+
"GearN",
|
|
51
|
+
"Server",
|
|
52
|
+
"Typescript",
|
|
53
|
+
"Sdk",
|
|
54
|
+
"Client",
|
|
55
|
+
"Pro",
|
|
56
|
+
"XmobiTea"
|
|
57
|
+
],
|
|
58
|
+
"bugs": {
|
|
59
|
+
"url": "https://github.com/XmobiTea-Family/GearN-typescript-client-sdk/issues"
|
|
60
|
+
},
|
|
61
|
+
"engines": {
|
|
62
|
+
"node": ">=20.0.0"
|
|
43
63
|
}
|
|
44
64
|
}
|