@xmobitea/gn-typescript-client 2.6.2 → 2.6.3
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/gn.js.client.js +3 -1
- package/dist/gn.js.client.min.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,8 +10,8 @@ export { Action2 };
|
|
|
10
10
|
export { Action3 };
|
|
11
11
|
export { Action4 };
|
|
12
12
|
export { GNHashtableBuilder, GNHashtable, GNArrayBuilder, GNArray, GNData };
|
|
13
|
-
import { GNServerSettings, GNServerSettingsOptions } from "./runtime/config/GNServerSettings";
|
|
14
|
-
export { GNServerSettings, GNServerSettingsOptions };
|
|
13
|
+
import { GNServerSettings, GNServerSettingsOptions, MessageType } from "./runtime/config/GNServerSettings";
|
|
14
|
+
export { GNServerSettings, GNServerSettingsOptions, MessageType };
|
|
15
15
|
import { FriendStatus } from "./runtime/constant/enumType/FriendStatus";
|
|
16
16
|
import { GoogleLoginType } from "./runtime/constant/enumType/GoogleLoginType";
|
|
17
17
|
import { GroupStatus } from "./runtime/constant/enumType/GroupStatus";
|
package/dist/index.js
CHANGED
|
@@ -140,6 +140,7 @@ __webpack_require__.d(__webpack_exports__, {
|
|
|
140
140
|
MasterPlayerResponseModels: () => (/* reexport */ MasterPlayerResponseModels),
|
|
141
141
|
MatchmakingMemberStatus: () => (/* reexport */ MatchmakingMemberStatus),
|
|
142
142
|
MatchmakingTicketStatus: () => (/* reexport */ MatchmakingTicketStatus),
|
|
143
|
+
MessageType: () => (/* reexport */ MessageType),
|
|
143
144
|
MultiplayerModels: () => (/* reexport */ MultiplayerModels),
|
|
144
145
|
MultiplayerRequestModels: () => (/* reexport */ MultiplayerRequestModels),
|
|
145
146
|
MultiplayerResponseModels: () => (/* reexport */ MultiplayerResponseModels),
|
|
@@ -33778,7 +33779,7 @@ class HttpPeer extends PeerBase {
|
|
|
33778
33779
|
let postType = gnServerSettings.getMessageType() == MessageType.Json ? PostType.Json : PostType.MsgPack;
|
|
33779
33780
|
if (GNSupport.isBrowser()) {
|
|
33780
33781
|
GNDebug.logWarning("GN JS client sdk does not support send encrypted request via HTTP, so we will send this request via HTTP non encrypted");
|
|
33781
|
-
postType = PostType.
|
|
33782
|
+
postType = PostType.Json;
|
|
33782
33783
|
}
|
|
33783
33784
|
let subUri = (postType == PostType.Json ? NetworkingPeer.API_JSON : NetworkingPeer.API_MSG_PACK) + "/" + operationRequest.getOperationCode() + "/" + operationPending.getRequestType() + "/" + operationPending.getRequestRole();
|
|
33784
33785
|
let thiz = this;
|
|
@@ -34513,6 +34514,7 @@ const gn = {
|
|
|
34513
34514
|
FieldDataType: GNMetadata_FieldDataType,
|
|
34514
34515
|
ServiceUpdate: ServiceUpdate,
|
|
34515
34516
|
GNUtils: GNUtils,
|
|
34517
|
+
MessageType: MessageType,
|
|
34516
34518
|
};
|
|
34517
34519
|
|
|
34518
34520
|
var __webpack_export_target__ = exports;
|