@worldcoin/idkit 1.1.0 → 1.1.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/build/index.js +5 -2
- package/package.json +2 -2
package/build/index.js
CHANGED
|
@@ -815,6 +815,9 @@ select{
|
|
|
815
815
|
.max-w-\\[14rem\\]{
|
|
816
816
|
max-width: 14rem;
|
|
817
817
|
}
|
|
818
|
+
.max-w-\\[224px\\]{
|
|
819
|
+
max-width: 224px;
|
|
820
|
+
}
|
|
818
821
|
.flex-1{
|
|
819
822
|
flex: 1 1 0%;
|
|
820
823
|
}
|
|
@@ -1622,7 +1625,7 @@ var SuccessState = () => {
|
|
|
1622
1625
|
/* @__PURE__ */ jsx11("div", { className: "-mt-5 flex items-center justify-center", children: /* @__PURE__ */ jsx11(CheckIcon_default, { className: "w-24 text-white" }) }),
|
|
1623
1626
|
/* @__PURE__ */ jsxs7("div", { children: [
|
|
1624
1627
|
/* @__PURE__ */ jsx11("p", { className: "text-center text-2xl font-semibold text-gray-900 dark:text-white", children: __("Successfully verified") }),
|
|
1625
|
-
/* @__PURE__ */ jsx11("p", { className: "
|
|
1628
|
+
/* @__PURE__ */ jsx11("p", { className: "mx-auto mt-2 max-w-[224px] text-center text-lg text-657080", children: __("Your World ID verification was successful") })
|
|
1626
1629
|
] })
|
|
1627
1630
|
] });
|
|
1628
1631
|
};
|
|
@@ -1771,7 +1774,7 @@ var QRState = ({ qrData, showQR, setShowQR }) => {
|
|
|
1771
1774
|
/* @__PURE__ */ jsxs9(
|
|
1772
1775
|
motion.a,
|
|
1773
1776
|
{
|
|
1774
|
-
href: qrData
|
|
1777
|
+
href: qrData ? qrData + `&return_to=${encodeURIComponent(window.location.href)}` : "",
|
|
1775
1778
|
whileTap: { scale: 0.95 },
|
|
1776
1779
|
whileHover: { scale: 1.05 },
|
|
1777
1780
|
transition: { layout: { duration: 0.15 } },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@worldcoin/idkit",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"homepage": "https://docs.worldcoin.org/id/idkit",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"qrcode": "^1.5.1",
|
|
65
65
|
"react-shadow": "^19.1.0",
|
|
66
66
|
"zustand": "^4.3.3",
|
|
67
|
-
"@worldcoin/idkit-core": "1.1.
|
|
67
|
+
"@worldcoin/idkit-core": "1.1.1"
|
|
68
68
|
},
|
|
69
69
|
"devDependencies": {
|
|
70
70
|
"@types/node": "18.11.9",
|