@gurge/sdk 0.3.8 → 0.3.10

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.
@@ -1 +1 @@
1
- const e=require(`../constants/vite.constants.cjs`),t=require(`../constants/server.constants.cjs`);var n=(()=>{switch(e.deploymentMode){case e.DEPLOYMENT_MODE.DEVELOPMENT:return t.STAGING_URL;case e.DEPLOYMENT_MODE.PLAYGROUND:return t.PLAYGROUND_URL;case e.DEPLOYMENT_MODE.STAGING:return t.STAGING_URL;case e.DEPLOYMENT_MODE.PRODUCTION:return t.PRODUCTION_URL;default:return t.PRODUCTION_URL}})(),r=()=>`${n}${t.SERVER_URL_ENDPOINT}`,i=()=>`${n}${t.RELAYER_URL_ENDPOINT}`,a=()=>`${n}${t.SNAPSHOT_SERVER_URL_ENDPOINT}`,o=()=>`${n}${t.DATA_SERVER_URL_ENDPOINT}`,s=()=>`${n}${t.FUND_COMPLIANCE_URL_ENDPOINT}`,c=()=>{switch(e.deploymentMode){case e.DEPLOYMENT_MODE.DEVELOPMENT:return t.ENCLAVE_API_STAGING_URL;case e.DEPLOYMENT_MODE.PLAYGROUND:return t.ENCLAVE_API_STAGING_URL;case e.DEPLOYMENT_MODE.STAGING:return t.ENCLAVE_API_STAGING_URL;case e.DEPLOYMENT_MODE.PRODUCTION:return t.ENCLAVE_API_PRODUCTION_URL;default:return t.ENCLAVE_API_PRODUCTION_URL}},l=r(),u=i(),d=a(),f=o();s(),c(),exports.BACK_END_URL=n,exports.DATA_SERVER_URL=f,exports.RELAYER_URL=u,exports.SERVER_URL=l,exports.SNAPSHOT_SERVER_URL=d;
1
+ const e=require(`../constants/vite.constants.cjs`),t=require(`../constants/server.constants.cjs`);var n=(()=>{switch(e.deploymentMode){case e.DEPLOYMENT_MODE.DEVELOPMENT:return t.STAGING_URL;case e.DEPLOYMENT_MODE.PLAYGROUND:return t.PLAYGROUND_URL;case e.DEPLOYMENT_MODE.STAGING:return t.STAGING_URL;case e.DEPLOYMENT_MODE.PRODUCTION:return t.PRODUCTION_URL;default:return t.PRODUCTION_URL}})(),r=()=>t.SERVER_URL_LOCAL,i=()=>`${n}${t.RELAYER_URL_ENDPOINT}`,a=()=>`${n}${t.SNAPSHOT_SERVER_URL_ENDPOINT}`,o=()=>`${n}${t.DATA_SERVER_URL_ENDPOINT}`,s=()=>`${n}${t.FUND_COMPLIANCE_URL_ENDPOINT}`,c=()=>{switch(e.deploymentMode){case e.DEPLOYMENT_MODE.DEVELOPMENT:return t.ENCLAVE_API_STAGING_URL;case e.DEPLOYMENT_MODE.PLAYGROUND:return t.ENCLAVE_API_STAGING_URL;case e.DEPLOYMENT_MODE.STAGING:return t.ENCLAVE_API_STAGING_URL;case e.DEPLOYMENT_MODE.PRODUCTION:return t.ENCLAVE_API_PRODUCTION_URL;default:return t.ENCLAVE_API_PRODUCTION_URL}},l=r(),u=i(),d=a(),f=o();s(),c(),exports.BACK_END_URL=n,exports.DATA_SERVER_URL=f,exports.RELAYER_URL=u,exports.SERVER_URL=l,exports.SNAPSHOT_SERVER_URL=d;
@@ -1,5 +1,5 @@
1
1
  import { DEPLOYMENT_MODE as e, deploymentMode as t } from "../constants/vite.constants.mjs";
