Comparing version 2.2.0 to 2.3.0
@@ -8,2 +8,3 @@ 'use strict'; | ||
certificates: require('./dnsimple/certificates'), | ||
collaborators: require('./dnsimple/collaborators'), | ||
contacts: require('./dnsimple/contacts'), | ||
@@ -10,0 +11,0 @@ domains: require('./dnsimple/domains'), |
@@ -76,3 +76,3 @@ 'use strict'; | ||
* @param {number} accountId The account ID | ||
* @param {string} domainName The domain name to register | ||
* @param {string} domainName The domain name to renew | ||
* @param {Object} attributes Attributes of the renewal | ||
@@ -79,0 +79,0 @@ * @param {number} [attributes.period] The number of years to renew (max 3, default 1) |
{ | ||
"name": "dnsimple", | ||
"version": "2.2.0", | ||
"version": "2.3.0", | ||
"description": "DNSimple v2 API wrapper", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -99,3 +99,3 @@ 'use strict'; | ||
describe('#transferDomain', function() { | ||
var attributes = {registrant_id: '10', auth_info: 'x1y2z3'}; | ||
var attributes = {registrant_id: '10', auth_code: 'x1y2z3'}; | ||
@@ -136,3 +136,3 @@ it('produces a domain', function(done) { | ||
describe('when auth info was not provided and is required by the TLD', function() { | ||
describe('when authcode was not provided and is required by the TLD', function() { | ||
var fixture = testUtils.fixture('transferDomain/error-missing-authcode.http'); | ||
@@ -139,0 +139,0 @@ |
@@ -146,3 +146,6 @@ 'use strict'; | ||
var record = response.data; | ||
expect(record.id).to.eq(64784); | ||
expect(record.id).to.eq(5); | ||
expect(record.regions.length).to.eq(2); | ||
expect(record.regions[0]).to.eq('SV1'); | ||
expect(record.regions[1]).to.eq('IAD'); | ||
done(); | ||
@@ -149,0 +152,0 @@ }, function(error) { |
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
287331
146
5314