pwc-sdk-wallet 0.6.5 → 0.6.7
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/dist/config/constants.js +6 -6
- package/package.json +1 -1
package/dist/config/constants.js
CHANGED
|
@@ -60,14 +60,14 @@ exports.SECURITY_CONFIG = {
|
|
|
60
60
|
* @returns Number of iterations (10000 for production, 3000 for development)
|
|
61
61
|
*/
|
|
62
62
|
function getPBKDF2Iterations() {
|
|
63
|
-
// Check if we're in Node.js environment
|
|
64
|
-
if (typeof process !== 'undefined' && process.env) {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
}
|
|
63
|
+
// // Check if we're in Node.js environment
|
|
64
|
+
// if (typeof process !== 'undefined' && process.env) {
|
|
65
|
+
// // If NODE_ENV is undefined (React Native), use production values
|
|
66
|
+
// return process.env.NODE_ENV === 'development' ? 3000 : 10000;
|
|
67
|
+
// }
|
|
68
68
|
// React Native environment - use production values by default for security
|
|
69
69
|
// Mobile apps should be considered production by default
|
|
70
|
-
return
|
|
70
|
+
return 6000;
|
|
71
71
|
}
|
|
72
72
|
/**
|
|
73
73
|
* Network configuration constants
|
package/package.json
CHANGED