Skip to content

Commit

Permalink
chore(get-starknet): add code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
stanleyyconsensys committed Feb 25, 2025
1 parent 6c0184c commit 24fca6e
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/get-starknet/src/snap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,25 @@ import type {
} from './type';

export class MetaMaskSnap {
/**
* The wallet RPC provider.
*/
#provider: MetaMaskProvider;

/**
* The ID of the SNAP.
*/
#snapId: string;

/**
* The version of the SNAP to install.
*/
#version: string;

/**
* The minimum version of the SNAP.
* If the installed version is lower than this version, the SNAP will be updated.
*/
#minSnapVersion: string;

constructor(snapId: string, version: string, provider: MetaMaskProvider, minSnapVersion?: string) {
Expand Down

0 comments on commit 24fca6e

Please sign in to comment.