@metamask/onboarding
Advanced tools
Comparing version 0.1.2 to 0.2.0
@@ -2247,7 +2247,3 @@ var MetamaskOnboarding = (function () { | ||
static async _register () { | ||
if (!window.ethereum._metamask.registerOnboarding) { | ||
throw new Error('Onboarding registration not supported by current version of MetaMask') | ||
} | ||
return window.ethereum._metamask.registerOnboarding() | ||
return window.ethereum.send('wallet_registerOnboarding') | ||
} | ||
@@ -2254,0 +2250,0 @@ |
@@ -157,7 +157,3 @@ 'use strict'; | ||
static async _register () { | ||
if (!window.ethereum._metamask.registerOnboarding) { | ||
throw new Error('Onboarding registration not supported by current version of MetaMask') | ||
} | ||
return window.ethereum._metamask.registerOnboarding() | ||
return window.ethereum.send('wallet_registerOnboarding') | ||
} | ||
@@ -164,0 +160,0 @@ |
{ | ||
"name": "@metamask/onboarding", | ||
"version": "0.1.2", | ||
"version": "0.2.0", | ||
"description": "Tools to support MetaMask one-click onboarding", | ||
@@ -5,0 +5,0 @@ "main": "dist/metamask-onboarding.cjs.js", |
@@ -153,7 +153,3 @@ import Bowser from 'bowser/src/bowser' | ||
static async _register () { | ||
if (!window.ethereum._metamask.registerOnboarding) { | ||
throw new Error('Onboarding registration not supported by current version of MetaMask') | ||
} | ||
return window.ethereum._metamask.registerOnboarding() | ||
return window.ethereum.send('wallet_registerOnboarding') | ||
} | ||
@@ -160,0 +156,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
0
74538
2311