@hinkal/common 0.2.29 → 0.2.30

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.
Files changed (423) hide show
  1. package/API/API.mjs +1 -1
  2. package/API/accessCodeCalls.mjs +1 -1
  3. package/API/admin-calls.mjs +1 -1
  4. package/API/brotherhoodCalls.mjs +1 -1
  5. package/API/callLifiAPI.mjs +1 -1
  6. package/API/callMonitor.mjs +1 -1
  7. package/API/callOdosAPI.mjs +1 -1
  8. package/API/callOkxAPI.mjs +1 -1
  9. package/API/callOneInchAPI.mjs +1 -1
  10. package/API/callRelayer.mjs +1 -1
  11. package/API/checkRisk.mjs +1 -1
  12. package/API/deposit-and-withdraw-status-calls.mjs +1 -1
  13. package/API/enclaveSignatureCalls.mjs +1 -1
  14. package/API/enclaveUtxoCalls.mjs +1 -1
  15. package/API/fetchCommitmentsCache.mjs +1 -1
  16. package/API/generate-trading-points.mjs +1 -1
  17. package/API/get-token-data.mjs +1 -1
  18. package/API/get-token-price-chart-data.mjs +1 -1
  19. package/API/getCoingeckoPrice.mjs +1 -1
  20. package/API/getGasEstimates.mjs +1 -1
  21. package/API/getServerURL.mjs +1 -1
  22. package/API/getTokenPrice.mjs +1 -1
  23. package/API/getWebsiteURL.mjs +1 -1
  24. package/API/kycCalls.mjs +1 -1
  25. package/API/leaderboardCalls.mjs +1 -1
  26. package/API/onrampCalls.mjs +1 -1
  27. package/API/privacy-score-calls.mjs +1 -1
  28. package/API/privateSendEmailNotificationsCalls.mjs +1 -1
  29. package/API/privateSendNonceCalls.mjs +1 -1
  30. package/API/privateSendRecipientInfoCalls.mjs +1 -1
  31. package/API/proxyAccountsCalls.mjs +1 -1
  32. package/API/referralsCalls.mjs +1 -1
  33. package/API/relayCalls.mjs +1 -1
  34. package/API/resolve-sns.mjs +1 -1
  35. package/API/rewardsUserCalls.mjs +1 -1
  36. package/API/scheduled-transactions-calls.mjs +1 -1
  37. package/API/seedless-calls.mjs +1 -1
  38. package/API/send-telegram-callback.mjs +1 -1
  39. package/API/simulate-batch-tx.mjs +1 -1
  40. package/API/simulate-transaction.mjs +1 -1
  41. package/API/snapshot-event-calls.mjs +1 -1
  42. package/API/solana-calls.mjs +1 -1
  43. package/API/temporaryWalletCalls.mjs +1 -1
  44. package/API/tenderly.api.mjs +1 -1
  45. package/API/token-calls.mjs +1 -1
  46. package/API/tronSubsidyCalls.mjs +1 -1
  47. package/API/weeklyAnalyticCalls.mjs +1 -1
  48. package/constants/activity.constants.mjs +1 -1
  49. package/constants/addresses.constants.mjs +1 -1
  50. package/constants/assets.constants.mjs +1 -1
  51. package/constants/backend.constants.mjs +1 -1
  52. package/constants/balance.constants.mjs +1 -1
  53. package/constants/bridging.constants.mjs +1 -1
  54. package/constants/chains.constants.mjs +1 -1
  55. package/constants/coingecko.constants.mjs +1 -1
  56. package/constants/contracts.constants.mjs +1 -1
  57. package/constants/conversion.constants.mjs +1 -1
  58. package/constants/deploy-data/deploy-data-arbMainnet.json.cjs +1 -1
  59. package/constants/deploy-data/deploy-data-arbMainnet.json.mjs +0 -2068
  60. package/constants/deploy-data/deploy-data-arcTestnet.json.cjs +1 -1
  61. package/constants/deploy-data/deploy-data-arcTestnet.json.mjs +0 -2246
  62. package/constants/deploy-data/deploy-data-base.json.cjs +1 -1
  63. package/constants/deploy-data/deploy-data-base.json.mjs +0 -2068
  64. package/constants/deploy-data/deploy-data-ethMainnet.json.cjs +1 -1
  65. package/constants/deploy-data/deploy-data-ethMainnet.json.mjs +0 -2265
  66. package/constants/deploy-data/deploy-data-localhost.json.cjs +1 -1
  67. package/constants/deploy-data/deploy-data-localhost.json.mjs +1 -2266
  68. package/constants/deploy-data/deploy-data-optimism.json.cjs +1 -1
  69. package/constants/deploy-data/deploy-data-optimism.json.mjs +0 -2068
  70. package/constants/deploy-data/deploy-data-polygon.json.cjs +1 -1
  71. package/constants/deploy-data/deploy-data-polygon.json.mjs +0 -2068
  72. package/constants/events.constants.mjs +1 -1
  73. package/constants/fees.constants.mjs +1 -1
  74. package/constants/function-signatures.constants.mjs +1 -1
  75. package/constants/images.constants.mjs +1 -1
  76. package/constants/kyc.constants.mjs +1 -1
  77. package/constants/lifi.constants.mjs +1 -1
  78. package/constants/link.constant.mjs +1 -1
  79. package/constants/mediaUrls.constants.mjs +1 -1
  80. package/constants/non-circular-tokens.constants.mjs +1 -1
  81. package/constants/oauthUrls.constants.mjs +1 -1
  82. package/constants/okx.constants.mjs +1 -1
  83. package/constants/pay.constants.mjs +1 -1
  84. package/constants/permit2.constants.mjs +1 -1
  85. package/constants/presale.constants.mjs +1 -1
  86. package/constants/protocol.constants.mjs +1 -1
  87. package/constants/reorg-depths.constants.mjs +1 -1
  88. package/constants/rewards.constants.mjs +1 -1
  89. package/constants/save-depths.mjs +1 -1
  90. package/constants/schedule.constants.mjs +1 -1
  91. package/constants/server.constants.mjs +1 -1
  92. package/constants/tasks.constants.mjs +1 -1
  93. package/constants/token-data/ERC20Registry.mjs +1 -1
  94. package/constants/token-data/index.mjs +1 -1
  95. package/constants/token.limits.constants.mjs +1 -1
  96. package/constants/tokens.constants.mjs +1 -1
  97. package/constants/tx-confirmation.constants.mjs +1 -1
  98. package/constants/vite.constants.mjs +1 -1
  99. package/constants/wallet.constants.mjs +1 -1
  100. package/crypto/preProcessing.mjs +1 -1
  101. package/data-structures/AccountActions/AccountActions.mjs +1 -1
  102. package/data-structures/ApprovalDBs/EventsPublicApprovalsDB.mjs +1 -1
  103. package/data-structures/BlockchainEvent/BlockchainEvent.mjs +1 -1
  104. package/data-structures/Hinkal/Hinkal.mjs +1 -1
  105. package/data-structures/Hinkal/handleAutoDepositBack.mjs +1 -1
  106. package/data-structures/Hinkal/hinkalActionReceive.mjs +1 -1
  107. package/data-structures/Hinkal/hinkalCheckSolanaTokenRegistry.mjs +1 -1
  108. package/data-structures/Hinkal/hinkalCheckTokenRegistry.mjs +1 -1
  109. package/data-structures/Hinkal/hinkalClaimUtxo.mjs +1 -1
  110. package/data-structures/Hinkal/hinkalDeposit.mjs +1 -1
  111. package/data-structures/Hinkal/hinkalDepositAndBridge.mjs +1 -1
  112. package/data-structures/Hinkal/hinkalDepositAndWithdraw.mjs +1 -1
  113. package/data-structures/Hinkal/hinkalDepositOnChainUtxos.mjs +1 -1
  114. package/data-structures/Hinkal/hinkalGetRecipientInfo.mjs +1 -1
  115. package/data-structures/Hinkal/hinkalGetZkMeProvider.mjs +1 -1
  116. package/data-structures/Hinkal/hinkalMultiSend.mjs +1 -1
  117. package/data-structures/Hinkal/hinkalPrivateWallet.mjs +1 -1
  118. package/data-structures/Hinkal/hinkalProoflessDeposit.mjs +1 -1
  119. package/data-structures/Hinkal/hinkalProxySwap.mjs +1 -1
  120. package/data-structures/Hinkal/hinkalProxyToPrivate.mjs +1 -1
  121. package/data-structures/Hinkal/hinkalSignSubAccount.mjs +1 -1
  122. package/data-structures/Hinkal/hinkalSolanaClaimUtxo.mjs +1 -1
  123. package/data-structures/Hinkal/hinkalSolanaDeposit.mjs +1 -1
  124. package/data-structures/Hinkal/hinkalSolanaDepositAndWithdraw.mjs +1 -1
  125. package/data-structures/Hinkal/hinkalSolanaProoflessDeposit.mjs +1 -1
  126. package/data-structures/Hinkal/hinkalSolanaProxySend.mjs +1 -1
  127. package/data-structures/Hinkal/hinkalSolanaProxyShield.mjs +1 -1
  128. package/data-structures/Hinkal/hinkalSolanaProxySwap.mjs +1 -1
  129. package/data-structures/Hinkal/hinkalSolanaSwap.mjs +1 -1
  130. package/data-structures/Hinkal/hinkalSolanaTransfer.mjs +1 -1
  131. package/data-structures/Hinkal/hinkalSolanaWithdraw.mjs +1 -1
  132. package/data-structures/Hinkal/hinkalSwap.mjs +1 -1
  133. package/data-structures/Hinkal/hinkalTransfer.mjs +1 -1
  134. package/data-structures/Hinkal/hinkalWithdraw.mjs +1 -1
  135. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.cjs +1 -1
  136. package/data-structures/Hinkal/hinkalWithdrawStuckUtxos.mjs +2 -1
  137. package/data-structures/Hinkal/resetMerkleTrees.mjs +1 -1
  138. package/data-structures/IndexedDB/activity-db.mjs +1 -1
  139. package/data-structures/MultiThreadedUtxoUtils/MultiThreadedUtxoUtils.mjs +1 -1
  140. package/data-structures/TokenDBs/ArcPublicTokensDB.mjs +1 -1
  141. package/data-structures/TokenDBs/PrivateTokensDB.mjs +1 -1
  142. package/data-structures/TokenDBs/PublicTokensDB.mjs +1 -1
  143. package/data-structures/ValueCache/ValueCache.mjs +1 -1
  144. package/data-structures/cacheDevices/AttachableMemoryCacheDevice.mjs +1 -1
  145. package/data-structures/cacheDevices/BaseCacheDevice.mjs +1 -1
  146. package/data-structures/cacheDevices/FileCacheDevice.mjs +1 -1
  147. package/data-structures/cacheDevices/LocalStorageCacheDevice.mjs +1 -1
  148. package/data-structures/crypto-keys/decodeUTXO.mjs +1 -1
  149. package/data-structures/crypto-keys/encryptDecryptUtxo.mjs +1 -1
  150. package/data-structures/crypto-keys/keyUtils.mjs +1 -1
  151. package/data-structures/crypto-keys/keys.mjs +1 -1
  152. package/data-structures/event-service/evm/AbstractAccessTokenSnapshotService.mjs +1 -1
  153. package/data-structures/event-service/evm/AbstractApprovalsSnapshotService.mjs +1 -1
  154. package/data-structures/event-service/evm/AbstractCommitmentsSnapshotService.mjs +1 -1
  155. package/data-structures/event-service/evm/AbstractEventService.mjs +1 -1
  156. package/data-structures/event-service/evm/AbstractNullifierSnapshotService.mjs +1 -1
  157. package/data-structures/event-service/evm/AbstractSnapshotService.mjs +1 -1
  158. package/data-structures/event-service/evm/BlockchainEventEmitter.mjs +1 -1
  159. package/data-structures/event-service/evm/ClientBlockchainEventEmitter.mjs +1 -1
  160. package/data-structures/event-service/evm/PollingBlockchainEventEmitter.mjs +1 -1
  161. package/data-structures/event-service/helpers/ClientEventHelper.mjs +1 -1
  162. package/data-structures/event-service/helpers/PollingEventHelper.mjs +1 -1
  163. package/data-structures/event-service/solana/AbstractSolanaAccessTokenSnapshotService.mjs +1 -1
  164. package/data-structures/event-service/solana/AbstractSolanaCommitmentsSnapshotService.mjs +1 -1
  165. package/data-structures/event-service/solana/AbstractSolanaEventService.mjs +1 -1
  166. package/data-structures/event-service/solana/AbstractSolanaNullifierSnapshotService.mjs +1 -1
  167. package/data-structures/event-service/solana/AbstractSolanaSnapshotService.mjs +1 -1
  168. package/data-structures/event-service/solana/ClientSolanaBlockchainEventEmitter.mjs +1 -1
  169. package/data-structures/event-service/solana/PollingSolanaBlockchainEventEmitter.mjs +1 -1
  170. package/data-structures/event-service/solana/SolanaBlockchainEventEmitter.mjs +1 -1
  171. package/data-structures/http/BasicHttpClient.mjs +1 -1
  172. package/data-structures/http/HttpClient.mjs +1 -1
  173. package/data-structures/merkle-tree/MerkleTree.mjs +1 -1
  174. package/data-structures/merkle-tree/MerkleTreeIncompleteError.mjs +1 -1
  175. package/data-structures/merkle-tree/getPatchedAccessTokenMerkleTree.mjs +1 -1
  176. package/data-structures/presale/PresaleContractWrapper.mjs +1 -1
  177. package/data-structures/snapshot/SnapshotFetcherService.mjs +1 -1
  178. package/data-structures/snapshot/evm-snapshots/ClientAccessTokenSnapshotService.mjs +1 -1
  179. package/data-structures/snapshot/evm-snapshots/ClientApprovalsSnapshotService.mjs +1 -1
  180. package/data-structures/snapshot/evm-snapshots/ClientCommitmentsSnapshotService.mjs +1 -1
  181. package/data-structures/snapshot/evm-snapshots/ClientNullifierSnapshotService.mjs +1 -1
  182. package/data-structures/snapshot/solana-snapshots/ClientSolanaAccessTokenSnapshotService.mjs +1 -1
  183. package/data-structures/snapshot/solana-snapshots/ClientSolanaCommitmentsSnapshotService.mjs +1 -1
  184. package/data-structures/snapshot/solana-snapshots/ClientSolanaNullifierSnapshotService.mjs +1 -1
  185. package/data-structures/token-price-fetcher/TokenChecker.mjs +1 -1
  186. package/data-structures/transactions-manager/history/history.types.mjs +1 -1
  187. package/data-structures/utxo/Utxo.mjs +1 -1
  188. package/error-handling/customErrors/ErrorWithAmount.mjs +1 -1
  189. package/error-handling/customErrors/ErrorWithIndex.mjs +1 -1
  190. package/error-handling/customErrors/ErrorWithTx.mjs +1 -1
  191. package/error-handling/customErrors/FeeOverTransactionValueError.mjs +1 -1
  192. package/error-handling/customErrors/SimulationFailureError.mjs +1 -1
  193. package/error-handling/customErrors/customErrors.helpers.mjs +1 -1
  194. package/error-handling/error-codes.constants.mjs +1 -1
  195. package/error-handling/get-error.message.mjs +1 -1
  196. package/error-handling/isInsufficientFundsError.mjs +1 -1
  197. package/error-handling/logError.mjs +1 -1
  198. package/error-handling/logger.mjs +1 -1
  199. package/error-handling/types.mjs +1 -1
  200. package/externalABIs/BUSD.mjs +1 -1
  201. package/externalABIs/DAI.mjs +1 -1
  202. package/externalABIs/NodeInterfaceABI.json.mjs +1 -1
  203. package/externalABIs/OptimismGasPriceOracle.json.mjs +1 -1
  204. package/externalABIs/SanctionsList.mjs +1 -1
  205. package/externalABIs/USDC.mjs +1 -1
  206. package/externalABIs/USDR.mjs +1 -1
  207. package/externalABIs/USDR3CRV.mjs +1 -1
  208. package/externalABIs/USDT.mjs +1 -1
  209. package/externalABIs/WETH.mjs +1 -1
  210. package/externalABIs/amToken.mjs +1 -1
  211. package/externalABIs/index.mjs +1 -1
  212. package/externalABIs/swapAbi.mjs +1 -1
  213. package/functions/auto-deposit-back-helpers/get-gas-token-records.mjs +1 -1
  214. package/functions/auto-deposit-back-helpers/get-tokens-to-deposit-back.mjs +1 -1
  215. package/functions/auto-deposit-back-helpers/select-gas-token.mjs +1 -1
  216. package/functions/auto-deposit-back-helpers/update-hinkal.mjs +1 -1
  217. package/functions/kyc/checkTokenLimitsUSD.mjs +1 -1
  218. package/functions/kyc/openDefaultPassportWindow.mjs +1 -1
  219. package/functions/kyc/passportHelper.mjs +1 -1
  220. package/functions/kyc/zkMeHelper.mjs +1 -1
  221. package/functions/pre-transaction/addressTableLookup.mjs +1 -1
  222. package/functions/pre-transaction/constructAdminData.mjs +1 -1
  223. package/functions/pre-transaction/convert-okx-instructions.mjs +1 -1
  224. package/functions/pre-transaction/ensureAmountChanges.mjs +1 -1
  225. package/functions/pre-transaction/getExternalSwapAddress.mjs +1 -1
  226. package/functions/pre-transaction/getFeeStructure.mjs +1 -1
  227. package/functions/pre-transaction/getFlatFees.mjs +1 -1
  228. package/functions/pre-transaction/getKycAndSignatureData.mjs +1 -1
  229. package/functions/pre-transaction/getSignatureDataForTransact.mjs +1 -1
  230. package/functions/pre-transaction/getSolanaCalldataHash.mjs +1 -1
  231. package/functions/pre-transaction/getVolatileTransferAmount.mjs +1 -1
  232. package/functions/pre-transaction/initTokenLimitIfNeeded.mjs +1 -1
  233. package/functions/pre-transaction/interaction-to-action.mjs +1 -1
  234. package/functions/pre-transaction/merge-with-fee-structure-emporium.mjs +1 -1
  235. package/functions/pre-transaction/merge-with-fee-structure.mjs +1 -1
  236. package/functions/pre-transaction/outputApprovalDataProcessing.mjs +1 -1
  237. package/functions/pre-transaction/outputUtxoProcessing.mjs +1 -1
  238. package/functions/pre-transaction/process-gas-estimates.mjs +1 -1
  239. package/functions/pre-transaction/recipientUtxoProcessing.mjs +1 -1
  240. package/functions/pre-transaction/sendInitNullifiersTransaction.mjs +1 -1
  241. package/functions/pre-transaction/sendV0Transaction.mjs +1 -1
  242. package/functions/pre-transaction/shouldPatchAccessTokenMerkleTree.mjs +1 -1
  243. package/functions/pre-transaction/solana-public-signals.mjs +1 -1
  244. package/functions/pre-transaction/solana.mjs +1 -1
  245. package/functions/pre-transaction/solanaTransfer.utils.mjs +1 -1
  246. package/functions/pre-transaction/store-instructions.mjs +1 -1
  247. package/functions/pre-transaction/store-proof.mjs +1 -1
  248. package/functions/pre-transaction/waitForDepositedUtxosInMerkleTree.mjs +1 -1
  249. package/functions/private-wallet/emporium.helpers.d.ts +1 -1
  250. package/functions/private-wallet/emporium.helpers.mjs +1 -1
  251. package/functions/private-wallet/emporium.swap.helpers.mjs +1 -1
  252. package/functions/private-wallet/opProducer.mjs +1 -1
  253. package/functions/snarkjs/common.snarkjs.mjs +1 -1
  254. package/functions/snarkjs/constant.mjs +1 -1
  255. package/functions/snarkjs/constructEmporiumProof.mjs +1 -1
  256. package/functions/snarkjs/constructGeneralZkProof.mjs +1 -1
  257. package/functions/snarkjs/constructSolanaZkProof.mjs +1 -1
  258. package/functions/snarkjs/fetchMerkleTreeSiblings.mjs +1 -1
  259. package/functions/snarkjs/fetchOnChainRootHashes.mjs +1 -1
  260. package/functions/snarkjs/generateCircomData.mjs +1 -1
  261. package/functions/snarkjs/generateZkProof.mjs +1 -1
  262. package/functions/snarkjs/generateZkProofEnclave.mjs +1 -1
  263. package/functions/snarkjs/generateZkProofSelf.mjs +1 -1
  264. package/functions/snarkjs/getMerkleTreeSiblingsAndRootHashes.mjs +1 -1
  265. package/functions/snarkjs/getOriginalSender.mjs +1 -1
  266. package/functions/snarkjs/getZKFiles.mjs +1 -1
  267. package/functions/utils/addresses.mjs +1 -1
  268. package/functions/utils/amounts.utils.mjs +1 -1
  269. package/functions/utils/arraysMatch.mjs +1 -1
  270. package/functions/utils/buildClaimableDepositPlan.mjs +1 -1
  271. package/functions/utils/bytes32.utils.mjs +1 -1
  272. package/functions/utils/cacheDevice.utils.mjs +1 -1
  273. package/functions/utils/cacheFunctions.mjs +1 -1
  274. package/functions/utils/caseInsensitive.utils.mjs +1 -1
  275. package/functions/utils/convertEmporiumOpToCallInfo.mjs +1 -1
  276. package/functions/utils/convertIntegrationProviderToExternalActionId.mjs +1 -1
  277. package/functions/utils/create-provider.cjs +1 -1
  278. package/functions/utils/create-provider.d.ts +1 -1
  279. package/functions/utils/create-provider.mjs +5 -7
  280. package/functions/utils/enclave-signature-storage.mjs +1 -1
  281. package/functions/utils/enclave-utxo-storage.mjs +1 -1
  282. package/functions/utils/encodeTokenWithId.mjs +1 -1
  283. package/functions/utils/encryptInputForEnclave.mjs +1 -1
  284. package/functions/utils/erc20tokenFunctions.mjs +1 -1
  285. package/functions/utils/evmNetworkFunctions.mjs +1 -1
  286. package/functions/utils/external-action.utils.mjs +1 -1
  287. package/functions/utils/fees.utils.mjs +1 -1
  288. package/functions/utils/get-signature-header.mjs +1 -1
  289. package/functions/utils/getBlockExplorerUrl.mjs +1 -1
  290. package/functions/utils/getContractAddress.mjs +1 -1
  291. package/functions/utils/getDataFromTransaction.mjs +1 -1
  292. package/functions/utils/getRecipientInfoFromUserKeys.mjs +1 -1
  293. package/functions/utils/getSignerFromContract.mjs +1 -1
  294. package/functions/utils/getUtxosFromReceipt.utils.mjs +1 -1
  295. package/functions/utils/getUtxosFromReceiptSolana.mjs +1 -1
  296. package/functions/utils/getWalletGroupKey.utils.mjs +1 -1
  297. package/functions/utils/inLogicMetadata.mjs +1 -1
  298. package/functions/utils/involves-permit2-op.mjs +1 -1
  299. package/functions/utils/ipfs.mjs +1 -1
  300. package/functions/utils/is-valid-url.mjs +1 -1
  301. package/functions/utils/merkleTree.utils.mjs +1 -1
  302. package/functions/utils/mutexes.utils.mjs +1 -1
  303. package/functions/utils/networks.utils.mjs +1 -1
  304. package/functions/utils/nftTokenFunctions.mjs +1 -1
  305. package/functions/utils/nickname.utils.mjs +1 -1
  306. package/functions/utils/postToOffscreen.mjs +1 -1
  307. package/functions/utils/prepareHinkal.mjs +1 -1
  308. package/functions/utils/process.utils.mjs +1 -1
  309. package/functions/utils/processUseApprovalUtxoData.mjs +1 -1
  310. package/functions/utils/proxyAvatar.utils.mjs +1 -1
  311. package/functions/utils/publicBalance.utils.mjs +1 -1
  312. package/functions/utils/reloadPage.mjs +1 -1
  313. package/functions/utils/requireEnv.mjs +1 -1
  314. package/functions/utils/resolve-sync.utils.mjs +1 -1
  315. package/functions/utils/rpc-int-encode.mjs +1 -1
  316. package/functions/utils/serialize-utxos.utils.mjs +1 -1
  317. package/functions/utils/serialize.utils.mjs +1 -1
  318. package/functions/utils/solanaMint.utils.mjs +1 -1
  319. package/functions/utils/string.utils.mjs +1 -1
  320. package/functions/utils/time.utils.mjs +1 -1
  321. package/functions/utils/token-check.utils.mjs +1 -1
  322. package/functions/utils/trimFieldValues.mjs +1 -1
  323. package/functions/utils/tron.utils.mjs +1 -1
  324. package/functions/utils/tronSimulation.utils.mjs +1 -1
  325. package/functions/utils/tx-confirmation.utils.d.ts +1 -1
  326. package/functions/utils/tx-confirmation.utils.mjs +1 -1
  327. package/functions/utils/upToDateState.mjs +1 -1
  328. package/functions/utils/userAgent.mjs +1 -1
  329. package/functions/utils/validateUsername.mjs +1 -1
  330. package/functions/utils/walletBalances.utils.mjs +1 -1
  331. package/functions/web3/EIP-712.mjs +1 -1
  332. package/functions/web3/connectors.utils.mjs +1 -1
  333. package/functions/web3/crypto.mjs +1 -1
  334. package/functions/web3/etherFunctions.mjs +1 -1
  335. package/functions/web3/events/balanceChangedCustomHandler.mjs +1 -1
  336. package/functions/web3/events/balanceChangedHandler.mjs +1 -1
  337. package/functions/web3/events/getApprovedBalance.mjs +1 -1
  338. package/functions/web3/events/getInputUtxoAndBalance.cjs +1 -1
  339. package/functions/web3/events/getInputUtxoAndBalance.d.ts +1 -1
  340. package/functions/web3/events/getInputUtxoAndBalance.mjs +16 -14
  341. package/functions/web3/events/getInputUtxosEnclave.mjs +1 -1
  342. package/functions/web3/events/getShieldedBalance.cjs +1 -1
  343. package/functions/web3/events/getShieldedBalance.mjs +2 -2
  344. package/functions/web3/events/getTransactionLogEvents.d.ts +5 -8
  345. package/functions/web3/events/getTransactionLogEvents.mjs +1 -1
  346. package/functions/web3/fetchSolanaMerkleTreeRootHash.mjs +1 -1
  347. package/functions/web3/functionCalls/accessTokenCalls.mjs +1 -1
  348. package/functions/web3/functionCalls/approveToken.mjs +1 -1
  349. package/functions/web3/functionCalls/approveTokensToHinkal.mjs +1 -1
  350. package/functions/web3/functionCalls/constructBatchCall.mjs +1 -1
  351. package/functions/web3/functionCalls/recoverTransactionFromError.mjs +1 -1
  352. package/functions/web3/functionCalls/transactCallDirect.mjs +1 -1
  353. package/functions/web3/functionCalls/transactCallDirectTron.mjs +1 -1
  354. package/functions/web3/functionCalls/transactCallRelayer.mjs +1 -1
  355. package/functions/web3/functionCalls/waitForErc20Approvals.mjs +1 -1
  356. package/functions/web3/getContractMetadata.mjs +1 -1
  357. package/functions/web3/getPublicAddressBalance.mjs +1 -1
  358. package/functions/web3/getSolanaPriorityFee.mjs +1 -1
  359. package/functions/web3/getTokenHolder.mjs +1 -1
  360. package/functions/web3/lifiAPI.mjs +1 -1
  361. package/functions/web3/odosAPI.mjs +1 -1
  362. package/functions/web3/okxAPI.mjs +1 -1
  363. package/functions/web3/oneInchAPI.mjs +1 -1
  364. package/functions/web3/runContractFunction.mjs +1 -1
  365. package/functions/web3/signAndSendSerializedTransaction.mjs +1 -1
  366. package/functions/web3/tron-wagmi-adapter.mjs +1 -1
  367. package/functions/web3/uniswapAPI.mjs +1 -1
  368. package/mutexes/mutex.mjs +1 -1
  369. package/package.json +1 -1
  370. package/providers/CustomSolanaConnection.mjs +1 -1
  371. package/providers/EthersProviderAdapter.mjs +1 -1
  372. package/providers/SolanaProviderAdapter.mjs +1 -1
  373. package/providers/TronProviderAdapter.mjs +1 -1
  374. package/providers/WagmiProviderAdapter.mjs +1 -1
  375. package/providers/prepareEthersHinkal.mjs +1 -1
  376. package/providers/prepareSolanaHinkal.mjs +1 -1
  377. package/providers/prepareTronHinkal.mjs +1 -1
  378. package/providers/prepareWagmiHinkal.mjs +1 -1
  379. package/types/RewardUserEnums.mjs +1 -1
  380. package/types/activities.types.mjs +1 -1
  381. package/types/admin.types.mjs +1 -1
  382. package/types/approvals.types.mjs +1 -1
  383. package/types/balances.types.mjs +1 -1
  384. package/types/cache.types.mjs +1 -1
  385. package/types/circom-data.types.mjs +1 -1
  386. package/types/confirmation-request.types.mjs +1 -1
  387. package/types/eip5792.types.mjs +1 -1
  388. package/types/ethereum-network.types.mjs +1 -1
  389. package/types/events.types.mjs +1 -1
  390. package/types/external-action.types.mjs +1 -1
  391. package/types/fee.types.mjs +1 -1
  392. package/types/generatePoints.mjs +1 -1
  393. package/types/hinkal.types.mjs +1 -1
  394. package/types/kyc.types.mjs +1 -1
  395. package/types/new-rewards.type.mjs +1 -1
  396. package/types/offscreen.types.mjs +1 -1
  397. package/types/onramp.types.mjs +1 -1
  398. package/types/pay-activities.types.mjs +1 -1
  399. package/types/rewards.types.mjs +1 -1
  400. package/types/schedule.types.mjs +1 -1
  401. package/types/scheduled-transactions.types.mjs +1 -1
  402. package/types/slippage.types.mjs +1 -1
  403. package/types/token-prices.types.mjs +1 -1
  404. package/types/token.types.mjs +1 -1
  405. package/types/transaction.types.mjs +1 -1
  406. package/webworker/performTaskWithWorker.mjs +1 -1
  407. package/webworker/snarkjsWorker/snarkjsWorker.types.mjs +1 -1
  408. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.cjs +1 -1
  409. package/webworker/snarkjsWorker/snarkjsWorkerLauncher.ts?worker&url.mjs +2 -2
  410. package/webworker/snarkjsWorker/snarkjsWorkerLogic.mjs +1 -1
  411. package/webworker/utxoWorker/utxoWorker.types.mjs +1 -1
  412. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.cjs +1 -1
  413. package/webworker/utxoWorker/utxoWorkerLauncher.ts?worker&url.mjs +2 -2
  414. package/webworker/utxoWorker/utxoWorkerLogic.mjs +1 -1
  415. package/webworker/worker.registry.mjs +1 -1
  416. package/webworker/workerFactory.mjs +1 -1
  417. package/webworker/workerProxy.mjs +1 -1
  418. package/webworker/zkProofWorker/zkProofWorker.types.mjs +1 -1
  419. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.cjs +1 -1
  420. package/webworker/zkProofWorker/zkProofWorkerLauncher.ts?worker&url.mjs +2 -2
  421. package/webworker/zkProofWorker/zkProofWorkerLogic.mjs +1 -1
  422. package/providers/CustomEthersProvider.cjs +0 -1
  423. package/providers/CustomEthersProvider.mjs +0 -28
