@wise-old-man/utils 2.0.0-beta.9 → 2.0.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.ts +2 -1
- package/dist/index.js +4 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -646,6 +646,7 @@ declare const PlayerType: {
|
|
|
646
646
|
readonly IRONMAN: "ironman";
|
|
647
647
|
readonly HARDCORE: "hardcore";
|
|
648
648
|
readonly ULTIMATE: "ultimate";
|
|
649
|
+
readonly FRESH_START: "fresh_start";
|
|
649
650
|
};
|
|
650
651
|
declare type PlayerType = typeof PlayerType[keyof typeof PlayerType];
|
|
651
652
|
declare const PlayerBuild: {
|
|
@@ -1699,7 +1700,7 @@ declare const PlayerTypeProps: MapOf<PlayerType, {
|
|
|
1699
1700
|
declare const PlayerBuildProps: MapOf<PlayerBuild, {
|
|
1700
1701
|
name: string;
|
|
1701
1702
|
}>;
|
|
1702
|
-
declare const PLAYER_TYPES: ("unknown" | "regular" | "ironman" | "hardcore" | "ultimate")[];
|
|
1703
|
+
declare const PLAYER_TYPES: ("unknown" | "regular" | "ironman" | "hardcore" | "ultimate" | "fresh_start")[];
|
|
1703
1704
|
declare const PLAYER_BUILDS: ("main" | "f2p" | "lvl3" | "zerker" | "def1" | "hp10")[];
|
|
1704
1705
|
declare function isPlayerType(typeString: string): typeString is PlayerType;
|
|
1705
1706
|
declare function isPlayerBuild(buildString: string): buildString is PlayerBuild;
|
package/dist/index.js
CHANGED
|
@@ -586,7 +586,8 @@ const PlayerType = {
|
|
|
586
586
|
REGULAR: 'regular',
|
|
587
587
|
IRONMAN: 'ironman',
|
|
588
588
|
HARDCORE: 'hardcore',
|
|
589
|
-
ULTIMATE: 'ultimate'
|
|
589
|
+
ULTIMATE: 'ultimate',
|
|
590
|
+
FRESH_START: 'fresh_start'
|
|
590
591
|
};
|
|
591
592
|
const PlayerBuild = {
|
|
592
593
|
MAIN: 'main',
|
|
@@ -2232,7 +2233,8 @@ const PlayerTypeProps = {
|
|
|
2232
2233
|
[PlayerType.REGULAR]: { name: 'Regular' },
|
|
2233
2234
|
[PlayerType.IRONMAN]: { name: 'Ironman' },
|
|
2234
2235
|
[PlayerType.HARDCORE]: { name: 'Hardcore' },
|
|
2235
|
-
[PlayerType.ULTIMATE]: { name: 'Ultimate' }
|
|
2236
|
+
[PlayerType.ULTIMATE]: { name: 'Ultimate' },
|
|
2237
|
+
[PlayerType.FRESH_START]: { name: 'Fresh Start' }
|
|
2236
2238
|
};
|
|
2237
2239
|
const PlayerBuildProps = {
|
|
2238
2240
|
[PlayerBuild.MAIN]: { name: 'Main' },
|