@leisurelink/authentic-client
Advanced tools
Comparing version 1.0.0 to 1.1.0
19
index.js
@@ -19,2 +19,3 @@ 'use strict'; | ||
'endpoint-key-post': "authentic/v1/{lang}/endpoints/{principalId}/keys", | ||
'endpoint-key-delete': "authentic/v1/{lang}/endpoints/{principalId}/keys/{keyId}", | ||
'endpoint-claims-get': "authentic/v1/{lang}/endpoints/{principalId}/claims", | ||
@@ -416,2 +417,20 @@ | ||
api.deleteEndpointKey = function(lang, principalId, keyId, callback) { | ||
assert.string(lang, 'lang'); | ||
assert.string(principalId, 'principalId'); | ||
assert.string('key', key); | ||
var options = { | ||
method: 'DELETE' | ||
}; | ||
this.request( | ||
this.route('endpoint-key-delete', { | ||
lang: lang, | ||
principalId: principalId, | ||
keyId: keyId | ||
}), | ||
options, | ||
callback | ||
); | ||
}; | ||
api.getEndpointClaims = function(lang, principalId, callback) { | ||
@@ -418,0 +437,0 @@ assert.string(lang, 'lang'); |
{ | ||
"name": "@leisurelink/authentic-client", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "LeisureLink client library to the authentic-api", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
69196
19
2179
2