Skip to content

Commit

Permalink
Add snap_getCurrencyRate to SnapMethods (#2843)
Browse files Browse the repository at this point in the history
This adds the types for the `snap_getCurrencyRate` method in
`snaps-sdk`. It was forgotten in #2763
  • Loading branch information
GuillaumeRx authored Oct 16, 2024
1 parent a916c19 commit 5d91160
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/snaps-sdk/src/types/methods/methods.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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];
Expand Down

0 comments on commit 5d91160

Please sign in to comment.