fare-privy-core 1.5.0 โ†’ 1.6.0

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 CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  A lightweight React library for Privy authentication and wallet management, designed for casino and gaming applications on **Ethereum and Solana**.
4
4
 
5
- ## ๐Ÿš€ Current Features (v1.5.0)
5
+ ## ๐Ÿš€ Current Features (v1.6.0)
6
6
 
7
7
  - **๐Ÿ” Real Privy Auth**: Full Privy authentication integration with login/logout
8
8
  - **๐ŸŽฐ Casino-Ready**: Pre-configured for casino/gaming use cases
@@ -12,8 +12,9 @@ A lightweight React library for Privy authentication and wallet management, desi
12
12
  - **๐Ÿช Complete Hooks**: 4 dependency-free hooks including auth actions
13
13
  - **๐Ÿšช Login/Logout**: Easy authentication control for casino entry/exit
14
14
  - **โšก TypeScript**: Full TypeScript support with type declarations
15
- - **๐Ÿงช Tested**: Complete test suite
16
- - **๐Ÿ“ฆ Lightweight**: Minimal dependencies, focused API
15
+ - **๐Ÿงช Tested**: Complete test suite with 17 passing tests
16
+ - **๐Ÿ“ฆ Optimized**: Streamlined codebase with unused files removed
17
+ - **๐Ÿ—‚๏ธ Clean**: Minimal dependencies, focused API
17
18
 
18
19
  ## ๐Ÿ“ฆ Installation
19
20
 
@@ -268,7 +269,24 @@ function ProtectedGame() {
268
269
 
269
270
  ๐Ÿ“– **[See complete hook documentation โ†’](./HOOKS.md)**
270
271
 
271
- ## ๐Ÿ“š API Reference
272
+ ## ๏ฟฝ Changelog
273
+
274
+ ### v1.6.0 (Latest)
275
+ - **๐Ÿ—‚๏ธ Optimized**: Removed unused files and dependencies
276
+ - **๐Ÿงน Cleaned**: Streamlined codebase for better performance
277
+ - **๐Ÿ“ฆ Smaller**: Reduced package bloat while maintaining all functionality
278
+ - **โœ… Tested**: All 17 tests passing after cleanup
279
+ - **๐Ÿ”ง Fixed**: Resolved circular import issues in useWallets.ts
280
+
281
+ ### v1.5.0
282
+ - **๐Ÿช Added**: useAuthActions hook for login/logout control
283
+ - **๐Ÿšช Enhanced**: Complete authentication management for casino apps
284
+
285
+ ### v1.4.0
286
+ - **๐ŸŽฐ Added**: Four dependency-free wallet hooks
287
+ - **๐Ÿ”— Enhanced**: Multi-chain support for Ethereum and Solana
288
+
289
+ ## ๏ฟฝ๐Ÿ“š API Reference
272
290
 
273
291
  ### PrivyProvider
274
292
 
package/dist/index.d.ts CHANGED
@@ -1,18 +1,19 @@
1
1
  /**
2
- * fare-privy-core - v1.5.0 - Streamlined Package
2
+ * fare-privy-core - v1.6.0 - Streamlined Package
3
3
  * This package exports core functionality without external app dependencies.
4
4
  */
5
5
  export { PrivyProvider, type PrivyProviderProps } from "./PrivyProviderTest.js";
6
6
  export * from "./farePrivy/store/switchWallet.js";
7
7
  export { useConnectedWallets, useWalletAddresses, useIsAuthenticated, useAuthActions, } from "./hooks/useWallets.js";
8
8
  /**
9
- * โœ… PRODUCTION READY - v1.4.0:
9
+ * โœ… PRODUCTION READY - v1.6.0:
10
10
  *
11
11
  * โœ… Dependencies: Tightened version constraints for stability
12
12
  * โœ… Build System: TypeScript compilation working flawlessly
13
13
  * โœ… Test Suite: Complete coverage with all tests passing
14
14
  * โœ… Exports: Clean API surface without external app dependencies
15
- * โœ… Package Size: Ultra-lean - removed all UI components with external dependencies
15
+ * โœ… Package Size: Ultra-lean - optimized with unnecessary files removed
16
+ * โœ… Code Quality: Cleaned up unused dependencies and components
16
17
  */
17
18
  /**
18
19
  * ๐Ÿ“ฆ WHAT'S INCLUDED:
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGhF,cAAc,mCAAmC,CAAC;AAGlD,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,MAAM,uBAAuB,CAAC;AAK/B;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAGhF,cAAc,mCAAmC,CAAC;AAGlD,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,MAAM,uBAAuB,CAAC;AAK/B;;;;;;;;;GASG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG"}
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * fare-privy-core - v1.5.0 - Streamlined Package
2
+ * fare-privy-core - v1.6.0 - Streamlined Package
3
3
  * This package exports core functionality without external app dependencies.
4
4
  */
5
5
  // โœ… CURRENT EXPORTS - Available Now
@@ -11,13 +11,14 @@ export { useConnectedWallets, useWalletAddresses, useIsAuthenticated, useAuthAct
11
11
  // โŒ REMOVED - Had too many external dependencies
12
12
  // export * from "./farePrivy/modals/index.js";
13
13
  /**
14
- * โœ… PRODUCTION READY - v1.4.0:
14
+ * โœ… PRODUCTION READY - v1.6.0:
15
15
  *
16
16
  * โœ… Dependencies: Tightened version constraints for stability
17
17
  * โœ… Build System: TypeScript compilation working flawlessly
18
18
  * โœ… Test Suite: Complete coverage with all tests passing
19
19
  * โœ… Exports: Clean API surface without external app dependencies
20
- * โœ… Package Size: Ultra-lean - removed all UI components with external dependencies
20
+ * โœ… Package Size: Ultra-lean - optimized with unnecessary files removed
21
+ * โœ… Code Quality: Cleaned up unused dependencies and components
21
22
  */
22
23
  /**
23
24
  * ๐Ÿ“ฆ WHAT'S INCLUDED:
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oCAAoC;AACpC,OAAO,EAAE,aAAa,EAA2B,MAAM,wBAAwB,CAAC;AAEhF,yCAAyC;AACzC,cAAc,mCAAmC,CAAC;AAElD,wDAAwD;AACxD,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,MAAM,uBAAuB,CAAC;AAE/B,iDAAiD;AACjD,+CAA+C;AAE/C;;;;;;;;GAQG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,oCAAoC;AACpC,OAAO,EAAE,aAAa,EAA2B,MAAM,wBAAwB,CAAC;AAEhF,yCAAyC;AACzC,cAAc,mCAAmC,CAAC;AAElD,wDAAwD;AACxD,OAAO,EACL,mBAAmB,EACnB,kBAAkB,EAClB,kBAAkB,EAClB,cAAc,GACf,MAAM,uBAAuB,CAAC;AAE/B,iDAAiD;AACjD,+CAA+C;AAE/C;;;;;;;;;GASG;AAEH;;;;;;;;;;;;;GAaG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fare-privy-core",
3
- "version": "1.5.0",
3
+ "version": "1.6.0",
4
4
  "description": "A comprehensive React library for Privy authentication and wallet management with casino gaming features",
5
5
  "keywords": [
6
6
  "privy",