@lumiapassport/ui-kit 1.15.8 → 1.15.9
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/iframe/index.html +1 -1
- package/dist/iframe/main.js +1 -1
- package/dist/index.cjs +13 -13
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3868,6 +3868,12 @@ async function sendUserOperation(session, callTarget, amountWei, innerData = "0x
|
|
|
3868
3868
|
feeType
|
|
3869
3869
|
);
|
|
3870
3870
|
}
|
|
3871
|
+
if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
|
|
3872
|
+
userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
|
|
3873
|
+
userOp.paymasterData = "0x";
|
|
3874
|
+
userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
|
|
3875
|
+
userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
|
|
3876
|
+
}
|
|
3871
3877
|
const enforceCaps = (usePaymaster) => {
|
|
3872
3878
|
try {
|
|
3873
3879
|
const envCaps = typeof import.meta !== "undefined" && import.meta.env || {};
|
|
@@ -3893,12 +3899,6 @@ async function sendUserOperation(session, callTarget, amountWei, innerData = "0x
|
|
|
3893
3899
|
console.log("[Account] Gas estimation failed:", e);
|
|
3894
3900
|
throw new Error(`Gas estimation failed: ${e}`);
|
|
3895
3901
|
}
|
|
3896
|
-
if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
|
|
3897
|
-
userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
|
|
3898
|
-
userOp.paymasterData = "0x";
|
|
3899
|
-
userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
|
|
3900
|
-
userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
|
|
3901
|
-
}
|
|
3902
3902
|
const signUserOp = async (nonce2) => {
|
|
3903
3903
|
userOp.nonce = nonce2;
|
|
3904
3904
|
let opHash;
|
|
@@ -4026,6 +4026,12 @@ async function prepareUserOperation(session, callTarget, amountWei, innerData =
|
|
|
4026
4026
|
feeType
|
|
4027
4027
|
);
|
|
4028
4028
|
}
|
|
4029
|
+
if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
|
|
4030
|
+
userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
|
|
4031
|
+
userOp.paymasterData = "0x";
|
|
4032
|
+
userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
|
|
4033
|
+
userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
|
|
4034
|
+
}
|
|
4029
4035
|
const enforceCaps = (usePaymaster) => {
|
|
4030
4036
|
try {
|
|
4031
4037
|
const envCaps = typeof import.meta !== "undefined" && import.meta.env || {};
|
|
@@ -4051,12 +4057,6 @@ async function prepareUserOperation(session, callTarget, amountWei, innerData =
|
|
|
4051
4057
|
console.log("[Account] Gas estimation failed:", e);
|
|
4052
4058
|
throw new Error(`Gas estimation failed: ${e}`);
|
|
4053
4059
|
}
|
|
4054
|
-
if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
|
|
4055
|
-
userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
|
|
4056
|
-
userOp.paymasterData = "0x";
|
|
4057
|
-
userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
|
|
4058
|
-
userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
|
|
4059
|
-
}
|
|
4060
4060
|
userOp.nonce = nonce;
|
|
4061
4061
|
let opHash;
|
|
4062
4062
|
if (entryPointVersion === "v0.6") {
|
|
@@ -5501,7 +5501,7 @@ function Header() {
|
|
|
5501
5501
|
// package.json
|
|
5502
5502
|
var package_default = {
|
|
5503
5503
|
name: "@lumiapassport/ui-kit",
|
|
5504
|
-
version: "1.15.
|
|
5504
|
+
version: "1.15.9",
|
|
5505
5505
|
description: "React UI components and hooks for Lumia Passport authentication and Account Abstraction",
|
|
5506
5506
|
type: "module",
|
|
5507
5507
|
main: "./dist/index.cjs",
|