@moonpay/platform-sdk-react-native 1.5.0 → 1.6.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
@@ -176,6 +176,17 @@ interface WidgetFrame {
176
176
  }
177
177
 
178
178
  interface RNClient {
179
+ /**
180
+ * Probe the customer's connection state via the headless check-connection
181
+ * frame. Returns the `Connection` discriminated union and populates the
182
+ * internal context with bootstrap `accessToken` / `clientToken` for any
183
+ * status that carries credentials (`active`, `connectionRequired`).
184
+ *
185
+ * A `connectionRequired` result may carry `mismatch: true` when the
186
+ * session's email and phone number resolve to different MoonPay
187
+ * customers — partners can branch on it to route the customer through
188
+ * Connect proactively, before rendering payment UI.
189
+ */
179
190
  getConnection(options?: GetConnectionOptions): Promise<Result<Connection, ConnectSdk.GetConnectionError>>;
180
191
  connect(options: ConnectOptions): Promise<Result<ConnectFrame, ConnectSdk.ConnectError>>;
181
192
  /**
package/dist/index.d.ts CHANGED
@@ -176,6 +176,17 @@ interface WidgetFrame {
176
176
  }
177
177
 
178
178
  interface RNClient {
179
+ /**
180
+ * Probe the customer's connection state via the headless check-connection
181
+ * frame. Returns the `Connection` discriminated union and populates the
182
+ * internal context with bootstrap `accessToken` / `clientToken` for any
183
+ * status that carries credentials (`active`, `connectionRequired`).
184
+ *
185
+ * A `connectionRequired` result may carry `mismatch: true` when the
186
+ * session's email and phone number resolve to different MoonPay
187
+ * customers — partners can branch on it to route the customer through
188
+ * Connect proactively, before rendering payment UI.
189
+ */
179
190
  getConnection(options?: GetConnectionOptions): Promise<Result<Connection, ConnectSdk.GetConnectionError>>;
180
191
  connect(options: ConnectOptions): Promise<Result<ConnectFrame, ConnectSdk.ConnectError>>;
181
192
  /**