wenum 1.92.0 → 1.92.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/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/page/pid.ts +2 -2
- package/src/page/profile/addingEntity.ts +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -69,7 +69,7 @@ declare const ZeroGameMeta: GameMetaProps;
|
|
|
69
69
|
type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
|
|
70
70
|
|
|
71
71
|
type AddingEntityType = "gameToLeaderboard" | "playerToDuelGame" | "playerToNonDuelGame" | "memberToCircle";
|
|
72
|
-
type EntityType = "
|
|
72
|
+
type EntityType = "leaderboard" | "team" | "collection" | "uoi";
|
|
73
73
|
|
|
74
74
|
type PlayerType = 'uoi' | 'team' | 'collection';
|
|
75
75
|
|
package/dist/index.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ declare const ZeroGameMeta: GameMetaProps;
|
|
|
69
69
|
type LeaderboardType = "score" | "duel" | "time" | "distance" | "weight";
|
|
70
70
|
|
|
71
71
|
type AddingEntityType = "gameToLeaderboard" | "playerToDuelGame" | "playerToNonDuelGame" | "memberToCircle";
|
|
72
|
-
type EntityType = "
|
|
72
|
+
type EntityType = "leaderboard" | "team" | "collection" | "uoi";
|
|
73
73
|
|
|
74
74
|
type PlayerType = 'uoi' | 'team' | 'collection';
|
|
75
75
|
|
package/dist/index.js
CHANGED
|
@@ -140,8 +140,8 @@ function getProfileTypeByPID(pid) {
|
|
|
140
140
|
function getEntityTypeByPID(pid) {
|
|
141
141
|
const prefix = getPIDPrefix(pid);
|
|
142
142
|
switch (prefix) {
|
|
143
|
-
case "
|
|
144
|
-
return "
|
|
143
|
+
case "lbd":
|
|
144
|
+
return "leaderboard";
|
|
145
145
|
case "tms":
|
|
146
146
|
return "team";
|
|
147
147
|
case "col":
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
package/src/page/pid.ts
CHANGED
|
@@ -54,8 +54,8 @@ export function getProfileTypeByPID(pid: string): ProfileType {
|
|
|
54
54
|
export function getEntityTypeByPID(pid: string): EntityType | undefined {
|
|
55
55
|
const prefix = getPIDPrefix(pid);
|
|
56
56
|
switch (prefix) {
|
|
57
|
-
case '
|
|
58
|
-
return '
|
|
57
|
+
case 'lbd':
|
|
58
|
+
return 'leaderboard';
|
|
59
59
|
case 'tms':
|
|
60
60
|
return 'team';
|
|
61
61
|
case 'col':
|