@tuwaio/nova-payments 0.1.0 → 0.3.0

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 (43) hide show
  1. package/README.md +4 -4
  2. package/dist/chunk-4HBN6N7D.cjs +1 -0
  3. package/dist/chunk-A2WIFZQB.js +1 -0
  4. package/dist/de-5UOOKHHH.cjs +1 -0
  5. package/dist/de-U3SERR3Y.js +1 -0
  6. package/dist/es-J6MJIGEI.js +1 -0
  7. package/dist/es-WSJ36B6Y.cjs +1 -0
  8. package/dist/evm/index.cjs +1 -1
  9. package/dist/evm/index.d.cts +6 -3
  10. package/dist/evm/index.d.ts +6 -3
  11. package/dist/evm/index.js +1 -1
  12. package/dist/i18n/index.cjs +1 -1
  13. package/dist/i18n/index.d.cts +2 -2
  14. package/dist/i18n/index.d.ts +2 -2
  15. package/dist/i18n/index.js +1 -1
  16. package/dist/index.cjs +2 -2
  17. package/dist/index.css +0 -3
  18. package/dist/index.d.cts +38 -140
  19. package/dist/index.d.ts +38 -140
  20. package/dist/index.js +2 -2
  21. package/dist/it-KX7WWME3.js +1 -0
  22. package/dist/it-QORQLELA.cjs +1 -0
  23. package/dist/{locales-DP2jStIs.d.cts → locales-dTcrLl9B.d.cts} +3 -92
  24. package/dist/{locales-DP2jStIs.d.ts → locales-dTcrLl9B.d.ts} +3 -92
  25. package/dist/{types-Bp6JUt56.d.cts → types-DOxwRLyU.d.cts} +18 -49
  26. package/dist/{types-Bp6JUt56.d.ts → types-DOxwRLyU.d.ts} +18 -49
  27. package/dist/uk-GMKBC44N.js +1 -0
  28. package/dist/uk-R2A3XIGT.cjs +1 -0
  29. package/dist/zhCN-5JP4MWXH.cjs +1 -0
  30. package/dist/zhCN-AX2E4I6A.js +1 -0
  31. package/package.json +2 -2
  32. package/dist/chunk-EMYW4LI7.js +0 -1
  33. package/dist/chunk-HRTXVGBJ.cjs +0 -1
  34. package/dist/de-DXFDX3GR.js +0 -1
  35. package/dist/de-TJ6BGSUG.cjs +0 -1
  36. package/dist/es-DCARFZ3R.js +0 -1
  37. package/dist/es-I4V64VEP.cjs +0 -1
  38. package/dist/it-N36S2FXH.js +0 -1
  39. package/dist/it-RQJGHQPP.cjs +0 -1
  40. package/dist/uk-FFP4RBO4.js +0 -1
  41. package/dist/uk-HYM26VN5.cjs +0 -1
  42. package/dist/zhCN-EKUFCQTZ.js +0 -1
  43. package/dist/zhCN-Q5DO4HXO.cjs +0 -1
@@ -11,15 +11,18 @@ import '@tuwaio/quasar-sdk/checkout';
11
11
  * gas of a token transfer, and of any transfer when that read fails),
12
12
  * signs the EIP-3009 authorization of a gasless quote with `eth_signTypedData_v4` exactly as Quasar issued it, signs
13
13
  * Quasar's message that confirms the paying wallet with `personal_sign`, and sends sponsored calls with
14
- * `wallet_sendCalls` and the checkout's ERC-7677 paymaster. Before each of these four requests, a wallet that reports
14
+ * `wallet_sendCalls` and the checkout's ERC-7677 paymaster. A gasless quote Quasar does not send itself is sent from a
15
+ * one-time account: a key made in memory for the payment, delegated (EIP-7702) to `Simple7702Account` of EntryPoint 0.8,
16
+ * whose user operation makes the one call Quasar authorized, through the checkout's paymaster route (the merchant's
17
+ * paymaster and bundler); the key is never stored or sent. Before each of the four wallet requests, a wallet that reports
15
18
  * another network than the request's is asked to switch (wagmi would refuse the request before the wallet saw it); a
