@beamimpact/web-sdk 1.56.3 → 1.57.1
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.
- package/dist/chunks/_share-dialog-dependencies-BEUnzuWq.esm.js +2 -0
- package/dist/chunks/{_share-dialog-dependencies-Bk60ibnw.esm.js.map → _share-dialog-dependencies-BEUnzuWq.esm.js.map} +1 -1
- package/dist/chunks/{order-page-CSEjG6ma.esm.d.ts → cart-CKltrzQt.esm.d.ts} +22 -34
- package/dist/chunks/css-card-grid-CiqEjkwR.esm.js +21 -0
- package/dist/chunks/css-card-grid-CiqEjkwR.esm.js.map +1 -0
- package/dist/chunks/handlebars-B_i-to-h.esm.js +23 -0
- package/dist/chunks/handlebars-B_i-to-h.esm.js.map +1 -0
- package/dist/chunks/index-B4xKTDaF.esm.js +2 -0
- package/dist/chunks/index-B4xKTDaF.esm.js.map +1 -0
- package/dist/chunks/{index-C_u1FXtO.esm.d.ts → index-BAROgNYE.esm.d.ts} +7 -10
- package/dist/chunks/{index-BLlSL37B.esm.d.ts → index-BH3YaPLG.esm.d.ts} +1 -1
- package/dist/chunks/index-BHglsF5j.esm.js +2 -0
- package/dist/chunks/index-BHglsF5j.esm.js.map +1 -0
- package/dist/chunks/index-BgalrCS_.esm.js +32 -0
- package/dist/chunks/index-BgalrCS_.esm.js.map +1 -0
- package/dist/chunks/{index-hghrT7Z_.esm.d.ts → index-BoIHE1tC.esm.d.ts} +3 -0
- package/dist/chunks/index-C60Vejym.esm.js +32 -0
- package/dist/chunks/index-C60Vejym.esm.js.map +1 -0
- package/dist/chunks/{index-DDCtGN21.esm.d.ts → index-C6a13iqC.esm.d.ts} +3 -5
- package/dist/chunks/index-D6aFJ4cU.esm.js +2 -0
- package/dist/chunks/index-D6aFJ4cU.esm.js.map +1 -0
- package/dist/chunks/index-Dm-K2MLY.esm.js +31 -0
- package/dist/chunks/index-Dm-K2MLY.esm.js.map +1 -0
- package/dist/chunks/{index-BEEmYYxP.esm.js → index-DqhM4Yoj.esm.js} +11 -11
- package/dist/chunks/index-DqhM4Yoj.esm.js.map +1 -0
- package/dist/chunks/{index-UMeAzKTG.esm.js → index-HqfLVFOU.esm.js} +11 -11
- package/dist/chunks/index-HqfLVFOU.esm.js.map +1 -0
- package/dist/chunks/index-MAMeVd6l.esm.js +2 -0
- package/dist/chunks/index-MAMeVd6l.esm.js.map +1 -0
- package/dist/chunks/{index-DyUuvdr3.esm.d.ts → index-OYSJ-2mk.esm.d.ts} +1 -1
- package/dist/chunks/{index-BY5lSRmw.esm.d.ts → index-mBTWm4YP.esm.d.ts} +2 -2
- package/dist/chunks/{lit-JRlupCB5.esm.js → lit-BEag9MFp.esm.js} +2 -2
- package/dist/chunks/{lit-JRlupCB5.esm.js.map → lit-BEag9MFp.esm.js.map} +1 -1
- package/dist/chunks/{lodash-BSs6Il-c.esm.js → lodash-CrMU6wKg.esm.js} +2 -2
- package/dist/chunks/{lodash-BSs6Il-c.esm.js.map → lodash-CrMU6wKg.esm.js.map} +1 -1
- package/dist/chunks/{promo-pill-label-D_4zJ7uy.esm.js → promo-pill-label-5HmbDVmU.esm.js} +2 -2
- package/dist/chunks/{promo-pill-label-D_4zJ7uy.esm.js.map → promo-pill-label-5HmbDVmU.esm.js.map} +1 -1
- package/dist/chunks/{responsive-CIV4sFdH.esm.js → responsive-aN8P5PqD.esm.js} +2 -2
- package/dist/chunks/{responsive-CIV4sFdH.esm.js.map → responsive-aN8P5PqD.esm.js.map} +1 -1
- package/dist/chunks/{routes-OxC3Ah30.esm.d.ts → routes-D6Gtw6kZ.esm.d.ts} +1 -1
- package/dist/chunks/share-button-5gfPmeEh.esm.js +54 -0
- package/dist/chunks/share-button-5gfPmeEh.esm.js.map +1 -0
- package/dist/chunks/{share-button-Dzc7loia.esm.js → share-button-C4yPLL_t.esm.js} +2 -2
- package/dist/chunks/{share-button-DkTpGZk1.esm.js.map → share-button-C4yPLL_t.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-DWgFuC7U.esm.d.ts → update-cart-DoJGAdoU.esm.d.ts} +2 -3
- package/dist/chunks/utils-C5hmbxa4.esm.js +2 -0
- package/dist/chunks/utils-C5hmbxa4.esm.js.map +1 -0
- package/dist/chunks/{openapi-spec-B4z4_CMq.esm.d.ts → utils-COGFpDER.esm.d.ts} +597 -11
- package/dist/chunks/{vendor-ckSdd6aH.esm.js → vendor-DUOg5fL-.esm.js} +2 -2
- package/dist/chunks/{vendor-ckSdd6aH.esm.js.map → vendor-DUOg5fL-.esm.js.map} +1 -1
- package/dist/components/beam-partner-logos.d.ts +3 -1
- package/dist/components/beam-partner-logos.esm.js +1 -1
- package/dist/components/beam-partner-logos.js +1 -1
- package/dist/components/community-impact.d.ts +3 -2
- package/dist/components/community-impact.esm.js +6 -6
- package/dist/components/community-impact.esm.js.map +1 -1
- package/dist/components/community-impact.js +6 -6
- package/dist/components/community-impact.js.map +1 -1
- package/dist/components/cumulative-impact.d.ts +3 -2
- package/dist/components/cumulative-impact.esm.js +11 -11
- package/dist/components/cumulative-impact.esm.js.map +1 -1
- package/dist/components/cumulative-impact.js +11 -11
- package/dist/components/cumulative-impact.js.map +1 -1
- package/dist/components/impact-overview.d.ts +3 -2
- package/dist/components/impact-overview.esm.js +5 -5
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +5 -5
- package/dist/components/impact-overview.js.map +1 -1
- package/dist/components/index.d.ts +5 -5
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +3 -4
- package/dist/components/post-purchase.esm.js +1 -31
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +1 -31
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/product-details-page.d.ts +4 -2
- package/dist/components/product-details-page.esm.js +4 -4
- package/dist/components/product-details-page.esm.js.map +1 -1
- package/dist/components/product-details-page.js +4 -4
- package/dist/components/product-details-page.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +3 -4
- package/dist/components/redeem-transaction.esm.js +1 -1
- package/dist/components/redeem-transaction.js +1 -1
- package/dist/components/select-nonprofit.d.ts +3 -4
- package/dist/components/select-nonprofit.esm.js +12 -12
- package/dist/components/select-nonprofit.esm.js.map +1 -1
- package/dist/components/select-nonprofit.js +12 -12
- package/dist/components/select-nonprofit.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.d.ts +3 -2
- package/dist/components/select-subscription-nonprofit.esm.js +11 -11
- package/dist/components/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/components/select-subscription-nonprofit.js +11 -11
- package/dist/components/select-subscription-nonprofit.js.map +1 -1
- package/dist/components/shopify.d.ts +9 -12
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.esm.js.map +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/components/shopify.js.map +1 -1
- package/dist/components/social-share.d.ts +3 -2
- package/dist/components/social-share.esm.js +2 -2
- package/dist/components/social-share.esm.js.map +1 -1
- package/dist/components/social-share.js +2 -2
- package/dist/components/social-share.js.map +1 -1
- package/dist/components/subscriber-select-nonprofit.d.ts +59 -0
- package/dist/components/subscriber-select-nonprofit.esm.js +137 -0
- package/dist/components/subscriber-select-nonprofit.esm.js.map +1 -0
- package/dist/components/subscriber-select-nonprofit.js +137 -0
- package/dist/components/subscriber-select-nonprofit.js.map +1 -0
- package/dist/components/subscription-impact.d.ts +3 -2
- package/dist/components/subscription-impact.esm.js +6 -6
- package/dist/components/subscription-impact.esm.js.map +1 -1
- package/dist/components/subscription-impact.js +6 -6
- package/dist/components/subscription-impact.js.map +1 -1
- package/dist/components/subscription-management.d.ts +4 -5
- package/dist/components/subscription-management.esm.js +3 -3
- package/dist/components/subscription-management.esm.js.map +1 -1
- package/dist/components/subscription-management.js +3 -3
- package/dist/components/subscription-management.js.map +1 -1
- package/dist/index.d.ts +39 -38
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.d.ts +3 -1
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.esm.js.map +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/beam.js.map +1 -1
- package/dist/integrations/cart.d.ts +4 -4
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/logs.d.ts +4 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/promoManager.d.ts +3 -1
- package/dist/integrations/promoManager.esm.js +1 -1
- package/dist/integrations/promoManager.esm.js.map +1 -1
- package/dist/integrations/promoManager.js +1 -1
- package/dist/integrations/promoManager.js.map +1 -1
- package/dist/integrations/session.d.ts +1 -1
- package/dist/integrations/session.esm.js +1 -1
- package/dist/integrations/session.js +1 -1
- package/dist/integrations/shopify-order.d.ts +38 -0
- package/dist/integrations/shopify-order.esm.js +2 -0
- package/dist/integrations/shopify-order.esm.js.map +1 -0
- package/dist/integrations/shopify-order.js +2 -0
- package/dist/integrations/shopify-order.js.map +1 -0
- package/dist/integrations/shopify.d.ts +5 -12
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.d.ts +3 -1
- package/dist/integrations/statsig.esm.js +3 -3
- package/dist/integrations/statsig.esm.js.map +1 -1
- package/dist/integrations/statsig.js +3 -3
- package/dist/integrations/statsig.js.map +1 -1
- package/dist/integrations/utils.d.ts +1 -14
- package/dist/integrations/utils.esm.js +1 -1
- package/dist/integrations/utils.js +1 -1
- package/dist/react/beam-partner-logos.d.ts +3 -1
- package/dist/react/beam-partner-logos.esm.js +1 -1
- package/dist/react/beam-partner-logos.js +1 -1
- package/dist/react/community-impact.d.ts +3 -2
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.esm.js.map +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/community-impact.js.map +1 -1
- package/dist/react/cumulative-impact.d.ts +3 -2
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.esm.js.map +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/cumulative-impact.js.map +1 -1
- package/dist/react/impact-overview.d.ts +3 -2
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.esm.js.map +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/impact-overview.js.map +1 -1
- package/dist/react/index.d.ts +6 -7
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +3 -4
- package/dist/react/post-purchase.esm.js +1 -1
- package/dist/react/post-purchase.esm.js.map +1 -1
- package/dist/react/post-purchase.js +1 -1
- package/dist/react/post-purchase.js.map +1 -1
- package/dist/react/product-details-page.d.ts +4 -2
- package/dist/react/product-details-page.esm.js +1 -1
- package/dist/react/product-details-page.esm.js.map +1 -1
- package/dist/react/product-details-page.js +1 -1
- package/dist/react/product-details-page.js.map +1 -1
- package/dist/react/redeem-transaction.d.ts +3 -6
- package/dist/react/redeem-transaction.esm.js +1 -1
- package/dist/react/redeem-transaction.esm.js.map +1 -1
- package/dist/react/redeem-transaction.js +1 -1
- package/dist/react/redeem-transaction.js.map +1 -1
- package/dist/react/select-nonprofit.d.ts +3 -6
- package/dist/react/select-nonprofit.esm.js +1 -1
- package/dist/react/select-nonprofit.esm.js.map +1 -1
- package/dist/react/select-nonprofit.js +1 -1
- package/dist/react/select-nonprofit.js.map +1 -1
- package/dist/react/select-subscription-nonprofit.d.ts +3 -6
- package/dist/react/select-subscription-nonprofit.esm.js +1 -1
- package/dist/react/select-subscription-nonprofit.esm.js.map +1 -1
- package/dist/react/select-subscription-nonprofit.js +1 -1
- package/dist/react/select-subscription-nonprofit.js.map +1 -1
- package/dist/react/shopify.d.ts +2 -2
- package/dist/react/shopify.esm.js +1 -1
- package/dist/react/shopify.esm.js.map +1 -1
- package/dist/react/shopify.js +1 -1
- package/dist/react/shopify.js.map +1 -1
- package/dist/react/social-share.d.ts +3 -2
- package/dist/react/social-share.esm.js +1 -1
- package/dist/react/social-share.esm.js.map +1 -1
- package/dist/react/social-share.js +1 -1
- package/dist/react/social-share.js.map +1 -1
- package/dist/react/subscriber-select-nonprofit.d.ts +14 -0
- package/dist/react/subscriber-select-nonprofit.esm.js +2 -0
- package/dist/react/subscriber-select-nonprofit.esm.js.map +1 -0
- package/dist/react/subscriber-select-nonprofit.js +2 -0
- package/dist/react/subscriber-select-nonprofit.js.map +1 -0
- package/dist/react/subscription-impact.d.ts +3 -2
- package/dist/react/subscription-impact.esm.js +1 -1
- package/dist/react/subscription-impact.esm.js.map +1 -1
- package/dist/react/subscription-impact.js +1 -1
- package/dist/react/subscription-impact.js.map +1 -1
- package/dist/react/subscription-management.d.ts +4 -5
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.esm.js.map +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/react/subscription-management.js.map +1 -1
- package/dist/utils/beam-errors.d.ts +3 -1
- package/dist/utils/beam-errors.esm.js +1 -1
- package/dist/utils/beam-errors.js +1 -1
- package/dist/utils/cart.d.ts +3 -18
- package/dist/utils/cart.esm.js +1 -1
- package/dist/utils/cart.esm.js.map +1 -1
- package/dist/utils/cart.js +1 -1
- package/dist/utils/cart.js.map +1 -1
- package/dist/utils/clear-beam-storage.d.ts +3 -0
- package/dist/utils/clear-beam-storage.esm.js +2 -0
- package/dist/utils/clear-beam-storage.esm.js.map +1 -0
- package/dist/utils/clear-beam-storage.js +2 -0
- package/dist/utils/clear-beam-storage.js.map +1 -0
- package/dist/utils/cookies.d.ts +3 -18
- package/dist/utils/cookies.esm.js +1 -1
- package/dist/utils/cookies.esm.js.map +1 -1
- package/dist/utils/cookies.js +1 -1
- package/dist/utils/cookies.js.map +1 -1
- package/dist/utils/debounce.esm.js +1 -1
- package/dist/utils/debounce.js +1 -1
- package/dist/utils/events.d.ts +3 -5
- package/dist/utils/events.esm.js +1 -1
- package/dist/utils/events.js +1 -1
- package/dist/utils/is-equal.esm.js +1 -1
- package/dist/utils/is-equal.js +1 -1
- package/dist/utils/local-storage.d.ts +3 -19
- package/dist/utils/local-storage.esm.js +1 -1
- package/dist/utils/local-storage.esm.js.map +1 -1
- package/dist/utils/local-storage.js +1 -1
- package/dist/utils/local-storage.js.map +1 -1
- package/dist/utils/logger.d.ts +3 -8
- package/dist/utils/logger.esm.js +1 -1
- package/dist/utils/logger.esm.js.map +1 -1
- package/dist/utils/logger.js +1 -1
- package/dist/utils/logger.js.map +1 -1
- package/dist/utils/makeApiKeyHeader.d.ts +3 -5
- package/dist/utils/makeApiKeyHeader.esm.js +1 -1
- package/dist/utils/makeApiKeyHeader.esm.js.map +1 -1
- package/dist/utils/makeApiKeyHeader.js +1 -1
- package/dist/utils/makeApiKeyHeader.js.map +1 -1
- package/dist/utils/memoize-last.d.ts +3 -17
- package/dist/utils/memoize-last.esm.js +1 -1
- package/dist/utils/memoize-last.esm.js.map +1 -1
- package/dist/utils/memoize-last.js +1 -1
- package/dist/utils/memoize-last.js.map +1 -1
- package/dist/utils/network-listeners.d.ts +3 -3
- package/dist/utils/network-listeners.esm.js +1 -1
- package/dist/utils/network-listeners.esm.js.map +1 -1
- package/dist/utils/network-listeners.js +1 -1
- package/dist/utils/network-listeners.js.map +1 -1
- package/dist/utils/promoManager.d.ts +3 -111
- package/dist/utils/promoManager.esm.js +1 -1
- package/dist/utils/promoManager.esm.js.map +1 -1
- package/dist/utils/promoManager.js +1 -1
- package/dist/utils/promoManager.js.map +1 -1
- package/dist/utils/remote-session.d.ts +3 -9
- package/dist/utils/remote-session.esm.js +1 -1
- package/dist/utils/remote-session.esm.js.map +1 -1
- package/dist/utils/remote-session.js +1 -1
- package/dist/utils/remote-session.js.map +1 -1
- package/dist/utils/wait-for-element.d.ts +3 -5
- package/dist/utils/wait-for-element.esm.js +1 -1
- package/dist/utils/wait-for-element.esm.js.map +1 -1
- package/dist/utils/wait-for-element.js +1 -1
- package/dist/utils/wait-for-element.js.map +1 -1
- package/package.json +9 -6
- package/dist/chunks/_share-dialog-dependencies-Bk60ibnw.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-D6vA_2f6.esm.js +0 -2
- package/dist/chunks/_share-dialog-dependencies-D6vA_2f6.esm.js.map +0 -1
- package/dist/chunks/beam-errors-Ci0d3926.esm.js +0 -2
- package/dist/chunks/beam-errors-Ci0d3926.esm.js.map +0 -1
- package/dist/chunks/beam-errors-DUQ9pK2V.esm.d.ts +0 -46
- package/dist/chunks/cart-contents-CEoSx3y4.esm.d.ts +0 -18
- package/dist/chunks/cart-contents-DkoytiZh.esm.js +0 -2
- package/dist/chunks/cart-contents-DkoytiZh.esm.js.map +0 -1
- package/dist/chunks/css-card-grid-DixMt6ek.esm.js +0 -20
- package/dist/chunks/css-card-grid-DixMt6ek.esm.js.map +0 -1
- package/dist/chunks/enforce-config-DHnpgqSK.esm.js +0 -3
- package/dist/chunks/enforce-config-DHnpgqSK.esm.js.map +0 -1
- package/dist/chunks/enforce-config-DUbQnaLO.esm.js +0 -3
- package/dist/chunks/enforce-config-DUbQnaLO.esm.js.map +0 -1
- package/dist/chunks/events-COWOQoLW.esm.js +0 -2
- package/dist/chunks/events-COWOQoLW.esm.js.map +0 -1
- package/dist/chunks/events-Dwqfqbij.esm.d.ts +0 -214
- package/dist/chunks/index-8rOpG9kf.esm.js +0 -2
- package/dist/chunks/index-8rOpG9kf.esm.js.map +0 -1
- package/dist/chunks/index-B1GmdVT3.esm.js +0 -2
- package/dist/chunks/index-B1GmdVT3.esm.js.map +0 -1
- package/dist/chunks/index-B2dxbh1d.esm.js +0 -2
- package/dist/chunks/index-B2dxbh1d.esm.js.map +0 -1
- package/dist/chunks/index-BEEmYYxP.esm.js.map +0 -1
- package/dist/chunks/index-BIEV1MH0.esm.js +0 -2
- package/dist/chunks/index-BIEV1MH0.esm.js.map +0 -1
- package/dist/chunks/index-BaWMWAyt.esm.js +0 -2
- package/dist/chunks/index-BaWMWAyt.esm.js.map +0 -1
- package/dist/chunks/index-BeX4QeUu.esm.js +0 -2
- package/dist/chunks/index-BeX4QeUu.esm.js.map +0 -1
- package/dist/chunks/index-C3hpHWh1.esm.js +0 -2
- package/dist/chunks/index-C3hpHWh1.esm.js.map +0 -1
- package/dist/chunks/index-C3v-y56g.esm.js +0 -2
- package/dist/chunks/index-C3v-y56g.esm.js.map +0 -1
- package/dist/chunks/index-CqqF1sQo.esm.js +0 -2
- package/dist/chunks/index-CqqF1sQo.esm.js.map +0 -1
- package/dist/chunks/index-Cs4Kp9X4.esm.js +0 -2
- package/dist/chunks/index-Cs4Kp9X4.esm.js.map +0 -1
- package/dist/chunks/index-D20ifskY.esm.d.ts +0 -21
- package/dist/chunks/index-D3hxLDQF.esm.js +0 -2
- package/dist/chunks/index-D3hxLDQF.esm.js.map +0 -1
- package/dist/chunks/index-D5TZB-zM.esm.js +0 -2
- package/dist/chunks/index-D5TZB-zM.esm.js.map +0 -1
- package/dist/chunks/index-D6qJfs7_.esm.js +0 -2
- package/dist/chunks/index-D6qJfs7_.esm.js.map +0 -1
- package/dist/chunks/index-DSJACB_p.esm.js +0 -2
- package/dist/chunks/index-DSJACB_p.esm.js.map +0 -1
- package/dist/chunks/index-DmjZnpod.esm.js +0 -2
- package/dist/chunks/index-DmjZnpod.esm.js.map +0 -1
- package/dist/chunks/index-EJRmgmQu.esm.d.ts +0 -74
- package/dist/chunks/index-UMeAzKTG.esm.js.map +0 -1
- package/dist/chunks/index-mppXVWCH.esm.js +0 -2
- package/dist/chunks/index-mppXVWCH.esm.js.map +0 -1
- package/dist/chunks/index-n62IxH5D.esm.js +0 -2
- package/dist/chunks/index-n62IxH5D.esm.js.map +0 -1
- package/dist/chunks/index-nAPzvUWE.esm.js +0 -2
- package/dist/chunks/index-nAPzvUWE.esm.js.map +0 -1
- package/dist/chunks/index-xcGPhpiO.esm.d.ts +0 -44
- package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js +0 -2
- package/dist/chunks/is-all-html-elements-fcB7UUA1.esm.js.map +0 -1
- package/dist/chunks/loading-template-BFvXaTlD.esm.js +0 -2
- package/dist/chunks/loading-template-BFvXaTlD.esm.js.map +0 -1
- package/dist/chunks/localize-Dg7NgKIP.esm.js +0 -31
- package/dist/chunks/localize-Dg7NgKIP.esm.js.map +0 -1
- package/dist/chunks/localize-DkAbsh05.esm.js +0 -31
- package/dist/chunks/localize-DkAbsh05.esm.js.map +0 -1
- package/dist/chunks/order-page-B0WbVrvh.esm.js +0 -2
- package/dist/chunks/order-page-B0WbVrvh.esm.js.map +0 -1
- package/dist/chunks/order-page-CT3hnhzf.esm.js +0 -2
- package/dist/chunks/order-page-CT3hnhzf.esm.js.map +0 -1
- package/dist/chunks/progress-bar-B82FOT8n.esm.js +0 -54
- package/dist/chunks/progress-bar-B82FOT8n.esm.js.map +0 -1
- package/dist/chunks/promo-pill-label-DcsiJS_N.esm.js +0 -16
- package/dist/chunks/promo-pill-label-DcsiJS_N.esm.js.map +0 -1
- package/dist/chunks/promo-types-CmZzhkpN.esm.d.ts +0 -15
- package/dist/chunks/promo-types-DKAOFHJr.esm.js +0 -2
- package/dist/chunks/promo-types-DKAOFHJr.esm.js.map +0 -1
- package/dist/chunks/routes-BIMwJ8u9.esm.js +0 -2
- package/dist/chunks/routes-BIMwJ8u9.esm.js.map +0 -1
- package/dist/chunks/routes-DSu5s3K7.esm.js +0 -2
- package/dist/chunks/routes-DSu5s3K7.esm.js.map +0 -1
- package/dist/chunks/share-button-CLMw49f5.esm.js +0 -2
- package/dist/chunks/share-button-CLMw49f5.esm.js.map +0 -1
- package/dist/chunks/share-button-DXS3zbJz.esm.js +0 -2
- package/dist/chunks/share-button-DXS3zbJz.esm.js.map +0 -1
- package/dist/chunks/share-button-DkTpGZk1.esm.js +0 -172
- package/dist/chunks/share-button-Dzc7loia.esm.js.map +0 -1
- package/dist/chunks/types-D_PLq1pj.esm.d.ts +0 -28
- package/dist/chunks/types-DfRc36jU.esm.d.ts +0 -15
- package/dist/chunks/update-cart-ByUvNLyZ.esm.js +0 -2
- package/dist/chunks/update-cart-ByUvNLyZ.esm.js.map +0 -1
- package/dist/chunks/update-cart-yj_9VGHp.esm.js +0 -2
- package/dist/chunks/update-cart-yj_9VGHp.esm.js.map +0 -1
- package/dist/integrations/index.d.ts +0 -31
- package/dist/integrations/index.esm.js +0 -2
- package/dist/integrations/index.esm.js.map +0 -1
- package/dist/integrations/index.js +0 -2
- package/dist/integrations/index.js.map +0 -1
- package/dist/utils/index.d.ts +0 -16
- package/dist/utils/index.esm.js +0 -2
- package/dist/utils/index.esm.js.map +0 -1
- package/dist/utils/index.js +0 -2
- package/dist/utils/index.js.map +0 -1
package/dist/react/shopify.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
|
|
2
|
+
export { };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{V as c,z as r,Y as i,Z as g,e as S,h as p,_ as u,a as k,g as s,k as P,G as w,f,R as E,j as y,b as A,C as L,l as v,$ as F,Q as I,a0 as _,F as R,p as N,s as z,o as n,I as V,H as b,X as h,w as q,q as K}from"../chunks/utils-C5hmbxa4.esm.js";import{d as O,i as x}from"../chunks/lodash-CrMU6wKg.esm.js";import{v as J}from"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/lit-BEag9MFp.esm.js";var M=Object.freeze({__proto__:null,clearBeamStorage:c,createScopedLocalStorage:r,debounce:O,deleteCookieValue:i,errors:g,events:S,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:u,getCookieMap:k,getCookieValue:s,getPromoCodeFromShopifyCookie:P,getPromoCodesFromCart:w,getPromoCodesLocalStorage:f,getRemoteSession:E,getSanitizedUrlForStorage:y,initNetworkListeners:A,isEmptyPromoData:L,isEqual:x,logger:v,mapToUnvalidatedPromoCodes:F,memoizeLast:I,mergeStoreAndReturnPromos:_,parseJsonStringArray:R,promoCodesAreEqual:N,saveRemoteSession:z,setCookieValue:n,setPromoCodeInCookie:V,setPromoCodesInLocalStorage:b,teardownNetworkListeners:h,waitForElement:q});const m=K.SESSION;async function d({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await s(e))return;const o=J(),C=Date.now()+720*60*60*1e3;await n({name:e,value:o,domain:a,path:"/",expires:C}),r({apiKey:t}).setItemJson("cart",{cartId:o})}async function l({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){const o=await s(e);o&&(r({apiKey:t}).setItemJson("cart",{cartId:o}),await i({name:e,domain:a}))}var U=Object.freeze({__proto__:null,createSession:d,endSession:l});export{M as a,d as c,l as e,U as i};
|
|
2
2
|
//# sourceMappingURL=shopify.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shopify.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"shopify.esm.js","sources":["../../src/integrations/session/index.ts"],"sourcesContent":["/**\n If checkout and order page are on different subdomains, we can't access localStorage for nonprofitId/selectionId\n We can make post-transaction work by copying a \"cartID\"-style cookie to the expected localStorage key on the current\n domain, which will allow the post-transaction widgets to send that to the backend which can restore the selection\n from the cart.\n\n This will also work if we don't have a cart cookie for some other reason, although it is not directly integrated\n with the host site's concept of a cart (e.g., line items and expiration dates).\n\n Note: Use a module import rather than a self-executing script so that we can set cookies on the host domain\n rather than our 3rd party CDN domain, and customize the options via arguments.\n\n Usage:\n <script type=\"module\">\n import { createSession } from 'https://...';\n createSession({domain: 'mystore.com'})\n </script>\n */\n\nimport { v4 as uuid } from \"@lukeed/uuid/secure\";\nimport { deleteCookieValue, getCookieValue, setCookieValue } from \"../../utils/cookies\";\nimport { createScopedLocalStorage } from \"../../utils/local-storage\";\nimport { BEAM_COOKIE_NAMES } from \"../../api-sdk/constants\";\n\nconst DEFAULT_COOKIE_NAME = BEAM_COOKIE_NAMES.SESSION;\n\nexport async function createSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain or subdomain to set cookie on\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const existingValue = await getCookieValue(cookieName);\n\n if (existingValue) {\n return; // do nothing\n }\n\n const cookieValue = uuid();\n\n const expires = Date.now() + 30 * 24 * 60 * 60 * 1000; // 30 days\n\n await setCookieValue({ name: cookieName, value: cookieValue, domain, path: \"/\", expires });\n\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n}\n\nexport async function endSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain to remove cookie from\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const cookieValue = await getCookieValue(cookieName);\n\n if (!cookieValue) {\n return; // do nothing\n }\n\n // copy cookie value into localStorage for widgets to use\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n\n // delete cookie to end session (will generate new one on next visit)\n await deleteCookieValue({ name: cookieName, domain });\n}\n"],"names":["DEFAULT_COOKIE_NAME","BEAM_COOKIE_NAMES","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"uiCAwBA,MAAMA,EAAsBC,EAAkB,QAE9C,eAAsBC,EAAc,CAClC,WAAAC,EAAaH,EACb,OAAAI,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,IAEdC,EAAU,KAAK,IAAA,EAAQ,IAAU,GAAK,GAAK,IAEjD,MAAMC,EAAe,CAAE,KAAMP,EAAY,MAAOI,EAAa,OAAAH,EAAQ,KAAM,IAAK,QAAAK,CAAQ,CAAC,EAEhEE,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,CAC9D,CAEA,eAAsBK,EAAW,CAC/B,WAAAT,EAAaH,EACb,OAAAI,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CACN,MAAME,EAAc,MAAMD,EAAeH,CAAU,EAE9CI,IAKoBI,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,EAG5D,MAAMM,EAAkB,CAAE,KAAMV,EAAY,OAAAC,CAAO,CAAC,EACtD"}
|
package/dist/react/shopify.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{V as c,z as r,Y as i,Z as g,e as S,h as p,_ as u,a as k,g as s,k as P,G as w,f,R as E,j as y,b as A,C as L,l as v,$ as F,Q as I,a0 as _,F as R,p as N,s as z,o as n,I as V,H as b,X as h,w as q,q as K}from"../chunks/utils-C5hmbxa4.esm.js";import{d as O,i as x}from"../chunks/lodash-CrMU6wKg.esm.js";import{v as J}from"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/lit-BEag9MFp.esm.js";var M=Object.freeze({__proto__:null,clearBeamStorage:c,createScopedLocalStorage:r,debounce:O,deleteCookieValue:i,errors:g,events:S,formatStoreAndReturnPromoCodes:p,getAllPromoCodesFromCookie:u,getCookieMap:k,getCookieValue:s,getPromoCodeFromShopifyCookie:P,getPromoCodesFromCart:w,getPromoCodesLocalStorage:f,getRemoteSession:E,getSanitizedUrlForStorage:y,initNetworkListeners:A,isEmptyPromoData:L,isEqual:x,logger:v,mapToUnvalidatedPromoCodes:F,memoizeLast:I,mergeStoreAndReturnPromos:_,parseJsonStringArray:R,promoCodesAreEqual:N,saveRemoteSession:z,setCookieValue:n,setPromoCodeInCookie:V,setPromoCodesInLocalStorage:b,teardownNetworkListeners:h,waitForElement:q});const m=K.SESSION;async function d({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){if(await s(e))return;const o=J(),C=Date.now()+720*60*60*1e3;await n({name:e,value:o,domain:a,path:"/",expires:C}),r({apiKey:t}).setItemJson("cart",{cartId:o})}async function l({cookieName:e=m,domain:a=window.location.hostname,apiKey:t=""}={}){const o=await s(e);o&&(r({apiKey:t}).setItemJson("cart",{cartId:o}),await i({name:e,domain:a}))}var U=Object.freeze({__proto__:null,createSession:d,endSession:l});export{M as a,d as c,l as e,U as i};
|
|
2
2
|
//# sourceMappingURL=shopify.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"shopify.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
1
|
+
{"version":3,"file":"shopify.js","sources":["../../src/integrations/session/index.ts"],"sourcesContent":["/**\n If checkout and order page are on different subdomains, we can't access localStorage for nonprofitId/selectionId\n We can make post-transaction work by copying a \"cartID\"-style cookie to the expected localStorage key on the current\n domain, which will allow the post-transaction widgets to send that to the backend which can restore the selection\n from the cart.\n\n This will also work if we don't have a cart cookie for some other reason, although it is not directly integrated\n with the host site's concept of a cart (e.g., line items and expiration dates).\n\n Note: Use a module import rather than a self-executing script so that we can set cookies on the host domain\n rather than our 3rd party CDN domain, and customize the options via arguments.\n\n Usage:\n <script type=\"module\">\n import { createSession } from 'https://...';\n createSession({domain: 'mystore.com'})\n </script>\n */\n\nimport { v4 as uuid } from \"@lukeed/uuid/secure\";\nimport { deleteCookieValue, getCookieValue, setCookieValue } from \"../../utils/cookies\";\nimport { createScopedLocalStorage } from \"../../utils/local-storage\";\nimport { BEAM_COOKIE_NAMES } from \"../../api-sdk/constants\";\n\nconst DEFAULT_COOKIE_NAME = BEAM_COOKIE_NAMES.SESSION;\n\nexport async function createSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain or subdomain to set cookie on\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const existingValue = await getCookieValue(cookieName);\n\n if (existingValue) {\n return; // do nothing\n }\n\n const cookieValue = uuid();\n\n const expires = Date.now() + 30 * 24 * 60 * 60 * 1000; // 30 days\n\n await setCookieValue({ name: cookieName, value: cookieValue, domain, path: \"/\", expires });\n\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n}\n\nexport async function endSession({\n cookieName = DEFAULT_COOKIE_NAME,\n domain = window.location.hostname, // domain to remove cookie from\n apiKey = \"\", // optional unless scoping localStorage to api key\n} = {}) {\n const cookieValue = await getCookieValue(cookieName);\n\n if (!cookieValue) {\n return; // do nothing\n }\n\n // copy cookie value into localStorage for widgets to use\n const beamLocalStorage = createScopedLocalStorage({ apiKey });\n beamLocalStorage.setItemJson(\"cart\", { cartId: cookieValue });\n\n // delete cookie to end session (will generate new one on next visit)\n await deleteCookieValue({ name: cookieName, domain });\n}\n"],"names":["DEFAULT_COOKIE_NAME","BEAM_COOKIE_NAMES","createSession","cookieName","domain","apiKey","getCookieValue","cookieValue","uuid","expires","setCookieValue","createScopedLocalStorage","endSession","deleteCookieValue"],"mappings":"uiCAwBA,MAAMA,EAAsBC,EAAkB,QAE9C,eAAsBC,EAAc,CAClC,WAAAC,EAAaH,EACb,OAAAI,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CAGN,GAFsB,MAAMC,EAAeH,CAAU,EAGnD,OAGF,MAAMI,EAAcC,IAEdC,EAAU,KAAK,IAAA,EAAQ,IAAU,GAAK,GAAK,IAEjD,MAAMC,EAAe,CAAE,KAAMP,EAAY,MAAOI,EAAa,OAAAH,EAAQ,KAAM,IAAK,QAAAK,CAAQ,CAAC,EAEhEE,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,CAC9D,CAEA,eAAsBK,EAAW,CAC/B,WAAAT,EAAaH,EACb,OAAAI,EAAS,OAAO,SAAS,SACzB,OAAAC,EAAS,EACX,EAAI,GAAI,CACN,MAAME,EAAc,MAAMD,EAAeH,CAAU,EAE9CI,IAKoBI,EAAyB,CAAE,OAAAN,CAAO,CAAC,EAC3C,YAAY,OAAQ,CAAE,OAAQE,CAAY,CAAC,EAG5D,MAAMM,EAAkB,CAAE,KAAMV,EAAY,OAAAC,CAAO,CAAC,EACtD"}
|
|
@@ -3,8 +3,9 @@ import { BeamSocialShare as BeamSocialShare$1 } from '../components/social-share
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import '../components/beam-partner-logos.js';
|
|
6
|
-
import '../chunks/
|
|
7
|
-
import '
|
|
6
|
+
import '../chunks/utils-COGFpDER.esm.js';
|
|
7
|
+
import 'lodash-es/debounce';
|
|
8
|
+
import 'lodash-es/isEqual';
|
|
8
9
|
|
|
9
10
|
declare const BeamSocialShare: _lit_react.ReactWebComponent<BeamSocialShare$1, {}>;
|
|
10
11
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSocialShare as m}from"../components/social-share.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-BEUnzuWq.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";const o=r({tagName:m.tagName,elementClass:m,react:a});export{o as BeamSocialShare,o as default};
|
|
2
2
|
//# sourceMappingURL=social-share.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social-share.esm.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"social-share.esm.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"yfAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import a from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSocialShare as m}from"../components/social-share.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-BEUnzuWq.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";const o=r({tagName:m.tagName,elementClass:m,react:a});export{o as BeamSocialShare,o as default};
|
|
2
2
|
//# sourceMappingURL=social-share.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"social-share.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"social-share.js","sources":["../../src/components/social-share/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSocialShare as _BeamSocialShare } from \"./index\";\n\nexport const BeamSocialShare = createComponent({\n tagName: _BeamSocialShare.tagName,\n elementClass: _BeamSocialShare,\n react: React,\n});\n\nexport default BeamSocialShare; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSocialShare","createComponent","_BeamSocialShare","React"],"mappings":"ifAIO,MAAMA,EAAkBC,EAAgB,CAC7C,QAASC,EAAiB,QAC1B,aAAcA,EACd,MAAOC,CACT,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as _lit_react from '@lit/react';
|
|
2
|
+
import { EventName } from '@lit/react';
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/utils-COGFpDER.esm.js';
|
|
4
|
+
import { BeamSubscriberSelectNonprofit as BeamSubscriberSelectNonprofit$1 } from '../components/subscriber-select-nonprofit.js';
|
|
5
|
+
import 'lodash-es/debounce';
|
|
6
|
+
import 'lodash-es/isEqual';
|
|
7
|
+
import 'lit-html';
|
|
8
|
+
import 'lit';
|
|
9
|
+
|
|
10
|
+
declare const BeamSubscriberSelectNonprofit: _lit_react.ReactWebComponent<BeamSubscriberSelectNonprofit$1, {
|
|
11
|
+
onNonprofitSelect: EventName<BeamNonprofitSelectEvent>;
|
|
12
|
+
}>;
|
|
13
|
+
|
|
14
|
+
export { BeamSubscriberSelectNonprofit, BeamSubscriberSelectNonprofit as default };
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-C5hmbxa4.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-B_i-to-h.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
|
|
2
|
+
//# sourceMappingURL=subscriber-select-nonprofit.esm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriber-select-nonprofit.esm.js","sources":["../../src/components/subscriber-select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSubscriberSelectNonprofit as _BeamSubscriberSelectNonprofit } from \"./index\";\n\nexport const BeamSubscriberSelectNonprofit = createComponent({\n tagName: _BeamSubscriberSelectNonprofit.tagName,\n elementClass: _BeamSubscriberSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSubscriberSelectNonprofit;\n"],"names":["BeamSubscriberSelectNonprofit","createComponent","_BeamSubscriberSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"seAKO,MAAMA,EAAgCC,EAAgB,CAC3D,QAASC,EAA+B,QACxC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{B as m}from"../chunks/utils-C5hmbxa4.esm.js";import{BeamSubscriberSelectNonprofit as e}from"../components/subscriber-select-nonprofit.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";import"../chunks/handlebars-B_i-to-h.esm.js";const t=r({tagName:e.tagName,elementClass:e,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSubscriberSelectNonprofit,t as default};
|
|
2
|
+
//# sourceMappingURL=subscriber-select-nonprofit.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"subscriber-select-nonprofit.js","sources":["../../src/components/subscriber-select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../utils/events\";\nimport { BeamSubscriberSelectNonprofit as _BeamSubscriberSelectNonprofit } from \"./index\";\n\nexport const BeamSubscriberSelectNonprofit = createComponent({\n tagName: _BeamSubscriberSelectNonprofit.tagName,\n elementClass: _BeamSubscriberSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSubscriberSelectNonprofit;\n"],"names":["BeamSubscriberSelectNonprofit","createComponent","_BeamSubscriberSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"keAKO,MAAMA,EAAgCC,EAAgB,CAC3D,QAASC,EAA+B,QACxC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -3,8 +3,9 @@ import { BeamSubscriptionImpact as BeamSubscriptionImpact$1 } from '../component
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import 'lodash';
|
|
6
|
-
import '../chunks/
|
|
7
|
-
import '
|
|
6
|
+
import '../chunks/utils-COGFpDER.esm.js';
|
|
7
|
+
import 'lodash-es/debounce';
|
|
8
|
+
import 'lodash-es/isEqual';
|
|
8
9
|
|
|
9
10
|
declare const BeamSubscriptionImpact: _lit_react.ReactWebComponent<BeamSubscriptionImpact$1, {}>;
|
|
10
11
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/share-button-C4yPLL_t.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-BEUnzuWq.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-impact.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-impact.esm.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription-impact.esm.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"mjBAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionImpact as t}from"../components/subscription-impact.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/share-button-C4yPLL_t.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-BEUnzuWq.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionImpact,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-impact.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-impact.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription-impact.js","sources":["../../src/components/subscription-impact/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionImpact as _BeamSubscriptionImpact } from \"./index\";\n\nexport const BeamSubscriptionImpact = createComponent({\n tagName: _BeamSubscriptionImpact.tagName,\n elementClass: _BeamSubscriptionImpact,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionImpact; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionImpact","createComponent","_BeamSubscriptionImpact","React"],"mappings":"+iBAIO,MAAMA,EAAyBC,EAAgB,CACpD,QAASC,EAAwB,QACjC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -2,13 +2,12 @@ import * as _lit_react from '@lit/react';
|
|
|
2
2
|
import { BeamSubscriptionManagement as BeamSubscriptionManagement$1 } from '../components/subscription-management.js';
|
|
3
3
|
import 'lit-html';
|
|
4
4
|
import 'lit';
|
|
5
|
-
import '../chunks/routes-
|
|
6
|
-
import '../chunks/
|
|
7
|
-
import '
|
|
5
|
+
import '../chunks/routes-D6Gtw6kZ.esm.js';
|
|
6
|
+
import '../chunks/utils-COGFpDER.esm.js';
|
|
7
|
+
import 'lodash-es/debounce';
|
|
8
|
+
import 'lodash-es/isEqual';
|
|
8
9
|
import '../components/select-subscription-nonprofit.js';
|
|
9
10
|
import 'lodash';
|
|
10
|
-
import '../chunks/types-D_PLq1pj.esm.js';
|
|
11
|
-
import '../chunks/types-DfRc36jU.esm.js';
|
|
12
11
|
import '../components/beam-partner-logos.js';
|
|
13
12
|
import '../components/subscription-impact.js';
|
|
14
13
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";import"../components/select-subscription-nonprofit.esm.js";import"../components/beam-partner-logos.esm.js";import"../components/subscription-impact.esm.js";import"../chunks/share-button-C4yPLL_t.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-BEUnzuWq.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-management.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-management.esm.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription-management.esm.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"utBAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{f as r}from"../chunks/lit-
|
|
1
|
+
import o from"react";import{f as r}from"../chunks/lit-BEag9MFp.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";import"../chunks/share-button-5gfPmeEh.esm.js";import"../chunks/index-Dm-K2MLY.esm.js";import"../chunks/css-card-grid-CiqEjkwR.esm.js";import"../components/select-subscription-nonprofit.js";import"../components/beam-partner-logos.js";import"../components/subscription-impact.js";import"../chunks/share-button-C4yPLL_t.esm.js";import"../chunks/vendor-DUOg5fL-.esm.js";import"../chunks/_share-dialog-dependencies-BEUnzuWq.esm.js";import"../chunks/responsive-aN8P5PqD.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-management.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"subscription-management.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"subscription-management.js","sources":["../../src/components/subscription-management/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamSubscriptionManagement as _BeamSubscriptionManagement } from \"./index\";\n\nexport const BeamSubscriptionManagement = createComponent({\n tagName: _BeamSubscriptionManagement.tagName,\n elementClass: _BeamSubscriptionManagement,\n react: React,\n events: {},\n});\n\nexport default BeamSubscriptionManagement; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSubscriptionManagement","createComponent","_BeamSubscriptionManagement","React"],"mappings":"usBAIO,MAAMA,EAA6BC,EAAgB,CACxD,QAASC,EAA4B,QACrC,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1 +1,3 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { O as BeamError, P as LocalStorageError, Q as MissingConfig, R as NetworkError, S as SetupError } from '../chunks/utils-COGFpDER.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as s,a4 as e,P as t,a3 as i,S as E}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,E as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{n as s,a4 as e,P as t,a3 as i,S as E}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{s as BeamError,e as LocalStorageError,t as MissingConfig,i as NetworkError,E as SetupError};
|
|
2
2
|
//# sourceMappingURL=beam-errors.js.map
|
package/dist/utils/cart.d.ts
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
* @returns The Beam cart ID if present in cookies or local storage, otherwise null
|
|
5
|
-
*/
|
|
6
|
-
declare const getBeamCartId: (CART_COOKIE_NAME: string, config: {
|
|
7
|
-
apiKey: string;
|
|
8
|
-
}) => string | null;
|
|
9
|
-
/**
|
|
10
|
-
* Retrieves the external cart ID
|
|
11
|
-
* @param CART_COOKIE_NAME - The name of the cookie that stores the external cart ID
|
|
12
|
-
* @returns The external cart ID if available or null if neither is available
|
|
13
|
-
*/
|
|
14
|
-
declare const getExternalCartId: (CART_COOKIE_NAME: string, config: {
|
|
15
|
-
apiKey: string;
|
|
16
|
-
}) => string | null;
|
|
17
|
-
|
|
18
|
-
export { getBeamCartId, getExternalCartId };
|
|
1
|
+
export { a3 as getBeamCartId, a4 as getExternalCartId } from '../chunks/utils-COGFpDER.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
package/dist/utils/cart.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A as e,J as m}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
|
|
2
2
|
//# sourceMappingURL=cart.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"cart.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/cart.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A as e,J as m}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{e as getBeamCartId,m as getExternalCartId};
|
|
2
2
|
//# sourceMappingURL=cart.js.map
|
package/dist/utils/cart.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cart.js","sources":[
|
|
1
|
+
{"version":3,"file":"cart.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-beam-storage.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"clear-beam-storage.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/cookies.d.ts
CHANGED
|
@@ -1,18 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
declare const deleteCookieValue: (options: {
|
|
5
|
-
name: string;
|
|
6
|
-
domain?: string;
|
|
7
|
-
path?: string;
|
|
8
|
-
}) => undefined;
|
|
9
|
-
interface CookieInit {
|
|
10
|
-
name: string;
|
|
11
|
-
value: string;
|
|
12
|
-
path?: string;
|
|
13
|
-
domain?: string;
|
|
14
|
-
expires?: number;
|
|
15
|
-
sameSite?: "strict" | "lax" | "none";
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export { deleteCookieValue, getCookieMap, getCookieValue, setCookieValue };
|
|
1
|
+
export { l as deleteCookieValue, p as getCookieMap, q as getCookieValue, G as setCookieValue } from '../chunks/utils-COGFpDER.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{Y as t,a as i,g as s,o as k}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as deleteCookieValue,i as getCookieMap,s as getCookieValue,k as setCookieValue};
|
|
2
2
|
//# sourceMappingURL=cookies.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"cookies.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/cookies.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{Y as t,a as i,g as s,o as k}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{t as deleteCookieValue,i as getCookieMap,s as getCookieValue,k as setCookieValue};
|
|
2
2
|
//# sourceMappingURL=cookies.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cookies.js","sources":[
|
|
1
|
+
{"version":3,"file":"cookies.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d}from"../chunks/lodash-
|
|
1
|
+
import{d}from"../chunks/lodash-CrMU6wKg.esm.js";export{d as debounce};
|
|
2
2
|
//# sourceMappingURL=debounce.esm.js.map
|
package/dist/utils/debounce.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{d}from"../chunks/lodash-
|
|
1
|
+
import{d}from"../chunks/lodash-CrMU6wKg.esm.js";export{d as debounce};
|
|
2
2
|
//# sourceMappingURL=debounce.js.map
|
package/dist/utils/events.d.ts
CHANGED
|
@@ -1,5 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
import '
|
|
3
|
-
import '
|
|
4
|
-
export { a as BeamCartChangeEvent, b as BeamCartCreatedEvent, c as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, d as BeamNonprofitSelectionRemovedEvent, f as BeamOrderCreatedEvent, g as BeamPromoCodesStoredEvent, h as BeamStatsigInitializedEvent, i as BeamStatusChangeEvent, j as BeamWidgetInitialNonprofitSyncCancelEvent, k as BeamWidgetInitialNonprofitSyncEvent, l as BeamWidgetStoredPromoCodesEvent } from '../chunks/events-Dwqfqbij.esm.js';
|
|
5
|
-
import '../chunks/openapi-spec-B4z4_CMq.esm.js';
|
|
1
|
+
export { U as BeamCartChangeEvent, V as BeamCartCreatedEvent, W as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, X as BeamNonprofitSelectionRemovedEvent, Y as BeamOrderCreatedEvent, Z as BeamPromoCodesStoredEvent, _ as BeamStatsigInitializedEvent, $ as BeamStatusChangeEvent, a0 as BeamWidgetInitialNonprofitSyncCancelEvent, a1 as BeamWidgetInitialNonprofitSyncEvent, a2 as BeamWidgetStoredPromoCodesEvent } from '../chunks/utils-COGFpDER.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
package/dist/utils/events.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{O as n,t as o,U as r,B as m,K as i,u as s,m as v,r as B,c as E,N as d,M as C,E as l}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{n as BeamCartChangeEvent,o as BeamCartCreatedEvent,r as BeamNetworkCallEvent,m as BeamNonprofitSelectEvent,i as BeamNonprofitSelectionRemovedEvent,s as BeamOrderCreatedEvent,v as BeamPromoCodesStoredEvent,B as BeamStatsigInitializedEvent,E as BeamStatusChangeEvent,d as BeamWidgetInitialNonprofitSyncCancelEvent,C as BeamWidgetInitialNonprofitSyncEvent,l as BeamWidgetStoredPromoCodesEvent};
|
|
2
2
|
//# sourceMappingURL=events.esm.js.map
|
package/dist/utils/events.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{O as n,t as o,U as r,B as m,K as i,u as s,m as v,r as B,c as E,N as d,M as C,E as l}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{n as BeamCartChangeEvent,o as BeamCartCreatedEvent,r as BeamNetworkCallEvent,m as BeamNonprofitSelectEvent,i as BeamNonprofitSelectionRemovedEvent,s as BeamOrderCreatedEvent,v as BeamPromoCodesStoredEvent,B as BeamStatsigInitializedEvent,E as BeamStatusChangeEvent,d as BeamWidgetInitialNonprofitSyncCancelEvent,C as BeamWidgetInitialNonprofitSyncEvent,l as BeamWidgetStoredPromoCodesEvent};
|
|
2
2
|
//# sourceMappingURL=events.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as o}from"../chunks/lodash-
|
|
1
|
+
import{i as o}from"../chunks/lodash-CrMU6wKg.esm.js";export{o as isEqual};
|
|
2
2
|
//# sourceMappingURL=is-equal.esm.js.map
|
package/dist/utils/is-equal.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{i as o}from"../chunks/lodash-
|
|
1
|
+
import{i as o}from"../chunks/lodash-CrMU6wKg.esm.js";export{o as isEqual};
|
|
2
2
|
//# sourceMappingURL=is-equal.js.map
|
|
@@ -1,19 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
*/
|
|
5
|
-
declare const createScopedLocalStorage: (config: {
|
|
6
|
-
apiKey: string;
|
|
7
|
-
}) => {
|
|
8
|
-
readonly prefix: string;
|
|
9
|
-
readonly postfix: string;
|
|
10
|
-
getItem(key: string): string | null;
|
|
11
|
-
setItem(key: string, value: unknown): void;
|
|
12
|
-
removeItem(key: string): void;
|
|
13
|
-
/** Safely parses value as JSON and return JS object */
|
|
14
|
-
getItemJson<T = Record<string, unknown>>(key: string): T | null;
|
|
15
|
-
/** Safely stringifies value as JSON */
|
|
16
|
-
setItemJson(key: string, value: object): void;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
export { createScopedLocalStorage };
|
|
1
|
+
export { k as createScopedLocalStorage } from '../chunks/utils-COGFpDER.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{z as a}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{a as createScopedLocalStorage};
|
|
2
2
|
//# sourceMappingURL=local-storage.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-storage.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"local-storage.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{z as a}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{a as createScopedLocalStorage};
|
|
2
2
|
//# sourceMappingURL=local-storage.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-storage.js","sources":[
|
|
1
|
+
{"version":3,"file":"local-storage.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/logger.d.ts
CHANGED
|
@@ -1,8 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
warn: (...args: any[]) => void;
|
|
5
|
-
debug: (...args: any[]) => void;
|
|
6
|
-
};
|
|
7
|
-
|
|
8
|
-
export { logger };
|
|
1
|
+
export { y as logger } from '../chunks/utils-COGFpDER.esm.js';
|
|
2
|
+
import 'lodash-es/debounce';
|
|
3
|
+
import 'lodash-es/isEqual';
|
package/dist/utils/logger.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{l as g}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{g as logger};
|
|
2
2
|
//# sourceMappingURL=logger.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.esm.js","sources":[
|
|
1
|
+
{"version":3,"file":"logger.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/utils/logger.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{l as g}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{g as logger};
|
|
2
2
|
//# sourceMappingURL=logger.js.map
|
package/dist/utils/logger.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logger.js","sources":[
|
|
1
|
+
{"version":3,"file":"logger.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
import{x as m}from"../chunks/utils-C5hmbxa4.esm.js";import"../chunks/lodash-CrMU6wKg.esm.js";export{m as makeApiKeyHeader};
|
|
2
2
|
//# sourceMappingURL=makeApiKeyHeader.esm.js.map
|