@nft/email-connector
Advanced tools
Comparing version 1.0.0-beta.9 to 1.0.0-beta.10
@@ -18,1 +18,7 @@ # Changelog | ||
#### Security | ||
## [v1.0.0-beta.10](https://github.com/liteflow-labs/libraries/releases/tag/v1.0.0-beta.10) - 2022-12-23 | ||
#### Changed | ||
- Improve types check [#109](https://github.com/liteflow-labs/liteflow-js/pull/109) |
@@ -145,5 +145,3 @@ "use strict"; | ||
provider = this.magic.rpcProvider; | ||
return [4 /*yield*/, provider | ||
.enable() | ||
.then(function (accounts) { return accounts[0]; })]; | ||
return [4 /*yield*/, provider.enable().then(function (accounts) { return accounts[0]; })]; | ||
case 8: | ||
@@ -178,3 +176,3 @@ account = _a.sent(); | ||
.send('eth_accounts') | ||
.then(function (accounts) { return accounts[0]; })]; | ||
.then(function (accounts) { return accounts[0] || null; })]; | ||
}); | ||
@@ -181,0 +179,0 @@ }); |
{ | ||
"name": "@nft/email-connector", | ||
"version": "1.0.0-beta.9", | ||
"version": "1.0.0-beta.10", | ||
"main": "./dist/index.js", | ||
@@ -19,3 +19,3 @@ "typings": "./dist/index.d.ts", | ||
}, | ||
"gitHead": "0e3a1f811c558fcdabe30944f52546d42aa7f0eb" | ||
"gitHead": "e17b62f4c52944deed012063e198320683c942b0" | ||
} |
Sorry, the diff of this file is not supported yet
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
26259
228