@beamimpact/web-sdk 1.29.0-beta.1 → 1.29.0-beta.3
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/README.md +9 -0
- package/dist/chunks/{_share-dialog-dependencies-d9W7-qTW.esm.js → _share-dialog-dependencies-U6xmvwbS.esm.js} +2 -2
- package/dist/chunks/_share-dialog-dependencies-U6xmvwbS.esm.js.map +1 -0
- package/dist/chunks/{_share-dialog-dependencies-uWBh5ejr.esm.js → _share-dialog-dependencies-atazwFLD.esm.js} +2 -2
- package/dist/chunks/_share-dialog-dependencies-atazwFLD.esm.js.map +1 -0
- package/dist/chunks/index-3t5Lk3no.esm.js +2 -0
- package/dist/chunks/index-3t5Lk3no.esm.js.map +1 -0
- package/dist/chunks/index-88dvwYfV.esm.js +2 -0
- package/dist/chunks/index-88dvwYfV.esm.js.map +1 -0
- package/dist/chunks/index-EtzJh88T.esm.js +2 -0
- package/dist/chunks/index-EtzJh88T.esm.js.map +1 -0
- package/dist/chunks/{index-dG8DWaaH.esm.d.ts → index-G6h0AEAz.esm.d.ts} +6 -6
- package/dist/chunks/index-Win_94pf.esm.js +2 -0
- package/dist/chunks/index-Win_94pf.esm.js.map +1 -0
- package/dist/chunks/index-WxO-fsYo.esm.js +2 -0
- package/dist/chunks/index-WxO-fsYo.esm.js.map +1 -0
- package/dist/chunks/{order-page-yvantjI2.esm.js → order-page-XgvorZM6.esm.js} +2 -2
- package/dist/chunks/{order-page-yvantjI2.esm.js.map → order-page-XgvorZM6.esm.js.map} +1 -1
- package/dist/chunks/{order-page-cPB3srgo.esm.js → order-page-zaTU61Qf.esm.js} +2 -2
- package/dist/chunks/{order-page-cPB3srgo.esm.js.map → order-page-zaTU61Qf.esm.js.map} +1 -1
- package/dist/chunks/routes-gjAehped.esm.js +2 -0
- package/dist/chunks/routes-gjAehped.esm.js.map +1 -0
- package/dist/chunks/{update-cart-19PtzbXK.esm.js → update-cart-LUZkuQL3.esm.js} +2 -2
- package/dist/chunks/{update-cart-19PtzbXK.esm.js.map → update-cart-LUZkuQL3.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 +17 -17
- package/dist/components/impact-overview.esm.js.map +1 -1
- package/dist/components/impact-overview.js +17 -17
- package/dist/components/impact-overview.js.map +1 -1
- package/dist/components/index.esm.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/post-purchase.d.ts +1 -1
- package/dist/components/post-purchase.esm.js +4 -4
- package/dist/components/post-purchase.esm.js.map +1 -1
- package/dist/components/post-purchase.js +4 -4
- package/dist/components/post-purchase.js.map +1 -1
- package/dist/components/redeem-transaction.esm.js +1 -1
- package/dist/components/redeem-transaction.js +1 -1
- package/dist/components/select-nonprofit.esm.js +1 -1
- package/dist/components/select-nonprofit.js +1 -1
- package/dist/components/shopify.esm.js +1 -1
- package/dist/components/shopify.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/cart.esm.js +1 -1
- package/dist/integrations/cart.js +1 -1
- package/dist/integrations/index.esm.js +1 -1
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/shopify.esm.js +1 -1
- package/dist/integrations/shopify.js +1 -1
- package/dist/react/beam-partner-logos.d.ts +1 -1
- package/dist/react/beam-partner-logos.esm.js +1 -1
- package/dist/react/beam-partner-logos.esm.js.map +1 -1
- package/dist/react/beam-partner-logos.js +1 -1
- package/dist/react/beam-partner-logos.js.map +1 -1
- package/dist/react/community-impact.d.ts +1 -1
- 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 +1 -1
- 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 +1 -1
- 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 -6
- package/dist/react/index.esm.js +1 -1
- package/dist/react/index.js +1 -1
- package/dist/react/post-purchase.d.ts +1 -1
- 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/redeem-transaction.d.ts +1 -1
- 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 +1 -1
- 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/package.json +1 -1
- package/dist/chunks/_share-dialog-dependencies-d9W7-qTW.esm.js.map +0 -1
- package/dist/chunks/_share-dialog-dependencies-uWBh5ejr.esm.js.map +0 -1
- package/dist/chunks/index-BW-QdExJ.esm.js +0 -2
- package/dist/chunks/index-BW-QdExJ.esm.js.map +0 -1
- package/dist/chunks/index-DCwz1LOg.esm.js +0 -2
- package/dist/chunks/index-DCwz1LOg.esm.js.map +0 -1
- package/dist/chunks/index-NHpZM_uW.esm.js +0 -2
- package/dist/chunks/index-NHpZM_uW.esm.js.map +0 -1
- package/dist/chunks/index-m6WKjTPD.esm.js +0 -2
- package/dist/chunks/index-m6WKjTPD.esm.js.map +0 -1
- package/dist/chunks/index-w1rUrZm2.esm.js +0 -2
- package/dist/chunks/index-w1rUrZm2.esm.js.map +0 -1
- package/dist/chunks/routes-S9p8QYNm.esm.js +0 -2
- package/dist/chunks/routes-S9p8QYNm.esm.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
|
|
2
2
|
//# sourceMappingURL=impact-overview.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impact-overview.esm.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"impact-overview.esm.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n\nexport default BeamImpactOverview; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"ilBAIO,MAAMA,EAAqBC,EAAgB,CAChD,QAASC,EAAoB,QAC7B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import r from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{BeamImpactOverview as m}from"../components/impact-overview.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/beam-partner-logos.js";import"../chunks/responsive-Rehmv-eo.esm.js";const t=e({tagName:m.tagName,elementClass:m,react:r,events:{}});export{t as BeamImpactOverview,t as default};
|
|
2
2
|
//# sourceMappingURL=impact-overview.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"impact-overview.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"impact-overview.js","sources":["../../src/components/impact-overview/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamImpactOverview as _BeamImpactOverview } from \"./index\";\n\nexport const BeamImpactOverview = createComponent({\n tagName: _BeamImpactOverview.tagName,\n elementClass: _BeamImpactOverview,\n react: React,\n events: {},\n});\n\nexport default BeamImpactOverview; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamImpactOverview","createComponent","_BeamImpactOverview","React"],"mappings":"ykBAIO,MAAMA,EAAqBC,EAAgB,CAChD,QAASC,EAAoB,QAC7B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
export { BeamCommunityImpact } from './community-impact.js';
|
|
2
|
-
export { BeamCumulativeImpact } from './cumulative-impact.js';
|
|
3
|
-
export { BeamImpactOverview } from './impact-overview.js';
|
|
4
|
-
export { BeamSelectNonprofit } from './select-nonprofit.js';
|
|
5
|
-
export { BeamRedeemTransaction } from './redeem-transaction.js';
|
|
6
|
-
export { BeamPostPurchase } from './post-purchase.js';
|
|
1
|
+
export { default as BeamCommunityImpact } from './community-impact.js';
|
|
2
|
+
export { default as BeamCumulativeImpact } from './cumulative-impact.js';
|
|
3
|
+
export { default as BeamImpactOverview } from './impact-overview.js';
|
|
4
|
+
export { default as BeamSelectNonprofit } from './select-nonprofit.js';
|
|
5
|
+
export { default as BeamRedeemTransaction } from './redeem-transaction.js';
|
|
6
|
+
export { default as BeamPostPurchase } from './post-purchase.js';
|
|
7
7
|
import '@lit/react';
|
|
8
8
|
import '../components/community-impact.js';
|
|
9
9
|
import 'lit';
|
package/dist/react/index.esm.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BeamCommunityImpact as O}from"./community-impact.esm.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.esm.js";import{BeamImpactOverview as b}from"./impact-overview.esm.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.esm.js";import{BeamPostPurchase as A}from"./post-purchase.esm.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-
|
|
1
|
+
import{BeamCommunityImpact as O}from"./community-impact.esm.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.esm.js";import{BeamImpactOverview as b}from"./impact-overview.esm.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.esm.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.esm.js";import{BeamPostPurchase as A}from"./post-purchase.esm.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/cumulative-impact.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/select-nonprofit.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.esm.js";import"../components/post-purchase.esm.js";export{O as BeamCommunityImpact,S as BeamCumulativeImpact,b as BeamImpactOverview,A as BeamPostPurchase,q as BeamRedeemTransaction,j as BeamSelectNonprofit};
|
|
2
2
|
//# sourceMappingURL=index.esm.js.map
|
package/dist/react/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{BeamCommunityImpact as O}from"./community-impact.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.js";import{BeamImpactOverview as b}from"./impact-overview.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.js";import{BeamPostPurchase as A}from"./post-purchase.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-
|
|
1
|
+
import{BeamCommunityImpact as O}from"./community-impact.js";import{BeamCumulativeImpact as S}from"./cumulative-impact.js";import{BeamImpactOverview as b}from"./impact-overview.js";import{BeamSelectNonprofit as j}from"./select-nonprofit.js";import{BeamRedeemTransaction as q}from"./redeem-transaction.js";import{BeamPostPurchase as A}from"./post-purchase.js";import"react";import"../chunks/lit-h1W25hjN.esm.js";import"../components/community-impact.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../components/cumulative-impact.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/select-nonprofit.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";import"../components/redeem-transaction.js";import"../components/post-purchase.js";export{O as BeamCommunityImpact,S as BeamCumulativeImpact,b as BeamImpactOverview,A as BeamPostPurchase,q as BeamRedeemTransaction,j as BeamSelectNonprofit};
|
|
2
2
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-h1W25hjN.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../components/redeem-transaction.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/impact-overview.esm.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
|
|
2
2
|
//# sourceMappingURL=post-purchase.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-purchase.esm.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-purchase.esm.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n\nexport default BeamPostPurchase; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"64BAIO,MAAMA,EAAmBC,EAAgB,CAC9C,QAASC,EAAkB,QAC3B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"react";import{l as r}from"../chunks/lit-h1W25hjN.esm.js";import{BeamPostPurchase as t}from"../components/post-purchase.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../components/redeem-transaction.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";import"../chunks/events-rRSQYdP1.esm.js";import"../components/impact-overview.js";import"../chunks/vendor-IGhQoYCM.esm.js";import"../chunks/is-all-html-elements-SdSkxirh.esm.js";import"../chunks/responsive-Rehmv-eo.esm.js";import"../chunks/cart-contents-h60geKWa.esm.js";const m=r({tagName:t.tagName,elementClass:t,react:o,events:{}});export{m as BeamPostPurchase,m as default};
|
|
2
2
|
//# sourceMappingURL=post-purchase.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"post-purchase.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"
|
|
1
|
+
{"version":3,"file":"post-purchase.js","sources":["../../src/components/post-purchase/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent } from \"@lit/react\";\nimport { BeamPostPurchase as _BeamPostPurchase } from \"./index\";\n\nexport const BeamPostPurchase = createComponent({\n tagName: _BeamPostPurchase.tagName,\n elementClass: _BeamPostPurchase,\n react: React,\n events: {},\n});\n\nexport default BeamPostPurchase; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamPostPurchase","createComponent","_BeamPostPurchase","React"],"mappings":"63BAIO,MAAMA,EAAmBC,EAAgB,CAC9C,QAASC,EAAkB,QAC3B,aAAcA,EACd,MAAOC,EACP,OAAQ,CAAA,CACV,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import m from"react";import{l as o}from"../chunks/lit-h1W25hjN.esm.js";import{a as r}from"../chunks/events-rRSQYdP1.esm.js";import{BeamRedeemTransaction as e}from"../components/redeem-transaction.esm.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=o({tagName:e.tagName,elementClass:e,react:m,events:{onNonprofitSelect:r.eventName}});export{t as BeamRedeemTransaction,t as default};
|
|
2
2
|
//# sourceMappingURL=redeem-transaction.esm.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redeem-transaction.esm.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"+
|
|
1
|
+
{"version":3,"file":"redeem-transaction.esm.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"+lBAKa,MAAAA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import m from"react";import{l as o}from"../chunks/lit-h1W25hjN.esm.js";import{a as r}from"../chunks/events-rRSQYdP1.esm.js";import{BeamRedeemTransaction as e}from"../components/redeem-transaction.js";import"../chunks/lodash-ZxBiuGue.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../components/beam-partner-logos.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/css-card-grid-RRkoiUTl.esm.js";const t=o({tagName:e.tagName,elementClass:e,react:m,events:{onNonprofitSelect:r.eventName}});export{t as BeamRedeemTransaction,t as default};
|
|
2
2
|
//# sourceMappingURL=redeem-transaction.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"redeem-transaction.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"redeem-transaction.js","sources":["../../src/components/redeem-transaction/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamRedeemTransaction as _BeamRedeemTransaction } from \"./index\";\n\nexport const BeamRedeemTransaction = createComponent({\n tagName: _BeamRedeemTransaction.tagName,\n elementClass: _BeamRedeemTransaction,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamRedeemTransaction; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamRedeemTransaction","createComponent","_BeamRedeemTransaction","React","BeamNonprofitSelectEvent"],"mappings":"ulBAKa,MAAAA,EAAwBC,EAAgB,CACnD,QAASC,EAAuB,QAChC,aAAcA,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{a as m}from"../chunks/events-rRSQYdP1.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.esm.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/responsive-Rehmv-eo.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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-nonprofit.esm.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-nonprofit.esm.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"ylBAKa,MAAAA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import o from"react";import{l as e}from"../chunks/lit-h1W25hjN.esm.js";import{a as m}from"../chunks/events-rRSQYdP1.esm.js";import{BeamSelectNonprofit as r}from"../components/select-nonprofit.js";import"../chunks/localize-e-mss8ya.esm.js";import"../chunks/beam-errors-l02WBee5.esm.js";import"../chunks/logger-ad87ovol.esm.js";import"../chunks/routes-gjAehped.esm.js";import"../chunks/progress-bar-w3yfrrxD.esm.js";import"../chunks/local-storage-Rrnk_Dg-.esm.js";import"../chunks/cookies-BnIoXWd0.esm.js";import"../chunks/responsive-Rehmv-eo.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
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select-nonprofit.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"
|
|
1
|
+
{"version":3,"file":"select-nonprofit.js","sources":["../../src/components/select-nonprofit/react.ts"],"sourcesContent":["import React from \"react\";\nimport { createComponent, EventName } from \"@lit/react\";\nimport { BeamNonprofitSelectEvent } from \"../../shared/events\";\nimport { BeamSelectNonprofit as _BeamSelectNonprofit } from \"./index\";\n\nexport const BeamSelectNonprofit = createComponent({\n tagName: \"beam-select-nonprofit\",\n elementClass: _BeamSelectNonprofit,\n react: React,\n events: {\n onNonprofitSelect: BeamNonprofitSelectEvent.eventName as EventName<BeamNonprofitSelectEvent>,\n },\n});\n\nexport default BeamSelectNonprofit; // default alias for use with async import utils like next/dynamic and react.lazy\n"],"names":["BeamSelectNonprofit","createComponent","_BeamSelectNonprofit","React","BeamNonprofitSelectEvent"],"mappings":"qlBAKa,MAAAA,EAAsBC,EAAgB,CACjD,QAAS,wBACT,aAAcC,EACd,MAAOC,EACP,OAAQ,CACN,kBAAmBC,EAAyB,SAC9C,CACF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_share-dialog-dependencies-d9W7-qTW.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"_share-dialog-dependencies-uWBh5ejr.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as e,C as r,B as t,s as a,N as o}from"./order-page-cPB3srgo.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-BW-QdExJ.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-BW-QdExJ.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{h as e,C as r,B as t,s as a,N as o}from"./order-page-yvantjI2.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-DCwz1LOg.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-DCwz1LOg.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-NHpZM_uW.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i}from"./index--XzN0d8d.esm.js";import{i as o}from"./index-DCwz1LOg.esm.js";import{i as r}from"./index-IXwIgGSV.esm.js";import{i as e}from"./index-NHpZM_uW.esm.js";var t=Object.freeze({__proto__:null,Cart:e,Session:r,Shopify:o,Utils:i});export{t as i};
|
|
2
|
-
//# sourceMappingURL=index-m6WKjTPD.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-m6WKjTPD.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{i}from"./index--XzN0d8d.esm.js";import{i as o}from"./index-BW-QdExJ.esm.js";import{i as r}from"./index-IXwIgGSV.esm.js";import{i as e}from"./index-NHpZM_uW.esm.js";var t=Object.freeze({__proto__:null,Cart:e,Session:r,Shopify:o,Utils:i});export{t as i};
|
|
2
|
-
//# sourceMappingURL=index-w1rUrZm2.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index-w1rUrZm2.esm.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
import{N as d}from"./beam-errors-l02WBee5.esm.js";import{l as h}from"./logger-ad87ovol.esm.js";var w="1.29.0-beta.1";async function C(s,o){const c={method:"GET",...o,headers:{"Content-Type":"application/json",Accept:"application/json","X-Beam-Client":"WebSDK","X-Beam-Client-Version":w,...o?.headers},preflightContinue:!0,mode:o?.mode||"cors",body:o?.body!=null?o.body:void 0},a=await fetch(s,c);let n,r;try{r=await a.text(),r&&(n=JSON.parse(r))}catch(t){if(console.error(t),t instanceof SyntaxError){const i=new d(a,n,`Response invalid. Expected JSON. Received: "${r}"`);throw h.error(i),i}throw t}if(!a.ok){const t=new d(a,n,"Response was not OK");throw h.error(t),t}return n}const l="https://production-central-backend-ne.beamimpact.com",E={en:"en",fr:"fr",de:"de",es:"es",it:"it",pl:"pl"},e=(s,o,c)=>({[s]:async function({headers:a={},baseUrl:n=l,apiRoot:r="/api/v3",pathParams:t={},queryParams:i={},requestBody:f}){const m=Object.entries(t).reduce((S,[b,N])=>S.replace(`{${b}}`,N),s),u=JSON.parse(JSON.stringify(i)),p=new URLSearchParams(u).toString(),g=n+r+m+(p&&`?${p}`),y={headers:a,method:o,body:JSON.stringify(f)};return C(g,y)}})[s],O=e("/chain/{chainId}/nonprofits","get"),v=e("/impact","get"),R=e("/chain/{chainId}/cumulativeImpact","get"),T=e("/selectNonprofit","post"),A=e("/transaction","post"),I=e("/transaction/{transactionId}","put"),J=e("/cart","post"),U=e("/chain/findEligibleNonprofitsForCart","post");export{l as D,E as S,A as a,v as b,U as c,T as d,I as e,R as f,O as g,J as p};
|
|
2
|
-
//# sourceMappingURL=routes-S9p8QYNm.esm.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"routes-S9p8QYNm.esm.js","sources":["../../src/api-sdk/fetch-json.ts","../../src/api-sdk/constants.ts","../../src/api-sdk/v3/make-openapi-method.ts","../../src/api-sdk/v3/routes.ts"],"sourcesContent":["/**\n * Wrapper over window.fetch that expects/returns JSON\n */\nimport { NetworkError } from \"../shared/beam-errors\";\nimport { logger } from \"../shared/logger\";\nimport { version as pkgVersion } from \"../../package.json\";\n\nexport async function fetchJson<T = unknown>(url: RequestInfo, options?: RequestInit): Promise<T> {\n const fetchOptions = {\n method: \"GET\",\n ...options,\n headers: {\n \"Content-Type\": \"application/json\",\n Accept: \"application/json\",\n \"X-Beam-Client\": \"WebSDK\",\n \"X-Beam-Client-Version\": pkgVersion,\n ...options?.headers,\n },\n preflightContinue: true,\n mode: options?.mode || \"cors\",\n body: options?.body != null ? options.body : undefined,\n };\n\n // This can throw a TypeError based on network conditions\n const response = await fetch(url, fetchOptions);\n let body;\n let text;\n // This can throw a SyntaxError if response payload is malformed JSON\n try {\n text = await response.text();\n if (text) {\n // (response can be empty)\n body = JSON.parse(text);\n }\n } catch (err) {\n console.error(err);\n if (err instanceof SyntaxError) {\n const error = new NetworkError(response, body, `Response invalid. Expected JSON. Received: \"${text}\"`);\n logger.error(error);\n throw error;\n }\n throw err;\n }\n // Translate 4xx, 5xx status to runtime error\n if (!response.ok) {\n const error = new NetworkError(response, body, \"Response was not OK\");\n logger.error(error);\n throw error;\n }\n\n return body;\n}\n","import { LANGUAGES, TUrl } from \"./types\";\n\nexport const DEFAULT_BASE_URL: TUrl = \"https://production-central-backend-ne.beamimpact.com\";\n\nexport const SUPPORTED_LANGUAGES: Record<string, LANGUAGES> = {\n en: \"en\",\n fr: \"fr\",\n de: \"de\",\n es: \"es\",\n it: \"it\",\n pl: \"pl\",\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\n\nimport { fetchJson } from \"../fetch-json\";\nimport { DEFAULT_BASE_URL } from \"../constants\";\nimport { THttpMethod } from \"../types\";\nimport { paths } from \"./openapi-spec\";\n\nexport const makeOpenApiMethod = <\n TPathName extends keyof paths,\n TMethod extends keyof paths[TPathName],\n TStatusCode extends paths[TPathName][TMethod] extends { responses: any }\n ? keyof paths[TPathName][TMethod][\"responses\"]\n : never\n>(\n pathName: TPathName,\n method: TMethod,\n okHttpStatus: TStatusCode\n) => {\n type TRouteSpec = paths[typeof pathName];\n type TRouteMethod = TRouteSpec[typeof method];\n type TParams = \"parameters\" extends keyof TRouteMethod ? TRouteMethod[\"parameters\"] : never;\n type TPathParams = TParams extends { path: any } ? TParams[\"path\"] : Record<string, never>;\n type TQueryParams = TParams extends { query: any } ? TParams[\"query\"] : Record<string, never>;\n type TRequestBody = TRouteMethod extends { requestBody: { content: { \"application/json\": any } } }\n ? TRouteMethod[\"requestBody\"][\"content\"][\"application/json\"]\n : never;\n type TAllResponses = TRouteMethod extends { responses: any } ? TRouteMethod[\"responses\"] : never;\n type TOkResponse = TAllResponses[typeof okHttpStatus] extends { content: { \"application/json\": any } }\n ? TAllResponses[typeof okHttpStatus][\"content\"][\"application/json\"]\n : never;\n const openApi = {\n [pathName]: async function ({\n headers = {},\n baseUrl = DEFAULT_BASE_URL,\n apiRoot = \"/api/v3\",\n pathParams = {},\n queryParams = {},\n requestBody,\n }: {\n baseUrl?: string;\n apiRoot?: string;\n pathParams?: TPathParams;\n queryParams?: TQueryParams;\n requestBody?: TRequestBody;\n headers?: Record<string, string>;\n }) {\n const pathWithParams: string = Object.entries(pathParams).reduce((newPath: string, [k, v]) => {\n return newPath.replace(`{${k}}`, v as string);\n }, pathName as string);\n const cleanQueryParams = JSON.parse(JSON.stringify(queryParams));\n const search = new URLSearchParams(cleanQueryParams as unknown as Record<string, string>).toString();\n const url = baseUrl + apiRoot + pathWithParams + (search && `?${search}`);\n const options = { headers, method: method as THttpMethod, body: JSON.stringify(requestBody) };\n\n return fetchJson<TOkResponse>(url, options);\n },\n };\n\n // Use object to create function with dynamic name, for better stacktraces\n return openApi[pathName];\n};\n","import { makeOpenApiMethod } from \"./make-openapi-method\";\n\nexport const getChainNonprofits = makeOpenApiMethod(\"/chain/{chainId}/nonprofits\", \"get\", 200);\n\nexport const getImpact = makeOpenApiMethod(\"/impact\", \"get\", 200);\n\nexport const getCumulativeImpact = makeOpenApiMethod(\"/chain/{chainId}/cumulativeImpact\", \"get\", 200);\n\nexport const postSelectNonprofit = makeOpenApiMethod(\"/selectNonprofit\", \"post\", 201);\n\nexport const postTransaction = makeOpenApiMethod(\"/transaction\", \"post\", 201);\n\nexport const putTransaction = makeOpenApiMethod(\"/transaction/{transactionId}\", \"put\", 204);\n\nexport const postCart = makeOpenApiMethod(\"/cart\", \"post\", 200);\n\nexport const postChainEligibleNonprofitsForCart = makeOpenApiMethod(\n \"/chain/findEligibleNonprofitsForCart\",\n \"post\",\n 200\n);\n"],"names":["fetchJson","url","options","fetchOptions","pkgVersion","response","body","text","err","error","NetworkError","logger","DEFAULT_BASE_URL","SUPPORTED_LANGUAGES","makeOpenApiMethod","pathName","method","okHttpStatus","headers","baseUrl","apiRoot","pathParams","queryParams","requestBody","pathWithParams","newPath","k","v","cleanQueryParams","search","getChainNonprofits","getImpact","getCumulativeImpact","postSelectNonprofit","postTransaction","putTransaction","postCart","postChainEligibleNonprofitsForCart"],"mappings":"qHAOA,eAAsBA,EAAuBC,EAAkBC,EAAmC,CAChG,MAAMC,EAAe,CACnB,OAAQ,MACR,GAAGD,EACH,QAAS,CACP,eAAgB,mBAChB,OAAQ,mBACR,gBAAiB,SACjB,wBAAyBE,EACzB,GAAGF,GAAS,OACd,EACA,kBAAmB,GACnB,KAAMA,GAAS,MAAQ,OACvB,KAAMA,GAAS,MAAQ,KAAOA,EAAQ,KAAO,MAC/C,EAGMG,EAAW,MAAM,MAAMJ,EAAKE,CAAY,EAC9C,IAAIG,EACAC,EAEJ,GAAI,CACFA,EAAO,MAAMF,EAAS,KAClBE,EAAAA,IAEFD,EAAO,KAAK,MAAMC,CAAI,EAE1B,OAASC,EAAK,CAEZ,GADA,QAAQ,MAAMA,CAAG,EACbA,aAAe,YAAa,CAC9B,MAAMC,EAAQ,IAAIC,EAAaL,EAAUC,EAAM,+CAA+CC,CAAI,GAAG,EACrG,MAAAI,EAAO,MAAMF,CAAK,EACZA,CACR,CACA,MAAMD,CACR,CAEA,GAAI,CAACH,EAAS,GAAI,CAChB,MAAMI,EAAQ,IAAIC,EAAaL,EAAUC,EAAM,qBAAqB,EACpE,MAAAK,EAAO,MAAMF,CAAK,EACZA,CACR,CAEA,OAAOH,CACT,CCjDO,MAAMM,EAAyB,uDAEzBC,EAAiD,CAC5D,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,GAAI,KACJ,GAAI,IACN,ECJaC,EAAoB,CAO/BC,EACAC,EACAC,KAcgB,CACd,CAACF,CAAQ,EAAG,eAAgB,CAC1B,QAAAG,EAAU,CAAA,EACV,QAAAC,EAAUP,EACV,QAAAQ,EAAU,UACV,WAAAC,EAAa,CACb,EAAA,YAAAC,EAAc,CAAA,EACd,YAAAC,CACF,EAOG,CACD,MAAMC,EAAyB,OAAO,QAAQH,CAAU,EAAE,OAAO,CAACI,EAAiB,CAACC,EAAGC,CAAC,IAC/EF,EAAQ,QAAQ,IAAIC,CAAC,IAAKC,CAAW,EAC3CZ,CAAkB,EACfa,EAAmB,KAAK,MAAM,KAAK,UAAUN,CAAW,CAAC,EACzDO,EAAS,IAAI,gBAAgBD,CAAqD,EAAE,SACpF3B,EAAAA,EAAMkB,EAAUC,EAAUI,GAAkBK,GAAU,IAAIA,CAAM,IAChE3B,EAAU,CAAE,QAAAgB,EAAS,OAAQF,EAAuB,KAAM,KAAK,UAAUO,CAAW,CAAE,EAE5F,OAAOvB,EAAuBC,EAAKC,CAAO,CAC5C,CACF,GAGea,CAAQ,ECzDZe,EAAqBhB,EAAkB,8BAA+B,KAAU,EAEhFiB,EAAYjB,EAAkB,UAAW,KAAU,EAEnDkB,EAAsBlB,EAAkB,oCAAqC,KAAU,EAEvFmB,EAAsBnB,EAAkB,mBAAoB,MAAW,EAEvEoB,EAAkBpB,EAAkB,eAAgB,MAAW,EAE/DqB,EAAiBrB,EAAkB,+BAAgC,KAAU,EAE7EsB,EAAWtB,EAAkB,QAAS,MAAW,EAEjDuB,EAAqCvB,EAChD,uCACA,MAEF"}
|