@cedros/pay-react 1.1.5 → 1.1.9

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 (57) hide show
  1. package/dist/CedrosContext-C2v_s8cc.js +6 -0
  2. package/dist/CedrosContext-D7nh5-Zh.mjs +2100 -0
  3. package/dist/WalletManager-B5KLZK2D.js +1 -0
  4. package/dist/WalletManager-oEjZhaFk.mjs +219 -0
  5. package/dist/components/CedrosPay.d.ts.map +1 -1
  6. package/dist/components/admin/AISettingsSection.d.ts.map +1 -1
  7. package/dist/components/admin/CouponsSection.d.ts.map +1 -1
  8. package/dist/components/admin/ErrorBanner.d.ts +11 -0
  9. package/dist/components/admin/ErrorBanner.d.ts.map +1 -0
  10. package/dist/components/admin/FAQSection.d.ts.map +1 -1
  11. package/dist/components/admin/MessagingSection.d.ts.map +1 -1
  12. package/dist/components/admin/OverviewSection.d.ts.map +1 -1
  13. package/dist/components/admin/ProductsSection.d.ts.map +1 -1
  14. package/dist/components/admin/RefundsSection.d.ts.map +1 -1
  15. package/dist/components/admin/SingleCategorySettings.d.ts.map +1 -1
  16. package/dist/components/admin/StorefrontSection.d.ts.map +1 -1
  17. package/dist/components/admin/SubscriptionsSection.d.ts.map +1 -1
  18. package/dist/components/admin/TransactionsSection.d.ts.map +1 -1
  19. package/dist/context/CedrosContext.d.ts +9 -3
  20. package/dist/context/CedrosContext.d.ts.map +1 -1
  21. package/dist/crypto-only.d.ts +9 -19
  22. package/dist/crypto-only.d.ts.map +1 -1
  23. package/dist/crypto-only.js +1 -1
  24. package/dist/crypto-only.mjs +766 -32
  25. package/dist/index-BFt38o8Q.mjs +88 -0
  26. package/dist/index-S3b2N8tp.js +136 -0
  27. package/dist/index-WcOlBYZJ.js +1 -0
  28. package/dist/{index-Bzp2srIS.mjs → index-iIxY1o71.mjs} +10413 -9402
  29. package/dist/index.d.ts +1 -7
  30. package/dist/index.d.ts.map +1 -1
  31. package/dist/index.js +1 -1
  32. package/dist/index.mjs +68 -75
  33. package/dist/managers/ManagerCache.d.ts +2 -2
  34. package/dist/managers/ManagerCache.d.ts.map +1 -1
  35. package/dist/pay-react.css +1 -1
  36. package/dist/{sections-D6R2jRAp.js → sections-bhZyRM7o.js} +1 -1
  37. package/dist/{sections-cz9ughWO.mjs → sections-otLBNrzu.mjs} +2 -2
  38. package/dist/solanaCheck-BS3QTE63.js +6 -0
  39. package/dist/solanaCheck-IlYsbXDd.mjs +27 -0
  40. package/dist/stripe-only.d.ts +4 -21
  41. package/dist/stripe-only.d.ts.map +1 -1
  42. package/dist/stripe-only.js +1 -1
  43. package/dist/stripe-only.mjs +71 -29
  44. package/dist/testing/index.js +1 -1
  45. package/dist/testing/index.mjs +1 -1
  46. package/dist/types/componentOptions.d.ts +15 -2
  47. package/dist/types/componentOptions.d.ts.map +1 -1
  48. package/dist/utils/index.d.ts +0 -1
  49. package/dist/utils/index.d.ts.map +1 -1
  50. package/dist/walletPool-BR6etEiq.mjs +67 -0
  51. package/dist/walletPool-BZyAG4YS.js +1 -0
  52. package/package.json +6 -1
  53. package/dist/CedrosContext-DUT3cLZg.mjs +0 -2474
  54. package/dist/CedrosContext-efFL4kQz.js +0 -11
  55. package/dist/index-CFzfjC82.js +0 -136
  56. package/dist/styles-C4-_hbgr.js +0 -1
  57. package/dist/styles-QcAsIVWl.mjs +0 -1909
@@ -0,0 +1 @@
1
+ "use strict";function C(c){if(c.length>=255)throw new TypeError("Alphabet too long");const g=new Uint8Array(256);for(let t=0;t<g.length;t++)g[t]=255;for(let t=0;t<c.length;t++){const e=c.charAt(t),o=e.charCodeAt(0);if(g[o]!==255)throw new TypeError(e+" is ambiguous");g[o]=t}const y=c.length,b=c.charAt(0),d=Math.log(y)/Math.log(256),U=Math.log(256)/Math.log(y);function E(t){if(t instanceof Uint8Array||(ArrayBuffer.isView(t)?t=new Uint8Array(t.buffer,t.byteOffset,t.byteLength):Array.isArray(t)&&(t=Uint8Array.from(t))),!(t instanceof Uint8Array))throw new TypeError("Expected Uint8Array");if(t.length===0)return"";let e=0,o=0,r=0;const l=t.length;for(;r!==l&&t[r]===0;)r++,e++;const h=(l-r)*U+1>>>0,n=new Uint8Array(h);for(;r!==l;){let f=t[r],i=0;for(let w=h-1;(f!==0||i<o)&&w!==-1;w--,i++)f+=256*n[w]>>>0,n[w]=f%y>>>0,f=f/y>>>0;if(f!==0)throw new Error("Non-zero carry");o=i,r++}let a=h-o;for(;a!==h&&n[a]===0;)a++;let s=b.repeat(e);for(;a<h;++a)s+=c.charAt(n[a]);return s}function p(t){if(typeof t!="string")throw new TypeError("Expected String");if(t.length===0)return new Uint8Array;let e=0,o=0,r=0;for(;t[e]===b;)o++,e++;const l=(t.length-e)*d+1>>>0,h=new Uint8Array(l);for(;e<t.length;){const f=t.charCodeAt(e);if(f>255)return;let i=g[f];if(i===255)return;let w=0;for(let A=l-1;(i!==0||w<r)&&A!==-1;A--,w++)i+=y*h[A]>>>0,h[A]=i%256>>>0,i=i/256>>>0;if(i!==0)throw new Error("Non-zero carry");r=w,e++}let n=l-r;for(;n!==l&&h[n]===0;)n++;const a=new Uint8Array(o+(l-n));let s=o;for(;n!==l;)a[s++]=h[n++];return a}function z(t){const e=p(t);if(e)return e;throw new Error("Non-base"+y+" character")}return{encode:E,decodeUnsafe:p,decode:z}}var M="123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz";const x=C(M);exports.bs58=x;