@pafi-dev/issuer 0.20.0 → 0.21.0

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.d.cts CHANGED
@@ -1652,6 +1652,43 @@ declare class IssuerApiHandlers {
1652
1652
  private requireSupportedToken;
1653
1653
  }
1654
1654
 
1655
+ /**
1656
+ * Resolves the EIP-712 domain `name` for a PointToken. Used by handlers
1657
+ * (PTClaimHandler / PTRedeemHandler) that sign requests for multiple
1658
+ * PointTokens within the same issuer backend.
1659
+ *
1660
+ * Resolution order per address:
1661
+ * 1. Cache hit → return immediately (no RPC)
1662
+ * 2. Static override map (config.overrides) → cache + return
1663
+ * 3. On-chain `name()` lookup → cache + return
1664
+ *
1665
+ * Cache is per-instance — share one resolver across handlers so mint +
1666
+ * redeem paths amortise the same set of lookups.
1667
+ *
1668
+ * Why the override map: production issuers often know their PTs at
1669
+ * boot (env / DB) and want to avoid RPC quota churn + tolerate transient
1670
+ * RPC failures. The on-chain fallback handles ad-hoc PTs not in the map
1671
+ * (e.g. newly deployed during the process lifetime).
1672
+ */
1673
+ interface PointTokenDomainResolverConfig {
1674
+ provider: PublicClient;
1675
+ /**
1676
+ * Optional pre-configured map — checksummed (or lowercased) PointToken
1677
+ * address → ERC-20 `name()` value. When a PT's address is in this map,
1678
+ * the resolver short-circuits without an RPC call.
1679
+ */
1680
+ overrides?: Record<string, string>;
1681
+ }
1682
+ declare class PointTokenDomainResolver {
1683
+ private readonly provider;
1684
+ private readonly overrides;
1685
+ private readonly cache;
1686
+ constructor(config: PointTokenDomainResolverConfig);
1687
+ resolve(pointTokenAddress: Address): Promise<string>;
1688
+ /** Invalidate one address (after deploy / proxy upgrade) or all. */
1689
+ invalidate(pointTokenAddress?: Address): void;
1690
+ }
1691
+
1655
1692
  /**
1656
1693
  * Reverse flow — user-initiated PT redeem.
1657
1694
  *
@@ -1681,22 +1718,20 @@ interface PTRedeemHandlerConfig {
1681
1718
  ledger: IPointLedger;
1682
1719
  relayService: RelayService;
1683
1720
  provider: PublicClient;
1684
- /** PointToken contract address (chain-specific). */
1685
- pointTokenAddress: Address;
1686
1721
  /** BatchExecutor delegation target (chain-specific). */
1687
1722
  batchExecutorAddress: Address;
1688
1723
  /** Chain id — used for the BurnRequest EIP-712 domain. */
1689
1724
  chainId: number;
1690
1725
  /**
1691
- * EIP-712 domain fields. Must match the on-chain PointToken's domain
1692
- * separator, or on-chain signature recovery fails. `name` is
1693
- * typically the PointToken's ERC-20 name. `verifyingContract`
1694
- * defaults to `pointTokenAddress`.
1726
+ * Resolver for the EIP-712 domain `name` (= PointToken.name() on-chain).
1727
+ * Required because mint/redeem now route the `pointTokenAddress` per
1728
+ * request the handler can't bind a single domain at construction.
1729
+ * Pass a shared resolver instance so mint + redeem amortise the same
1730
+ * cache. The handler always uses `pointTokenAddress` as the EIP-712
1731
+ * `verifyingContract` — no override (per-PT domain separator is
1732
+ * isolated by contract address).
1695
1733
  */
1696
- domain: {
1697
- name: string;
1698
- verifyingContract?: Address;
1699
- };
1734
+ domainResolver: PointTokenDomainResolver;
1700
1735
  /**
1701
1736
  * Issuer burner signer wallet — signs the `BurnRequest` EIP-712.
1702
1737
  * Must be whitelisted via `PointToken.addBurner(signerAddr)` at
@@ -1739,6 +1774,10 @@ interface PTRedeemRequest {
1739
1774
  authenticatedAddress: Address;
1740
1775
  userAddress: Address;
1741
1776
  amount: bigint;
1777
+ /** PointToken contract to redeem. The handler resolves the EIP-712
1778
+ * domain (name + verifyingContract) from this address via the
1779
+ * configured `domainResolver`. */
1780
+ pointTokenAddress: Address;
1742
1781
  /** ERC-4337 account nonce for the user's EOA. */