2
- import { DATA_SERVER_URL_ENDPOINT as n, ENCLAVE_API_PRODUCTION_URL as r, ENCLAVE_API_STAGING_URL as i, FUND_COMPLIANCE_URL_ENDPOINT as a, PLAYGROUND_URL as o, PRODUCTION_URL as s, RELAYER_URL_ENDPOINT as c, SERVER_URL_ENDPOINT as l, SNAPSHOT_SERVER_URL_ENDPOINT as u, STAGING_URL as d } from "../constants/server.constants.mjs";
2
+ import { DATA_SERVER_URL_ENDPOINT as n, ENCLAVE_API_PRODUCTION_URL as r, ENCLAVE_API_STAGING_URL as i, FUND_COMPLIANCE_URL_ENDPOINT as a, PLAYGROUND_URL as o, PRODUCTION_URL as s, RELAYER_URL_ENDPOINT as c, SERVER_URL_LOCAL as l, SNAPSHOT_SERVER_URL_ENDPOINT as u, STAGING_URL as d } from "../constants/server.constants.mjs";
3
3
  var f = (() => {
4
4
  switch (t) {
5
5
  case e.DEVELOPMENT: return d;
@@ -8,7 +8,7 @@ var f = (() => {
8
8
  case e.PRODUCTION: return s;
9
9
  default: return s;
10
10
  }
11
- })(), p = () => `${f}${l}`, m = () => `${f}${c}`, h = () => `${f}${u}`, g = () => `${f}${n}`, _ = () => `${f}${a}`, v = () => {
11
+ })(), p = () => l, m = () => `${f}${c}`, h = () => `${f}${u}`, g = () => `${f}${n}`, _ = () => `${f}${a}`, v = () => {
12
12
  switch (t) {
13
13
  case e.DEVELOPMENT: return i;
14
14
  case e.PLAYGROUND: return i;
@@ -1 +1 @@
1
- const e=require(`./vite.constants.cjs`),t=require(`../types/new-rewards.type.cjs`);require(`../types/index.cjs`);var n={ROUTES:{checkKycStatus:`/check-kyc-status`,startReclaimVerification:`/start-reclaim-verification`,startUserVerification:`/start-aiprise-verification`,zkMeAccessToken:`/zkMeAccessToken`,getSnapshots:e=>`/snapshots/${e}`,getMerkleTreeSiblings:`/merkle-tree-siblings`,getSnapshotServerEvents:`/events`,callOdosAPI:`/OdosSwapData`,callOneInchAPI:`/OneInchSwapData`,callLifiAPI:`/LifiBridgeData`,callOkxAPI:`/OkxSwapData`,callNearIntentsQuote:`/near-intents/quote`,callNearIntentsTokens:`/near-intents/tokens`,getOdosPriceForToken:(e,t)=>`/getOdosPriceForToken/${e}/${t}`,monitor:`/monitor`,monitorBatch:`/monitor/batch`,checkRisk:e=>`/check-risk/${e}`,simulateTransaction:`/simulate-transaction`,simulateBatchTx:`/simulate-batch-tx`,simulateVolatileTokenTransfer:`/simulate-volatile-token-transfer`,getTokensInfo:`/get-tokens-info`,getTokensForChain:`/get-tokens-for-chain`,getTokenBySymbol:`/get-token-by-symbol`,getTokenData:e=>`/get-token-data/${e}`,getProxyAccounts:e=>`/get-proxy-accounts/${e}`,updateProxyAccounts:`/update-proxy-accounts`,getTemporaryWalletNonces:(e,t)=>`/temporary-wallets/nonces/${e}/${t}`,addTemporaryWalletNonce:`/temporary-wallets/add-nonce`,removeTemporaryWalletNonce:`/temporary-wallets/remove-nonce`,encodeMoonPayBuyUrl:`/moonpay-buy-url`,getMoonPayQuote:`/moonpay-quote`,privateSendTopUpRecipientInfos:`/private-send-recipient-info/top-up`,privateSendAllocateRecipientInfos:`/private-send-recipient-info/allocate`,privateSendNonceSync:`/private-send-nonce/sync`,privateSendNonceReserve:`/private-send-nonce/reserve`,getDashboardAccount:`/get-dashboard-account`,updateDashboardAccount:`/update-dashboard-account`,deleteDashboardAccount:`/delete-dashboard-account`,updateUserProfile:`/update-user-profile`,addDashboardContact:`/add-dashboard-contact`,deleteDashboardContact:`/delete-dashboard-contact`,updateDashboardContact:`/update-dashboard-contact`,getDashboardContacts:`/get-dashboard-contacts`,sendDashboardInvitationEmail:`/send-dashboard-invitation-email`,removeMember:`/remove-member`,editMember:`/edit-member`,createDashboardPayout:`/create-dashboard-payout`,getDashboardPayouts:`/get-dashboard-payouts`,syncDashboardBalances:`/sync-dashboard-balances`,getDashboardBalances:`/get-dashboard-balances`,changePayoutStatus:`/change-payout-status`,getDashboardTransactions:`/get-dashboard-transactions`,createDashboardTransactions:`/create-dashboard-transactions`,tronSubsidyEligibility:`/tron-subsidy/eligibility`,tronSubsidyRecord:`/tron-subsidy/record`,privateSendRecipientInfoGetAny:`/private-send-recipient-info/get-any`}},r={getGasEstimate:(e,t,n,r)=>`/gas-estimation/${e}/${n}/${t}/${r}`,getTokenPrices:`/get-token-prices`,TRANSACT:`/general-transact`,TRANSACT_BATCH:`/general-transact-batch`,SOLANA_TRANSACT:`/solana-transact`,SOLANA_TRANSACT_BATCH:`/solana-transact-batch`,getIdleRelay:`/get-idle-relay`,emitTxPublicData:`/emit-tx-public-data`,emitReferralTx:`/emit-referral-tx`,getScheduledTransactions:`/scheduled-transactions`,getScheduledTransactionById:e=>`/scheduled-transactions/${e}`,getScheduledTransactionsNullifierIndexes:`/scheduled-transactions/nullifier-indexes`,updateDepositAndWithdrawStatus:`/update-deposit-and-withdraw-status`,getTokenPriceChartData:`/get-token-price-chart-data`,getTokenPreviousDayPrices:`/get-token-previous-day-prices`,getPrivateTransactionsRatio:e=>`/get-private-transactions-ratio/${e}`,savePrivacyScoreAndGetPrivacyRank:`/save-privacy-score-and-get-privacy-rank`},i=[t.TaskTypes.firstSwap,t.TaskTypes.reclaim,t.TaskTypes.dailySwap,t.TaskTypes.dailyDappTx,t.TaskTypes.createOrJoinBH,t.TaskTypes.shieldUnshield,t.TaskTypes.moneyComes];t.TaskTypes.discord,t.TaskTypes.telegram,{...Object.fromEntries(i.map(e=>[e,e=>`/verify/wallet-task/${e}`]))};var a={createPresaleReferral:`/create-presale-referral`,updatePresaleReferralList:`/update-presale-referral-list`,generateTradingPoints:`/generate-trading-points`,getBrotherhoodUsers:e=>`/brotherhoods/${e}/users`,getCurrentUserBrotherhoodUsers:e=>`/get-current-user-brotherhood-users/${e}`,editBrotherhood:`/edit-brotherhood`,createBrotherhood:`/create-brotherhood`,getCurrentUserBrotherhood:`/get-current-user-brotherhood`,getPublicBrotherhoods:`/get-public-brotherhoods`,getBrotherhood:e=>`/brotherhoods/${e}`,leaveBrotherhood:e=>`/brotherhoods/${e}/leave`,joinBrotherhood:e=>`/brotherhoods/${e}/join`,getUserAnalytics:`/get-user-analytics`,getBrotherhoodAnalytics:`/brotherhood/analytics`,connectRewardsUser:`/connect-user`,updateRewardsUser:`/update-rewards-user`,getRewardsUser:e=>`/get-rewards-user/${e}`,checkUsernameAvailability:e=>`/check-username/${encodeURIComponent(e)}`,getSwapStreak:`/swap-streak`,getUserCurrentLeaderboard:`/current-users-leaderboard`,getBrotherhoodsLeaderboard:`/brotherhoods-leaderboard`,getCurrentUserReferral:`/current-user-referral`,submitReferralCode:`/refer-user`,getCurrentUserAppliedReferralCode:`/current-user-applied-referral-code`,submitAccessCode:`/submit-access-code`,getAccessCodeBenefits:`/get-access-code-benefits`,getTelegramCallback:`/auth/telegram/callback`,generateAumPoints:`/generate-aum-points`,getTasksProgress:e=>`/get-tasks-progress/${e}`,disconnectSocialNetwork:`/disconnect-social-network`,getNftMultiplier:e=>`/get-nft-multiplier/${e}`,seedlessInit:`/seedless/init`,seedlessBackup:`/seedless/backup`,seedlessCheckPassword:`/seedless/check-password`,seedlessStatus:`/seedless/status`,seedlessSalt:`/seedless/salt`,sendPrivateSendEmailNotifications:`/private-send-email-notifications`,webflowBlogPosts:`/webflow-blog-posts`,brevoSubscribe:`/brevo-subscribe`,versionChecker:e=>`/version-checker/${e}`};e.isNotProduction?e.deploymentMode:`${e.deploymentMode}`;var o=`https://wallet-playground.hinkal.io`,s=`https://wallet-staging.hinkal.io`,c=`https://wallet-prodv12.hinkal.io`,l=`/server`,u=`/relayer`,d=`/snapshot-server`,f=`/data-server`,p=`/compliance-server`,m=`https://api-staging.hinkal.io`,h=`https://api.hinkal.io`;exports.API_CONFIG=n,exports.DATA_SERVER_CONFIG=a,exports.DATA_SERVER_URL_ENDPOINT=f,exports.ENCLAVE_API_PRODUCTION_URL=h,exports.ENCLAVE_API_STAGING_URL=m,exports.FUND_COMPLIANCE_URL_ENDPOINT=p,exports.PLAYGROUND_URL=o,exports.PRODUCTION_URL=c,exports.RELAYER_CONFIG=r,exports.RELAYER_URL_ENDPOINT=u,exports.SERVER_URL_ENDPOINT=l,exports.SNAPSHOT_SERVER_URL_ENDPOINT=d,exports.STAGING_URL=s,exports.WALLET_TASK_VERIFICATION_TYPES=i;
1
+ const e=require(`./vite.constants.cjs`),t=require(`../types/new-rewards.type.cjs`);require(`../types/index.cjs`);var n={ROUTES:{checkKycStatus:`/check-kyc-status`,startReclaimVerification:`/start-reclaim-verification`,startUserVerification:`/start-aiprise-verification`,zkMeAccessToken:`/zkMeAccessToken`,getSnapshots:e=>`/snapshots/${e}`,getMerkleTreeSiblings:`/merkle-tree-siblings`,getSnapshotServerEvents:`/events`,callOdosAPI:`/OdosSwapData`,callOneInchAPI:`/OneInchSwapData`,callLifiAPI:`/LifiBridgeData`,callOkxAPI:`/OkxSwapData`,callNearIntentsQuote:`/near-intents/quote`,callNearIntentsTokens:`/near-intents/tokens`,getOdosPriceForToken:(e,t)=>`/getOdosPriceForToken/${e}/${t}`,monitor:`/monitor`,monitorBatch:`/monitor/batch`,checkRisk:e=>`/check-risk/${e}`,simulateTransaction:`/simulate-transaction`,simulateBatchTx:`/simulate-batch-tx`,simulateVolatileTokenTransfer:`/simulate-volatile-token-transfer`,getTokensInfo:`/get-tokens-info`,getTokensForChain:`/get-tokens-for-chain`,getTokenBySymbol:`/get-token-by-symbol`,getTokenData:e=>`/get-token-data/${e}`,getProxyAccounts:e=>`/get-proxy-accounts/${e}`,updateProxyAccounts:`/update-proxy-accounts`,getTemporaryWalletNonces:(e,t)=>`/temporary-wallets/nonces/${e}/${t}`,addTemporaryWalletNonce:`/temporary-wallets/add-nonce`,removeTemporaryWalletNonce:`/temporary-wallets/remove-nonce`,encodeMoonPayBuyUrl:`/moonpay-buy-url`,getMoonPayQuote:`/moonpay-quote`,privateSendTopUpRecipientInfos:`/private-send-recipient-info/top-up`,privateSendAllocateRecipientInfos:`/private-send-recipient-info/allocate`,privateSendNonceSync:`/private-send-nonce/sync`,privateSendNonceReserve:`/private-send-nonce/reserve`,getDashboardAccount:`/get-dashboard-account`,updateDashboardAccount:`/update-dashboard-account`,deleteDashboardAccount:`/delete-dashboard-account`,updateUserProfile:`/update-user-profile`,addDashboardContact:`/add-dashboard-contact`,deleteDashboardContact:`/delete-dashboard-contact`,updateDashboardContact:`/update-dashboard-contact`,getDashboardContacts:`/get-dashboard-contacts`,sendDashboardInvitationEmail:`/send-dashboard-invitation-email`,removeMember:`/remove-member`,editMember:`/edit-member`,createDashboardPayout:`/create-dashboard-payout`,getDashboardPayouts:`/get-dashboard-payouts`,syncDashboardBalances:`/sync-dashboard-balances`,getDashboardBalances:`/get-dashboard-balances`,changePayoutStatus:`/change-payout-status`,getDashboardTransactions:`/get-dashboard-transactions`,createDashboardTransactions:`/create-dashboard-transactions`,tronSubsidyEligibility:`/tron-subsidy/eligibility`,tronSubsidyRecord:`/tron-subsidy/record`,privateSendRecipientInfoGetAny:`/private-send-recipient-info/get-any`}},r={getGasEstimate:(e,t,n,r)=>`/gas-estimation/${e}/${n}/${t}/${r}`,getTokenPrices:`/get-token-prices`,TRANSACT:`/general-transact`,TRANSACT_BATCH:`/general-transact-batch`,SOLANA_TRANSACT:`/solana-transact`,SOLANA_TRANSACT_BATCH:`/solana-transact-batch`,getIdleRelay:`/get-idle-relay`,emitTxPublicData:`/emit-tx-public-data`,emitReferralTx:`/emit-referral-tx`,getScheduledTransactions:`/scheduled-transactions`,getScheduledTransactionById:e=>`/scheduled-transactions/${e}`,getScheduledTransactionsNullifierIndexes:`/scheduled-transactions/nullifier-indexes`,updateDepositAndWithdrawStatus:`/update-deposit-and-withdraw-status`,getTokenPriceChartData:`/get-token-price-chart-data`,getTokenPreviousDayPrices:`/get-token-previous-day-prices`,getPrivateTransactionsRatio:e=>`/get-private-transactions-ratio/${e}`,savePrivacyScoreAndGetPrivacyRank:`/save-privacy-score-and-get-privacy-rank`},i=[t.TaskTypes.firstSwap,t.TaskTypes.reclaim,t.TaskTypes.dailySwap,t.TaskTypes.dailyDappTx,t.TaskTypes.createOrJoinBH,t.TaskTypes.shieldUnshield,t.TaskTypes.moneyComes];t.TaskTypes.discord,t.TaskTypes.telegram,{...Object.fromEntries(i.map(e=>[e,e=>`/verify/wallet-task/${e}`]))};var a={createPresaleReferral:`/create-presale-referral`,updatePresaleReferralList:`/update-presale-referral-list`,generateTradingPoints:`/generate-trading-points`,getBrotherhoodUsers:e=>`/brotherhoods/${e}/users`,getCurrentUserBrotherhoodUsers:e=>`/get-current-user-brotherhood-users/${e}`,editBrotherhood:`/edit-brotherhood`,createBrotherhood:`/create-brotherhood`,getCurrentUserBrotherhood:`/get-current-user-brotherhood`,getPublicBrotherhoods:`/get-public-brotherhoods`,getBrotherhood:e=>`/brotherhoods/${e}`,leaveBrotherhood:e=>`/brotherhoods/${e}/leave`,joinBrotherhood:e=>`/brotherhoods/${e}/join`,getUserAnalytics:`/get-user-analytics`,getBrotherhoodAnalytics:`/brotherhood/analytics`,connectRewardsUser:`/connect-user`,updateRewardsUser:`/update-rewards-user`,getRewardsUser:e=>`/get-rewards-user/${e}`,checkUsernameAvailability:e=>`/check-username/${encodeURIComponent(e)}`,getSwapStreak:`/swap-streak`,getUserCurrentLeaderboard:`/current-users-leaderboard`,getBrotherhoodsLeaderboard:`/brotherhoods-leaderboard`,getCurrentUserReferral:`/current-user-referral`,submitReferralCode:`/refer-user`,getCurrentUserAppliedReferralCode:`/current-user-applied-referral-code`,submitAccessCode:`/submit-access-code`,getAccessCodeBenefits:`/get-access-code-benefits`,getTelegramCallback:`/auth/telegram/callback`,generateAumPoints:`/generate-aum-points`,getTasksProgress:e=>`/get-tasks-progress/${e}`,disconnectSocialNetwork:`/disconnect-social-network`,getNftMultiplier:e=>`/get-nft-multiplier/${e}`,seedlessInit:`/seedless/init`,seedlessBackup:`/seedless/backup`,seedlessCheckPassword:`/seedless/check-password`,seedlessStatus:`/seedless/status`,seedlessSalt:`/seedless/salt`,sendPrivateSendEmailNotifications:`/private-send-email-notifications`,webflowBlogPosts:`/webflow-blog-posts`,brevoSubscribe:`/brevo-subscribe`,versionChecker:e=>`/version-checker/${e}`};e.isNotProduction?e.deploymentMode:`${e.deploymentMode}`;var o=`https://wallet-playground.hinkal.io`,s=`https://wallet-staging.hinkal.io`,c=`https://wallet-prodv12.hinkal.io`,l=`http://localhost:7072`,u=`/relayer`,d=`/snapshot-server`,f=`/data-server`,p=`/compliance-server`,m=`https://api-staging.hinkal.io`,h=`https://api.hinkal.io`;exports.API_CONFIG=n,exports.DATA_SERVER_CONFIG=a,exports.DATA_SERVER_URL_ENDPOINT=f,exports.ENCLAVE_API_PRODUCTION_URL=h,exports.ENCLAVE_API_STAGING_URL=m,exports.FUND_COMPLIANCE_URL_ENDPOINT=p,exports.PLAYGROUND_URL=o,exports.PRODUCTION_URL=c,exports.RELAYER_CONFIG=r,exports.RELAYER_URL_ENDPOINT=u,exports.SERVER_URL_LOCAL=l,exports.SNAPSHOT_SERVER_URL_ENDPOINT=d,exports.STAGING_URL=s,exports.WALLET_TASK_VERIFICATION_TYPES=i;
@@ -130,6 +130,6 @@ var o = {
130
130
  versionChecker: (e) => `/version-checker/${e}`
131
131
  };
132
132
  t || `${e}`;
133
- var s = "https://wallet-playground.hinkal.io", c = "https://wallet-staging.hinkal.io", l = "https://wallet-prodv12.hinkal.io", u = "/server", d = "/relayer", f = "/snapshot-server", p = "/data-server", m = "/compliance-server", h = "https://api-staging.hinkal.io", g = "https://api.hinkal.io";
133
+ var s = "https://wallet-playground.hinkal.io", c = "https://wallet-staging.hinkal.io", l = "https://wallet-prodv12.hinkal.io", u = "http://localhost:7072", d = "/relayer", f = "/snapshot-server", p = "/data-server", m = "/compliance-server", h = "https://api-staging.hinkal.io", g = "https://api.hinkal.io";
134
134
  //#endregion
135
- export { r as API_CONFIG, o as DATA_SERVER_CONFIG, p as DATA_SERVER_URL_ENDPOINT, g as ENCLAVE_API_PRODUCTION_URL, h as ENCLAVE_API_STAGING_URL, m as FUND_COMPLIANCE_URL_ENDPOINT, s as PLAYGROUND_URL, l as PRODUCTION_URL, i as RELAYER_CONFIG, d as RELAYER_URL_ENDPOINT, u as SERVER_URL_ENDPOINT, f as SNAPSHOT_SERVER_URL_ENDPOINT, c as STAGING_URL, a as WALLET_TASK_VERIFICATION_TYPES };
135
+ export { r as API_CONFIG, o as DATA_SERVER_CONFIG, p as DATA_SERVER_URL_ENDPOINT, g as ENCLAVE_API_PRODUCTION_URL, h as ENCLAVE_API_STAGING_URL, m as FUND_COMPLIANCE_URL_ENDPOINT, s as PLAYGROUND_URL, l as PRODUCTION_URL, i as RELAYER_CONFIG, d as RELAYER_URL_ENDPOINT, u as SERVER_URL_LOCAL, f as SNAPSHOT_SERVER_URL_ENDPOINT, c as STAGING_URL, a as WALLET_TASK_VERIFICATION_TYPES };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gurge/sdk",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "homepage": "hinkal.io",
5
5
  "author": {
6
6
  "name": "Hinkal Protocol"
@@ -1,5 +1,5 @@
1
1
 
2
- const domain = 'https://wallet-staging.hinkal.io/workers';
2
+ const domain = 'https://storage.googleapis.com/hinkal-workers-staging';
3
3
 
4
4
  // Returns a blob:// URL which points
5
5
  // to a javascript file which will call
@@ -14,8 +14,8 @@
14
14
  var e = /* @__PURE__ */ ((r) => (r.ZKProof = "ZKProof", r.SnarkJS = "SnarkJS", r.UTXO = "UTXO", r))(e || {});
15
15
 
16
16
  const n = async () => ({
17
- [e.ZKProof]: await getWorkerURL(domain + '/0.3.8/' + 'zkProofWorkerLauncher.js'),
18
- [e.SnarkJS]: await getWorkerURL(domain + '/0.3.8/' + 'snarkjsWorkerLauncher.js'),
19
- [e.UTXO]: await getWorkerURL(domain + '/0.3.8/' + 'utxoWorkerLauncher.js'),
17
+ [e.ZKProof]: await getWorkerURL(domain + '/0.3.9/' + 'zkProofWorkerLauncher.js'),
18
+ [e.SnarkJS]: await getWorkerURL(domain + '/0.3.9/' + 'snarkjsWorkerLauncher.js'),
19
+ [e.UTXO]: await getWorkerURL(domain + '/0.3.9/' + 'utxoWorkerLauncher.js'),
20
20
  });
21
21
  exports.getWorkerViteURL = n;
@@ -1,5 +1,5 @@
1
1
 
2
- const domain = 'https://wallet-staging.hinkal.io/workers';
2
+ const domain = 'https://storage.googleapis.com/hinkal-workers-staging';
3
3
 
4
4
  // Returns a blob:// URL which points
5
5
  // to a javascript file which will call
@@ -14,8 +14,8 @@
14
14
  var e = /* @__PURE__ */ ((r) => (r.ZKProof = "ZKProof", r.SnarkJS = "SnarkJS", r.UTXO = "UTXO", r))(e || {});
15
15
 
16
16
  const n = async () => ({
17
- [e.ZKProof]: await getWorkerURL(domain + '/0.3.8/' + 'zkProofWorkerLauncher.js'),
18
- [e.SnarkJS]: await getWorkerURL(domain + '/0.3.8/' + 'snarkjsWorkerLauncher.js'),
19
- [e.UTXO]: await getWorkerURL(domain + '/0.3.8/' + 'utxoWorkerLauncher.js'),
17
+ [e.ZKProof]: await getWorkerURL(domain + '/0.3.9/' + 'zkProofWorkerLauncher.js'),
18
+ [e.SnarkJS]: await getWorkerURL(domain + '/0.3.9/' + 'snarkjsWorkerLauncher.js'),
19
+ [e.UTXO]: await getWorkerURL(domain + '/0.3.9/' + 'utxoWorkerLauncher.js'),
20
20
  });
21
21
  export { n as getWorkerViteURL };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gurge/sdk",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
4
4
  "homepage": "hinkal.io",
5
5
  "author": {
6
6
  "name": "Hinkal Protocol"