package/API/API.mjs CHANGED
@@ -31,7 +31,7 @@ import { reservePrivateSendNonceRange as ge, syncPrivateSendNonce as _e } from "
31
31
  import { getSnapshotServerEvents as ve } from "./snapshot-event-calls.mjs";
32
32
  import { sendPrivateSendEmailNotifications as ye } from "./privateSendEmailNotificationsCalls.mjs";
33
33
  import { checkTronSubsidyEligibility as be, recordTronSubsidyUsage as xe } from "./tronSubsidyCalls.mjs";
34
- //#region ../shared/common/src/API/API.ts
34
+ //#region libs/shared/common/src/API/API.ts
35
35
  var Se = {
36
36
  getUserKycStatus: o,
37
37
  setAiPriseVerificationUrl: c,
@@ -3,7 +3,7 @@ import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
5
  import { getSignatureHeader as r } from "../functions/utils/get-signature-header.mjs";
6
- //#region ../shared/common/src/API/accessCodeCalls.ts
6
+ //#region libs/shared/common/src/API/accessCodeCalls.ts
7
7
  var i = async ({ accessCode: i, ethereumAddress: a, signature: o, proxyAddress: s }) => n.post(`${t}${e.submitAccessCode}`, {
8
8
  accessCode: i,
9
9
  ethereumAddress: a,
@@ -2,7 +2,7 @@ import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/admin-calls.ts
5
+ //#region libs/shared/common/src/API/admin-calls.ts
6
6
  var r = (r) => n.post(`${t}${e.emitTxPublicData}`, { adminData: r }), i = (r) => n.post(`${t}${e.emitReferralTx}`, r);
7
7
  //#endregion
8
8
  export { i as emitReferralTx, r as emitTxPublicData };
@@ -3,7 +3,7 @@ import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
5
  import { getSignatureHeader as r } from "../functions/utils/get-signature-header.mjs";
6
- //#region ../shared/common/src/API/brotherhoodCalls.ts
6
+ //#region libs/shared/common/src/API/brotherhoodCalls.ts
7
7
  var i = async ({ brotherhoodId: r }) => await n.get(`${t}${e.getBrotherhood(r)}`), a = async (r) => await n.get(`${t}${e.getBrotherhoodUsers(r)}`), o = async (r) => await n.get(`${t}${e.getCurrentUserBrotherhoodUsers(r)}`), s = async (i) => await n.patch(`${t}${e.editBrotherhood}`, i, r(i.signature)), c = async (i) => await n.post(`${t}${e.createBrotherhood}`, i, r(i.signature)), l = async ({ ethereumAddress: r }) => await n.post(`${t}${e.getCurrentUserBrotherhood}`, { ethereumAddress: r }), u = async () => await n.get(`${t}${e.getPublicBrotherhoods}`), d = async ({ brotherhoodId: i, transferEthereumAddress: a, ethereumAddress: o, signature: s, proxyAddress: c }) => await n.patch(`${t}${e.leaveBrotherhood(i)}`, {
8
8
  transferEthereumAddress: a,
9
9
  ethereumAddress: o,
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/callLifiAPI.ts
5
+ //#region libs/shared/common/src/API/callLifiAPI.ts
6
6
  var r = async (r) => n.post(`${t}${e.ROUTES.callLifiAPI}`, r);
7
7
  //#endregion
8
8
  export { r as callLifiAPI };
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/callMonitor.ts
5
+ //#region libs/shared/common/src/API/callMonitor.ts
6
6
  var r = (r) => n.post(`${t}${e.ROUTES.monitor}`, { address: r });
7
7
  //#endregion
8
8
  export { r as monitor };
@@ -3,7 +3,7 @@ import { API_CONFIG as t } from "../constants/server.constants.mjs";
3
3
  import { SERVER_URL as n } from "./getServerURL.mjs";
4
4
  import { httpClient as r } from "../data-structures/http/HttpClient.mjs";
5
5
  import "../data-structures/http/index.mjs";
6
- //#region ../shared/common/src/API/callOdosAPI.ts
6
+ //#region libs/shared/common/src/API/callOdosAPI.ts
7
7
  async function i(i, a) {
8
8
  return [e.base, e.localhost].includes(i) || (a.referralCode = "702077826"), r.post(`${n}${t.ROUTES.callOdosAPI}`, a);
9
9
  }
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/callOkxAPI.ts
5
+ //#region libs/shared/common/src/API/callOkxAPI.ts
6
6
  async function r(r) {
7
7
  return n.post(`${t}${e.ROUTES.callOkxAPI}`, r);
8
8
  }
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/callOneInchAPI.ts
5
+ //#region libs/shared/common/src/API/callOneInchAPI.ts
6
6
  var r = async (r, i) => {
7
7
  let a = new URLSearchParams();
8
8
  a.append("fromTokenAddress", i.fromTokenAddress), a.append("toTokenAddress", i.toTokenAddress), a.append("amount", `${i.amount}`), a.append("fromAddress", i.fromAddress), a.append("slippage", `${i.slippage}`), i.destReceiver && a.append("destReceiver", i.destReceiver), i.disableEstimate && a.append("disableEstimate", `${i.disableEstimate}`), i.allowPartialFill && a.append("allowPartialFill", `${i.allowPartialFill}`);
@@ -2,7 +2,7 @@ import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/callRelayer.ts
5
+ //#region libs/shared/common/src/API/callRelayer.ts
6
6
  async function r(r) {
7
7
  return n.post(`${t}${e.TRANSACT}`, r);
8
8
  }
package/API/checkRisk.mjs CHANGED
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/checkRisk.ts
5
+ //#region libs/shared/common/src/API/checkRisk.ts
6
6
  var r = async (r) => n.get(`${t}${e.ROUTES.checkRisk(r)}`);
7
7
  //#endregion
8
8
  export { r as checkRisk };
@@ -1,7 +1,7 @@
1
1
  import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
- //#region ../shared/common/src/API/deposit-and-withdraw-status-calls.ts
4
+ //#region libs/shared/common/src/API/deposit-and-withdraw-status-calls.ts
5
5
  var r = (r) => n.post(`${t}${e.updateDepositAndWithdrawStatus}`, r), i = async (e) => {
6
6
  if (e.id) try {
7
7
  return await r(e);
@@ -1,7 +1,7 @@
1
1
  import { httpClient as e } from "../data-structures/http/HttpClient.mjs";
2
2
  import "../data-structures/http/index.mjs";
3
3
  import { ENCLAVE_EC2_URL as t } from "../functions/snarkjs/constant.mjs";
4
- //#region ../shared/common/src/API/enclaveSignatureCalls.ts
4
+ //#region libs/shared/common/src/API/enclaveSignatureCalls.ts
5
5
  var n = async (n, r, i) => e.post(`${t}/store-signature`, {
6
6
  ethAddress: n,
7
7
  encryptedSignature: r,
@@ -2,7 +2,7 @@ import { httpClient as e } from "../data-structures/http/HttpClient.mjs";
2
2
  import "../data-structures/http/index.mjs";
3
3
  import { ENCLAVE_EC2_URL as t } from "../functions/snarkjs/constant.mjs";
4
4
  import { Mutex as n } from "async-mutex";
5
- //#region ../shared/common/src/API/enclaveUtxoCalls.ts
5
+ //#region libs/shared/common/src/API/enclaveUtxoCalls.ts
6
6
  var r = new n(), i = async (n, i, a) => r.runExclusive(async () => await e.post(`${t}/decrypt-utxos`, {
7
7
  chainId: n,
8
8
  input: a,
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SNAPSHOT_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/fetchCommitmentsCache.ts
5
+ //#region libs/shared/common/src/API/fetchCommitmentsCache.ts
6
6
  var r = async (r) => {
7
7
  let { commitments: i, accessTokens: a, nullifiers: o, approvals: s } = await n.get(`${t}${e.ROUTES.getSnapshots(r)}`), [c, l, u, d] = await Promise.all([
8
8
  n.get(i.url).then((e) => ({
@@ -3,7 +3,7 @@ import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
5
  import { getSignatureHeader as r } from "../functions/utils/get-signature-header.mjs";
6
- //#region ../shared/common/src/API/generate-trading-points.ts
6
+ //#region libs/shared/common/src/API/generate-trading-points.ts
7
7
  var i = async ({ tokenChanges: i, ethereumAddress: a, type: o, signature: s, appMetaData: c, chainId: l, proxyAddress: u }) => n.patch(`${t}${e.generateTradingPoints}`, {
8
8
  tokenChanges: i?.map(({ amount: e, ...t }) => ({
9
9
  ...t,
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/get-token-data.ts
5
+ //#region libs/shared/common/src/API/get-token-data.ts
6
6
  var r = async (r) => n.get(`${t}${e.ROUTES.getTokenData(r)}`);
7
7
  //#endregion
8
8
  export { r as getTokenData };
@@ -1,7 +1,7 @@
1
1
  import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
- //#region ../shared/common/src/API/get-token-price-chart-data.ts
4
+ //#region libs/shared/common/src/API/get-token-price-chart-data.ts
5
5
  var r = async (r, i) => await n.post(`${t}${e.getTokenPriceChartData}`, {
6
6
  chainId: r,
7
7
  erc20Address: i
@@ -1,6 +1,6 @@
1
1
  import { COINGECKO_API_KEY as e, coingeckoPriceUrl as t, coingeckoPriceUrl2 as n, coingeckoTokenListUrl as r, proHeader as i } from "../constants/coingecko.constants.mjs";
2
2
  import a from "axios";
3
- //#region ../shared/common/src/API/getCoingeckoPrice.ts
3
+ //#region libs/shared/common/src/API/getCoingeckoPrice.ts
4
4
  async function o(n) {
5
5
  return (await a.get(t(n), { headers: { [i]: e || "" } })).data[n];
6
6
  }
@@ -2,7 +2,7 @@ import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/getGasEstimates.ts
5
+ //#region libs/shared/common/src/API/getGasEstimates.ts
6
6
  var r = async (r, i, a, o, s, c, l) => n.post(`${t}${e.getGasEstimate(i, a, o, c)}`, {
7
7
  calls: s,
8
8
  solanaTransactionParams: l,
@@ -1,6 +1,6 @@
1
1
  import { DEPLOYMENT_MODE as e, deploymentMode as t } from "../constants/vite.constants.mjs";
2
2
  import { DATA_SERVER_URL_ENDPOINT as n, PLAYGROUND_URL as r, PRODUCTION_URL as i, RELAYER_URL_ENDPOINT as a, SERVER_URL_ENDPOINT as o, SNAPSHOT_SERVER_URL_ENDPOINT as s, STAGING_URL as c } from "../constants/server.constants.mjs";
3
- //#region ../shared/common/src/API/getServerURL.ts
3
+ //#region libs/shared/common/src/API/getServerURL.ts
4
4
  var l = () => {
5
5
  switch (t) {
6
6
  case e.DEVELOPMENT: return `${c}${o}`;
@@ -2,7 +2,7 @@ import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/getTokenPrice.ts
5
+ //#region libs/shared/common/src/API/getTokenPrice.ts
6
6
  var r = async (r, i) => await n.post(`${t}${e.getTokenPrices}`, {
7
7
  erc20Addresses: i,
8
8
  chainId: r
@@ -1,6 +1,6 @@
1
1
  import { DEPLOYMENT_MODE as e, deploymentMode as t } from "../constants/vite.constants.mjs";
2
2
  import "../constants/index.mjs";
3
- //#region ../shared/common/src/API/getWebsiteURL.ts
3
+ //#region libs/shared/common/src/API/getWebsiteURL.ts
4
4
  var n = "http://localhost:4230", r = "https://hinkal-playground-landing.netlify.app", i = "https://staging-hinkal-landing.netlify.app", a = "https://hinkal.pro", o = "http://localhost:4118", s = "https://hinkal-playground-onboarding.netlify.app", c = "https://staging-hinkal-onboarding.netlify.app", l = "https://onboarding.hinkal.pro", u = "http://localhost:4117", d = "https://hinkal-playground.netlify.app", f = "https://staging-hinkal-rewards.netlify.app", p = "https://rewards.hinkal.pro", m = "http://localhost:4116", h = "https://hinkal-playground-pay.netlify.app", g = "https://staging-hinkal-pay.netlify.app", _ = "https://pay.hinkal.pro", v = () => {
5
5
  switch (t) {
6
6
  case e.DEVELOPMENT: return n;
package/API/kycCalls.mjs CHANGED
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/kycCalls.ts
5
+ //#region libs/shared/common/src/API/kycCalls.ts
6
6
  async function r(r) {
7
7
  return n.post(`${t}${e.ROUTES.checkKycStatus}`, { ethereumAddress: r });
8
8
  }
@@ -2,7 +2,7 @@ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/leaderboardCalls.ts
5
+ //#region libs/shared/common/src/API/leaderboardCalls.ts
6
6
  var r = async ({ ethereumAddress: r }) => n.get(`${t}${e.getUserCurrentLeaderboard}`, { params: { ethereumAddress: r } }), i = async () => n.get(`${t}${e.getBrotherhoodsLeaderboard}`);
7
7
  //#endregion
8
8
  export { i as getBrotherhoodsLeaderboard, r as getUserCurrentLeaderboard };
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/onrampCalls.ts
5
+ //#region libs/shared/common/src/API/onrampCalls.ts
6
6
  var r = async (r) => {
7
7
  let { url: i } = await n.post(`${t}${e.ROUTES.encodeMoonPayBuyUrl}`, r);
8
8
  return i;
@@ -3,7 +3,7 @@ import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
5
  import { hashEthereumAddress as r } from "../functions/utils/addresses.mjs";
6
- //#region ../shared/common/src/API/privacy-score-calls.ts
6
+ //#region libs/shared/common/src/API/privacy-score-calls.ts
7
7
  var i = async ({ ethereumAddress: i }) => {
8
8
  let a = r(i);
9
9
  return n.get(`${t}${e.getPrivateTransactionsRatio(a)}`);
@@ -2,7 +2,7 @@ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/privateSendEmailNotificationsCalls.ts
5
+ //#region libs/shared/common/src/API/privateSendEmailNotificationsCalls.ts
6
6
  var r = async (r) => n.post(`${t}${e.sendPrivateSendEmailNotifications}`, r);
7
7
  //#endregion
8
8
  export { r as sendPrivateSendEmailNotifications };
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/privateSendNonceCalls.ts
5
+ //#region libs/shared/common/src/API/privateSendNonceCalls.ts
6
6
  var r = async (r, i) => n.post(`${t}${e.ROUTES.privateSendNonceSync}`, {
7
7
  hashedEthereumAddress: r,
8
8
  localNonce: i
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/privateSendRecipientInfoCalls.ts
5
+ //#region libs/shared/common/src/API/privateSendRecipientInfoCalls.ts
6
6
  var r = async (r) => n.post(`${t}${e.ROUTES.privateSendTopUpRecipientInfos}`, r), i = async (r) => n.post(`${t}${e.ROUTES.privateSendAllocateRecipientInfos}`, r);
7
7
  //#endregion
8
8
  export { i as allocatePrivateSendRecipientInfos, r as topUpPrivateSendRecipientInfos };
@@ -4,7 +4,7 @@ import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
5
  import { hashEthereumAddress as r } from "../functions/utils/addresses.mjs";
6
6
  import { ethers as i } from "ethers";
7
- //#region ../shared/common/src/API/proxyAccountsCalls.ts
7
+ //#region libs/shared/common/src/API/proxyAccountsCalls.ts
8
8
  var a = (e, t) => {
9
9
  let n = t.getShieldedPrivateKey(), r = `HinkalProxyAccounts|${e.toLowerCase()}|${n}`;
10
10
  return i.keccak256(i.toUtf8Bytes(r));
@@ -2,7 +2,7 @@ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/referralsCalls.ts
5
+ //#region libs/shared/common/src/API/referralsCalls.ts
6
6
  var r = async ({ ethereumAddress: r }) => n.get(`${t}${e.getCurrentUserReferral}`, { params: { ethereumAddress: r } }), i = async ({ referralCode: r, ethereumAddress: i }) => n.post(`${t}${e.submitReferralCode}`, {
7
7
  referralCode: r,
8
8
  ethereumAddress: i
@@ -2,7 +2,7 @@ import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/relayCalls.ts
5
+ //#region libs/shared/common/src/API/relayCalls.ts
6
6
  var r = async (r, i = !1) => await n.get(`${t}${e.getIdleRelay}?markAsPending=${i}&chainId=${r}`);
7
7
  //#endregion
8
8
  export { r as getIdleRelay };
@@ -1,5 +1,5 @@
1
1
  import { httpClient as e } from "../data-structures/http/HttpClient.mjs";
2
- //#region ../shared/common/src/API/resolve-sns.ts
2
+ //#region libs/shared/common/src/API/resolve-sns.ts
3
3
  var t = "https://sns-sdk-proxy.bonfida.workers.dev/resolve", n = async (n) => {
4
4
  try {
5
5
  let { result: r } = await e.get(`${t}/${n}`);
@@ -3,7 +3,7 @@ import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
5
  import { getSignatureHeader as r } from "../functions/utils/get-signature-header.mjs";
6
- //#region ../shared/common/src/API/rewardsUserCalls.ts
6
+ //#region libs/shared/common/src/API/rewardsUserCalls.ts
7
7
  var i = async (r) => await n.get(`${t}${e.getRewardsUser(r)}`), a = async (i, a, o) => await n.post(`${t}${e.connectRewardsUser}`, {
8
8
  ethereumAddress: i,
9
9
  proxyAddress: o
@@ -1,7 +1,7 @@
1
1
  import { RELAYER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { RELAYER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
- //#region ../shared/common/src/API/scheduled-transactions-calls.ts
4
+ //#region libs/shared/common/src/API/scheduled-transactions-calls.ts
5
5
  var r = (r, i) => n.post(`${t}${e.getScheduledTransactions}`, {
6
6
  isSolana: r,
7
7
  hashedEthereumAddress: i
@@ -2,7 +2,7 @@ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/seedless-calls.ts
5
+ //#region libs/shared/common/src/API/seedless-calls.ts
6
6
  var r = async (r) => n.post(`${t}${e.seedlessInit}`, r), i = async (r) => n.post(`${t}${e.seedlessBackup}`, r), a = async (r) => n.post(`${t}${e.seedlessStatus}`, r), o = async (r) => n.post(`${t}${e.seedlessCheckPassword}`, r), s = async (r) => n.post(`${t}${e.seedlessSalt}`, r);
7
7
  //#endregion
8
8
  export { i as seedlessBackup, o as seedlessCheckPassword, r as seedlessInit, s as seedlessSalt, a as seedlessStatus };
@@ -2,7 +2,7 @@ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/send-telegram-callback.ts
5
+ //#region libs/shared/common/src/API/send-telegram-callback.ts
6
6
  var r = async ({ ethereumAddress: r, telegramUser: i }) => await n.post(`${t}${e.getTelegramCallback}`, {
7
7
  ethereumAddress: r,
8
8
  telegramUser: i
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/simulate-batch-tx.ts
5
+ //#region libs/shared/common/src/API/simulate-batch-tx.ts
6
6
  var r = async (r, i) => await n.post(`${t}${e.ROUTES.simulateBatchTx}`, {
7
7
  chainId: r,
8
8
  batchCalls: i
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/simulate-transaction.ts
5
+ //#region libs/shared/common/src/API/simulate-transaction.ts
6
6
  var r = async (r, i) => n.post(`${t}${e.ROUTES.simulateTransaction}`, {
7
7
  chainId: r,
8
8
  txParameters: i
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SNAPSHOT_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/snapshot-event-calls.ts
5
+ //#region libs/shared/common/src/API/snapshot-event-calls.ts
6
6
  var r = async (r, i, a) => await n.get(`${t}${e.ROUTES.getSnapshotServerEvents}`, { params: {
7
7
  chainId: r,
8
8
  eventCategory: i,
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/solana-calls.ts
5
+ //#region libs/shared/common/src/API/solana-calls.ts
6
6
  var r = async (r) => n.post(`${t}${e.ROUTES.generateProoflessDepositLimitless}`, r), i = async (r) => n.post(`${t}${e.ROUTES.generateMultiPaymentDepositLimitless}`, r), a = async (r) => n.post(`${t}${e.ROUTES.generateAddAccessToken}`, r);
7
7
  //#endregion
8
8
  export { a as generateAddAccessToken, i as generateMultiPaymentDepositLimitless, r as generateProoflessDepositLimitless };
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/temporaryWalletCalls.ts
5
+ //#region libs/shared/common/src/API/temporaryWalletCalls.ts
6
6
  var r = async (r, i) => n.get(`${t}${e.ROUTES.getTemporaryWalletNonces(i, r)}`), i = async (r, i, a) => n.post(`${t}${e.ROUTES.addTemporaryWalletNonce}`, {
7
7
  hashedEthereumAddress: i,
8
8
  chainId: r,
@@ -1,7 +1,7 @@
1
1
  import { chainIds as e } from "../constants/chains.constants.mjs";
2
2
  import { httpClient as t } from "../data-structures/http/HttpClient.mjs";
3
3
  import "../data-structures/http/index.mjs";
4
- //#region ../shared/common/src/API/tenderly.api.ts
4
+ //#region libs/shared/common/src/API/tenderly.api.ts
5
5
  var n = "7o1iPUgCIjLI0rSxj2yuz9-Z3052uUc4", r = "https://api.tenderly.co/api/v1/account/hinkal-org/project/project", i = { "X-Access-Key": n }, a = async (e) => await t.post(`${r}/simulate`, { ...e }, { headers: i }), o = {
6
6
  [e.optimism]: "https://optimism.gateway.tenderly.co/2A3r4RCMoAZVmQOpNqRO29",
7
7
  [e.base]: "https://base.gateway.tenderly.co/73UtIBn1YiCyhqRJuKTkWl",
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/token-calls.ts
5
+ //#region libs/shared/common/src/API/token-calls.ts
6
6
  var r = async (r, i, a = !1) => await n.post(`${t}${e.ROUTES.getTokensInfo}`, {
7
7
  chainId: r,
8
8
  tokenAddresses: i,
@@ -2,7 +2,7 @@ import { API_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/tronSubsidyCalls.ts
5
+ //#region libs/shared/common/src/API/tronSubsidyCalls.ts
6
6
  var r = async (r) => n.get(`${t}${e.ROUTES.tronSubsidyEligibility}?ethereumAddress=${encodeURIComponent(r)}`), i = async (r) => n.post(`${t}${e.ROUTES.tronSubsidyRecord}`, r);
7
7
  //#endregion
8
8
  export { r as checkTronSubsidyEligibility, i as recordTronSubsidyUsage };
@@ -2,7 +2,7 @@ import { DATA_SERVER_CONFIG as e } from "../constants/server.constants.mjs";
2
2
  import { DATA_SERVER_URL as t } from "./getServerURL.mjs";
3
3
  import { httpClient as n } from "../data-structures/http/HttpClient.mjs";
4
4
  import "../data-structures/http/index.mjs";
5
- //#region ../shared/common/src/API/weeklyAnalyticCalls.ts
5
+ //#region libs/shared/common/src/API/weeklyAnalyticCalls.ts
6
6
  var r = async ({ ethereumAddress: r }) => await n.get(`${t}${e.getUserAnalytics}`, { params: { ethereumAddress: r } }), i = async ({ brotherhoodId: r, ethereumAddress: i }) => await n.get(`${t}${e.getBrotherhoodAnalytics}`, { params: {
7
7
  brotherhoodId: r,
8
8
  ethereumAddress: i
@@ -1,6 +1,6 @@
1
1
  import { ActivityTypes as e } from "../types/activities.types.mjs";
2
2
  import "../types/index.mjs";
3
- //#region ../shared/common/src/constants/activity.constants.ts
3
+ //#region libs/shared/common/src/constants/activity.constants.ts
4
4
  var t = [
5
5
  e.SHIELD,
6
6
  e.RECIEVE,
@@ -1,7 +1,7 @@
1
1
  import { ExternalActionId as e } from "../types/external-action.types.mjs";
2
2
  import { chainIds as t } from "./chains.constants.mjs";
3
3
  import "../types/index.mjs";
4
- //#region ../shared/common/src/constants/addresses.constants.ts
4
+ //#region libs/shared/common/src/constants/addresses.constants.ts
5
5
  var n = "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", r = {
6
6
  [e.Uniswap]: {
7
7
  [t.ethMainnet]: "0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45",
@@ -1,4 +1,4 @@
1
- //#region ../shared/common/src/constants/assets.constants.ts
1
+ //#region libs/shared/common/src/constants/assets.constants.ts
2
2
  var e = "https://d1nvbznp963lfd.cloudfront.net/assets/", t = {
3
3
  CHEVRON: `${e}Chevron.svg`,
4
4
  MOON: `${e}Moon.svg`,
@@ -1,4 +1,4 @@
1
- //#region ../shared/common/src/constants/backend.constants.ts
1
+ //#region libs/shared/common/src/constants/backend.constants.ts
2
2
  var e = {
3
3
  polygon: "polygon",
4
4
  bnbMainnet: "bnbMainnet",
@@ -1,4 +1,4 @@
1
- //#region ../shared/common/src/constants/balance.constants.ts
1
+ //#region libs/shared/common/src/constants/balance.constants.ts
2
2
  var e = 6;
3
3
  //#endregion
4
4
  export { e as MAX_DISPLAY_DECIMALS };
@@ -1,4 +1,4 @@
1
- //#region ../shared/common/src/constants/bridging.constants.ts
1
+ //#region libs/shared/common/src/constants/bridging.constants.ts
2
2
  var e = {
3
3
  DEFILLAMA: "https://api.llama.fi/protocols",
4
4
  CHAINLIST: "https://chainid.network/chains.json",
@@ -9,7 +9,7 @@ import s from "./deploy-data/deploy-data-solana.json.mjs";
9
9
  import c from "./deploy-data/deploy-data-tronNile.json.mjs";
10
10
  import l from "./deploy-data/deploy-data-tronMainnet.json.mjs";
11
11
  import { isDevelopment as u, isNotProduction as d } from "./vite.constants.mjs";
12
- //#region ../shared/common/src/constants/chains.constants.ts
12
+ //#region libs/shared/common/src/constants/chains.constants.ts
13
13
  var f = {
14
14
  polygon: 137,
15
15
  arbMainnet: 42161,
@@ -1,5 +1,5 @@
1
1
  import { chainIds as e, getNonLocalhostChainId as t } from "./chains.constants.mjs";
2
- //#region ../shared/common/src/constants/coingecko.constants.ts
2
+ //#region libs/shared/common/src/constants/coingecko.constants.ts
3
3
  var n = "https://api.coingecko.com/api/v3", r = "https://pro-api.coingecko.com/api/v3", i = typeof window < "u" ? "" : process.env.COINGECKO_API_KEY, a = "x-cg-pro-api-key", o = i ? r : n, s = (e) => `${o}/simple/price?ids=${e}&vs_currencies=USD,ETH`, c = (e, t) => `${o}/simple/token_price/${t}?contract_addresses=${e}&vs_currencies=USD`, l = (e) => `${o}/coins/${e}`, u = (e) => `${o}/search?query=${encodeURIComponent(e)}`, d = (e, t) => `${r}/coins/${e}/contract/${t}`, f = (e, t) => `${r}/coins/${e}/market_chart?vs_currency=usd&days=${t}&interval=daily`, p = `${r}/coins/list`, m = {
4
4
  [e.arbMainnet]: "ethereum",
5
5
  [e.localhost]: "ethereum",
@@ -8,7 +8,7 @@ import { ERC1155ABI as s, ERC721ABI as c } from "../externalABIs/index.mjs";
8
8
  import l from "../externalABIs/IUniswapV3Pool.json.mjs";
9
9
  import u from "../externalABIs/UniswapV2PoolAbi.json.mjs";
10
10
  import { ethers as d } from "ethers";
11
- //#region ../shared/common/src/constants/contracts.constants.ts
11
+ //#region libs/shared/common/src/constants/contracts.constants.ts
12
12
  var f = { abi: o.abi }, p = { abi: l.abi }, m = { abi: u.abi }, h = { abi: a.abi }, g = {
13
13
  [e.HinkalContract]: (e) => ({
14
14
  abi: e.hinkalABI,
@@ -1,4 +1,4 @@
1
- //#region ../shared/common/src/constants/conversion.constants.ts
1
+ //#region libs/shared/common/src/constants/conversion.constants.ts
2
2
  var e = 3;
3
3
  //#endregion
4
4
  export { e as APPROVED_UTXO_CONVERSION_COUNT };