@w3payments/react 1.2.0 → 1.2.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/index.mjs
CHANGED
|
@@ -9781,7 +9781,7 @@ const Ff = [
|
|
|
9781
9781
|
null
|
|
9782
9782
|
);
|
|
9783
9783
|
Ss.displayName = "W3PaymentsContext";
|
|
9784
|
-
const
|
|
9784
|
+
const Ob = ({
|
|
9785
9785
|
endpoint: e,
|
|
9786
9786
|
environment: t = "sandbox",
|
|
9787
9787
|
theme: n,
|
|
@@ -14787,7 +14787,7 @@ const Tb = {
|
|
|
14787
14787
|
},
|
|
14788
14788
|
e
|
|
14789
14789
|
);
|
|
14790
|
-
}, Cb = ({ style: e }) => /* @__PURE__ */ v.jsx(
|
|
14790
|
+
}, Cb = "data:image/svg+xml,%3csvg%20width='24'%20height='23.5'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.972%200H3.56125C1.75696%200%200.294922%201.46203%200.294922%203.26633V43.677C0.294922%2045.4813%201.75696%2046.9434%203.56125%2046.9434H43.972C45.7763%2046.9434%2047.2383%2045.4813%2047.2383%2043.677V3.26633C47.2383%201.46203%2045.7763%200%2043.972%200ZM39.7896%2030.1883C39.7896%2035.0097%2035.8685%2038.9309%2031.0471%2038.9309C28.3506%2038.9309%2025.9349%2037.7023%2024.3304%2035.7773C22.726%2037.7023%2020.3104%2038.9309%2017.6138%2038.9309C12.7924%2038.9309%208.87127%2035.0097%208.87127%2030.1883V10.0384C8.87127%208.92059%209.77737%208.0125%2010.8971%208.0125C12.0169%208.0125%2012.923%208.91861%2012.923%2010.0384V30.1903C12.923%2032.7781%2015.028%2034.8831%2017.6158%2034.8831C20.2035%2034.8831%2022.3085%2032.7781%2022.3085%2030.1903V22.1897C22.3085%2021.0719%2023.2146%2020.1638%2024.3344%2020.1638C25.4542%2020.1638%2026.3603%2021.0699%2026.3603%2022.1897V30.1903C26.3603%2032.7781%2028.4653%2034.8831%2031.053%2034.8831C33.6408%2034.8831%2035.7458%2032.7781%2035.7458%2030.1903V10.0384C35.7458%208.92059%2036.6519%208.0125%2037.7717%208.0125C38.8914%208.0125%2039.7975%208.91861%2039.7975%2010.0384V30.1903L39.7896%2030.1883Z'%20fill='white'%20class='group-hover:fill-[%23BF1B1B]'%3e%3c/path%3e%3c/svg%3e", kb = "data:image/svg+xml,%3csvg%20width='24'%20height='23.5'%20viewBox='0%200%2048%2047'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M43.9654%200H3.55466C1.75037%200%200.28833%201.46203%200.28833%203.26633V43.677C0.28833%2045.4813%201.75037%2046.9434%203.55466%2046.9434H43.9654C45.7697%2046.9434%2047.2317%2045.4813%2047.2317%2043.677V3.26633C47.2317%201.46203%2045.7697%200%2043.9654%200ZM39.785%2030.1883C39.785%2035.0097%2035.8638%2038.9309%2031.0425%2038.9309H10.8906C9.77276%2038.9309%208.86468%2038.0248%208.86468%2036.905C8.86468%2035.7852%209.77078%2034.8791%2010.8906%2034.8791H31.0425C33.6302%2034.8791%2035.7352%2032.7741%2035.7352%2030.1864C35.7352%2027.5986%2033.6302%2025.4936%2031.0425%2025.4936H23.0419C21.9241%2025.4936%2021.016%2024.5875%2021.016%2023.4677C21.016%2022.348%2021.9221%2021.4419%2023.0419%2021.4419H31.0425C33.6302%2021.4419%2035.7352%2019.3368%2035.7352%2016.7491C35.7352%2014.1614%2033.6302%2012.0563%2031.0425%2012.0563H10.8906C9.77276%2012.0563%208.86468%2011.1502%208.86468%2010.0305C8.86468%208.9107%209.77078%208.00459%2010.8906%208.00459H31.0425C35.8638%208.00459%2039.785%2011.9258%2039.785%2016.7471C39.785%2019.4437%2038.5564%2021.8593%2036.6315%2023.4638C38.5564%2025.0683%2039.785%2027.4839%2039.785%2030.1804V30.1883Z'%20fill='white'%20class='group-hover:fill-[%23FF3223]'%3e%3c/path%3e%3c/svg%3e", Eb = "data:image/svg+xml,%3csvg%20width='14.5'%20height='11'%20viewBox='0%200%2029%2022'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4597%205.22243C16.6803%203.79799%2016.2708%204.07496%2018.1384%202.86616C18.6825%202.60897%2018.8744%202.06096%2018.7141%201.47535C18.5539%200.889747%2017.9129%200.632558%2017.4658%200.816549C15.6714%201.691%2014.8523%202.698%2014.2608%203.44781C13.9066%203.87515%2013.7939%204.52802%2014.1144%205.00283C14.4349%205.47963%2015.0422%205.58844%2015.4597%205.22243Z'%20fill='white'%3e%3c/path%3e%3cpath%20d='M28.2084%2010.9678C28.1055%2010.3169%2027.4586%2010.123%2027.0412%2010.2694C26.6257%2010.4158%2026.3685%2010.8926%2026.3685%2011.4782C26.3685%2012.687%2026.1449%2013.969%2025.7275%2015.1759C25.0232%2017.0811%2023.5176%2019.0575%2022.4295%2019.3127C22.3979%2019.2395%2022.3346%2018.9467%2022.3346%2018.5807C22.3346%2016.8239%2023.3594%2013.4547%2025.9194%209.97664C26.2716%209.53744%2026.2083%208.84302%2025.7908%208.43943C25.407%208.03584%2024.7996%208.10904%2024.4455%208.58583C23.8401%209.41082%2023.306%2010.2398%2022.8351%2011.0588C22.8054%2011.0747%2022.7777%2011.0925%2022.748%2011.1122C15.7702%2015.9831%2012.1241%2019.2791%209.72427%2019.2791C9.72427%2019.1683%209.75592%2018.9863%209.97948%2018.3631L13.3091%209.72143C13.5327%209.17144%2013.3091%208.51263%2012.8284%208.29303C12.3476%208.03584%2011.7719%208.29303%2011.58%208.84302L8.09012%2017.8863C7.44912%2019.5343%207.99318%2021.5107%209.72229%2021.5107C12.1221%2021.5107%2015.3706%2018.9506%2021.0862%2014.8969C20.6391%2016.2442%2020.4096%2017.4985%2020.4096%2018.5827C20.4096%2019.9003%2020.9536%2021.5127%2022.3623%2021.5127C24.1863%2021.5127%2026.5228%2018.8042%2027.516%2015.9831C27.7395%2015.3242%2028.0126%2014.1708%2028.0759%2013.6782C28.1392%2013.1856%2028.3054%2011.6207%2028.2025%2010.9698L28.2084%2010.9678Z'%20fill='white'%3e%3c/path%3e%3cpath%20d='M1.16597%2019.376C0.576406%2019.376%200.0996094%2019.8528%200.0996094%2020.4423C0.0996094%2021.0319%200.576406%2021.5087%201.16597%2021.5087C1.75553%2021.5087%202.23232%2021.0319%202.23232%2020.4423C2.23232%2019.8528%201.75553%2019.376%201.16597%2019.376Z'%20fill='white'%3e%3c/path%3e%3c/svg%3e", Ib = ({ style: e }) => /* @__PURE__ */ v.jsx(
|
|
14791
14791
|
ge,
|
|
14792
14792
|
{
|
|
14793
14793
|
justify: "flex-end",
|
|
@@ -14820,7 +14820,7 @@ const Tb = {
|
|
|
14820
14820
|
/* @__PURE__ */ v.jsx(
|
|
14821
14821
|
ot,
|
|
14822
14822
|
{
|
|
14823
|
-
src:
|
|
14823
|
+
src: Cb,
|
|
14824
14824
|
alt: "W",
|
|
14825
14825
|
w: 12,
|
|
14826
14826
|
h: 12,
|
|
@@ -14833,7 +14833,7 @@ const Tb = {
|
|
|
14833
14833
|
/* @__PURE__ */ v.jsx(
|
|
14834
14834
|
ot,
|
|
14835
14835
|
{
|
|
14836
|
-
src:
|
|
14836
|
+
src: kb,
|
|
14837
14837
|
alt: "3",
|
|
14838
14838
|
w: 12,
|
|
14839
14839
|
h: 12,
|
|
@@ -14846,7 +14846,7 @@ const Tb = {
|
|
|
14846
14846
|
/* @__PURE__ */ v.jsx(
|
|
14847
14847
|
ot,
|
|
14848
14848
|
{
|
|
14849
|
-
src:
|
|
14849
|
+
src: Eb,
|
|
14850
14850
|
alt: "io",
|
|
14851
14851
|
w: 12,
|
|
14852
14852
|
h: 12,
|
|
@@ -14862,9 +14862,9 @@ const Tb = {
|
|
|
14862
14862
|
}
|
|
14863
14863
|
)
|
|
14864
14864
|
}
|
|
14865
|
-
),
|
|
14866
|
-
widget:
|
|
14867
|
-
},
|
|
14865
|
+
), xb = "_widget_1emfs_3", Ub = {
|
|
14866
|
+
widget: xb
|
|
14867
|
+
}, Vb = ({
|
|
14868
14868
|
title: e = "🔥 Add Your Brand Here",
|
|
14869
14869
|
subtitle: t = "CHOOSE A PAYMENT METHOD",
|
|
14870
14870
|
logo: n,
|
|
@@ -15054,8 +15054,9 @@ const Tb = {
|
|
|
15054
15054
|
shadow: "md",
|
|
15055
15055
|
radius: "xl",
|
|
15056
15056
|
p: 0,
|
|
15057
|
-
className:
|
|
15057
|
+
className: Ub.widget,
|
|
15058
15058
|
style: { height: H.WIDGET_HEIGHT },
|
|
15059
|
+
"data-w3-payment-widget": !0,
|
|
15059
15060
|
children: /* @__PURE__ */ v.jsxs(
|
|
15060
15061
|
z,
|
|
15061
15062
|
{
|
|
@@ -15532,21 +15533,21 @@ const Tb = {
|
|
|
15532
15533
|
},
|
|
15533
15534
|
"payment-form"
|
|
15534
15535
|
) }) }),
|
|
15535
|
-
/* @__PURE__ */ v.jsx(
|
|
15536
|
+
/* @__PURE__ */ v.jsx(Ib, {})
|
|
15536
15537
|
]
|
|
15537
15538
|
}
|
|
15538
15539
|
)
|
|
15539
15540
|
}
|
|
15540
15541
|
);
|
|
15541
|
-
},
|
|
15542
|
-
W3_PAYMENTS_REACT_VERSION:
|
|
15542
|
+
}, Mb = "1.0.0", jb = {
|
|
15543
|
+
W3_PAYMENTS_REACT_VERSION: Mb
|
|
15543
15544
|
};
|
|
15544
15545
|
export {
|
|
15545
|
-
|
|
15546
|
-
|
|
15547
|
-
|
|
15546
|
+
Vb as W3PaymentWidget,
|
|
15547
|
+
Ob as W3PaymentsProvider,
|
|
15548
|
+
Mb as W3_PAYMENTS_REACT_VERSION,
|
|
15548
15549
|
H as W3_THEME_CONSTANTS,
|
|
15549
|
-
|
|
15550
|
+
jb as default,
|
|
15550
15551
|
Ab as useW3Payments,
|
|
15551
15552
|
Hf as w3MantineTheme
|
|
15552
15553
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@w3payments/react",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.1",
|
|
4
4
|
"description": "React component library for universal Web3 payment processing with multi-vendor support",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -54,9 +54,9 @@
|
|
|
54
54
|
"dependencies": {
|
|
55
55
|
"@mantine/core": "^8.3.10",
|
|
56
56
|
"framer-motion": "^12.23.26",
|
|
57
|
-
"@w3payments/
|
|
58
|
-
"@w3payments/
|
|
59
|
-
"@w3payments/
|
|
57
|
+
"@w3payments/adapters": "1.2.1",
|
|
58
|
+
"@w3payments/core": "1.2.1",
|
|
59
|
+
"@w3payments/common": "1.2.1"
|
|
60
60
|
},
|
|
61
61
|
"peerDependencies": {
|
|
62
62
|
"react": ">=18.0.0",
|