16
19
  * switch that fails is a `PaymentWalletError` of the kind `switchFailed`, a refused one stays `declined`, both with
17
20
  * `step: 'switch'`. A Safe wallet
18
21
  * is refused: it returns a Safe transaction hash, not the transaction Quasar follows. Pass it in `adapters` of
19
22
  * `NovaPaymentsProvider`.
20
23
  *
21
- * Side effects: RPC reads through the wagmi transports (`eth_estimateGas` before each transfer); wallet prompts,
22
- * including a network switch.
24
+ * Side effects: RPC reads through the wagmi transports (`eth_estimateGas` before each transfer; the one-time account's
25
+ * nonce and code); wallet prompts, including a network switch; requests to the checkout's paymaster route.
23
26
  *
24
27
  * @param config - The wagmi config of the app.
25
28
  * @returns The EVM adapter.
@@ -11,15 +11,18 @@ import '@tuwaio/quasar-sdk/checkout';
11
11
  * gas of a token transfer, and of any transfer when that read fails),
12
12
  * signs the EIP-3009 authorization of a gasless quote with `eth_signTypedData_v4` exactly as Quasar issued it, signs
13
13
  * Quasar's message that confirms the paying wallet with `personal_sign`, and sends sponsored calls with
14
- * `wallet_sendCalls` and the checkout's ERC-7677 paymaster. Before each of these four requests, a wallet that reports
14
+ * `wallet_sendCalls` and the checkout's ERC-7677 paymaster. A gasless quote Quasar does not send itself is sent from a
15
+ * one-time account: a key made in memory for the payment, delegated (EIP-7702) to `Simple7702Account` of EntryPoint 0.8,
16
+ * whose user operation makes the one call Quasar authorized, through the checkout's paymaster route (the merchant's
17
+ * paymaster and bundler); the key is never stored or sent. Before each of the four wallet requests, a wallet that reports
15
18
  * another network than the request's is asked to switch (wagmi would refuse the request before the wallet saw it); a
16
19
  * switch that fails is a `PaymentWalletError` of the kind `switchFailed`, a refused one stays `declined`, both with
17
20
  * `step: 'switch'`. A Safe wallet
18
21
  * is refused: it returns a Safe transaction hash, not the transaction Quasar follows. Pass it in `adapters` of
19
22
  * `NovaPaymentsProvider`.
20
23
  *
21
- * Side effects: RPC reads through the wagmi transports (`eth_estimateGas` before each transfer); wallet prompts,
22
- * including a network switch.
24
+ * Side effects: RPC reads through the wagmi transports (`eth_estimateGas` before each transfer; the one-time account's
25
+ * nonce and code); wallet prompts, including a network switch; requests to the checkout's paymaster route.
23
26
  *
24
27
  * @param config - The wagmi config of the app.
25
28
  * @returns The EVM adapter.
