@usdctofiat/offramp 4.4.7 → 4.4.8

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.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  sanitizeAttributionId,
42
42
  sendTelemetryEvent,
43
43
  undelegate
44
- } from "./chunk-4DUIEYWQ.js";
44
+ } from "./chunk-WCW426U5.js";
45
45
 
46
46
  // src/taker-tier.ts
47
47
  import { apiGetTakerTier } from "@zkp2p/sdk";
package/dist/react.cjs CHANGED
@@ -40,7 +40,7 @@ var import_react = require("react");
40
40
 
41
41
  // src/config.ts
42
42
  var import_sdk = require("@zkp2p/sdk");
43
- var SDK_VERSION = "4.4.7";
43
+ var SDK_VERSION = "4.4.8";
44
44
  var BASE_CHAIN_ID = 8453;
45
45
  var RUNTIME_ENV = "production";
46
46
  var API_BASE_URL = "https://api.zkp2p.xyz";
@@ -1796,8 +1796,8 @@ function usePeerExtensionRegistration(platform, options = {}) {
1796
1796
  [startRegistrationCapture]
1797
1797
  );
1798
1798
  const completeRegistration = (0, import_react2.useCallback)(
1799
- async (walletClient, params, options2 = {}) => {
1800
- const metadata = options2.capturedMetadata ?? capturedMetadata;
1799
+ async (walletClient, params, registrationOptions = {}) => {
1800
+ const metadata = registrationOptions.capturedMetadata ?? capturedMetadata;
1801
1801
  if (!metadata) {
1802
1802
  const message = "No Peer metadata captured yet. Start registration first.";
1803
1803
  setError(message);
@@ -1811,7 +1811,7 @@ function usePeerExtensionRegistration(platform, options = {}) {
1811
1811
  identifier: params.identifier,
1812
1812
  capturedMetadata: metadata
1813
1813
  });
1814
- return await offramp(walletClient, params, options2.onProgress);
1814
+ return await offramp(walletClient, params, registrationOptions.onProgress);
1815
1815
  } catch (err) {
1816
1816
  setError(
1817
1817
  err instanceof Error ? err.message : "Couldn't complete Peer extension registration. Try capturing metadata again."
@@ -1821,7 +1821,7 @@ function usePeerExtensionRegistration(platform, options = {}) {
1821
1821
  if (mountedRef.current) setBusy(false);
1822
1822
  }
1823
1823
  },
1824
- [callerAddress, capturedMetadata]
1824
+ [capturedMetadata]
1825
1825
  );
1826
1826
  return {
1827
1827
  phase,