@wise-old-man/utils 2.0.12 → 2.0.14
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 +5 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export type Prisma_Base_Achievement = {
|
|
|
3
3
|
name: string
|
|
4
4
|
metric: Metric
|
|
5
5
|
threshold: bigint
|
|
6
|
+
accuracy: bigint | null
|
|
6
7
|
createdAt: Date
|
|
7
8
|
}
|
|
8
9
|
|
|
@@ -186,6 +187,7 @@ export type Prisma_Base_Player = {
|
|
|
186
187
|
updatedAt: Date | null
|
|
187
188
|
lastChangedAt: Date | null
|
|
188
189
|
lastImportedAt: Date | null
|
|
190
|
+
latestSnapshotId: number | null
|
|
189
191
|
}
|
|
190
192
|
|
|
191
193
|
|
|
@@ -1193,8 +1195,9 @@ declare const Country: {
|
|
|
1193
1195
|
};
|
|
1194
1196
|
declare type Country = typeof Country[keyof typeof Country];
|
|
1195
1197
|
|
|
1196
|
-
declare type Achievement = Omit<Prisma_Base_Achievement, 'threshold'> & {
|
|
1198
|
+
declare type Achievement = Omit<Prisma_Base_Achievement, 'threshold' | 'accuracy'> & {
|
|
1197
1199
|
threshold: number;
|
|
1200
|
+
accuracy: number | null;
|
|
1198
1201
|
};
|
|
1199
1202
|
declare type Record = Omit<Prisma_Base_Record, 'value'> & {
|
|
1200
1203
|
value: number;
|
|
@@ -1202,7 +1205,7 @@ declare type Record = Omit<Prisma_Base_Record, 'value'> & {
|
|
|
1202
1205
|
declare type Snapshot = Omit<Prisma_Base_Snapshot, 'overallExperience'> & {
|
|
1203
1206
|
overallExperience: number;
|
|
1204
1207
|
};
|
|
1205
|
-
declare type Player = Omit<Prisma_Base_Player, 'exp'> & {
|
|
1208
|
+
declare type Player = Omit<Prisma_Base_Player, 'exp' | 'latestSnapshotId'> & {
|
|
1206
1209
|
exp: number;
|
|
1207
1210
|
};
|
|
1208
1211
|
|
package/dist/index.js
CHANGED
|
@@ -1842,7 +1842,7 @@ const BossProps = lodash.mapValues({
|
|
|
1842
1842
|
[Boss.NIGHTMARE]: { name: 'Nightmare' },
|
|
1843
1843
|
[Boss.PHOSANIS_NIGHTMARE]: { name: "Phosani's Nightmare" },
|
|
1844
1844
|
[Boss.OBOR]: { name: 'Obor', minimumValue: 5, isMembers: false },
|
|
1845
|
-
[Boss.PHANTOM_MUSPAH]: { name: 'Phantom Muspah'
|
|
1845
|
+
[Boss.PHANTOM_MUSPAH]: { name: 'Phantom Muspah' },
|
|
1846
1846
|
[Boss.SARACHNIS]: { name: 'Sarachnis' },
|
|
1847
1847
|
[Boss.SKOTIZO]: { name: 'Skotizo', minimumValue: 5 },
|
|
1848
1848
|
[Boss.SCORPIA]: { name: 'Scorpia' },
|
|
@@ -1862,7 +1862,7 @@ const BossProps = lodash.mapValues({
|
|
|
1862
1862
|
[Boss.WINTERTODT]: { name: 'Wintertodt' },
|
|
1863
1863
|
[Boss.ZALCANO]: { name: 'Zalcano' },
|
|
1864
1864
|
[Boss.ZULRAH]: { name: 'Zulrah' }
|
|
1865
|
-
}, props => (Object.assign(Object.assign({}, props), { type: exports.MetricType.BOSS, measure: exports.MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue :
|
|
1865
|
+
}, props => (Object.assign(Object.assign({}, props), { type: exports.MetricType.BOSS, measure: exports.MetricMeasure.KILLS, isMembers: 'isMembers' in props ? props.isMembers : true, minimumValue: 'minimumValue' in props ? props.minimumValue : 45 })));
|
|
1866
1866
|
const ActivityProps = lodash.mapValues({
|
|
1867
1867
|
[Activity.LEAGUE_POINTS]: { name: 'League Points' },
|
|
1868
1868
|
[Activity.BOUNTY_HUNTER_HUNTER]: { name: 'Bounty Hunter (Hunter)' },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wise-old-man/utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.14",
|
|
4
4
|
"description": "A JavaScript/TypeScript client that interfaces and consumes the Wise Old Man API, an API that tracks and measures players' progress in Old School Runescape.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"wiseoldman",
|