package/dist/evm/index.js CHANGED
@@ -1 +1 @@
1
- import {a,b}from'../chunk-7HSDAUKN.js';import {OrbitAdapter,toEvmChainId,delay}from'@tuwaio/orbit-core';import {TransactionTracker}from'@tuwaio/pulsar-core';import {switchChain,sendTransaction,waitForTransactionReceipt,getTransactionReceipt,getConnectorClient,sendCalls,waitForCallsStatus,getBytecode,getCapabilities,signMessage,writeContract,estimateGas,estimateFeesPerGas,getBalance,readContract,getConnection}from'@wagmi/core';import {erc20Abi,encodeFunctionData}from'viem';var C=18e4,K=30*6e4,W=15e3,z=25n,M={to:"0x000000000000000000000000000000000000dEaD",value:0n},J=5,Y=2e3;function h(a){let o=toEvmChainId(a);if(o===void 0)throw new Error(`${a} is not an EVM chain`);return o}function v(a){if(a.family!=="eip155")throw new Error(`${a.chainId} is not an EVM chain`);return a}function L(a){return a.token==="native"?{to:a.to,value:BigInt(a.amount)}:{to:a.token,data:encodeFunctionData({abi:erc20Abi,functionName:"transfer",args:[a.to,BigInt(a.amount)]})}}async function j(a,o,l){try{return {gas:(await estimateGas(a,{account:o,chainId:l.chainId,...L(l)})*(100n+z)+99n)/100n}}catch{return {}}}async function Q(a){if(a?.type!=="walletConnect")return false;try{let o=await a.getProvider();return /^safe\b/i.test(o.session?.peer?.metadata?.name??"")}catch{return false}}function nt(a$1){let o=async()=>{let e=getConnection(a$1).connector;if(e?.id==="safe"||e?.type==="safe"||await Q(e))throw new a("unsupported","A Safe wallet cannot pay this checkout")},l=async e=>{let n;try{n=await getConnection(a$1).connector?.getChainId();}catch{return}if(!(n===void 0||n===e))try{await switchChain(a$1,{chainId:e});}catch(t){let s=b(t);throw s==="declined"?new a("declined",`The wallet declined the switch to ${e}`,{cause:t,step:"switch"}):s!=="failed"?t:new a("switchFailed",`The wallet did not switch to ${e}`,{cause:t,step:"switch"})}},f=async(e,n,t)=>{for(;Date.now()<n;){try{let s=await waitForCallsStatus(a$1,{id:e,timeout:n-Date.now()});if(s.status==="failure")return;let r=s.status==="success"?s.receipts?.at(-1)?.transactionHash:void 0;if(r)return t?.(r)}catch{}await delay(void 0,W);}};return {family:"eip155",getBalance:async({chainId:e,account:n,token:t})=>{let s=h(e);return t==="native"?(await getBalance(a$1,{address:n,chainId:s})).value:readContract(a$1,{address:t,abi:erc20Abi,functionName:"balanceOf",args:[n],chainId:s})},estimateFee:async({instructions:e,account:n})=>{let t=v(e),s=await estimateGas(a$1,{account:n,chainId:t.chainId,...L(t)}),r=await estimateFeesPerGas(a$1,{chainId:t.chainId}),i=r.maxFeePerGas??r.gasPrice;if(i===void 0)return null;let d=a$1.chains.find(c=>c.id===t.chainId)?.nativeCurrency;return {amount:s*i,decimals:d?.decimals??18,symbol:d?.symbol??"ETH"}},canSponsorCalls:async({chainId:e,account:n})=>{try{return (await getCapabilities(a$1,{account:n,chainId:h(e)})).paymasterService?.supported===!0}catch{return false}},switchChain:async e=>{await switchChain(a$1,{chainId:h(e)});},sendTransfer:async({instructions:e,account:n})=>{let t=v(e);if(await o(),await l(t.chainId),t.token==="native"){let s=await j(a$1,n,t);return sendTransaction(a$1,{account:n,chainId:t.chainId,to:t.to,value:BigInt(t.amount),...s})}return writeContract(a$1,{account:n,chainId:t.chainId,address:t.token,abi:erc20Abi,functionName:"transfer",args:[t.to,BigInt(t.amount)]})},signTransferAuthorization:async({typedData:e,account:n})=>{await o();let t=Number(e.domain.chainId);return await l(t),(await getConnectorClient(a$1,{chainId:t})).request({method:"eth_signTypedData_v4",params:[n,JSON.stringify(e)]})},signMessage:async({message:e,account:n,chainId:t})=>{await o();let s=toEvmChainId(t);return s!==void 0&&await l(s),signMessage(a$1,{account:n,message:e})},followSponsoredCalls:({batchId:e,until:n,onLate:t})=>{f(e,n,t).catch(()=>{});},sendSponsoredCalls:async({calls:e,paymasterUrl:n,chainId:t,account:s,onSent:r,onAccepted:i,onLate:d})=>{await o(),await l(h(t));let{id:c}=await sendCalls(a$1,{account:s,chainId:h(t),calls:e.map(m=>({to:m.to,value:BigInt(m.value),data:m.data})),capabilities:{paymasterService:{url:n}}});i?.(c),r?.();let y=m=>(f(c,Date.now()+K,d).catch(()=>{}),new a("sentUnconfirmed","The sponsored payment is not confirmed yet",{cause:m})),A=await waitForCallsStatus(a$1,{id:c,timeout:C}).catch(m=>{throw y(m)});if(A.status==="failure")throw new a("failed","The sponsored payment failed");let T=A.status==="success"?A.receipts?.at(-1)?.transactionHash:void 0;if(!T)throw y();return T},explorerUrl:({chainId:e,txKey:n})=>{let s=a$1.chains.find(r=>r.id===toEvmChainId(e))?.blockExplorers?.default.url;return s?`${s}/tx/${n}`:void 0},explorerAddressUrl:({chainId:e,address:n})=>{let s=a$1.chains.find(r=>r.id===toEvmChainId(e))?.blockExplorers?.default.url;return s?`${s}/address/${n}`:void 0},smartAccountStatus:async({chainId:e,account:n})=>{let t=h(e);try{let s=await getBytecode(a$1,{address:n,chainId:t});return s&&s!=="0x"?"smart":(await getCapabilities(a$1,{account:n,chainId:t})).atomic?.status==="ready"?"upgradable":"unknown"}catch{return "unknown"}},upgradeToSmartAccount:async({chainId:e,account:n})=>{await o();let t=h(e),s=n;await switchChain(a$1,{chainId:t});let{id:r}=await sendCalls(a$1,{account:s,chainId:t,forceAtomic:true,calls:[M,M]});await waitForCallsStatus(a$1,{id:r,timeout:C}).catch(()=>{});for(let i=0;i<J;i++){let d=await getBytecode(a$1,{address:s,chainId:t}).catch(()=>{});if(d&&d!=="0x")return;await new Promise(c=>setTimeout(c,Y));}throw new a("failed","The wallet did not switch the account")},requestPermission:async({request:e,account:n})=>{let t=Number.parseInt(e.chainId,16);await switchChain(a$1,{chainId:t});let r=await(await getConnectorClient(a$1,{chainId:t})).request({method:"wallet_requestExecutionPermissions",params:[{...e,from:n}]}),[i]=Array.isArray(r)?r:[r];if(!i?.context||!i.delegationManager)throw new a("failed","The wallet did not grant the permission");return {context:i.context,delegationManager:i.delegationManager,dependencies:i.dependencies??[]}},revokePermission:async({revocation:e,chainId:n,account:t,onSent:s})=>{await o();let r=h(n);await switchChain(a$1,{chainId:r});let i=await sendTransaction(a$1,{account:t,chainId:r,to:e.to,data:e.data});s?.();try{await waitForTransactionReceipt(a$1,{chainId:r,hash:i,timeout:C});}catch(d){throw (await getTransactionReceipt(a$1,{chainId:r,hash:i}).catch(()=>null))?.status==="reverted"?new a("failed","The revocation reverted",{cause:d}):d}},pulsarTransaction:({txKey:e,instructions:n,account:t,connectorType:s,title:r,description:i,payload:d})=>{let c=v(n);return {adapter:OrbitAdapter.EVM,tracker:TransactionTracker.Ethereum,txKey:e,hash:e,chainId:c.chainId,from:t,to:c.token==="native"?c.to:c.token,type:"payment",connectorType:s,title:r,description:i,payload:d,pending:true,localTimestamp:Math.floor(Date.now()/1e3),isTrackedModalOpen:false}}}}export{nt as paymentsEVMAdapter};
1
+ import {a,b}from'../chunk-7HSDAUKN.js';import {OrbitAdapter,toEvmChainId,delay}from'@tuwaio/orbit-core';import {TransactionTracker}from'@tuwaio/pulsar-core';import {sendCalls,waitForCallsStatus,getPublicClient,signMessage,getConnectorClient,sendTransaction,writeContract,switchChain,getCapabilities,estimateGas,estimateFeesPerGas,getBalance,readContract,getConnection}from'@wagmi/core';import {hexToBigInt,http,erc20Abi,encodeFunctionData}from'viem';import {toSimple7702SmartAccount,createBundlerClient,createPaymasterClient}from'viem/account-abstraction';import {privateKeyToAccount,generatePrivateKey}from'viem/accounts';var J=18e4,W=30*6e4,Q=15e3,X=25n;function w(t){let i=toEvmChainId(t);if(i===void 0)throw new Error(`${t} is not an EVM chain`);return i}function A(t){if(t.family!=="eip155")throw new Error(`${t.chainId} is not an EVM chain`);return t}function x(t){return t.token==="native"?{to:t.to,value:BigInt(t.amount)}:{to:t.token,data:encodeFunctionData({abi:erc20Abi,functionName:"transfer",args:[t.to,BigInt(t.amount)]})}}async function Y(t,i,u){try{return {gas:(await estimateGas(t,{account:i,chainId:u.chainId,...x(u)})*(100n+X)+99n)/100n}}catch{return {}}}async function Z(t){if(t?.type!=="walletConnect")return false;try{let i=await t.getProvider();return /^safe\b/i.test(i.session?.peer?.metadata?.name??"")}catch{return false}}var ee=1e4;async function te(t,i){let l=await(await fetch(t,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({jsonrpc:"2.0",id:1,method:i,params:[]}),signal:AbortSignal.timeout(ee)})).json();if(l.error||l.result===void 0)throw new Error(l.error?.message??`${i} failed`);return l.result}function de(t){let i=async()=>{let a$1=getConnection(t).connector;if(a$1?.id==="safe"||a$1?.type==="safe"||await Z(a$1))throw new a("unsupported","A Safe wallet cannot pay this checkout")},u=async a$1=>{let n;try{n=await getConnection(t).connector?.getChainId();}catch{return}if(!(n===void 0||n===a$1))try{await switchChain(t,{chainId:a$1});}catch(e){let s=b(e);throw s==="declined"?new a("declined",`The wallet declined the switch to ${a$1}`,{cause:e,step:"switch"}):s!=="failed"?e:new a("switchFailed",`The wallet did not switch to ${a$1}`,{cause:e,step:"switch"})}},l=async(a,n,e)=>{for(;Date.now()<n;){try{let s=await waitForCallsStatus(t,{id:a,timeout:n-Date.now()});if(s.status==="failure")return;let r=s.status==="success"?s.receipts?.at(-1)?.transactionHash:void 0;if(r)return e?.(r)}catch{}await delay(void 0,Q);}};return {family:"eip155",getBalance:async({chainId:a,account:n,token:e})=>{let s=w(a);return e==="native"?(await getBalance(t,{address:n,chainId:s})).value:readContract(t,{address:e,abi:erc20Abi,functionName:"balanceOf",args:[n],chainId:s})},estimateFee:async({instructions:a,account:n})=>{let e=A(a),s=await estimateGas(t,{account:n,chainId:e.chainId,...x(e)}),r=await estimateFeesPerGas(t,{chainId:e.chainId}),c=r.maxFeePerGas??r.gasPrice;if(c===void 0)return null;let d=t.chains.find(o=>o.id===e.chainId)?.nativeCurrency;return {amount:s*c,decimals:d?.decimals??18,symbol:d?.symbol??"ETH"}},canSponsorCalls:async({chainId:a,account:n})=>{try{return (await getCapabilities(t,{account:n,chainId:w(a)})).paymasterService?.supported===!0}catch{return false}},switchChain:async a=>{await switchChain(t,{chainId:w(a)});},sendTransfer:async({instructions:a,account:n})=>{let e=A(a);if(await i(),await u(e.chainId),e.token==="native"){let s=await Y(t,n,e);return sendTransaction(t,{account:n,chainId:e.chainId,to:e.to,value:BigInt(e.amount),...s})}return writeContract(t,{account:n,chainId:e.chainId,address:e.token,abi:erc20Abi,functionName:"transfer",args:[e.to,BigInt(e.amount)]})},signTransferAuthorization:async({typedData:a,account:n})=>{await i();let e=Number(a.domain.chainId);return await u(e),(await getConnectorClient(t,{chainId:e})).request({method:"eth_signTypedData_v4",params:[n,JSON.stringify(a)]})},signMessage:async({message:a,account:n,chainId:e})=>{await i();let s=toEvmChainId(e);return s!==void 0&&await u(s),signMessage(t,{account:n,message:a})},followSponsoredCalls:({batchId:a,until:n,onLate:e})=>{l(a,n,e).catch(()=>{});},sendOneTimeRelay:async({chainId:a$1,call:n,paymasterUrl:e})=>{let s=toEvmChainId(a$1),r=s===void 0?void 0:getPublicClient(t,{chainId:s});if(s===void 0||!r)throw new a("unsupported",`The network ${a$1} is not configured`);let c=privateKeyToAccount(generatePrivateKey()),d=await toSimple7702SmartAccount({client:r,owner:c}),o=createBundlerClient({account:d,client:r,transport:http(e),paymaster:createPaymasterClient({transport:http(e)}),userOperation:{estimateFeesPerGas:async()=>{let p=await te(e,"pimlico_getUserOperationGasPrice");return {maxFeePerGas:hexToBigInt(p.fast.maxFeePerGas),maxPriorityFeePerGas:hexToBigInt(p.fast.maxPriorityFeePerGas)}}}}),f=await c.signAuthorization({chainId:s,contractAddress:d.authorization.address,nonce:0});return o.sendUserOperation({calls:[{to:n.to,data:n.data}],authorization:f})},sendSponsoredCalls:async({calls:a$1,paymasterUrl:n,chainId:e,account:s,onSent:r,onAccepted:c,onLate:d})=>{await i(),await u(w(e));let{id:o}=await sendCalls(t,{account:s,chainId:w(e),calls:a$1.map(m=>({to:m.to,value:BigInt(m.value),data:m.data})),capabilities:{paymasterService:{url:n}}});c?.(o),r?.();let f=m=>(l(o,Date.now()+W,d).catch(()=>{}),new a("sentUnconfirmed","The sponsored payment is not confirmed yet",{cause:m})),p=await waitForCallsStatus(t,{id:o,timeout:J}).catch(m=>{throw f(m)});if(p.status==="failure")throw new a("failed","The sponsored payment failed");let C=p.status==="success"?p.receipts?.at(-1)?.transactionHash:void 0;if(!C)throw f();return C},explorerUrl:({chainId:a,txKey:n})=>{let s=t.chains.find(r=>r.id===toEvmChainId(a))?.blockExplorers?.default.url;return s?`${s}/tx/${n}`:void 0},explorerAddressUrl:({chainId:a,address:n})=>{let s=t.chains.find(r=>r.id===toEvmChainId(a))?.blockExplorers?.default.url;return s?`${s}/address/${n}`:void 0},pulsarTransaction:({txKey:a,instructions:n,account:e,connectorType:s,title:r,description:c,payload:d})=>{let o=A(n);return {adapter:OrbitAdapter.EVM,tracker:TransactionTracker.Ethereum,txKey:a,hash:a,chainId:o.chainId,from:e,to:o.token==="native"?o.to:o.token,type:"payment",connectorType:s,title:r,description:c,payload:d,pending:true,localTimestamp:Math.floor(Date.now()/1e3),isTrackedModalOpen:false}}}}export{de as paymentsEVMAdapter};
@@ -1 +1 @@
1
- 'use strict';var chunkHRTXVGBJ_cjs=require('../chunk-HRTXVGBJ.cjs');Object.defineProperty(exports,"CHECKOUT_LOCALES",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.e}});Object.defineProperty(exports,"checkoutLocaleOf",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.f}});Object.defineProperty(exports,"defaultLabels",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.a}});Object.defineProperty(exports,"formatCountLabel",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.b}});Object.defineProperty(exports,"formatLabel",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.c}});Object.defineProperty(exports,"formatLabelParts",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.d}});Object.defineProperty(exports,"hasLabels",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.g}});Object.defineProperty(exports,"labelsForLocale",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.h}});Object.defineProperty(exports,"loadLabels",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.i}});Object.defineProperty(exports,"mergeLabels",{enumerable:true,get:function(){return chunkHRTXVGBJ_cjs.j}});
1
+ 'use strict';var chunk4HBN6N7D_cjs=require('../chunk-4HBN6N7D.cjs');Object.defineProperty(exports,"CHECKOUT_LOCALES",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.e}});Object.defineProperty(exports,"checkoutLocaleOf",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.f}});Object.defineProperty(exports,"defaultLabels",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.a}});Object.defineProperty(exports,"formatCountLabel",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.b}});Object.defineProperty(exports,"formatLabel",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.c}});Object.defineProperty(exports,"formatLabelParts",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.d}});Object.defineProperty(exports,"hasLabels",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.g}});Object.defineProperty(exports,"labelsForLocale",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.h}});Object.defineProperty(exports,"loadLabels",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.i}});Object.defineProperty(exports,"mergeLabels",{enumerable:true,get:function(){return chunk4HBN6N7D_cjs.j}});
@@ -1,5 +1,5 @@
1
- import { N as NovaPaymentsLabels } from '../locales-DP2jStIs.cjs';
2
- export { C as CHECKOUT_LOCALES, a as CheckoutLocale, b as NovaPaymentsLabelOverrides, c as checkoutLocaleOf, h as hasLabels, l as labelsForLocale, d as loadLabels, m as mergeLabels } from '../locales-DP2jStIs.cjs';
1
+ import { N as NovaPaymentsLabels } from '../locales-dTcrLl9B.cjs';
2
+ export { C as CHECKOUT_LOCALES, a as CheckoutLocale, b as NovaPaymentsLabelOverrides, c as checkoutLocaleOf, h as hasLabels, l as labelsForLocale, d as loadLabels, m as mergeLabels } from '../locales-dTcrLl9B.cjs';
3
3
  export { formatCountLabel, formatLabel, formatLabelParts } from '@tuwaio/nova-core/utils';
