@beamimpact/web-sdk
Version:
The Beam SDK enables brands to connect with their customers over shared values, not transactional discounts, to build stronger loyalty. Our integration achieves this by allowing customers to (a) choose a nonprofit where the brand will donate part of their
3 lines (2 loc) • 915 B
JavaScript
class e extends Error{constructor(r,{cause:o,name:t="BeamError"}={}){super(r,{cause:o}),this.name=t,this.supportUrl="https://beamimpact.com"}}class a extends e{constructor(r,o,t){super(t,{name:"BeamNetworkError"}),this.response=r,this.body=o}}class n extends e{constructor(r=[],o){super(o,{name:"BeamMissingConfig"}),this.missingConfigKeyNames=r}}class i extends e{constructor(r="Both transactionId and subscriptionId cannot be specified at the same time."){super(r,{name:"BeamInvalidAttributeCombinationError"})}}class c extends e{constructor(r){super(r,{name:"BeamLocalStorageError"})}}class m extends e{constructor(r){super(r,{name:"BeamSetupError"})}}var u=Object.freeze({__proto__:null,BeamError:e,InvalidAttributeCombinationError:i,LocalStorageError:c,MissingConfig:n,NetworkError:a,SetupError:m});export{e as B,i as I,c as L,n as M,a as N,m as S,u as b};
//# sourceMappingURL=beam-errors-P-Lu07Ce.esm.js.map