@gbraver-burst-network/local-webrtc-browser-sdk 1.24.0 → 1.25.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/lib/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { AuthTokenManager, createAuthTokenManager, } from "./sdk/auth-token-manager";
|
|
2
2
|
export { BattleSDK } from "./sdk/battle-sdk";
|
|
3
|
-
export {
|
|
4
|
-
export {
|
|
3
|
+
export { createGuestLocalWebRTCSDK, GuestLocalWebRTCSDK, } from "./sdk/guest-local-webrtc-sdk";
|
|
4
|
+
export { createHostLocalWebRTCSDK, HostLocalWebRTCSDK, } from "./sdk/host-local-webrtc-sdk";
|
|
5
5
|
export { LocalWebRTCRoom } from "./sdk/local-webrtc-room";
|
package/lib/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.createHostLocalWebRTCSDK = exports.createGuestLocalWebRTCSDK = exports.createAuthTokenManager = void 0;
|
|
4
4
|
var auth_token_manager_1 = require("./sdk/auth-token-manager");
|
|
5
5
|
Object.defineProperty(exports, "createAuthTokenManager", { enumerable: true, get: function () { return auth_token_manager_1.createAuthTokenManager; } });
|
|
6
6
|
var guest_local_webrtc_sdk_1 = require("./sdk/guest-local-webrtc-sdk");
|
|
7
|
-
Object.defineProperty(exports, "
|
|
7
|
+
Object.defineProperty(exports, "createGuestLocalWebRTCSDK", { enumerable: true, get: function () { return guest_local_webrtc_sdk_1.createGuestLocalWebRTCSDK; } });
|
|
8
8
|
var host_local_webrtc_sdk_1 = require("./sdk/host-local-webrtc-sdk");
|
|
9
|
-
Object.defineProperty(exports, "
|
|
9
|
+
Object.defineProperty(exports, "createHostLocalWebRTCSDK", { enumerable: true, get: function () { return host_local_webrtc_sdk_1.createHostLocalWebRTCSDK; } });
|
|
@@ -48,5 +48,5 @@ type CreateLocalWebRTCGuestSDKOptions = LocalWebRTCGuestSDKImplOptions;
|
|
|
48
48
|
* @param options オプション
|
|
49
49
|
* @returns ローカルWebRTCゲスト用SDKのインスタンス
|
|
50
50
|
*/
|
|
51
|
-
export declare function
|
|
51
|
+
export declare function createGuestLocalWebRTCSDK(options: CreateLocalWebRTCGuestSDKOptions): GuestLocalWebRTCSDK;
|
|
52
52
|
export {};
|
|
@@ -21,7 +21,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
21
21
|
};
|
|
22
22
|
var _GuestLocalWebRTCSDKImpl_instances, _GuestLocalWebRTCSDKImpl_webRTCConnection, _GuestLocalWebRTCSDKImpl_websocketConnection, _GuestLocalWebRTCSDKImpl_signaling;
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.
|
|
24
|
+
exports.createGuestLocalWebRTCSDK = createGuestLocalWebRTCSDK;
|
|
25
25
|
const guest_message_1 = require("../webrtc/guest/guest-message");
|
|
26
26
|
const receive_battle_start_1 = require("../webrtc/guest/receive-battle-start");
|
|
27
27
|
const receive_request_selected_player_1 = require("../webrtc/guest/receive-request-selected-player");
|
|
@@ -137,6 +137,6 @@ _GuestLocalWebRTCSDKImpl_webRTCConnection = new WeakMap(), _GuestLocalWebRTCSDKI
|
|
|
137
137
|
* @param options オプション
|
|
138
138
|
* @returns ローカルWebRTCゲスト用SDKのインスタンス
|
|
139
139
|
*/
|
|
140
|
-
function
|
|
140
|
+
function createGuestLocalWebRTCSDK(options) {
|
|
141
141
|
return new GuestLocalWebRTCSDKImpl(options);
|
|
142
142
|
}
|
|
@@ -46,5 +46,5 @@ type CreateLocalWebRTCHostSDKOptions = LocalWebRTCHostSDKImplOptions;
|
|
|
46
46
|
* @param options SDK生成のオプション
|
|
47
47
|
* @returns ローカルWebRTCホスト用SDKのインスタンス
|
|
48
48
|
*/
|
|
49
|
-
export declare function
|
|
49
|
+
export declare function createHostLocalWebRTCSDK(options: CreateLocalWebRTCHostSDKOptions): HostLocalWebRTCSDK;
|
|
50
50
|
export {};
|
|
@@ -21,7 +21,7 @@ var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (
|
|
|
21
21
|
};
|
|
22
22
|
var _HostLocalWebRTCSDKImpl_webRTCConnection, _HostLocalWebRTCSDKImpl_websocketConnection;
|
|
23
23
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
24
|
-
exports.
|
|
24
|
+
exports.createHostLocalWebRTCSDK = createHostLocalWebRTCSDK;
|
|
25
25
|
const wait_untilIce_candidate_1 = require("../webrtc/wait-untilIce-candidate");
|
|
26
26
|
const create_room_1 = require("../ws-signal/create-room");
|
|
27
27
|
const host_webrtc_connection_manager_1 = require("./host-webrtc-connection-manager");
|
|
@@ -94,6 +94,6 @@ _HostLocalWebRTCSDKImpl_webRTCConnection = new WeakMap(), _HostLocalWebRTCSDKImp
|
|
|
94
94
|
* @param options SDK生成のオプション
|
|
95
95
|
* @returns ローカルWebRTCホスト用SDKのインスタンス
|
|
96
96
|
*/
|
|
97
|
-
function
|
|
97
|
+
function createHostLocalWebRTCSDK(options) {
|
|
98
98
|
return new HostLocalWebRTCSDKImpl(options);
|
|
99
99
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gbraver-burst-network/local-webrtc-browser-sdk",
|
|
3
3
|
"description": "gbraver burst local webrtc browser sdk",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.25.0",
|
|
5
5
|
"author": "Y.Takeuchi",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/kaidouji85/gbraver-burst-network/issues",
|