New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dnsimple

Package Overview
Dependencies
Maintainers
5
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dnsimple - npm Package Compare versions

Comparing version 4.3.0 to 4.4.0

5

CHANGELOG.md

@@ -5,2 +5,7 @@ # Changelog

## Release 4.4.0
- NEW: Added `registrar.getDomainPrices` to retrieve whether a domain is premium and the prices to register, transfer, and renew. (dnsimple/dnsimple-node#88)
- REMOVED: Drop the inexistent `domains.resetDomainToken` method (dnsimple-node#89)
## Release 4.3.0

@@ -7,0 +12,0 @@

2

lib/dnsimple.js

@@ -21,3 +21,3 @@ 'use strict';

Dnsimple.VERSION = '4.3.0';
Dnsimple.VERSION = '4.4.0';
Dnsimple.DEFAULT_TIMEOUT = 120000;

@@ -24,0 +24,0 @@ Dnsimple.DEFAULT_BASE_URL = 'https://api.dnsimple.com';

@@ -148,16 +148,2 @@ 'use strict';

/**
* Resets the domain token.
*
* @see https://developer.dnsimple.com/v2/domains/#reset-token
*
* @param {number} accountId The account ID
* @param {string|number} domainId The domain name or numeric ID
* @param {Object} [options]
* @return {Promise}
*/
resetDomainToken (accountId, domainId, options = {}) {
return this._client.post(`/${accountId}/domains/${domainId}/token`, null, options);
}
/**
* Lists the collaborators in the account attached to the given domain.

@@ -164,0 +150,0 @@ *

@@ -56,2 +56,23 @@ 'use strict';

/**
* Get prices for a domain.
*
* @see https://developer.dnsimple.com/v2/registrar/#getDomainPrices
*
* @example Check prices for example.com:
* client.registrar.getDomainPrices(1010, "example.com").then(function(response) {
* // handle response
* }, function(error) {
* // handle error
* });
*
* @param {number} accountId The account ID
* @param {string} domainName The domain name the domain name to find the prices
* @param {Object} [options]
* @return {Promise}
*/
getDomainPrices (accountId, domainName, options = {}) {
return this._client.get(this._registrarPath(accountId, domainName, 'prices'), options);
}
/**
* Registers a domain.

@@ -58,0 +79,0 @@ *

{
"name": "dnsimple",
"version": "4.3.0",
"version": "4.4.0",
"description": "A Node.JS client for the DNSimple API.",

@@ -5,0 +5,0 @@ "keywords": [

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