@beamimpact/web-sdk 1.36.12 → 1.37.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.
- package/dist/chunks/{_share-dialog-dependencies-EtRWS6m5.esm.js → _share-dialog-dependencies-Ex1exJdU.esm.js} +2 -2
- package/dist/chunks/_share-dialog-dependencies-Ex1exJdU.esm.js.map +1 -0
- package/dist/chunks/{_share-dialog-dependencies-6VF8H43o.esm.js → _share-dialog-dependencies-GOqKRBIc.esm.js} +2 -2
- package/dist/chunks/_share-dialog-dependencies-GOqKRBIc.esm.js.map +1 -0
- package/dist/chunks/{cart-contents-v6_9tRb6.esm.d.ts → cart-contents-Cdq4ob0J.esm.d.ts} +1 -1
- package/dist/chunks/{events-OcebkuWu.esm.d.ts → events-3-Mzl-dS.esm.d.ts} +1 -1
- package/dist/chunks/index-5AkzIYu3.esm.js +2 -0
- package/dist/chunks/index-5AkzIYu3.esm.js.map +1 -0
- package/dist/chunks/{index-5daMf0rK.esm.d.ts → index-7-XLaXA4.esm.d.ts} +1 -1
- package/dist/chunks/index-8VxiCO_y.esm.js +2 -0
- package/dist/chunks/index-8VxiCO_y.esm.js.map +1 -0
- package/dist/chunks/{index-JwkkxR5U.esm.d.ts → index-9Cs92uGK.esm.d.ts} +1 -1
- package/dist/chunks/{index-wlzifF_l.esm.d.ts → index-AhT9jBIr.esm.d.ts} +1 -1
- package/dist/chunks/{index-AzO-vVC_.esm.js → index-KErjmUlF.esm.js} +2 -2
- package/dist/chunks/{index-AzO-vVC_.esm.js.map → index-KErjmUlF.esm.js.map} +1 -1
- package/dist/chunks/{index-g9-z_JOJ.esm.d.ts → index-SZxnIRAX.esm.d.ts} +1 -1
- package/dist/chunks/index-a9SRo_pt.esm.js +2 -0
- package/dist/chunks/index-a9SRo_pt.esm.js.map +1 -0
- package/dist/chunks/{index-KVvZMZmn.esm.d.ts → index-b3DeBLwb.esm.d.ts} +1 -1
- package/dist/chunks/index-fdm0Zxu6.esm.js +2 -0
- package/dist/chunks/index-fdm0Zxu6.esm.js.map +1 -0
- package/dist/chunks/index-gfShfkGQ.esm.js +2 -0
- package/dist/chunks/index-gfShfkGQ.esm.js.map +1 -0
- package/dist/chunks/{index-eZQGsMRE.esm.js → index-jYAdXbGg.esm.js} +2 -2
- package/dist/chunks/{index-eZQGsMRE.esm.js.map → index-jYAdXbGg.esm.js.map} +1 -1
- package/dist/chunks/{index-FnuGcS7e.esm.d.ts → index-xRjeUrl2.esm.d.ts} +4 -4
- package/dist/chunks/index-yEHTVDWu.esm.js +2 -0
- package/dist/chunks/index-yEHTVDWu.esm.js.map +1 -0
- package/dist/chunks/{openapi-spec-bq7eoELU.esm.d.ts → openapi-spec-WpREPNjl.esm.d.ts} +15 -68
- package/dist/chunks/{order-page-Lr9R8-is.esm.js → order-page-ZyVxKalS.esm.js} +2 -2
- package/dist/chunks/{order-page-Lr9R8-is.esm.js.map → order-page-ZyVxKalS.esm.js.map} +1 -1
- package/dist/chunks/{order-page-2mptGhAC.esm.d.ts → order-page-eOCpZ8vN.esm.d.ts} +4 -19
- package/dist/chunks/{order-page-U_bvO9-n.esm.js → order-page-nKOujF0G.esm.js} +2 -2
- package/dist/chunks/{order-page-U_bvO9-n.esm.js.map → order-page-nKOujF0G.esm.js.map} +1 -1
- package/dist/chunks/routes-S3ZS-od_.esm.js +2 -0
- package/dist/chunks/{routes-Y3xQURF0.esm.js.map → routes-S3ZS-od_.esm.js.map} +1 -1
- package/dist/chunks/routes-jQjZhNH9.esm.js +2 -0
- package/dist/chunks/{routes-fBXLZ-QV.esm.js.map → routes-jQjZhNH9.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-OMt_qKQ8.esm.js → update-cart-8nDxTnnQ.esm.js} +2 -2
- package/dist/chunks/{update-cart-OMt_qKQ8.esm.js.map → update-cart-8nDxTnnQ.esm.js.map} +1 -1
- package/dist/chunks/{update-cart-kuufrFCv.esm.d.ts → update-cart-D4jDrYC0.esm.d.ts} +1 -1
- package/dist/chunks/{update-cart-9ANMUWR9.esm.js → update-cart-_cCsAqH9.esm.js} +2 -2
- package/dist/chunks/{update-cart-9ANMUWR9.esm.js.map → update-cart-_cCsAqH9.esm.js.map} +1 -1
- package/dist/components/community-impact.esm.js +1 -1
- package/dist/components/community-impact.js +1 -1
- package/dist/components/cumulative-impact.esm.js +1 -1
- package/dist/components/cumulative-impact.js +1 -1
- package/dist/components/impact-overview.esm.js +1 -1
- package/dist/components/impact-overview.js +1 -1
- package/dist/components/index.d.ts +2 -2
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +3 -3
- package/dist/components/post-purchase.esm.js +3 -1
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +3 -1
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/redeem-transaction.d.ts +3 -3
- 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 -3
- package/dist/components/select-nonprofit.esm.js +1 -1
- package/dist/components/select-nonprofit.js +1 -1
- package/dist/components/shopify.d.ts +5 -5
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/components/subscription-management.d.ts +6 -6
- package/dist/components/subscription-management.esm.js +5 -4
- package/dist/components/subscription-management.esm.js.map +1 -1
- package/dist/components/subscription-management.js +5 -4
- package/dist/components/subscription-management.js.map +1 -1
- package/dist/index.d.ts +11 -11
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/beam.esm.js +1 -1
- package/dist/integrations/beam.js +1 -1
- package/dist/integrations/cart.d.ts +3 -3
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/index.d.ts +9 -9
- package/dist/integrations/index.esm.js +1 -1
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/logs.d.ts +2 -2
- package/dist/integrations/logs.esm.js +1 -1
- package/dist/integrations/logs.js +1 -1
- package/dist/integrations/shopify.d.ts +4 -4
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/integrations/statsig.esm.js +1 -1
- package/dist/integrations/statsig.js +1 -1
- package/dist/integrations/utils.d.ts +3 -3
- package/dist/react/community-impact.esm.js +1 -1
- package/dist/react/community-impact.js +1 -1
- package/dist/react/cumulative-impact.esm.js +1 -1
- package/dist/react/cumulative-impact.js +1 -1
- package/dist/react/impact-overview.esm.js +1 -1
- package/dist/react/impact-overview.js +1 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +2 -2
- package/dist/react/post-purchase.esm.js +1 -1
- package/dist/react/post-purchase.js +1 -1
- package/dist/react/redeem-transaction.d.ts +3 -3
- package/dist/react/redeem-transaction.esm.js +1 -1
- package/dist/react/redeem-transaction.js +1 -1
- package/dist/react/select-nonprofit.d.ts +3 -3
- package/dist/react/select-nonprofit.esm.js +1 -1
- package/dist/react/select-nonprofit.js +1 -1
- package/dist/react/subscription-management.d.ts +2 -2
- package/dist/react/subscription-management.esm.js +1 -1
- package/dist/react/subscription-management.js +1 -1
- package/dist/utils/events.d.ts +3 -3
- package/dist/utils/index.d.ts +3 -3
- package/package.json +1 -1
- package/dist/chunks/_share-dialog-dependencies-6VF8H43o.esm.js.map +0 -1
- package/dist/chunks/_share-dialog-dependencies-EtRWS6m5.esm.js.map +0 -1
- package/dist/chunks/index-0-TeGf3K.esm.js +0 -2
- package/dist/chunks/index-0-TeGf3K.esm.js.map +0 -1
- package/dist/chunks/index-GnUmyy1z.esm.js +0 -2
- package/dist/chunks/index-GnUmyy1z.esm.js.map +0 -1
- package/dist/chunks/index-IR9Ar71Q.esm.js +0 -2
- package/dist/chunks/index-IR9Ar71Q.esm.js.map +0 -1
- package/dist/chunks/index-Q1G7wE5Y.esm.js +0 -2
- package/dist/chunks/index-Q1G7wE5Y.esm.js.map +0 -1
- package/dist/chunks/index-d7x511He.esm.js +0 -2
- package/dist/chunks/index-d7x511He.esm.js.map +0 -1
- package/dist/chunks/index-ePiYABlF.esm.js +0 -2
- package/dist/chunks/index-ePiYABlF.esm.js.map +0 -1
- package/dist/chunks/routes-Y3xQURF0.esm.js +0 -2
- package/dist/chunks/routes-fBXLZ-QV.esm.js +0 -2
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/events-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/events-3-Mzl-dS.esm.js';
|
|
4
4
|
import { BeamRedeemTransaction as BeamRedeemTransaction$1 } from '../components/redeem-transaction.js';
|
|
5
|
-
import '../chunks/cart-contents-
|
|
6
|
-
import '../chunks/openapi-spec-
|
|
5
|
+
import '../chunks/cart-contents-Cdq4ob0J.esm.js';
|
|
6
|
+
import '../chunks/openapi-spec-WpREPNjl.esm.js';
|
|
7
7
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
8
8
|
import 'lit-html';
|
|
9
9
|
import 'lit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-
|
|
1
|
+
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-jQjZhNH9.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../utils/local-storage.esm.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";const e=o({tagName:t.tagName,elementClass:t,react:m,events:{onNonprofitSelect:r.eventName}});export{e as BeamRedeemTransaction,e as default};
|
|
2
2
|
//# sourceMappingURL=redeem-transaction.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-
|
|
1
|
+
import m from"react";import{l as o}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as r}from"../chunks/events-5IECSF-x.esm.js";import{BeamRedeemTransaction as t}from"../components/redeem-transaction.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-S3ZS-od_.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../utils/local-storage.js";import"../chunks/css-card-grid-3b56QBzq.esm.js";const e=o({tagName:t.tagName,elementClass:t,react:m,events:{onNonprofitSelect:r.eventName}});export{e as BeamRedeemTransaction,e as default};
|
|
2
2
|
//# sourceMappingURL=redeem-transaction.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _lit_react from '@lit/react';
|
|
2
2
|
import { EventName } from '@lit/react';
|
|
3
|
-
import { B as BeamNonprofitSelectEvent } from '../chunks/events-
|
|
3
|
+
import { B as BeamNonprofitSelectEvent } from '../chunks/events-3-Mzl-dS.esm.js';
|
|
4
4
|
import { BeamSelectNonprofit as BeamSelectNonprofit$1 } from '../components/select-nonprofit.js';
|
|
5
|
-
import '../chunks/cart-contents-
|
|
6
|
-
import '../chunks/openapi-spec-
|
|
5
|
+
import '../chunks/cart-contents-Cdq4ob0J.esm.js';
|
|
6
|
+
import '../chunks/openapi-spec-WpREPNjl.esm.js';
|
|
7
7
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
8
8
|
import 'lit-html';
|
|
9
9
|
import 'lit';
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-
|
|
1
|
+
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/routes-jQjZhNH9.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../chunks/localize-GCkVUD8S.esm.js";import"../utils/network-listeners.esm.js";import"../utils/local-storage.esm.js";import"../utils/cookies.esm.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
|
|
2
2
|
//# sourceMappingURL=select-nonprofit.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-
|
|
1
|
+
import o from"react";import{l as e}from"../chunks/lit-yVXn5Cbs.esm.js";import{c as m}from"../chunks/events-5IECSF-x.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/routes-S3ZS-od_.esm.js";import"../chunks/progress-bar-7gWYaGlq.esm.js";import"../chunks/localize-pzAAkBvG.esm.js";import"../utils/network-listeners.js";import"../utils/local-storage.js";import"../utils/cookies.js";import"../chunks/lodash-P8OIs-at.esm.js";import"../chunks/responsive-LYEag6TI.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const t=e({tagName:"beam-select-nonprofit",elementClass:r,react:o,events:{onNonprofitSelect:m.eventName}});export{t as BeamSelectNonprofit,t as default};
|
|
2
2
|
//# sourceMappingURL=select-nonprofit.js.map
|
|
@@ -3,8 +3,8 @@ import { BeamSubscriptionManagement as BeamSubscriptionManagement$1 } from '../c
|
|
|
3
3
|
import 'lit';
|
|
4
4
|
import 'lit-html';
|
|
5
5
|
import '../chunks/types-aju0qrRe.esm.js';
|
|
6
|
-
import '../chunks/cart-contents-
|
|
7
|
-
import '../chunks/openapi-spec-
|
|
6
|
+
import '../chunks/cart-contents-Cdq4ob0J.esm.js';
|
|
7
|
+
import '../chunks/openapi-spec-WpREPNjl.esm.js';
|
|
8
8
|
|
|
9
9
|
declare const BeamSubscriptionManagement: _lit_react.ReactWebComponent<BeamSubscriptionManagement$1, {}>;
|
|
10
10
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{l as a}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/routes-
|
|
1
|
+
import e from"react";import{l as a}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.esm.js";import"../chunks/routes-jQjZhNH9.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.esm.js";import"../chunks/enforce-config-qna7hEL6.esm.js";import"../chunks/events-5IECSF-x.esm.js";const m=a({tagName:t.tagName,elementClass:t,react:e,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-management.esm.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import e from"react";import{l as a}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/routes-
|
|
1
|
+
import e from"react";import{l as a}from"../chunks/lit-yVXn5Cbs.esm.js";import{BeamSubscriptionManagement as t}from"../components/subscription-management.js";import"../chunks/routes-S3ZS-od_.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"../utils/logger.js";import"../chunks/enforce-config-fo8kIfoY.esm.js";import"../chunks/events-5IECSF-x.esm.js";const m=a({tagName:t.tagName,elementClass:t,react:e,events:{}});export{m as BeamSubscriptionManagement,m as default};
|
|
2
2
|
//# sourceMappingURL=subscription-management.js.map
|
package/dist/utils/events.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../chunks/cart-contents-
|
|
1
|
+
import '../chunks/cart-contents-Cdq4ob0J.esm.js';
|
|
2
2
|
import '../chunks/types-7kSi85Gv.esm.js';
|
|
3
|
-
export { b as BeamCartChangeEvent, c as BeamCartCreatedEvent, a as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, d as BeamOrderCreatedEvent, f as BeamStatusChangeEvent } from '../chunks/events-
|
|
4
|
-
import '../chunks/openapi-spec-
|
|
3
|
+
export { b as BeamCartChangeEvent, c as BeamCartCreatedEvent, a as BeamNetworkCallEvent, B as BeamNonprofitSelectEvent, d as BeamOrderCreatedEvent, f as BeamStatusChangeEvent } from '../chunks/events-3-Mzl-dS.esm.js';
|
|
4
|
+
import '../chunks/openapi-spec-WpREPNjl.esm.js';
|
package/dist/utils/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { b as errors } from '../chunks/beam-errors-fXDkG1zo.esm.js';
|
|
2
|
-
export { e as events } from '../chunks/events-
|
|
2
|
+
export { e as events } from '../chunks/events-3-Mzl-dS.esm.js';
|
|
3
3
|
export { logger } from './logger.js';
|
|
4
4
|
export { fetchProxy, initNetworkListeners, xhrProxy } from './network-listeners.js';
|
|
5
5
|
export { createScopedLocalStorage } from './local-storage.js';
|
|
@@ -9,6 +9,6 @@ export { getRemoteSession, saveRemoteSession } from './remote-session.js';
|
|
|
9
9
|
export { memoizeLast } from './memoize-last.js';
|
|
10
10
|
export { default as debounce } from 'lodash-es/debounce';
|
|
11
11
|
export { default as isEqual } from 'lodash-es/isEqual';
|
|
12
|
-
import '../chunks/cart-contents-
|
|
13
|
-
import '../chunks/openapi-spec-
|
|
12
|
+
import '../chunks/cart-contents-Cdq4ob0J.esm.js';
|
|
13
|
+
import '../chunks/openapi-spec-WpREPNjl.esm.js';
|
|
14
14
|
import '../chunks/types-7kSi85Gv.esm.js';
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_share-dialog-dependencies-6VF8H43o.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_share-dialog-dependencies-EtRWS6m5.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i}from"./index-OnjTwvAw.esm.js";import{i as o}from"./index-ePiYABlF.esm.js";import{i as r}from"./index-9YcaEQju.esm.js";import{i as e}from"./index-d7x511He.esm.js";import{i as m}from"./index-AzO-vVC_.esm.js";var s=Object.freeze({__proto__:null,Cart:e,Logs:m,Session:r,Shopify:o,Utils:i});export{s as i};
|
|
2
|
-
//# sourceMappingURL=index-0-TeGf3K.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-0-TeGf3K.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as e,C as r,L as t,s as a,P as o}from"./order-page-Lr9R8-is.esm.js";var s=Object.freeze({__proto__:null,addBeamAttributesToCart:e,getCurrentCart:r,registerCartIntegration:t,showBeamOrderPageWidgets:a,trackCart:o});export{s as i};
|
|
2
|
-
//# sourceMappingURL=index-GnUmyy1z.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-GnUmyy1z.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-IR9Ar71Q.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i}from"./index-U8Oy2aur.esm.js";import{i as o}from"./index-GnUmyy1z.esm.js";import{i as r}from"./index-Z1UUeVXR.esm.js";import{i as e}from"./index-IR9Ar71Q.esm.js";import{i as m}from"./index-eZQGsMRE.esm.js";var s=Object.freeze({__proto__:null,Cart:e,Logs:m,Session:r,Shopify:o,Utils:i});export{s as i};
|
|
2
|
-
//# sourceMappingURL=index-Q1G7wE5Y.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-Q1G7wE5Y.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-d7x511He.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{g as e,C as r,L as t,s as a,P as o}from"./order-page-U_bvO9-n.esm.js";var s=Object.freeze({__proto__:null,addBeamAttributesToCart:e,getCurrentCart:r,registerCartIntegration:t,showBeamOrderPageWidgets:a,trackCart:o});export{s as i};
|
|
2
|
-
//# sourceMappingURL=index-ePiYABlF.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-ePiYABlF.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{B as E,N as l}from"./beam-errors-P-Lu07Ce.esm.js";import{logger as p}from"../utils/logger.esm.js";var w="1.36.12",C={"@lit/react":"1.0.0","@lukeed/uuid":"2.0.0","@shoelace-style/shoelace":"2.11.2",lit:"2.6.1","lodash-es":"4.17.21","lucide-static":"0.292.0"};async function O(s,a){const c={method:"GET",...a,headers:{"Content-Type":"application/json",Accept:"application/json","X-Beam-Client":"WebSDK","X-Beam-Client-Version":w,...a?.headers},preflightContinue:!0,mode:a?.mode||"cors",body:a?.body!=null?a.body:void 0};let r;try{r=await fetch(s,c)}catch(e){const o=new E(`Network call failed (${c?.method.toUpperCase()} ${s})`);throw o.cause=e,p.error(o,s),o}let n,i;try{i=await r.text(),i&&(n=JSON.parse(i))}catch(e){let o=e;throw e instanceof SyntaxError&&(o=new l(r,n,`Response invalid. Expected JSON. Received: "${i}"`),o.cause=e),p.error(o),o}if(!r.ok){const e=new l(r,n,"Response was not OK");throw p.error(e),e}return n}const u="https://production-central-backend-ne.beamimpact.com",v="https://production.beamimpactlogs.com",U={en:"en",fr:"fr",de:"de",es:"es",it:"it",pl:"pl"},t=(s,a,c)=>({[s]:async function({headers:r={},baseUrl:n=u,apiRoot:i="/api/v3",pathParams:e={},queryParams:o={},requestBody:m}){const h=Object.entries(e).reduce((g,[y,N])=>g.replace(`{${y}}`,N),s),f=JSON.parse(JSON.stringify(o)),d=new URLSearchParams(f).toString(),S=n+i+h+(d&&`?${d}`),b={headers:r,method:a,body:JSON.stringify(m)};return O(S,b)}})[s],L=t("/impact","get"),R=t("/chain/{chainId}/cumulativeImpact","get"),T=t("/selectNonprofit","post"),k=t("/transaction","post"),A=t("/transaction/{transactionId}","put"),x=t("/cart","post"),B=t("/chain/findEligibleNonprofitsForCart","post"),J=t("/logs","post"),D=t("/experimentSession","post"),F=t("/subscriptions/updateSubscriptionNonprofit","post"),I=t("/subscriptions/findOrCreateSubscription","post");export{u as D,U as S,v as a,B as b,k as c,x as d,J as e,T as f,L as g,I as h,A as i,R as j,C as k,D as p,F as u};
|
|
2
|
-
//# sourceMappingURL=routes-Y3xQURF0.esm.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{B as E,N as l}from"./beam-errors-P-Lu07Ce.esm.js";import{logger as p}from"../utils/logger.js";var w="1.36.12",C={"@lit/react":"1.0.0","@lukeed/uuid":"2.0.0","@shoelace-style/shoelace":"2.11.2",lit:"2.6.1","lodash-es":"4.17.21","lucide-static":"0.292.0"};async function O(s,a){const c={method:"GET",...a,headers:{"Content-Type":"application/json",Accept:"application/json","X-Beam-Client":"WebSDK","X-Beam-Client-Version":w,...a?.headers},preflightContinue:!0,mode:a?.mode||"cors",body:a?.body!=null?a.body:void 0};let r;try{r=await fetch(s,c)}catch(e){const o=new E(`Network call failed (${c?.method.toUpperCase()} ${s})`);throw o.cause=e,p.error(o,s),o}let n,i;try{i=await r.text(),i&&(n=JSON.parse(i))}catch(e){let o=e;throw e instanceof SyntaxError&&(o=new l(r,n,`Response invalid. Expected JSON. Received: "${i}"`),o.cause=e),p.error(o),o}if(!r.ok){const e=new l(r,n,"Response was not OK");throw p.error(e),e}return n}const u="https://production-central-backend-ne.beamimpact.com",v="https://production.beamimpactlogs.com",U={en:"en",fr:"fr",de:"de",es:"es",it:"it",pl:"pl"},t=(s,a,c)=>({[s]:async function({headers:r={},baseUrl:n=u,apiRoot:i="/api/v3",pathParams:e={},queryParams:o={},requestBody:m}){const h=Object.entries(e).reduce((g,[y,N])=>g.replace(`{${y}}`,N),s),f=JSON.parse(JSON.stringify(o)),d=new URLSearchParams(f).toString(),S=n+i+h+(d&&`?${d}`),b={headers:r,method:a,body:JSON.stringify(m)};return O(S,b)}})[s],L=t("/impact","get"),R=t("/chain/{chainId}/cumulativeImpact","get"),T=t("/selectNonprofit","post"),k=t("/transaction","post"),A=t("/transaction/{transactionId}","put"),x=t("/cart","post"),B=t("/chain/findEligibleNonprofitsForCart","post"),J=t("/logs","post"),D=t("/experimentSession","post"),F=t("/subscriptions/updateSubscriptionNonprofit","post"),I=t("/subscriptions/findOrCreateSubscription","post");export{u as D,U as S,v as a,B as b,k as c,x as d,J as e,T as f,L as g,I as h,A as i,R as j,C as k,D as p,F as u};
|
|
2
|
-
//# sourceMappingURL=routes-fBXLZ-QV.esm.js.map
|