Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "zos-lib", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "zeppelin_os library", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -37,10 +37,6 @@ # zeppelin_os library | ||
contract MyContract is Initializable { | ||
bool internal initialized; | ||
uint256 public x; | ||
function initialize(uint256 _x) public { | ||
require(!initialized); | ||
function initialize(uint256 _x) isInitializer public { | ||
x = _x; | ||
initialized = true; | ||
} | ||
@@ -73,10 +69,6 @@ } | ||
contract MyContract is Initializable { | ||
bool internal initialized; | ||
uint256 public x; | ||
function initialize(uint256 _x) public { | ||
require(!initialized); | ||
function initialize(uint256 _x) isInitializer public { | ||
x = _x; | ||
initialized = true; | ||
} | ||
@@ -83,0 +75,0 @@ |
Sorry, the diff of this file is not supported yet
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
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
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
503509
64
11457
103