ps99-api 2.6.0 → 2.6.2

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.
@@ -7,6 +7,9 @@
7
7
  <title>Pet Simulator 99 API</title>
8
8
  <link rel="manifest" href="/node-ps99-api/manifest.json" />
9
9
  <link rel="icon" href="/node-ps99-api/icons/icon-192x192.png" />
10
+ <link rel="preconnect" href="https://fonts.googleapis.com">
11
+ <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
12
+ <link href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap" rel="stylesheet">
10
13
  </head>
11
14
 
12
15
  <body>
@@ -253,7 +253,7 @@ const ListRowRenderer = ({ index, style, data }: any) => {
253
253
  whiteSpace: "nowrap",
254
254
  overflow: "hidden",
255
255
  textOverflow: "ellipsis",
256
- fontFamily: "'Fredoka One', cursive, sans-serif",
256
+ fontFamily: "'Fredoka', 'Fredoka One', sans-serif",
257
257
  }}>
258
258
  {name}
259
259
  </div>
@@ -270,7 +270,7 @@ const ListRowRenderer = ({ index, style, data }: any) => {
270
270
  lineHeight: "1.2em",
271
271
  maxHeight: "2.4em"
272
272
  }}>
273
- {cleanSubtext}
273
+ {cleanSubtext.replace("{amount}", itemConfig.Amount ? itemConfig.Amount.toLocaleString() : "...")}
274
274
  </div>
275
275
  )}
276
276
 
@@ -1,5 +1,4 @@
1
- /* Import a cute, rounded font */
2
- @import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap');
1
+ /* Import a cute, rounded font - Moved to index.html for better performance */
3
2
 
4
3
  :root {
5
4
  --bg-color: #e0f7fa;
@@ -30,7 +29,8 @@ body,
30
29
 
31
30
  body {
32
31
  margin: 0;
33
- font-family: 'Fredoka', sans-serif;
32
+ /* improved font stack */
33
+ font-family: 'Fredoka', 'Nunito', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
34
34
  background-color: var(--bg-color);
35
35
  color: var(--text-color);
36
36
  -webkit-font-smoothing: antialiased;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps99-api",
3
- "version": "2.6.0",
3
+ "version": "2.6.2",
4
4
  "description": "Pet Simulator Public API wrapper written in Typescript.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",