1743
1782
  aaNonce: bigint;
1744
1783
  /**
@@ -1806,10 +1845,9 @@ declare class PTRedeemHandler {
1806
1845
  private readonly relayService;
1807
1846
  private readonly provider;
1808
1847
  private readonly feeService?;
1809
- private readonly pointTokenAddress;
1810
1848
  private readonly batchExecutorAddress;
1811
1849
  private readonly chainId;
1812
- private readonly domain;
1850
+ private readonly domainResolver;
1813
1851
  private readonly burnerSignerWallet;
1814
1852
  private readonly redeemLockDurationMs;
1815
1853
  private readonly signatureDeadlineSeconds;
@@ -2524,11 +2562,14 @@ interface PTClaimHandlerConfig {
2524
2562
  /** Issuer minter signer wallet — passed through to RelayService.prepareMint. */
2525
2563
  issuerSignerWallet: WalletClient;
2526
2564
  /**
2527
- * EIP-712 domain `name` for `MintRequest`. Typically the PointToken
2528
- * ERC-20 name. RelayService will set chainId + verifyingContract from
2529
- * the request.
2565
+ * Resolver for the EIP-712 domain `name` (= PointToken.name() on-chain).
2566
+ * Required because mint routes the `pointTokenAddress` per request
2567
+ * the handler can't bind a single domain at construction. Pass a
2568
+ * shared resolver instance so mint + redeem amortise the same cache.
2569
+ * `chainId` + `verifyingContract` are derived from the request's
2570
+ * `chainId` + `pointTokenAddress` respectively.
2530
2571
  */
2531
- pointTokenDomainName: string;
2572
+ domainResolver: PointTokenDomainResolver;
2532
2573
  /** Optional — when wired, used to estimate the PT gas-reimbursement fee. */
2533
2574
  feeService?: FeeManager;
2534
2575
  /** Optional — pre-validates issuer status + cap before locking balance. */
