-
Notifications
You must be signed in to change notification settings - Fork 5.3k
feat: subscription payment options integration #35929
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
feat: subscription payment options integration #35929
Conversation
- change contents based on payment method - show usdt usdc and musd only with balance
- add todo on shield plan and type
✨ Files requiring CODEOWNER review ✨🧩 @MetaMask/extension-devs (4 files, +36 -0)
📜 @MetaMask/policy-reviewers (4 files, +36 -0)
Tip Follow the policy review process outlined in the LavaMoat Policy Review Process doc before expecting an approval from Policy Reviewers. 🔗 @MetaMask/supply-chain (4 files, +36 -0)
|
"@metamask/snaps-utils>validate-npm-package-name": true | ||
} | ||
}, | ||
"@metamask/subscription-controller": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package, @metamask/subscription-controller is new controller being used for subscription feature
cc: @MetaMask/policy-reviewers
"@metamask/snaps-utils>validate-npm-package-name": true | ||
} | ||
}, | ||
"@metamask/subscription-controller": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package, @metamask/subscription-controller is new controller being used for subscription feature
cc: @MetaMask/policy-reviewers
"@metamask/snaps-utils>validate-npm-package-name": true | ||
} | ||
}, | ||
"@metamask/subscription-controller": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package, @metamask/subscription-controller is new controller being used for subscription feature
cc: @MetaMask/policy-reviewers
"@metamask/snaps-utils>validate-npm-package-name": true | ||
} | ||
}, | ||
"@metamask/subscription-controller": { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This package, @metamask/subscription-controller is new controller being used for subscription feature
cc: @MetaMask/policy-reviewers
@metamaskbot update-policies |
Policies updated. 🧠 Learn how: https://lavamoat.github.io/guides/policy-diff/#what-to-look-for-when-reviewing-a-policy-diff |
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [4f2d9c8]
UI Startup Metrics (1208 ± 55 ms)
Benchmark value 25 exceeds gate value 23 for chrome browserify home mean firstReactRender Benchmark value 6 exceeds gate value 1 for chrome browserify home mean initialActions Benchmark value 263 exceeds gate value 18 for chrome browserify home p95 backgroundConnect Benchmark value 12 exceeds gate value 1.2 for chrome browserify home p95 initialActions Benchmark value 8 exceeds gate value 7 for chrome webpack home mean initialActions Benchmark value 14 exceeds gate value 7 for chrome webpack home p95 initialActions Benchmark value 41 exceeds gate value 25 for firefox browserify home mean backgroundConnect Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender Benchmark value 5 exceeds gate value 1 for firefox browserify home mean initialActions Benchmark value 11 exceeds gate value 9 for firefox browserify home mean setupStore Benchmark value 215 exceeds gate value 195 for firefox browserify home p95 domInteractive Benchmark value 123 exceeds gate value 70 for firefox browserify home p95 backgroundConnect Benchmark value 9 exceeds gate value 2 for firefox browserify home p95 initialActions Benchmark value 110 exceeds gate value 100 for firefox webpack home mean domInteractive Benchmark value 31 exceeds gate value 26 for firefox webpack home mean backgroundConnect Benchmark value 45 exceeds gate value 38 for firefox webpack home mean firstReactRender Benchmark value 5 exceeds gate value 1 for firefox webpack home mean initialActions Benchmark value 25 exceeds gate value 13 for firefox webpack home mean setupStore Benchmark value 306 exceeds gate value 156 for firefox webpack home p95 domInteractive Benchmark value 53 exceeds gate value 50 for firefox webpack home p95 firstReactRender Benchmark value 9 exceeds gate value 2 for firefox webpack home p95 initialActions Sum of mean exceeds: 311ms | Sum of p95 exceeds: 502.8ms Sum of all benchmark exceeds: 813.8ms Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
📊 Page Load Benchmark ResultsCurrent Commit: 📄 Localhost MetaMask Test DappSamples: 100 Summary
📈 Detailed Results
Results generated automatically by MetaMask CI |
Builds ready [49f15b7]
UI Startup Metrics (1196 ± 56 ms)
Benchmark value 25 exceeds gate value 23 for chrome browserify home mean firstReactRender Benchmark value 5 exceeds gate value 1 for chrome browserify home mean initialActions Benchmark value 260 exceeds gate value 18 for chrome browserify home p95 backgroundConnect Benchmark value 13 exceeds gate value 1.2 for chrome browserify home p95 initialActions Benchmark value 14 exceeds gate value 7 for chrome webpack home p95 initialActions Benchmark value 1407 exceeds gate value 1405 for firefox browserify home mean uiStartup Benchmark value 37 exceeds gate value 25 for firefox browserify home mean backgroundConnect Benchmark value 28 exceeds gate value 25 for firefox browserify home mean firstReactRender Benchmark value 3 exceeds gate value 1 for firefox browserify home mean initialActions Benchmark value 14 exceeds gate value 9 for firefox browserify home mean setupStore Benchmark value 285 exceeds gate value 195 for firefox browserify home p95 domInteractive Benchmark value 92 exceeds gate value 70 for firefox browserify home p95 backgroundConnect Benchmark value 5 exceeds gate value 2 for firefox browserify home p95 initialActions Benchmark value 105 exceeds gate value 100 for firefox webpack home mean domInteractive Benchmark value 32 exceeds gate value 26 for firefox webpack home mean backgroundConnect Benchmark value 44 exceeds gate value 38 for firefox webpack home mean firstReactRender Benchmark value 5 exceeds gate value 1 for firefox webpack home mean initialActions Benchmark value 283 exceeds gate value 156 for firefox webpack home p95 domInteractive Benchmark value 51 exceeds gate value 50 for firefox webpack home p95 firstReactRender Benchmark value 6 exceeds gate value 2 for firefox webpack home p95 initialActions Sum of mean exceeds: 290ms | Sum of p95 exceeds: 507.8ms Sum of all benchmark exceeds: 797.8ms Bundle size diffs [🚨 Warning! Bundle size has increased!]
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
approving policy change on behalf of @MetaMask/policy-reviewers
Description
Changelog
CHANGELOG entry:
Related issues
Fixes:
Manual testing steps
#shield-plan
pageScreenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist