@indiegems/gem-web-sdk 7.7.0 → 7.8.0
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/game.d.ts +2 -0
- package/dist/gem-web-sdk.esm.js +2 -2
- package/dist/gem-web-sdk.function.js +1 -1
- package/dist/gem-web-sdk.game.js +2 -2
- package/dist/gem-web-sdk.min.js +2 -2
- package/dist/gem-web-sdk.sdk.js +2 -2
- package/dist/gem-web-sdk.server.js +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/sdk.d.ts +2 -0
- package/docs/api/api-reference-game.md +38 -1
- package/docs/api/api-reference-server.md +1 -1
- package/docs/api/reference.json +35 -1
- package/docs/dedicated-server-flow.md +23 -14
- package/docs/getting-started.md +1 -1
- package/docs/manifest.json +8 -8
- package/docs/server-bundles.md +2 -2
- package/docs/what-a-game-must-do.md +44 -21
- package/package.json +1 -1
package/dist/game.d.ts
CHANGED
|
@@ -1674,6 +1674,7 @@ interface Room {
|
|
|
1674
1674
|
readonly gameChannel: string;
|
|
1675
1675
|
readonly region?: string;
|
|
1676
1676
|
readonly clusterTargetId?: string;
|
|
1677
|
+
readonly selfHosted: boolean;
|
|
1677
1678
|
readonly matchId?: string;
|
|
1678
1679
|
readonly version: number;
|
|
1679
1680
|
readonly templateId?: string;
|
|
@@ -2772,6 +2773,7 @@ interface GemOptions {
|
|
|
2772
2773
|
readonly onDeviceSettings?: (settings: DeviceSettings | null) => void;
|
|
2773
2774
|
readonly onViewport?: (viewport: GemViewport) => void;
|
|
2774
2775
|
readonly manageAudio?: boolean;
|
|
2776
|
+
readonly selectableText?: boolean;
|
|
2775
2777
|
readonly onPause?: (paused: boolean) => void;
|
|
2776
2778
|
readonly onWillTerminate?: (notice: GemTerminationNotice) => void;
|
|
2777
2779
|
readonly analytics?: AnalyticsOptions;
|