@metamask-previews/ramps-controller 15.1.0-preview-88f166b01 → 15.1.0-preview-bbd2df29f
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/RampsController.cjs +11 -11
- package/dist/RampsController.cjs.map +1 -1
- package/dist/RampsController.d.cts +11 -11
- package/dist/RampsController.d.mts +11 -11
- package/dist/RampsController.mjs +11 -11
- package/dist/RampsController.mjs.map +1 -1
- package/package.json +1 -1
package/dist/RampsController.cjs
CHANGED
|
@@ -993,17 +993,17 @@ class RampsController extends base_controller_1.BaseController {
|
|
|
993
993
|
* during auto-selection, in priority order (e.g. derived by the caller
|
|
994
994
|
* from completed-order history). Only used when `autoSelectProvider` is
|
|
995
995
|
* true and `providers` is omitted.
|
|
996
|
-
* @param options.restrictToKnownOrNativeProviders -
|
|
997
|
-
*
|
|
998
|
-
*
|
|
999
|
-
*
|
|
1000
|
-
*
|
|
1001
|
-
*
|
|
1002
|
-
* `off`
|
|
1003
|
-
*
|
|
1004
|
-
*
|
|
1005
|
-
*
|
|
1006
|
-
*
|
|
996
|
+
* @param options.restrictToKnownOrNativeProviders - **Deprecated** (still
|
|
997
|
+
* honored for one release). Headless-buy v0 gating: when true,
|
|
998
|
+
* auto-selection resolves only a native provider, and an explicitly passed
|
|
999
|
+
* `providers` list is filtered to those supporting the region and asset; if
|
|
1000
|
+
* nothing qualifies, `getQuotes` returns an empty response instead of
|
|
1001
|
+
* quoting other providers. Provider-class scope (`getProviderScope`) is now
|
|
1002
|
+
* the gate (`off` stays native-only; `in-app`/`all` widen), so this flag is
|
|
1003
|
+
* redundant and will be removed in a later major. Like `autoSelectProvider`,
|
|
1004
|
+
* it still routes a no-`providers` request through the gated path so
|
|
1005
|
+
* existing callers keep working; new callers should rely on the scope
|
|
1006
|
+
* instead of passing this flag.
|
|
1007
1007
|
* @param options.redirectUrl - Optional redirect URL after order completion.
|
|
1008
1008
|
* @param options.action - The ramp action type. Defaults to 'buy'.
|
|
1009
1009
|
* @param options.forceRefresh - Whether to bypass cache.
|