From 5d911607a58a905389b54055805fe200bda3d54f Mon Sep 17 00:00:00 2001 From: Guillaume Roux Date: Wed, 16 Oct 2024 15:09:47 +0200 Subject: [PATCH] Add `snap_getCurrencyRate` to `SnapMethods` (#2843) This adds the types for the `snap_getCurrencyRate` method in `snaps-sdk`. It was forgotten in #2763 --- packages/snaps-sdk/src/types/methods/methods.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/snaps-sdk/src/types/methods/methods.ts b/packages/snaps-sdk/src/types/methods/methods.ts index 4d9e1f33c6..b4547caceb 100644 --- a/packages/snaps-sdk/src/types/methods/methods.ts +++ b/packages/snaps-sdk/src/types/methods/methods.ts @@ -20,6 +20,10 @@ import type { GetClientStatusParams, GetClientStatusResult, } from './get-client-status'; +import type { + GetCurrencyRateParams, + GetCurrencyRateResult, +} from './get-currency-rate'; import type { GetEntropyParams, GetEntropyResult } from './get-entropy'; import type { GetFileParams, GetFileResult } from './get-file'; import type { @@ -64,6 +68,7 @@ export type SnapMethods = { snap_getBip32PublicKey: [GetBip32PublicKeyParams, GetBip32PublicKeyResult]; snap_getBip44Entropy: [GetBip44EntropyParams, GetBip44EntropyResult]; snap_getClientStatus: [GetClientStatusParams, GetClientStatusResult]; + snap_getCurrencyRate: [GetCurrencyRateParams, GetCurrencyRateResult]; snap_getEntropy: [GetEntropyParams, GetEntropyResult]; snap_getFile: [GetFileParams, GetFileResult]; snap_getLocale: [GetLocaleParams, GetLocaleResult];