@@ -3096,6 +3137,7 @@ declare class IssuerApiAdapter {
3096
3137
  redeem(input: {
3097
3138
  authenticatedAddress: Address;
3098
3139
  chainId: number;
3140
+ pointTokenAddress: Address;
3099
3141
  amount: bigint;
3100
3142
  aaNonce: bigint;
3101
3143
  }): Promise<RedeemDto>;
@@ -3656,4 +3698,4 @@ declare class MemoryRedemptionHistoryStore implements IRedemptionHistoryStore {
3656
3698
 
3657
3699
  declare const PAFI_ISSUER_SDK_VERSION: string;
3658
3700
 
3659
- export { AdapterMisconfiguredError, type ApiConfigResponse, type ApiGasFeeResponse, type ApiLoginRequest, type ApiLoginResponse, type ApiNonceResponse, type ApiPoolsRequest, type ApiPoolsResponse, type ApiRedemptionEvaluateRequest, type ApiRedemptionEvaluateResponse, type ApiRedemptionPreviewRequest, type ApiRedemptionPreviewResponse, type ApiUserRequest, type ApiUserResponse, type AuthContext, AuthError, type AuthErrorCode, AuthService, type AuthServiceConfig, type BundlerEstimatorClient, BundlerNotConfiguredError, BundlerRejectedError, type BurnEvent, BurnIndexer, type BurnIndexerConfig, type BurnStatusParams, type BurnStatusResponse, type ClaimDto, type ConfigDto, ConfigurationError, DEFAULT_REDEMPTION_POLICY, type DecodedCallDto, DefaultPolicyEngine, type DefaultPolicyEngineOptions, type DelegatePrepareDto, type DelegateStatusDto, type EstimateGasFeeOptions, type EvaluateInput, FeeManager, type FeeManagerConfig, type FeeManagerMetrics, type FetchFailureReason, type FetchImpl, type FetchResult, type GasFeeDto, type GasFeeSource, type HandleDelegateSubmitParams, type HandleDelegateSubmitResult, type HandleMobilePrepareParams, type HandleMobilePrepareResult, type HandleMobileSubmitParams, type IIndexerCursorStore, type IPendingUserOpStore, type IPointLedger, type IPolicyEngine, type IRateLimiter, type IRedemptionHistoryStore, type ISessionStore, InMemoryCursorStore, IssuerApiAdapter, type IssuerApiAdapterConfig, IssuerApiHandlers, type IssuerApiHandlersConfig, type IssuerRegistryRecord, type IssuerService, type IssuerServiceConfig, IssuerStateError, IssuerStateValidator, LockNotFoundError, type LockedMintRequest, type LoginResult, MemoryPendingUserOpStore, MemoryRateLimiter, MemoryRedemptionHistoryStore, MemorySessionStore, type MemorySessionStoreOptions, type MintEvent, type MintStatusParams, type MintStatusResponse, type MintingStatus, type MobilePrepareDto, type MobileSubmitDto, type NativePtQuoterConfig, NonceManager, NoopRateLimiter, PAFI_ISSUER_SDK_VERSION, PTClaimError, PTClaimHandler, type PTClaimHandlerConfig, type PTClaimRequest, type PTClaimResponse, PTRedeemError, PTRedeemHandler, type PTRedeemHandlerConfig, type PTRedeemRequest, type PTRedeemResponse, PafiBackendClient, type PafiBackendConfig, PafiBackendError, type PafiBackendErrorCode, type PafiEstimatorClientConfig, PafiEstimatorHttpError, type PaymasterGasEstimates, type PendingCredit, type PendingUserOpEntry, PendingUserOpForbiddenError, PendingUserOpNotFoundError, type PerpDepositDto, PerpDepositError, PerpDepositHandler, type PerpDepositHandlerConfig, type PerpDepositRequest, type PerpDepositResponse, PointIndexer, type PointIndexerConfig, type PolicyDecision, type PolicyEvalRequest, PolicyProvider, type PolicyProviderConfig, type PoolsDto, type PoolsProvider, type PreValidateMintResult, type PrepareBurnParams, type PrepareMintParams, type PrepareMobileUserOpParams, type PrepareMobileUserOpResult, type PreparedUserOp, type PreviewBurnParams, type PreviewMintParams, REDEMPTION_HISTORY_WINDOW_SEC, type RateLimitAction, type RateLimiterConfig, type RedeemDto, type RedeemPrepareDto, RedemptionService, type RedemptionServiceConfig, RelayError, type RelayErrorCode, RelayService, type RelayUserOpParams, type RelayUserOpRequest, type RelayUserOpResponse, type RequestPaymasterParams, type ResolvedPolicy, type RetryConfig, type SdkErrorBody, type SdkErrorMapperFactories, type SdkErrorStatus, type SerializedUserOpTypedData, type Session, SettlementClient, type SettlementClientConfig, type SponsorshipRequest, type SponsorshipResponse, type SponsorshipTarget, type SponsorshipUserOp, type SubgraphNativeUsdtQuoterConfig, type SubgraphPoolsProviderConfig, type UserDto, type UserHistory, applyPaymasterGasEstimates, authenticateRequest, buildSdkErrorBody, createIssuerService, createNativePtQuoter, createPafiEstimatorClient, createSdkErrorMapper, createSubgraphNativeUsdtQuoter, createSubgraphPoolsProvider, defaultPolicyFor, evaluateRedemption, handleClaimStatus, handleDelegateSubmit, handleMobilePrepare, handleMobileSubmit, handleRedeemStatus, mergePaymasterFields, prepareMobileUserOp, relayUserOp, requestPaymaster, serializeEntryToJsonRpc, serializeUserOpTypedData };
3701
+ export { AdapterMisconfiguredError, type ApiConfigResponse, type ApiGasFeeResponse, type ApiLoginRequest, type ApiLoginResponse, type ApiNonceResponse, type ApiPoolsRequest, type ApiPoolsResponse, type ApiRedemptionEvaluateRequest, type ApiRedemptionEvaluateResponse, type ApiRedemptionPreviewRequest, type ApiRedemptionPreviewResponse, type ApiUserRequest, type ApiUserResponse, type AuthContext, AuthError, type AuthErrorCode, AuthService, type AuthServiceConfig, type BundlerEstimatorClient, BundlerNotConfiguredError, BundlerRejectedError, type BurnEvent, BurnIndexer, type BurnIndexerConfig, type BurnStatusParams, type BurnStatusResponse, type ClaimDto, type ConfigDto, ConfigurationError, DEFAULT_REDEMPTION_POLICY, type DecodedCallDto, DefaultPolicyEngine, type DefaultPolicyEngineOptions, type DelegatePrepareDto, type DelegateStatusDto, type EstimateGasFeeOptions, type EvaluateInput, FeeManager, type FeeManagerConfig, type FeeManagerMetrics, type FetchFailureReason, type FetchImpl, type FetchResult, type GasFeeDto, type GasFeeSource, type HandleDelegateSubmitParams, type HandleDelegateSubmitResult, type HandleMobilePrepareParams, type HandleMobilePrepareResult, type HandleMobileSubmitParams, type IIndexerCursorStore, type IPendingUserOpStore, type IPointLedger, type IPolicyEngine, type IRateLimiter, type IRedemptionHistoryStore, type ISessionStore, InMemoryCursorStore, IssuerApiAdapter, type IssuerApiAdapterConfig, IssuerApiHandlers, type IssuerApiHandlersConfig, type IssuerRegistryRecord, type IssuerService, type IssuerServiceConfig, IssuerStateError, IssuerStateValidator, LockNotFoundError, type LockedMintRequest, type LoginResult, MemoryPendingUserOpStore, MemoryRateLimiter, MemoryRedemptionHistoryStore, MemorySessionStore, type MemorySessionStoreOptions, type MintEvent, type MintStatusParams, type MintStatusResponse, type MintingStatus, type MobilePrepareDto, type MobileSubmitDto, type NativePtQuoterConfig, NonceManager, NoopRateLimiter, PAFI_ISSUER_SDK_VERSION, PTClaimError, PTClaimHandler, type PTClaimHandlerConfig, type PTClaimRequest, type PTClaimResponse, PTRedeemError, PTRedeemHandler, type PTRedeemHandlerConfig, type PTRedeemRequest, type PTRedeemResponse, PafiBackendClient, type PafiBackendConfig, PafiBackendError, type PafiBackendErrorCode, type PafiEstimatorClientConfig, PafiEstimatorHttpError, type PaymasterGasEstimates, type PendingCredit, type PendingUserOpEntry, PendingUserOpForbiddenError, PendingUserOpNotFoundError, type PerpDepositDto, PerpDepositError, PerpDepositHandler, type PerpDepositHandlerConfig, type PerpDepositRequest, type PerpDepositResponse, PointIndexer, type PointIndexerConfig, PointTokenDomainResolver, type PointTokenDomainResolverConfig, type PolicyDecision, type PolicyEvalRequest, PolicyProvider, type PolicyProviderConfig, type PoolsDto, type PoolsProvider, type PreValidateMintResult, type PrepareBurnParams, type PrepareMintParams, type PrepareMobileUserOpParams, type PrepareMobileUserOpResult, type PreparedUserOp, type PreviewBurnParams, type PreviewMintParams, REDEMPTION_HISTORY_WINDOW_SEC, type RateLimitAction, type RateLimiterConfig, type RedeemDto, type RedeemPrepareDto, RedemptionService, type RedemptionServiceConfig, RelayError, type RelayErrorCode, RelayService, type RelayUserOpParams, type RelayUserOpRequest, type RelayUserOpResponse, type RequestPaymasterParams, type ResolvedPolicy, type RetryConfig, type SdkErrorBody, type SdkErrorMapperFactories, type SdkErrorStatus, type SerializedUserOpTypedData, type Session, SettlementClient, type SettlementClientConfig, type SponsorshipRequest, type SponsorshipResponse, type SponsorshipTarget, type SponsorshipUserOp, type SubgraphNativeUsdtQuoterConfig, type SubgraphPoolsProviderConfig, type UserDto, type UserHistory, applyPaymasterGasEstimates, authenticateRequest, buildSdkErrorBody, createIssuerService, createNativePtQuoter, createPafiEstimatorClient, createSdkErrorMapper, createSubgraphNativeUsdtQuoter, createSubgraphPoolsProvider, defaultPolicyFor, evaluateRedemption, handleClaimStatus, handleDelegateSubmit, handleMobilePrepare, handleMobileSubmit, handleRedeemStatus, mergePaymasterFields, prepareMobileUserOp, relayUserOp, requestPaymaster, serializeEntryToJsonRpc, serializeUserOpTypedData };
package/dist/index.d.ts CHANGED
@@ -1652,6 +1652,43 @@ declare class IssuerApiHandlers {
1652
1652
  private requireSupportedToken;
1653
1653
  }
1654
1654
 
1655
+ /**
1656
+ * Resolves the EIP-712 domain `name` for a PointToken. Used by handlers
1657
+ * (PTClaimHandler / PTRedeemHandler) that sign requests for multiple
1658
+ * PointTokens within the same issuer backend.
1659
+ *
1660
+ * Resolution order per address:
1661
+ * 1. Cache hit → return immediately (no RPC)
1662
+ * 2. Static override map (config.overrides) → cache + return
1663
+ * 3. On-chain `name()` lookup → cache + return
1664
+ *
1665
+ * Cache is per-instance — share one resolver across handlers so mint +
1666
+ * redeem paths amortise the same set of lookups.
1667
+ *
1668
+ * Why the override map: production issuers often know their PTs at
1669
+ * boot (env / DB) and want to avoid RPC quota churn + tolerate transient
1670
+ * RPC failures. The on-chain fallback handles ad-hoc PTs not in the map
1671
+ * (e.g. newly deployed during the process lifetime).
1672
+ */
1673
+ interface PointTokenDomainResolverConfig {
1674
+ provider: PublicClient;
1675
+ /**
1676
+ * Optional pre-configured map — checksummed (or lowercased) PointToken
1677
+ * address → ERC-20 `name()` value. When a PT's address is in this map,
1678
+ * the resolver short-circuits without an RPC call.
1679
+ */
1680
+ overrides?: Record<string, string>;
1681
+ }
1682
+ declare class PointTokenDomainResolver {
1683
+ private readonly provider;
1684
+ private readonly overrides;
1685
+ private readonly cache;
1686
+ constructor(config: PointTokenDomainResolverConfig);
1687
+ resolve(pointTokenAddress: Address): Promise<string>;
1688
+ /** Invalidate one address (after deploy / proxy upgrade) or all. */
1689
+ invalidate(pointTokenAddress?: Address): void;
1690
+ }
1691
+
1655
1692
  /**
1656
1693
  * Reverse flow — user-initiated PT redeem.
1657
1694
  *
@@ -1681,22 +1718,20 @@ interface PTRedeemHandlerConfig {
1681
1718
  ledger: IPointLedger;
1682
1719
  relayService: RelayService;
1683
1720
  provider: PublicClient;
1684
- /** PointToken contract address (chain-specific). */
1685
- pointTokenAddress: Address;
1686
1721
  /** BatchExecutor delegation target (chain-specific). */
1687
1722
  batchExecutorAddress: Address;
1688
1723
  /** Chain id — used for the BurnRequest EIP-712 domain. */
1689
1724
  chainId: number;
1690
1725
  /**
1691
- * EIP-712 domain fields. Must match the on-chain PointToken's domain
1692
- * separator, or on-chain signature recovery fails. `name` is
1693
- * typically the PointToken's ERC-20 name. `verifyingContract`
1694
- * defaults to `pointTokenAddress`.
1726
+ * Resolver for the EIP-712 domain `name` (= PointToken.name() on-chain).
1727
+ * Required because mint/redeem now route the `pointTokenAddress` per
1728
+ * request the handler can't bind a single domain at construction.
1729
+ * Pass a shared resolver instance so mint + redeem amortise the same
1730
+ * cache. The handler always uses `pointTokenAddress` as the EIP-712
1731
+ * `verifyingContract` — no override (per-PT domain separator is
1732
+ * isolated by contract address).
1695
1733
  */
1696
- domain: {
1697
- name: string;
1698
- verifyingContract?: Address;
1699
- };
1734
+ domainResolver: PointTokenDomainResolver;
1700
1735
  /**
1701
1736
  * Issuer burner signer wallet — signs the `BurnRequest` EIP-712.
1702
1737
  * Must be whitelisted via `PointToken.addBurner(signerAddr)` at
@@ -1739,6 +1774,10 @@ interface PTRedeemRequest {
1739
1774
  authenticatedAddress: Address;
1740
1775
  userAddress: Address;
1741
1776
  amount: bigint;
1777
+ /** PointToken contract to redeem. The handler resolves the EIP-712
1778
+ * domain (name + verifyingContract) from this address via the
1779
+ * configured `domainResolver`. */
1780
+ pointTokenAddress: Address;
1742
1781
  /** ERC-4337 account nonce for the user's EOA. */
1743
1782
  aaNonce: bigint;
1744
1783
  /**
@@ -1806,10 +1845,9 @@ declare class PTRedeemHandler {
1806
1845
  private readonly relayService;
1807
1846
  private readonly provider;
1808
1847
  private readonly feeService?;
1809
- private readonly pointTokenAddress;
1810
1848
  private readonly batchExecutorAddress;
1811
1849
  private readonly chainId;
1812
- private readonly domain;
1850
+ private readonly domainResolver;
1813
1851
  private readonly burnerSignerWallet;
1814
1852
  private readonly redeemLockDurationMs;
1815
1853
  private readonly signatureDeadlineSeconds;
@@ -2524,11 +2562,14 @@ interface PTClaimHandlerConfig {
2524
2562
  /** Issuer minter signer wallet — passed through to RelayService.prepareMint. */
2525
2563
  issuerSignerWallet: WalletClient;
2526
2564
  /**
2527
- * EIP-712 domain `name` for `MintRequest`. Typically the PointToken
2528
- * ERC-20 name. RelayService will set chainId + verifyingContract from
2529
- * the request.
2565
+ * Resolver for the EIP-712 domain `name` (= PointToken.name() on-chain).
2566
+ * Required because mint routes the `pointTokenAddress` per request
2567
+ * the handler can't bind a single domain at construction. Pass a
2568
+ * shared resolver instance so mint + redeem amortise the same cache.
2569
+ * `chainId` + `verifyingContract` are derived from the request's
2570
+ * `chainId` + `pointTokenAddress` respectively.
2530
2571
  */
2531
- pointTokenDomainName: string;
2572
+ domainResolver: PointTokenDomainResolver;
2532
2573
  /** Optional — when wired, used to estimate the PT gas-reimbursement fee. */
2533
2574
  feeService?: FeeManager;
2534
2575
  /** Optional — pre-validates issuer status + cap before locking balance. */
@@ -3096,6 +3137,7 @@ declare class IssuerApiAdapter {
3096
3137
  redeem(input: {
3097
3138
  authenticatedAddress: Address;
3098
3139
  chainId: number;
3140
+ pointTokenAddress: Address;
3099
3141
  amount: bigint;
3100
3142
  aaNonce: bigint;
3101
3143
  }): Promise<RedeemDto>;
@@ -3656,4 +3698,4 @@ declare class MemoryRedemptionHistoryStore implements IRedemptionHistoryStore {
3656
3698
 
3657
3699
  declare const PAFI_ISSUER_SDK_VERSION: string;
3658
3700
 
3659
- export { AdapterMisconfiguredError, type ApiConfigResponse, type ApiGasFeeResponse, type ApiLoginRequest, type ApiLoginResponse, type ApiNonceResponse, type ApiPoolsRequest, type ApiPoolsResponse, type ApiRedemptionEvaluateRequest, type ApiRedemptionEvaluateResponse, type ApiRedemptionPreviewRequest, type ApiRedemptionPreviewResponse, type ApiUserRequest, type ApiUserResponse, type AuthContext, AuthError, type AuthErrorCode, AuthService, type AuthServiceConfig, type BundlerEstimatorClient, BundlerNotConfiguredError, BundlerRejectedError, type BurnEvent, BurnIndexer, type BurnIndexerConfig, type BurnStatusParams, type BurnStatusResponse, type ClaimDto, type ConfigDto, ConfigurationError, DEFAULT_REDEMPTION_POLICY, type DecodedCallDto, DefaultPolicyEngine, type DefaultPolicyEngineOptions, type DelegatePrepareDto, type DelegateStatusDto, type EstimateGasFeeOptions, type EvaluateInput, FeeManager, type FeeManagerConfig, type FeeManagerMetrics, type FetchFailureReason, type FetchImpl, type FetchResult, type GasFeeDto, type GasFeeSource, type HandleDelegateSubmitParams, type HandleDelegateSubmitResult, type HandleMobilePrepareParams, type HandleMobilePrepareResult, type HandleMobileSubmitParams, type IIndexerCursorStore, type IPendingUserOpStore, type IPointLedger, type IPolicyEngine, type IRateLimiter, type IRedemptionHistoryStore, type ISessionStore, InMemoryCursorStore, IssuerApiAdapter, type IssuerApiAdapterConfig, IssuerApiHandlers, type IssuerApiHandlersConfig, type IssuerRegistryRecord, type IssuerService, type IssuerServiceConfig, IssuerStateError, IssuerStateValidator, LockNotFoundError, type LockedMintRequest, type LoginResult, MemoryPendingUserOpStore, MemoryRateLimiter, MemoryRedemptionHistoryStore, MemorySessionStore, type MemorySessionStoreOptions, type MintEvent, type MintStatusParams, type MintStatusResponse, type MintingStatus, type MobilePrepareDto, type MobileSubmitDto, type NativePtQuoterConfig, NonceManager, NoopRateLimiter, PAFI_ISSUER_SDK_VERSION, PTClaimError, PTClaimHandler, type PTClaimHandlerConfig, type PTClaimRequest, type PTClaimResponse, PTRedeemError, PTRedeemHandler, type PTRedeemHandlerConfig, type PTRedeemRequest, type PTRedeemResponse, PafiBackendClient, type PafiBackendConfig, PafiBackendError, type PafiBackendErrorCode, type PafiEstimatorClientConfig, PafiEstimatorHttpError, type PaymasterGasEstimates, type PendingCredit, type PendingUserOpEntry, PendingUserOpForbiddenError, PendingUserOpNotFoundError, type PerpDepositDto, PerpDepositError, PerpDepositHandler, type PerpDepositHandlerConfig, type PerpDepositRequest, type PerpDepositResponse, PointIndexer, type PointIndexerConfig, type PolicyDecision, type PolicyEvalRequest, PolicyProvider, type PolicyProviderConfig, type PoolsDto, type PoolsProvider, type PreValidateMintResult, type PrepareBurnParams, type PrepareMintParams, type PrepareMobileUserOpParams, type PrepareMobileUserOpResult, type PreparedUserOp, type PreviewBurnParams, type PreviewMintParams, REDEMPTION_HISTORY_WINDOW_SEC, type RateLimitAction, type RateLimiterConfig, type RedeemDto, type RedeemPrepareDto, RedemptionService, type RedemptionServiceConfig, RelayError, type RelayErrorCode, RelayService, type RelayUserOpParams, type RelayUserOpRequest, type RelayUserOpResponse, type RequestPaymasterParams, type ResolvedPolicy, type RetryConfig, type SdkErrorBody, type SdkErrorMapperFactories, type SdkErrorStatus, type SerializedUserOpTypedData, type Session, SettlementClient, type SettlementClientConfig, type SponsorshipRequest, type SponsorshipResponse, type SponsorshipTarget, type SponsorshipUserOp, type SubgraphNativeUsdtQuoterConfig, type SubgraphPoolsProviderConfig, type UserDto, type UserHistory, applyPaymasterGasEstimates, authenticateRequest, buildSdkErrorBody, createIssuerService, createNativePtQuoter, createPafiEstimatorClient, createSdkErrorMapper, createSubgraphNativeUsdtQuoter, createSubgraphPoolsProvider, defaultPolicyFor, evaluateRedemption, handleClaimStatus, handleDelegateSubmit, handleMobilePrepare, handleMobileSubmit, handleRedeemStatus, mergePaymasterFields, prepareMobileUserOp, relayUserOp, requestPaymaster, serializeEntryToJsonRpc, serializeUserOpTypedData };
3701
+ export { AdapterMisconfiguredError, type ApiConfigResponse, type ApiGasFeeResponse, type ApiLoginRequest, type ApiLoginResponse, type ApiNonceResponse, type ApiPoolsRequest, type ApiPoolsResponse, type ApiRedemptionEvaluateRequest, type ApiRedemptionEvaluateResponse, type ApiRedemptionPreviewRequest, type ApiRedemptionPreviewResponse, type ApiUserRequest, type ApiUserResponse, type AuthContext, AuthError, type AuthErrorCode, AuthService, type AuthServiceConfig, type BundlerEstimatorClient, BundlerNotConfiguredError, BundlerRejectedError, type BurnEvent, BurnIndexer, type BurnIndexerConfig, type BurnStatusParams, type BurnStatusResponse, type ClaimDto, type ConfigDto, ConfigurationError, DEFAULT_REDEMPTION_POLICY, type DecodedCallDto, DefaultPolicyEngine, type DefaultPolicyEngineOptions, type DelegatePrepareDto, type DelegateStatusDto, type EstimateGasFeeOptions, type EvaluateInput, FeeManager, type FeeManagerConfig, type FeeManagerMetrics, type FetchFailureReason, type FetchImpl, type FetchResult, type GasFeeDto, type GasFeeSource, type HandleDelegateSubmitParams, type HandleDelegateSubmitResult, type HandleMobilePrepareParams, type HandleMobilePrepareResult, type HandleMobileSubmitParams, type IIndexerCursorStore, type IPendingUserOpStore, type IPointLedger, type IPolicyEngine, type IRateLimiter, type IRedemptionHistoryStore, type ISessionStore, InMemoryCursorStore, IssuerApiAdapter, type IssuerApiAdapterConfig, IssuerApiHandlers, type IssuerApiHandlersConfig, type IssuerRegistryRecord, type IssuerService, type IssuerServiceConfig, IssuerStateError, IssuerStateValidator, LockNotFoundError, type LockedMintRequest, type LoginResult, MemoryPendingUserOpStore, MemoryRateLimiter, MemoryRedemptionHistoryStore, MemorySessionStore, type MemorySessionStoreOptions, type MintEvent, type MintStatusParams, type MintStatusResponse, type MintingStatus, type MobilePrepareDto, type MobileSubmitDto, type NativePtQuoterConfig, NonceManager, NoopRateLimiter, PAFI_ISSUER_SDK_VERSION, PTClaimError, PTClaimHandler, type PTClaimHandlerConfig, type PTClaimRequest, type PTClaimResponse, PTRedeemError, PTRedeemHandler, type PTRedeemHandlerConfig, type PTRedeemRequest, type PTRedeemResponse, PafiBackendClient, type PafiBackendConfig, PafiBackendError, type PafiBackendErrorCode, type PafiEstimatorClientConfig, PafiEstimatorHttpError, type PaymasterGasEstimates, type PendingCredit, type PendingUserOpEntry, PendingUserOpForbiddenError, PendingUserOpNotFoundError, type PerpDepositDto, PerpDepositError, PerpDepositHandler, type PerpDepositHandlerConfig, type PerpDepositRequest, type PerpDepositResponse, PointIndexer, type PointIndexerConfig, PointTokenDomainResolver, type PointTokenDomainResolverConfig, type PolicyDecision, type PolicyEvalRequest, PolicyProvider, type PolicyProviderConfig, type PoolsDto, type PoolsProvider, type PreValidateMintResult, type PrepareBurnParams, type PrepareMintParams, type PrepareMobileUserOpParams, type PrepareMobileUserOpResult, type PreparedUserOp, type PreviewBurnParams, type PreviewMintParams, REDEMPTION_HISTORY_WINDOW_SEC, type RateLimitAction, type RateLimiterConfig, type RedeemDto, type RedeemPrepareDto, RedemptionService, type RedemptionServiceConfig, RelayError, type RelayErrorCode, RelayService, type RelayUserOpParams, type RelayUserOpRequest, type RelayUserOpResponse, type RequestPaymasterParams, type ResolvedPolicy, type RetryConfig, type SdkErrorBody, type SdkErrorMapperFactories, type SdkErrorStatus, type SerializedUserOpTypedData, type Session, SettlementClient, type SettlementClientConfig, type SponsorshipRequest, type SponsorshipResponse, type SponsorshipTarget, type SponsorshipUserOp, type SubgraphNativeUsdtQuoterConfig, type SubgraphPoolsProviderConfig, type UserDto, type UserHistory, applyPaymasterGasEstimates, authenticateRequest, buildSdkErrorBody, createIssuerService, createNativePtQuoter, createPafiEstimatorClient, createSdkErrorMapper, createSubgraphNativeUsdtQuoter, createSubgraphPoolsProvider, defaultPolicyFor, evaluateRedemption, handleClaimStatus, handleDelegateSubmit, handleMobilePrepare, handleMobileSubmit, handleRedeemStatus, mergePaymasterFields, prepareMobileUserOp, relayUserOp, requestPaymaster, serializeEntryToJsonRpc, serializeUserOpTypedData };