diff --git a/CHANGELOG.md b/CHANGELOG.md index 4598ae4..694e3bc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## v2.0.0 +- Update license from MIT to BSL-1.1 + ## v1.0.19 - allow passing `smtpPort` to `verifyEmail` function diff --git a/LICENSE.md b/LICENSE.md index f5a8c6d..eeb86be 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,25 +1,7 @@ -The MIT License (MIT) +Business Source License 1.1 ===================== - -Copyright © `2021` `DEV.ME` - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the “Software”), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NON INFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. +Business Source License 1.1 https://mariadb.com/bsl11/ +Licensor: DEV.ME, Ltd. +Licensed Work: Phone Number Validator +Additional Use Grant: None +Copyright 2015-present DEV.ME, Ltd. diff --git a/README.md b/README.md index 589dd37..e5beef7 100644 --- a/README.md +++ b/README.md @@ -38,8 +38,26 @@ Verify email address checking MX records, and SMTP connection, check for disposa ## API / Cloud Hosted Service We offer this `email verification and validation and more advanced features` in our Scalable Cloud API Service Offering - You could try it here [Email Verification](https://dev.me/products/email) +--- -## Self-hosting - installation and usage instructions +## License + +email-validator-js licensed under [Business Source License 1.1](LICENSE). +The BSL allows use only for non-production purposes. + +| Use Case | Is a commercial license required?| +|----------|-----------| +| Exploring email-validator-js for your own research, hobbies, and testing purposes | **No** | +| Using email-validator-js to build a proof-of-concept application | **No** | +| Using email-validator-js to build revenue-generating applications | **Yes** | +| Using email-validator-js to build software that is provided as a service (SaaS) | **Yes** | +| Forking email-validator-js for any production purposes | **Yes** | + +To purchase a license for uses not authorized by BSL, please contact us at [sales@dev.me](mailto:sales@dev.me?subject=Interested%20in%20email-validator-js%20commercial%20license). + +--- + +## installation and usage instructions ## Installation Install the module through YARN: @@ -101,4 +119,4 @@ yarn test ## Contributing Please feel free to open an issue or create a pull request and fix bugs or add features, All contributions are welcome. Thank you! -## LICENSE [MIT](LICENSE.md) +## LICENSE [Business Source License 1.1](LICENSE.md) diff --git a/package.json b/package.json index dc4a111..97f5722 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "type": "git", "url": "https://github.com/devmehq/email-validator-js" }, - "license": "MIT", + "license": "BSL 1.1", "author": "DEV.ME (https://dev.me)", "main": "dist/index.js", "types": "dist/index.d.ts",