Socket
Socket
Sign inDemoInstall

daplie-tools

Package Overview
Dependencies
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

daplie-tools - npm Package Compare versions

Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4

13

bin/daplie.js

@@ -206,8 +206,7 @@ #!/usr/bin/env node

.usage('dns:token -n <domainname>')
.option('-n, --name <value>', 'Specify a domainname / hostname')
.option('-d, --device <value>', 'Name of device / server to which this token is issued (defaults to os.hostname)')
.option('-d, --device <value>', 'Name of device / server to which this token is issued (defaults to os.hostname)')
.parse(process.argv)
;
if (helpme || 'string' !== typeof program.opts().name || !program.device) {
if (helpme || 'string' !== typeof program.device) {
program.help();

@@ -219,6 +218,10 @@ return;

oauth3.domainsToken(program.opts()).then(function (results) {
//console.log('');
//console.log('DEVICE NAME\t\tTOKEN');
//console.log('');
//console.log(program.device + '\t' + results.token);
console.log('');
console.log('DOMAIN NAME\tDEVICE NAME\t\tTOKEN');
console.log('Set your DDNS client to use this URL:');
console.log('');
console.log(program.opts().name + '\t' + program.device + '\t' + results.token);
console.log('GET https://oauth3.org/api/com.enom.reseller/ddns?token=' + results.token);
console.log('');

@@ -225,0 +228,0 @@ });

{
"name": "daplie-tools",
"version": "1.0.0-alpha.3",
"version": "1.0.0-alpha.4",
"description": "Taking back the Internet",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc