@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.
@@ -15,7 +15,7 @@
15
15
  <meta http-equiv="X-Content-Type-Options" content="nosniff" />
16
16
  <meta http-equiv="Referrer-Policy" content="strict-origin-when-cross-origin" />
17
17
 
18
- <title>Lumia Passport Secure Wallet - iframe version 1.15.8</title>
18
+ <title>Lumia Passport Secure Wallet - iframe version 1.15.9</title>
19
19
 
20
20
  <!-- Styles will be injected by build process -->
21
21
  <style>
@@ -4403,7 +4403,7 @@ var SigningManager = class extends TokenRefreshApiClient {
4403
4403
  };
4404
4404
 
4405
4405
  // src/iframe/main.ts
4406
- var IFRAME_VERSION = "1.15.8";
4406
+ var IFRAME_VERSION = "1.15.9";
4407
4407
  var IframeWallet = class {
4408
4408
  constructor() {
4409
4409
  console.log("=".repeat(60));
package/dist/index.cjs CHANGED
@@ -3856,6 +3856,12 @@ async function sendUserOperation(session, callTarget, amountWei, innerData = "0x
3856
3856
  feeType
3857
3857
  );
3858
3858
  }
3859
+ if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
3860
+ userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
3861
+ userOp.paymasterData = "0x";
3862
+ userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
3863
+ userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
3864
+ }
3859
3865
  const enforceCaps = (usePaymaster) => {
3860
3866
  try {
3861
3867
  const envCaps = typeof import_meta !== "undefined" && import_meta.env || {};
@@ -3881,12 +3887,6 @@ async function sendUserOperation(session, callTarget, amountWei, innerData = "0x
3881
3887
  console.log("[Account] Gas estimation failed:", e);
3882
3888
  throw new Error(`Gas estimation failed: ${e}`);
3883
3889
  }
3884
- if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
3885
- userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
3886
- userOp.paymasterData = "0x";
3887
- userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
3888
- userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
3889
- }
3890
3890
  const signUserOp = async (nonce2) => {
3891
3891
  userOp.nonce = nonce2;
3892
3892
  let opHash;
@@ -4014,6 +4014,12 @@ async function prepareUserOperation(session, callTarget, amountWei, innerData =
4014
4014
  feeType
4015
4015
  );
4016
4016
  }
4017
+ if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
4018
+ userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
4019
+ userOp.paymasterData = "0x";
4020
+ userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
4021
+ userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
4022
+ }
4017
4023
  const enforceCaps = (usePaymaster) => {
4018
4024
  try {
4019
4025
  const envCaps = typeof import_meta !== "undefined" && import_meta.env || {};
@@ -4039,12 +4045,6 @@ async function prepareUserOperation(session, callTarget, amountWei, innerData =
4039
4045
  console.log("[Account] Gas estimation failed:", e);
4040
4046
  throw new Error(`Gas estimation failed: ${e}`);
4041
4047
  }
4042
- if (session.usePaymaster && LUMIA_PAYMASTER_ADDRESS) {
4043
- userOp.paymaster = LUMIA_PAYMASTER_ADDRESS;
4044
- userOp.paymasterData = "0x";
4045
- userOp.paymasterVerificationGasLimit = PAYMASTER_VERIFICATION_GAS_LIMIT;
4046
- userOp.paymasterPostOpGasLimit = PAYMASTER_POSTOP_GAS_LIMIT;
4047
- }
4048
4048
  userOp.nonce = nonce;
4049
4049
  let opHash;
4050
4050
  if (entryPointVersion === "v0.6") {
@@ -5553,7 +5553,7 @@ function Header() {
5553
5553
  // package.json
5554
5554
  var package_default = {
5555
5555
  name: "@lumiapassport/ui-kit",
5556
- version: "1.15.8",
5556
+ version: "1.15.9",
5557
5557
  description: "React UI components and hooks for Lumia Passport authentication and Account Abstraction",
5558
5558
  type: "module",
5559
5559
  main: "./dist/index.cjs",