ps99-api 2.3.1 → 2.3.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.
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { BrowserRouter as Router, Routes, Route } from "react-router-dom";
2
+ import { HashRouter as Router, Routes, Route } from "react-router-dom";
3
3
  import HomePage from "./components/HomePage";
4
4
  import Header from "./components/Header";
5
5
  import CollectionsIndex from "./components/CollectionsIndex";
@@ -9,19 +9,13 @@ import Footer from "./components/Footer";
9
9
 
10
10
  const App: React.FC = () => {
11
11
  return (
12
- <Router basename="/node-ps99-api">
12
+ <Router>
13
13
  <Header />
14
14
  <Routes>
15
15
  <Route path="/" element={<HomePage />} />
16
16
  <Route path="/collections" element={<CollectionsIndex />} />
17
- <Route
18
- path="/collections/:collectionName"
19
- element={<CollectionConfigIndex />}
20
- />
21
- <Route
22
- path="/collections/:collectionName/:configName"
23
- element={<DynamicCollectionConfigData />}
24
- />
17
+ <Route path="/collections/:collectionName" element={<CollectionConfigIndex />} />
18
+ <Route path="/collections/:collectionName/:configName" element={<DynamicCollectionConfigData />} />
25
19
  </Routes>
26
20
  <Footer />
27
21
  </Router>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ps99-api",
3
- "version": "2.3.1",
3
+ "version": "2.3.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",