@explorins/pers-sdk-react-native 1.5.7 → 1.5.8

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explorins/pers-sdk-react-native",
3
- "version": "1.5.7",
3
+ "version": "1.5.8",
4
4
  "description": "React Native SDK for PERS Platform - Tourism Loyalty System with Manager Pattern Architecture",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -129,6 +129,16 @@ export const useTransactionSigner = () => {
129
129
 
130
130
  // Auto-initialize signer when user is authenticated and real SDK is available
131
131
  useEffect(() => {
132
+ console.log('[useTransactionSigner] useEffect triggered:', {
133
+ isInitialized,
134
+ isAuthenticated,
135
+ hasUser: !!user,
136
+ isSignerInitialized,
137
+ hasSDK: !!sdk,
138
+ hasAuthProvider: !!authProvider,
139
+ hasCreatePersSignerSDK: !!createPersSignerSDK
140
+ });
141
+
132
142
  if (isInitialized && isAuthenticated && user && !isSignerInitialized && sdk && authProvider) {
133
143
  console.log('[useTransactionSigner] Auto-initializing PERS transaction signer...');
134
144