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 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 = "game" | "team" | "collection" | "uoi";
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 = "game" | "team" | "collection" | "uoi";
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 "gme":
144
- return "game";
143
+ case "lbd":
144
+ return "leaderboard";
145
145
  case "tms":
146
146
  return "team";
147
147
  case "col":
package/dist/index.mjs CHANGED
@@ -73,8 +73,8 @@ function getProfileTypeByPID(pid) {
73
73
  function getEntityTypeByPID(pid) {
74
74
  const prefix = getPIDPrefix(pid);
75
75
  switch (prefix) {
76
- case "gme":
77
- return "game";
76
+ case "lbd":
77
+ return "leaderboard";
78
78
  case "tms":
79
79
  return "team";
80
80
  case "col":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wenum",
3
- "version": "1.92.0",
3
+ "version": "1.92.1",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.mjs",
6
6
  "types": "dist/index.d.ts",
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 'gme':
58
- return 'game';
57
+ case 'lbd':
58
+ return 'leaderboard';
59
59
  case 'tms':
60
60
  return 'team';
61
61
  case 'col':
@@ -4,4 +4,4 @@ export type AddingEntityType =
4
4
  "playerToNonDuelGame" |
5
5
  "memberToCircle";
6
6
 
7
- export type EntityType = "game" | "team" | "collection" | "uoi";
7
+ export type EntityType = "leaderboard" | "team" | "collection" | "uoi";