4
4
 
5
5
  /**
@@ -1,5 +1,5 @@
1
- import { N as NovaPaymentsLabels } from '../locales-DP2jStIs.js';
2
- export { C as CHECKOUT_LOCALES, a as CheckoutLocale, b as NovaPaymentsLabelOverrides, c as checkoutLocaleOf, h as hasLabels, l as labelsForLocale, d as loadLabels, m as mergeLabels } from '../locales-DP2jStIs.js';
1
+ import { N as NovaPaymentsLabels } from '../locales-dTcrLl9B.js';
2
+ export { C as CHECKOUT_LOCALES, a as CheckoutLocale, b as NovaPaymentsLabelOverrides, c as checkoutLocaleOf, h as hasLabels, l as labelsForLocale, d as loadLabels, m as mergeLabels } from '../locales-dTcrLl9B.js';
3
3
  export { formatCountLabel, formatLabel, formatLabelParts } from '@tuwaio/nova-core/utils';
4
4
 
5
5
  /**
@@ -1 +1 @@
1
- export{e as CHECKOUT_LOCALES,f as checkoutLocaleOf,a as defaultLabels,b as formatCountLabel,c as formatLabel,d as formatLabelParts,g as hasLabels,h as labelsForLocale,i as loadLabels,j as mergeLabels}from'../chunk-EMYW4LI7.js';
1
+ export{e as CHECKOUT_LOCALES,f as checkoutLocaleOf,a as defaultLabels,b as formatCountLabel,c as formatLabel,d as formatLabelParts,g as hasLabels,h as labelsForLocale,i as loadLabels,j as mergeLabels}from'../chunk-A2WIFZQB.js';