mirror of
https://github.com/pezkuwichain/pezkuwi-mobile-app.git
synced 2026-05-30 08:51:01 +00:00
auto-commit for 1f5139ee-6480-479e-a24f-aad14294c7ca
This commit is contained in:
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"expo/virtual/env","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"dgHc21cgR+buKc7O3/dChhD5JJk=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"API_BASE_URL\", {\n enumerable: true,\n get: function () {\n return API_BASE_URL;\n }\n });\n Object.defineProperty(exports, \"API_ENDPOINTS\", {\n enumerable: true,\n get: function () {\n return API_ENDPOINTS;\n }\n });\n var _expoVirtualEnv = require(_dependencyMap[0], \"expo/virtual/env\");\n // API Configuration\n // Single source of truth for backend URL\n\n const getBackendUrl = () => {\n const url = _expoVirtualEnv.env.EXPO_PUBLIC_BACKEND_URL;\n if (!url) {\n console.error('⚠️ EXPO_PUBLIC_BACKEND_URL not set! Using fallback.');\n return 'http://localhost:8001';\n }\n console.log('✅ Backend URL:', url);\n return url;\n };\n const API_BASE_URL = getBackendUrl();\n const API_ENDPOINTS = {\n AUTH_SIGNUP: `${API_BASE_URL}/api/auth/signup`,\n AUTH_SIGNIN: `${API_BASE_URL}/api/auth/signin`,\n AUTH_USER: userId => `${API_BASE_URL}/api/auth/user/${userId}`,\n VERIFY_TURNSTILE: `${API_BASE_URL}/api/verify-turnstile`,\n BALANCE: `${API_BASE_URL}/api/blockchain/balance`\n };\n});","lineCount":40,"map":[[7,2,16,0,"Object"],[7,8,16,0],[7,9,16,0,"defineProperty"],[7,23,16,0],[7,24,16,0,"exports"],[7,31,16,0],[8,4,16,0,"enumerable"],[8,14,16,0],[9,4,16,0,"get"],[9,7,16,0],[9,18,16,0,"get"],[9,19,16,0],[10,6,16,0],[10,13,16,0,"API_BASE_URL"],[10,25,16,0],[11,4,16,0],[12,2,16,0],[13,2,18,0,"Object"],[13,8,18,0],[13,9,18,0,"defineProperty"],[13,23,18,0],[13,24,18,0,"exports"],[13,31,18,0],[14,4,18,0,"enumerable"],[14,14,18,0],[15,4,18,0,"get"],[15,7,18,0],[15,18,18,0,"get"],[15,19,18,0],[16,6,18,0],[16,13,18,0,"API_ENDPOINTS"],[16,26,18,0],[17,4,18,0],[18,2,18,0],[19,2,24,2],[19,6,24,2,"_expoVirtualEnv"],[19,21,24,2],[19,24,24,2,"require"],[19,31,24,2],[19,32,24,2,"_dependencyMap"],[19,46,24,2],[20,2,1,0],[21,2,2,0],[23,2,4,0],[23,8,4,6,"getBackendUrl"],[23,21,4,19],[23,24,4,22,"getBackendUrl"],[23,25,4,22],[23,30,4,36],[24,4,5,2],[24,10,5,8,"url"],[24,13,5,11],[24,16,5,11,"_expoVirtualEnv"],[24,31,5,11],[24,32,5,11,"env"],[24,35,5,11],[24,36,5,11,"EXPO_PUBLIC_BACKEND_URL"],[24,59,5,49],[25,4,7,2],[25,8,7,6],[25,9,7,7,"url"],[25,12,7,10],[25,14,7,12],[26,6,8,4,"console"],[26,13,8,11],[26,14,8,12,"error"],[26,19,8,17],[26,20,8,18],[26,73,8,71],[26,74,8,72],[27,6,9,4],[27,13,9,11],[27,36,9,34],[28,4,10,2],[29,4,12,2,"console"],[29,11,12,9],[29,12,12,10,"log"],[29,15,12,13],[29,16,12,14],[29,32,12,30],[29,34,12,32,"url"],[29,37,12,35],[29,38,12,36],[30,4,13,2],[30,11,13,9,"url"],[30,14,13,12],[31,2,14,0],[31,3,14,1],[32,2,16,7],[32,8,16,13,"API_BASE_URL"],[32,20,16,25],[32,23,16,28,"getBackendUrl"],[32,36,16,41],[32,37,16,42],[32,38,16,43],[33,2,18,7],[33,8,18,13,"API_ENDPOINTS"],[33,21,18,26],[33,24,18,29],[34,4,19,2,"AUTH_SIGNUP"],[34,15,19,13],[34,17,19,15],[34,20,19,18,"API_BASE_URL"],[34,32,19,30],[34,50,19,48],[35,4,20,2,"AUTH_SIGNIN"],[35,15,20,13],[35,17,20,15],[35,20,20,18,"API_BASE_URL"],[35,32,20,30],[35,50,20,48],[36,4,21,2,"AUTH_USER"],[36,13,21,11],[36,15,21,14,"userId"],[36,21,21,28],[36,25,21,33],[36,28,21,36,"API_BASE_URL"],[36,40,21,48],[36,58,21,66,"userId"],[36,64,21,72],[36,66,21,74],[37,4,22,2,"VERIFY_TURNSTILE"],[37,20,22,18],[37,22,22,20],[37,25,22,23,"API_BASE_URL"],[37,37,22,35],[37,60,22,58],[38,4,23,2,"BALANCE"],[38,11,23,9],[38,13,23,11],[38,16,23,14,"API_BASE_URL"],[38,28,23,26],[39,2,24,0],[39,3,24,1],[40,0,24,2],[40,3]],"functionMap":{"names":["<global>","getBackendUrl","API_ENDPOINTS.AUTH_USER"],"mappings":"AAA;sBCG;CDU;aEO,6DF"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
+1
File diff suppressed because one or more lines are too long
+1
@@ -0,0 +1 @@
|
||||
{"dependencies":[{"name":"expo/virtual/env","data":{"asyncType":null,"isESMImport":false,"locs":[],"key":"dgHc21cgR+buKc7O3/dChhD5JJk=","exportNames":["*"],"imports":1}}],"output":[{"data":{"code":"__d(function (global, require, _$$_IMPORT_DEFAULT, _$$_IMPORT_ALL, module, exports, _dependencyMap) {\n \"use strict\";\n\n Object.defineProperty(exports, '__esModule', {\n value: true\n });\n Object.defineProperty(exports, \"API_BASE_URL\", {\n enumerable: true,\n get: function () {\n return API_BASE_URL;\n }\n });\n Object.defineProperty(exports, \"API_ENDPOINTS\", {\n enumerable: true,\n get: function () {\n return API_ENDPOINTS;\n }\n });\n var _expoVirtualEnv = require(_dependencyMap[0], \"expo/virtual/env\");\n // API Configuration\n // Single source of truth for backend URL\n\n var getBackendUrl = () => {\n var url = _expoVirtualEnv.env.EXPO_PUBLIC_BACKEND_URL;\n if (!url) {\n console.error('⚠️ EXPO_PUBLIC_BACKEND_URL not set! Using fallback.');\n return 'http://localhost:8001';\n }\n console.log('✅ Backend URL:', url);\n return url;\n };\n var API_BASE_URL = getBackendUrl();\n var API_ENDPOINTS = {\n AUTH_SIGNUP: `${API_BASE_URL}/api/auth/signup`,\n AUTH_SIGNIN: `${API_BASE_URL}/api/auth/signin`,\n AUTH_USER: userId => `${API_BASE_URL}/api/auth/user/${userId}`,\n VERIFY_TURNSTILE: `${API_BASE_URL}/api/verify-turnstile`,\n BALANCE: `${API_BASE_URL}/api/blockchain/balance`\n };\n});","lineCount":40,"map":[[7,2,16,0,"Object"],[7,8,16,0],[7,9,16,0,"defineProperty"],[7,23,16,0],[7,24,16,0,"exports"],[7,31,16,0],[8,4,16,0,"enumerable"],[8,14,16,0],[9,4,16,0,"get"],[9,7,16,0],[9,18,16,0,"get"],[9,19,16,0],[10,6,16,0],[10,13,16,0,"API_BASE_URL"],[10,25,16,0],[11,4,16,0],[12,2,16,0],[13,2,18,0,"Object"],[13,8,18,0],[13,9,18,0,"defineProperty"],[13,23,18,0],[13,24,18,0,"exports"],[13,31,18,0],[14,4,18,0,"enumerable"],[14,14,18,0],[15,4,18,0,"get"],[15,7,18,0],[15,18,18,0,"get"],[15,19,18,0],[16,6,18,0],[16,13,18,0,"API_ENDPOINTS"],[16,26,18,0],[17,4,18,0],[18,2,18,0],[19,2,24,2],[19,6,24,2,"_expoVirtualEnv"],[19,21,24,2],[19,24,24,2,"require"],[19,31,24,2],[19,32,24,2,"_dependencyMap"],[19,46,24,2],[20,2,1,0],[21,2,2,0],[23,2,4,0],[23,6,4,6,"getBackendUrl"],[23,19,4,19],[23,22,4,22,"getBackendUrl"],[23,23,4,22],[23,28,4,36],[24,4,5,2],[24,8,5,8,"url"],[24,11,5,11],[24,14,5,11,"_expoVirtualEnv"],[24,29,5,11],[24,30,5,11,"env"],[24,33,5,11],[24,34,5,11,"EXPO_PUBLIC_BACKEND_URL"],[24,57,5,49],[25,4,7,2],[25,8,7,6],[25,9,7,7,"url"],[25,12,7,10],[25,14,7,12],[26,6,8,4,"console"],[26,13,8,11],[26,14,8,12,"error"],[26,19,8,17],[26,20,8,18],[26,73,8,71],[26,74,8,72],[27,6,9,4],[27,13,9,11],[27,36,9,34],[28,4,10,2],[29,4,12,2,"console"],[29,11,12,9],[29,12,12,10,"log"],[29,15,12,13],[29,16,12,14],[29,32,12,30],[29,34,12,32,"url"],[29,37,12,35],[29,38,12,36],[30,4,13,2],[30,11,13,9,"url"],[30,14,13,12],[31,2,14,0],[31,3,14,1],[32,2,16,7],[32,6,16,13,"API_BASE_URL"],[32,18,16,25],[32,21,16,28,"getBackendUrl"],[32,34,16,41],[32,35,16,42],[32,36,16,43],[33,2,18,7],[33,6,18,13,"API_ENDPOINTS"],[33,19,18,26],[33,22,18,29],[34,4,19,2,"AUTH_SIGNUP"],[34,15,19,13],[34,17,19,15],[34,20,19,18,"API_BASE_URL"],[34,32,19,30],[34,50,19,48],[35,4,20,2,"AUTH_SIGNIN"],[35,15,20,13],[35,17,20,15],[35,20,20,18,"API_BASE_URL"],[35,32,20,30],[35,50,20,48],[36,4,21,2,"AUTH_USER"],[36,13,21,11],[36,15,21,14,"userId"],[36,21,21,28],[36,25,21,33],[36,28,21,36,"API_BASE_URL"],[36,40,21,48],[36,58,21,66,"userId"],[36,64,21,72],[36,66,21,74],[37,4,22,2,"VERIFY_TURNSTILE"],[37,20,22,18],[37,22,22,20],[37,25,22,23,"API_BASE_URL"],[37,37,22,35],[37,60,22,58],[38,4,23,2,"BALANCE"],[38,11,23,9],[38,13,23,11],[38,16,23,14,"API_BASE_URL"],[38,28,23,26],[39,2,24,0],[39,3,24,1],[40,0,24,2],[40,3]],"functionMap":{"names":["<global>","getBackendUrl","API_ENDPOINTS.AUTH_USER"],"mappings":"AAA;sBCG;CDU;aEO,6DF"},"hasCjsExports":false},"type":"js/module"}]}
|
||||
+1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user