player-map 1.0.7 → 1.0.9
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/README.md +74 -2
- package/dist/index.es.js +29642 -30864
- package/dist/index.umd.js +557 -562
- package/dist/types/PlayerMapGraph.d.ts +4 -1
- package/dist/types/components/modals/ConnectWalletModal.d.ts +8 -0
- package/dist/types/components/modals/CreatePlayerModal.d.ts +9 -0
- package/dist/types/components/modals/index.d.ts +2 -0
- package/dist/types/components/vote/ClaimItem.d.ts +13 -0
- package/dist/types/components/vote/ClaimList.d.ts +14 -0
- package/dist/types/components/vote/ClaimVoting.d.ts +16 -0
- package/dist/types/components/vote/SubmitButton.d.ts +11 -0
- package/dist/types/components/vote/TransactionInfo.d.ts +9 -0
- package/dist/types/components/vote/TransactionStatus.d.ts +11 -0
- package/dist/types/components/vote/VotingHeader.d.ts +7 -0
- package/dist/types/hooks/useCheckSpecificTriplePosition.d.ts +14 -0
- package/dist/types/hooks/useDepositTriple.d.ts +14 -0
- package/dist/types/hooks/useDisplayTriplesWithPosition.d.ts +5 -0
- package/dist/types/hooks/useFetchTripleDetails.d.ts +27 -0
- package/dist/types/hooks/useSubmitVotes.d.ts +22 -0
- package/dist/types/hooks/useVoteItemsManagement.d.ts +21 -0
- package/dist/types/hooks.old.local/useAccountAtom.d.ts +19 -0
- package/dist/types/hooks.old.local/useAtomCreation.d.ts +23 -0
- package/dist/types/hooks.old.local/useAtomData.d.ts +61 -0
- package/dist/types/hooks.old.local/useAtomTriples.d.ts +22 -0
- package/dist/types/hooks.old.local/useAtomsByCreator.d.ts +14 -0
- package/dist/types/hooks.old.local/useBatchCreateTriple.d.ts +16 -0
- package/dist/types/hooks.old.local/useCreateSingleTriple.d.ts +10 -0
- package/dist/types/hooks.old.local/useDepositTriple.d.ts +14 -0
- package/dist/types/hooks.old.local/useDisplayTriplesWithPosition.d.ts +5 -0
- package/dist/types/hooks.old.local/useFetchTripleDetails.d.ts +27 -0
- package/dist/types/hooks.old.local/useMainnetAtomData.d.ts +20 -0
- package/dist/types/hooks.old.local/useSubmitVotes.d.ts +22 -0
- package/dist/types/hooks.old.local/useTestnetAtomData.d.ts +20 -0
- package/dist/types/hooks.old.local/useTripleByCreator.d.ts +39 -0
- package/dist/types/hooks.old.local/useVoteItemsManagement.d.ts +18 -0
- package/dist/types/pages/DirectPositionCheck.d.ts +4 -0
- package/dist/types/types/vote.d.ts +26 -0
- package/dist/types/utils/debugPosition.d.ts +11 -0
- package/dist/types/utils/voteConstants.d.ts +2 -0
- package/dist/types/utils/voteUtils.d.ts +32 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,2 +1,74 @@
|
|
|
1
|
-
# Player
|
|
2
|
-
|
|
1
|
+
# Player Map
|
|
2
|
+
|
|
3
|
+
Player Map is a React application that allows you to visualize and manage relationships between players in a gaming system. The project uses TypeScript and is built with Vite.
|
|
4
|
+
|
|
5
|
+
## 🚀 Features
|
|
6
|
+
|
|
7
|
+
- Interactive graph visualization of player relationships
|
|
8
|
+
- Player registration form
|
|
9
|
+
- Player creation progress tracking
|
|
10
|
+
- Modern and reactive user interface
|
|
11
|
+
|
|
12
|
+
## 📦 Installation
|
|
13
|
+
```
|
|
14
|
+
npm install player-map
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
## For local usage
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
# Install dependencies
|
|
21
|
+
npm install
|
|
22
|
+
npm run build
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## 🛠️ Technologies
|
|
26
|
+
|
|
27
|
+
- React 18
|
|
28
|
+
- TypeScript
|
|
29
|
+
- Vite
|
|
30
|
+
- GraphQL (@0xintuition/graphql)
|
|
31
|
+
- Axios
|
|
32
|
+
- Viem
|
|
33
|
+
- Wagmi
|
|
34
|
+
|
|
35
|
+
## 🏗️ Project Structure
|
|
36
|
+
|
|
37
|
+
```
|
|
38
|
+
src/
|
|
39
|
+
├── assets/ # Static resources
|
|
40
|
+
├── components/ # Reusable React components
|
|
41
|
+
├── hooks/ # Custom React hooks
|
|
42
|
+
├── pages/ # Application pages
|
|
43
|
+
├── services/ # Services and API
|
|
44
|
+
├── types/ # TypeScript types
|
|
45
|
+
└── utils/ # Utilities and helper functions
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
## 📦 Main Dependencies
|
|
50
|
+
|
|
51
|
+
### Production Dependencies
|
|
52
|
+
- @0xintuition/graphql
|
|
53
|
+
- axios
|
|
54
|
+
- playermap_graph
|
|
55
|
+
|
|
56
|
+
### Development Dependencies
|
|
57
|
+
- TypeScript
|
|
58
|
+
- Vite
|
|
59
|
+
- @vitejs/plugin-react
|
|
60
|
+
- vite-plugin-dts
|
|
61
|
+
|
|
62
|
+
### Peer Dependencies
|
|
63
|
+
- react
|
|
64
|
+
- react-dom
|
|
65
|
+
- viem
|
|
66
|
+
- wagmi
|
|
67
|
+
|
|
68
|
+
## 📄 License
|
|
69
|
+
|
|
70
|
+
This project is licensed. See the [LICENSE](LICENSE) file for details.
|
|
71
|
+
|
|
72
|
+
## 🤝 Contributing
|
|
73
|
+
|
|
74
|
+
Contributions are welcome! Feel free to open an issue or submit a pull request.
|