Files
pezkuwi-mobile-app/frontend/.metro-cache/cache/df/caaef7a1b398d069584b254faa4dc7de7977cb53eb47160178578fefb2cb3c0c951400
T
2025-11-08 08:58:18 +00:00

1 line
6.4 KiB
Plaintext

{"dependencies":[{"name":"@react-native-async-storage/async-storage","data":{"asyncType":null,"isESMImport":true,"locs":[{"start":{"line":1,"column":0,"index":0},"end":{"line":1,"column":69,"index":69}}],"key":"0kSRlooyBOaYM9tlTtK91nq+uds=","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 function _interopDefault(e) {\n return e && e.__esModule ? e : {\n default: e\n };\n }\n Object.defineProperty(exports, \"StorageUtil\", {\n enumerable: true,\n get: function () {\n return StorageUtil;\n }\n });\n var _reactNativeAsyncStorageAsyncStorage = require(_dependencyMap[0], \"@react-native-async-storage/async-storage\");\n var AsyncStorage = _interopDefault(_reactNativeAsyncStorageAsyncStorage);\n const StorageUtil = {\n WALLETCONNECT_DEEPLINK_CHOICE: 'WALLETCONNECT_DEEPLINK_CHOICE',\n W3M_RECENT_WALLET_INFO: 'W3M_RECENT_WALLET_INFO',\n setDeepLinkWallet(link) {\n return AsyncStorage.default.setItem(StorageUtil.WALLETCONNECT_DEEPLINK_CHOICE, JSON.stringify({\n href: link\n }));\n },\n removeDeepLinkWallet() {\n return AsyncStorage.default.removeItem(StorageUtil.WALLETCONNECT_DEEPLINK_CHOICE);\n },\n setRecentWallet(wallet) {\n try {\n AsyncStorage.default.setItem(StorageUtil.W3M_RECENT_WALLET_INFO, JSON.stringify(wallet));\n } catch (error) {\n console.info('Unable to set recent wallet');\n }\n },\n async getRecentWallet() {\n try {\n const wallet = await AsyncStorage.default.getItem(StorageUtil.W3M_RECENT_WALLET_INFO);\n if (wallet) {\n const parsedWallet = JSON.parse(wallet);\n if (typeof parsedWallet.app === 'object') {\n // Wallet from old api. Discard it\n await AsyncStorage.default.removeItem(StorageUtil.W3M_RECENT_WALLET_INFO);\n return undefined;\n }\n return parsedWallet;\n }\n return undefined;\n } catch (error) {\n console.info('Unable to get recent wallet');\n }\n return undefined;\n }\n };\n});","lineCount":57,"map":[[12,2,2,0,"Object"],[12,8,2,0],[12,9,2,0,"defineProperty"],[12,23,2,0],[12,24,2,0,"exports"],[12,31,2,0],[13,4,2,0,"enumerable"],[13,14,2,0],[14,4,2,0,"get"],[14,7,2,0],[14,18,2,0,"get"],[14,19,2,0],[15,6,2,0],[15,13,2,0,"StorageUtil"],[15,24,2,0],[16,4,2,0],[17,2,2,0],[18,2,1,0],[18,6,1,0,"_reactNativeAsyncStorageAsyncStorage"],[18,42,1,0],[18,45,1,0,"require"],[18,52,1,0],[18,53,1,0,"_dependencyMap"],[18,67,1,0],[19,2,1,0],[19,6,1,0,"AsyncStorage"],[19,18,1,0],[19,21,1,0,"_interopDefault"],[19,36,1,0],[19,37,1,0,"_reactNativeAsyncStorageAsyncStorage"],[19,73,1,0],[20,2,2,7],[20,8,2,13,"StorageUtil"],[20,19,2,24],[20,22,2,27],[21,4,3,2,"WALLETCONNECT_DEEPLINK_CHOICE"],[21,33,3,31],[21,35,3,33],[21,66,3,64],[22,4,4,2,"W3M_RECENT_WALLET_INFO"],[22,26,4,24],[22,28,4,26],[22,52,4,50],[23,4,5,2,"setDeepLinkWallet"],[23,21,5,19,"setDeepLinkWallet"],[23,22,5,20,"link"],[23,26,5,24],[23,28,5,26],[24,6,6,4],[24,13,6,11,"AsyncStorage"],[24,25,6,23],[24,26,6,23,"default"],[24,33,6,23],[24,34,6,24,"setItem"],[24,41,6,31],[24,42,6,32,"StorageUtil"],[24,53,6,43],[24,54,6,44,"WALLETCONNECT_DEEPLINK_CHOICE"],[24,83,6,73],[24,85,6,75,"JSON"],[24,89,6,79],[24,90,6,80,"stringify"],[24,99,6,89],[24,100,6,90],[25,8,7,6,"href"],[25,12,7,10],[25,14,7,12,"link"],[26,6,8,4],[26,7,8,5],[26,8,8,6],[26,9,8,7],[27,4,9,2],[27,5,9,3],[28,4,10,2,"removeDeepLinkWallet"],[28,24,10,22,"removeDeepLinkWallet"],[28,25,10,22],[28,27,10,25],[29,6,11,4],[29,13,11,11,"AsyncStorage"],[29,25,11,23],[29,26,11,23,"default"],[29,33,11,23],[29,34,11,24,"removeItem"],[29,44,11,34],[29,45,11,35,"StorageUtil"],[29,56,11,46],[29,57,11,47,"WALLETCONNECT_DEEPLINK_CHOICE"],[29,86,11,76],[29,87,11,77],[30,4,12,2],[30,5,12,3],[31,4,13,2,"setRecentWallet"],[31,19,13,17,"setRecentWallet"],[31,20,13,18,"wallet"],[31,26,13,24],[31,28,13,26],[32,6,14,4],[32,10,14,8],[33,8,15,6,"AsyncStorage"],[33,20,15,18],[33,21,15,18,"default"],[33,28,15,18],[33,29,15,19,"setItem"],[33,36,15,26],[33,37,15,27,"StorageUtil"],[33,48,15,38],[33,49,15,39,"W3M_RECENT_WALLET_INFO"],[33,71,15,61],[33,73,15,63,"JSON"],[33,77,15,67],[33,78,15,68,"stringify"],[33,87,15,77],[33,88,15,78,"wallet"],[33,94,15,84],[33,95,15,85],[33,96,15,86],[34,6,16,4],[34,7,16,5],[34,8,16,6],[34,15,16,13,"error"],[34,20,16,18],[34,22,16,20],[35,8,17,6,"console"],[35,15,17,13],[35,16,17,14,"info"],[35,20,17,18],[35,21,17,19],[35,50,17,48],[35,51,17,49],[36,6,18,4],[37,4,19,2],[37,5,19,3],[38,4,20,2],[38,10,20,8,"getRecentWallet"],[38,25,20,23,"getRecentWallet"],[38,26,20,23],[38,28,20,26],[39,6,21,4],[39,10,21,8],[40,8,22,6],[40,14,22,12,"wallet"],[40,20,22,18],[40,23,22,21],[40,29,22,27,"AsyncStorage"],[40,41,22,39],[40,42,22,39,"default"],[40,49,22,39],[40,50,22,40,"getItem"],[40,57,22,47],[40,58,22,48,"StorageUtil"],[40,69,22,59],[40,70,22,60,"W3M_RECENT_WALLET_INFO"],[40,92,22,82],[40,93,22,83],[41,8,23,6],[41,12,23,10,"wallet"],[41,18,23,16],[41,20,23,18],[42,10,24,8],[42,16,24,14,"parsedWallet"],[42,28,24,26],[42,31,24,29,"JSON"],[42,35,24,33],[42,36,24,34,"parse"],[42,41,24,39],[42,42,24,40,"wallet"],[42,48,24,46],[42,49,24,47],[43,10,25,8],[43,14,25,12],[43,21,25,19,"parsedWallet"],[43,33,25,31],[43,34,25,32,"app"],[43,37,25,35],[43,42,25,40],[43,50,25,48],[43,52,25,50],[44,12,26,10],[45,12,27,10],[45,18,27,16,"AsyncStorage"],[45,30,27,28],[45,31,27,28,"default"],[45,38,27,28],[45,39,27,29,"removeItem"],[45,49,27,39],[45,50,27,40,"StorageUtil"],[45,61,27,51],[45,62,27,52,"W3M_RECENT_WALLET_INFO"],[45,84,27,74],[45,85,27,75],[46,12,28,10],[46,19,28,17,"undefined"],[46,28,28,26],[47,10,29,8],[48,10,30,8],[48,17,30,15,"parsedWallet"],[48,29,30,27],[49,8,31,6],[50,8,32,6],[50,15,32,13,"undefined"],[50,24,32,22],[51,6,33,4],[51,7,33,5],[51,8,33,6],[51,15,33,13,"error"],[51,20,33,18],[51,22,33,20],[52,8,34,6,"console"],[52,15,34,13],[52,16,34,14,"info"],[52,20,34,18],[52,21,34,19],[52,50,34,48],[52,51,34,49],[53,6,35,4],[54,6,36,4],[54,13,36,11,"undefined"],[54,22,36,20],[55,4,37,2],[56,2,38,0],[56,3,38,1],[57,0,38,2],[57,3]],"functionMap":{"names":["<global>","setDeepLinkWallet","removeDeepLinkWallet","setRecentWallet","getRecentWallet"],"mappings":"AAA;ECI;GDI;EEC;GFE;EGC;GHM;EIC;GJiB"},"hasCjsExports":false},"type":"js/module"}]}