Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allowing snap origin arg on plugin initialization #4

Merged
merged 9 commits into from
Aug 22, 2024

Conversation

dafuga
Copy link
Contributor

@dafuga dafuga commented Aug 16, 2024

No description provided.

@dafuga dafuga force-pushed the allowing-snap-origin-arg branch 2 times, most recently from 80e2673 to 3955f60 Compare August 16, 2024 19:35
src/index.ts Outdated
const defaultSnapOrigin = 'local:http://localhost:8080'
// const defaultSnapOrigin = 'npm:@greymass/test-snap'

export class WalletPluginMetaMask extends AbstractWalletPlugin implements WalletPlugin {
public id = 'wallet-plugin-metamask'
snapOrigin: string
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be public or readonly?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can make it public 👍

@dafuga dafuga merged commit 433d7df into master Aug 22, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants