@wvdsh/api 0.1.116 → 0.1.118
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.
|
@@ -168,6 +168,11 @@ export declare const P2P_SIGNALING_MESSAGE_TYPE: {
|
|
|
168
168
|
readonly ANSWER: "answer";
|
|
169
169
|
readonly ICE_CANDIDATE: "ice-candidate";
|
|
170
170
|
};
|
|
171
|
+
export declare const SDK_FEATURE: {
|
|
172
|
+
readonly LOBBY: "lobby";
|
|
173
|
+
readonly P2P: "p2p";
|
|
174
|
+
readonly UGC: "ugc";
|
|
175
|
+
};
|
|
171
176
|
export declare const GAME_AUTHORITY: {
|
|
172
177
|
readonly CLIENT: 0;
|
|
173
178
|
readonly SERVER: 1;
|
|
@@ -142,6 +142,11 @@ export const P2P_SIGNALING_MESSAGE_TYPE = {
|
|
|
142
142
|
ANSWER: 'answer',
|
|
143
143
|
ICE_CANDIDATE: 'ice-candidate'
|
|
144
144
|
};
|
|
145
|
+
export const SDK_FEATURE = {
|
|
146
|
+
LOBBY: 'lobby',
|
|
147
|
+
P2P: 'p2p',
|
|
148
|
+
UGC: 'ugc'
|
|
149
|
+
};
|
|
145
150
|
export const GAME_AUTHORITY = {
|
|
146
151
|
CLIENT: 0,
|
|
147
152
|
SERVER: 1
|
|
@@ -443,6 +443,11 @@ export type PublicApiType = {
|
|
|
443
443
|
type: "DURABLE" | "CONSUMABLE";
|
|
444
444
|
}>;
|
|
445
445
|
};
|
|
446
|
+
featureUsage: {
|
|
447
|
+
recordFeatureUsage: FunctionReference<"mutation", "public", {
|
|
448
|
+
feature: "lobby" | "p2p" | "ugc";
|
|
449
|
+
}, null>;
|
|
450
|
+
};
|
|
446
451
|
};
|
|
447
452
|
};
|
|
448
453
|
export type InternalApiType = {};
|