@gbraver-burst-network/browser-sdk 1.16.30 → 1.17.1
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/src/response/battle-end.d.ts +159 -3942
- package/lib/src/response/battle-progressed.d.ts +159 -3944
- package/lib/src/response/battle-start.d.ts +197 -5012
- package/lib/src/response/cloud-not-private-match-making.d.ts +1 -5
- package/lib/src/response/created-private-match-room.d.ts +1 -7
- package/lib/src/response/entered-casual-match.d.ts +1 -5
- package/lib/src/response/not-ready-battle-progress.d.ts +1 -5
- package/lib/src/response/pong.d.ts +1 -7
- package/lib/src/response/reject-private-match-entry.d.ts +1 -5
- package/lib/src/response/suddenly-battle-end.d.ts +1 -5
- package/package.json +16 -12
|
@@ -6,11 +6,7 @@ export type CouldNotPrivateMatchMaking = {
|
|
|
6
6
|
/** CouldNotPrivateMatchMaking zodスキーマ */
|
|
7
7
|
export declare const CouldNotPrivateMatchMakingSchema: z.ZodObject<{
|
|
8
8
|
action: z.ZodLiteral<"cloud-not-private-match-making">;
|
|
9
|
-
},
|
|
10
|
-
action: "cloud-not-private-match-making";
|
|
11
|
-
}, {
|
|
12
|
-
action: "cloud-not-private-match-making";
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
/**
|
|
15
11
|
* 任意オブジェクトをCouldNotPrivateMatchMakingにパースする
|
|
16
12
|
* パースできない場合はnullを返す
|
|
@@ -9,13 +9,7 @@ export type CreatedPrivateMatchRoom = {
|
|
|
9
9
|
export declare const CreatedPrivateMatchRoomSchema: z.ZodObject<{
|
|
10
10
|
action: z.ZodLiteral<"created-private-match-room">;
|
|
11
11
|
roomID: z.ZodString;
|
|
12
|
-
},
|
|
13
|
-
action: "created-private-match-room";
|
|
14
|
-
roomID: string;
|
|
15
|
-
}, {
|
|
16
|
-
action: "created-private-match-room";
|
|
17
|
-
roomID: string;
|
|
18
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
19
13
|
/**
|
|
20
14
|
* 任意オブジェクトをCreatedPrivateMatchRoomにパースする
|
|
21
15
|
* パースできない場合はnullを返す
|
|
@@ -6,11 +6,7 @@ export type EnteredCasualMatch = {
|
|
|
6
6
|
/** EnteredCasualMatch zodスキーマ */
|
|
7
7
|
export declare const EnteredCasualMatchSchema: z.ZodObject<{
|
|
8
8
|
action: z.ZodLiteral<"entered-casual-match">;
|
|
9
|
-
},
|
|
10
|
-
action: "entered-casual-match";
|
|
11
|
-
}, {
|
|
12
|
-
action: "entered-casual-match";
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
/**
|
|
15
11
|
* 任意のオブジェクトをカジュアルマッチ入室成功にパースする
|
|
16
12
|
* パースできない場合はnullを返す
|
|
@@ -6,11 +6,7 @@ export type NotReadyBattleProgress = {
|
|
|
6
6
|
/** NotReadyBattleProgress zodスキーマ */
|
|
7
7
|
export declare const NotReadyBattleProgressSchema: z.ZodObject<{
|
|
8
8
|
action: z.ZodLiteral<"not-ready-battle-progress">;
|
|
9
|
-
},
|
|
10
|
-
action: "not-ready-battle-progress";
|
|
11
|
-
}, {
|
|
12
|
-
action: "not-ready-battle-progress";
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
/**
|
|
15
11
|
* 任意オブジェクトをNotReadyBattleProgressにパースする
|
|
16
12
|
* パースできない場合はnullを返す
|
|
@@ -9,13 +9,7 @@ export type Pong = {
|
|
|
9
9
|
export declare const PongSchema: z.ZodObject<{
|
|
10
10
|
action: z.ZodLiteral<"pong">;
|
|
11
11
|
message: z.ZodString;
|
|
12
|
-
},
|
|
13
|
-
message: string;
|
|
14
|
-
action: "pong";
|
|
15
|
-
}, {
|
|
16
|
-
message: string;
|
|
17
|
-
action: "pong";
|
|
18
|
-
}>;
|
|
12
|
+
}, z.core.$strip>;
|
|
19
13
|
/**
|
|
20
14
|
* 任意のオブジェクトをPingResponseにパースする
|
|
21
15
|
* パースできない場合はnullを返す
|
|
@@ -6,11 +6,7 @@ export type RejectPrivateMatchEntry = {
|
|
|
6
6
|
/** RejectPrivateMatchEntry zodスキーマ */
|
|
7
7
|
export declare const RejectPrivateMatchEntrySchema: z.ZodObject<{
|
|
8
8
|
action: z.ZodLiteral<"reject-private-match-entry">;
|
|
9
|
-
},
|
|
10
|
-
action: "reject-private-match-entry";
|
|
11
|
-
}, {
|
|
12
|
-
action: "reject-private-match-entry";
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
/**
|
|
15
11
|
* 任意オブジェクトをRejectPrivateMatchEntryにパースする
|
|
16
12
|
* パースできない場合はnullを返す
|
|
@@ -6,11 +6,7 @@ export type SuddenlyBattleEnd = {
|
|
|
6
6
|
/** SuddenlyBattleEnd zodスキーマ */
|
|
7
7
|
export declare const SuddenlyBattleEndSchema: z.ZodObject<{
|
|
8
8
|
action: z.ZodLiteral<"suddenly-battle-end">;
|
|
9
|
-
},
|
|
10
|
-
action: "suddenly-battle-end";
|
|
11
|
-
}, {
|
|
12
|
-
action: "suddenly-battle-end";
|
|
13
|
-
}>;
|
|
9
|
+
}, z.core.$strip>;
|
|
14
10
|
/**
|
|
15
11
|
* 任意オブジェクトをSuddenlyBattleEndにパースする
|
|
16
12
|
* パースできない場合はnullを返す
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gbraver-burst-network/browser-sdk",
|
|
3
3
|
"description": "gbraver burst browser sdk",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.17.1",
|
|
5
5
|
"author": "Y.Takeuchi",
|
|
6
6
|
"bugs": {
|
|
7
7
|
"url": "https://github.com/kaidouji85/gbraver-burst-network/issues",
|
|
8
8
|
"email": "kaidouji85@gmail.com"
|
|
9
9
|
},
|
|
10
10
|
"dependencies": {
|
|
11
|
-
"aws-amplify": "^6.15.
|
|
12
|
-
"
|
|
13
|
-
"rxjs": "^7.8.2",
|
|
14
|
-
"zod": "^3.25.74"
|
|
11
|
+
"aws-amplify": "^6.15.5",
|
|
12
|
+
"rxjs": "^7.8.2"
|
|
15
13
|
},
|
|
16
14
|
"devDependencies": {
|
|
17
15
|
"@types/jest": "^30.0.0",
|
|
18
|
-
"dependency-cruiser": "^
|
|
19
|
-
"eslint": "^9.
|
|
16
|
+
"dependency-cruiser": "^17.0.1",
|
|
17
|
+
"eslint": "^9.33.0",
|
|
20
18
|
"eslint-plugin-jest": "^29.0.1",
|
|
21
19
|
"eslint-plugin-simple-import-sort": "^12.1.1",
|
|
22
|
-
"
|
|
20
|
+
"gbraver-burst-core": "*",
|
|
21
|
+
"jest": "^30.0.5",
|
|
23
22
|
"npm-run-all": "^4.1.5",
|
|
24
23
|
"prettier": "3.6.2",
|
|
25
24
|
"rimraf": "^6.0.1",
|
|
26
|
-
"ts-jest": "^29.4.
|
|
27
|
-
"typescript-eslint": "^8.
|
|
28
|
-
"webpack": "^5.
|
|
29
|
-
"webpack-cli": "^6.0.1"
|
|
25
|
+
"ts-jest": "^29.4.1",
|
|
26
|
+
"typescript-eslint": "^8.39.0",
|
|
27
|
+
"webpack": "^5.101.0",
|
|
28
|
+
"webpack-cli": "^6.0.1",
|
|
29
|
+
"zod": "*"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"lib"
|
|
@@ -40,6 +40,10 @@
|
|
|
40
40
|
],
|
|
41
41
|
"license": "MIT",
|
|
42
42
|
"main": "lib/src/index.js",
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"gbraver-burst-core": "^1.40.0",
|
|
45
|
+
"zod": "^4.0.14"
|
|
46
|
+
},
|
|
43
47
|
"repository": "https://github.com/kaidouji85/gbraver-burst-network/tree/develop/packages/browser-sdk",
|
|
44
48
|
"scripts": {
|
|
45
49
|
"build": "run-s clean transpile",
|