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.
Files changed (41) hide show
  1. package/README.md +74 -2
  2. package/dist/index.es.js +29642 -30864
  3. package/dist/index.umd.js +557 -562
  4. package/dist/types/PlayerMapGraph.d.ts +4 -1
  5. package/dist/types/components/modals/ConnectWalletModal.d.ts +8 -0
  6. package/dist/types/components/modals/CreatePlayerModal.d.ts +9 -0
  7. package/dist/types/components/modals/index.d.ts +2 -0
  8. package/dist/types/components/vote/ClaimItem.d.ts +13 -0
  9. package/dist/types/components/vote/ClaimList.d.ts +14 -0
  10. package/dist/types/components/vote/ClaimVoting.d.ts +16 -0
  11. package/dist/types/components/vote/SubmitButton.d.ts +11 -0
  12. package/dist/types/components/vote/TransactionInfo.d.ts +9 -0
  13. package/dist/types/components/vote/TransactionStatus.d.ts +11 -0
  14. package/dist/types/components/vote/VotingHeader.d.ts +7 -0
  15. package/dist/types/hooks/useCheckSpecificTriplePosition.d.ts +14 -0
  16. package/dist/types/hooks/useDepositTriple.d.ts +14 -0
  17. package/dist/types/hooks/useDisplayTriplesWithPosition.d.ts +5 -0
  18. package/dist/types/hooks/useFetchTripleDetails.d.ts +27 -0
  19. package/dist/types/hooks/useSubmitVotes.d.ts +22 -0
  20. package/dist/types/hooks/useVoteItemsManagement.d.ts +21 -0
  21. package/dist/types/hooks.old.local/useAccountAtom.d.ts +19 -0
  22. package/dist/types/hooks.old.local/useAtomCreation.d.ts +23 -0
  23. package/dist/types/hooks.old.local/useAtomData.d.ts +61 -0
  24. package/dist/types/hooks.old.local/useAtomTriples.d.ts +22 -0
  25. package/dist/types/hooks.old.local/useAtomsByCreator.d.ts +14 -0
  26. package/dist/types/hooks.old.local/useBatchCreateTriple.d.ts +16 -0
  27. package/dist/types/hooks.old.local/useCreateSingleTriple.d.ts +10 -0
  28. package/dist/types/hooks.old.local/useDepositTriple.d.ts +14 -0
  29. package/dist/types/hooks.old.local/useDisplayTriplesWithPosition.d.ts +5 -0
  30. package/dist/types/hooks.old.local/useFetchTripleDetails.d.ts +27 -0
  31. package/dist/types/hooks.old.local/useMainnetAtomData.d.ts +20 -0
  32. package/dist/types/hooks.old.local/useSubmitVotes.d.ts +22 -0
  33. package/dist/types/hooks.old.local/useTestnetAtomData.d.ts +20 -0
  34. package/dist/types/hooks.old.local/useTripleByCreator.d.ts +39 -0
  35. package/dist/types/hooks.old.local/useVoteItemsManagement.d.ts +18 -0
  36. package/dist/types/pages/DirectPositionCheck.d.ts +4 -0
  37. package/dist/types/types/vote.d.ts +26 -0
  38. package/dist/types/utils/debugPosition.d.ts +11 -0
  39. package/dist/types/utils/voteConstants.d.ts +2 -0
  40. package/dist/types/utils/voteUtils.d.ts +32 -0
  41. package/package.json +2 -2
package/README.md CHANGED
@@ -1,2 +1,74 @@
1
- # Player-map
2
- Intuition Player map (Attestations)
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.