UNPKG

@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) 322 B
import{i as a}from"../chunks/lodash-P8OIs-at.esm.js";function c(s,{isEqual:u=a}={}){let r=null,n=null,e=!1,i=0;return(...o)=>{if(e&&u(r,o))return n;const t=s(...o);if(t instanceof Promise){i++;const l=i;t.catch(()=>{l===i&&(e=!1)})}return r=o,n=t,e=!0,t}}export{c as memoizeLast}; //# sourceMappingURL=memoize-last.js.map