Comparing version 0.2.0 to 0.3.0
@@ -36,2 +36,4 @@ // | ||
} | ||
} else { | ||
librarian.init('api.onmodulus.net', 443, true); | ||
} | ||
@@ -200,9 +202,6 @@ | ||
dia.create = function (filename, user) { | ||
if (!userConfig.data) { | ||
return console.log('\n you must configured the API endpoint\n'.fail); | ||
} | ||
if (!user.flags.isProvider) { | ||
return console.log('\n you must opt into the Modulus provider program\n'.fail); | ||
} | ||
if (!user.flags.isVerified) { | ||
if (!user.flags.isVerifiedProvider) { | ||
return console.log('\n you must be verified to create an add-on\n'.fail); | ||
@@ -209,0 +208,0 @@ } |
{ | ||
"name": "dia", | ||
"version": "0.2.0", | ||
"version": "0.3.0", | ||
"description": "Modulus add-on test utility.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
@@ -1,2 +0,2 @@ | ||
Dia [![Build Status](https://travis-ci.org/onmodulus/dia.svg?branch=master)](https://travis-ci.org/onmodulus/dia) | ||
Dia [![Build Status](https://travis-ci.org/onmodulus/dia.svg?branch=master)](https://travis-ci.org/onmodulus/dia) [![NPM version](https://badge.fury.io/js/dia.svg)](http://badge.fury.io/js/dia) | ||
=== | ||
@@ -3,0 +3,0 @@ |
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
48306
1276