Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@unumid/server-sdk

Package Overview
Dependencies
Maintainers
1
Versions
88
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@unumid/server-sdk - npm Package Compare versions

Comparing version 3.13.0 to 3.14.0

build/issuer/updateCredentialStatuses.d.ts

3

build/index.d.ts

@@ -21,3 +21,4 @@ import { registerVerifier } from './verifier/registerVerifier';

import { revokeAllCredentials } from './issuer/revokeAllCredentials';
export { registerIssuer, issueCredential, issueCredentials, updateCredentialStatus, verifySubjectCredentialRequests, revokeAllCredentials, registerVerifier, sendEmail, sendRequest, sendSms, verifyPresentation, checkCredentialStatus, getRequest, getVersionedRequest, UnumDto, RegisteredVerifier, VerifiedStatus, Presentation, RegisteredIssuer, CredentialSubject, DecryptedPresentation, CredentialStatusInfo, CustError, Proof, Credential, CredentialInfo, extractCredentialInfo, verifySubjectDidDocument, createProof, createProofPb, convertCredentialSubject };
import { updateCredentialStatuses } from './issuer/updateCredentialStatuses';
export { registerIssuer, issueCredential, issueCredentials, updateCredentialStatus, updateCredentialStatuses, verifySubjectCredentialRequests, revokeAllCredentials, registerVerifier, sendEmail, sendRequest, sendSms, verifyPresentation, checkCredentialStatus, getRequest, getVersionedRequest, UnumDto, RegisteredVerifier, VerifiedStatus, Presentation, RegisteredIssuer, CredentialSubject, DecryptedPresentation, CredentialStatusInfo, CustError, Proof, Credential, CredentialInfo, extractCredentialInfo, verifySubjectDidDocument, createProof, createProofPb, convertCredentialSubject };
//# sourceMappingURL=index.d.ts.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.convertCredentialSubject = exports.createProofPb = exports.createProof = exports.verifySubjectDidDocument = exports.extractCredentialInfo = exports.CustError = exports.getVersionedRequest = exports.getRequest = exports.checkCredentialStatus = exports.verifyPresentation = exports.sendSms = exports.sendRequest = exports.sendEmail = exports.registerVerifier = exports.revokeAllCredentials = exports.verifySubjectCredentialRequests = exports.updateCredentialStatus = exports.issueCredentials = exports.issueCredential = exports.registerIssuer = void 0;
exports.convertCredentialSubject = exports.createProofPb = exports.createProof = exports.verifySubjectDidDocument = exports.extractCredentialInfo = exports.CustError = exports.getVersionedRequest = exports.getRequest = exports.checkCredentialStatus = exports.verifyPresentation = exports.sendSms = exports.sendRequest = exports.sendEmail = exports.registerVerifier = exports.revokeAllCredentials = exports.verifySubjectCredentialRequests = exports.updateCredentialStatuses = exports.updateCredentialStatus = exports.issueCredentials = exports.issueCredential = exports.registerIssuer = void 0;
var registerVerifier_1 = require("./verifier/registerVerifier");

@@ -42,2 +42,4 @@ Object.defineProperty(exports, "registerVerifier", { enumerable: true, get: function () { return registerVerifier_1.registerVerifier; } });

Object.defineProperty(exports, "revokeAllCredentials", { enumerable: true, get: function () { return revokeAllCredentials_1.revokeAllCredentials; } });
var updateCredentialStatuses_1 = require("./issuer/updateCredentialStatuses");
Object.defineProperty(exports, "updateCredentialStatuses", { enumerable: true, get: function () { return updateCredentialStatuses_1.updateCredentialStatuses; } });
//# sourceMappingURL=index.js.map

@@ -74,3 +74,3 @@ "use strict";

return __awaiter(void 0, void 0, void 0, function () {
var restData, response, authToken, revokedCredential, error_2;
var restData, response, authToken, result, error_2;
return __generator(this, function (_a) {

@@ -85,3 +85,3 @@ switch (_a.label) {

baseUrl: config_1.configData.SaaSUrl,
endPoint: 'credentialStatus/' + credentialId,
endPoint: 'credentialStatus/?credentialId=' + credentialId,
header: { Authorization: authorization },

@@ -94,7 +94,7 @@ data: { status: status }

authToken = networkRequestHelper_1.handleAuthTokenHeader(response, authorization);
revokedCredential = {
result = {
authToken: authToken,
body: undefined
};
return [2 /*return*/, revokedCredential];
return [2 /*return*/, result];
case 2:

@@ -101,0 +101,0 @@ error_2 = _a.sent();

@@ -1,1 +0,1 @@

window.searchData = {"kinds":{"64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","65536":"Type literal"},"rows":[{"id":0,"kind":64,"name":"registerIssuer","url":"modules.html#registerissuer","classes":"tsd-kind-function"},{"id":1,"kind":64,"name":"issueCredential","url":"modules.html#issuecredential","classes":"tsd-kind-function"},{"id":2,"kind":64,"name":"issueCredentials","url":"modules.html#issuecredentials","classes":"tsd-kind-function"},{"id":3,"kind":64,"name":"updateCredentialStatus","url":"modules.html#updatecredentialstatus","classes":"tsd-kind-function"},{"id":4,"kind":64,"name":"verifySubjectCredentialRequests","url":"modules.html#verifysubjectcredentialrequests","classes":"tsd-kind-function"},{"id":5,"kind":64,"name":"revokeAllCredentials","url":"modules.html#revokeallcredentials","classes":"tsd-kind-function"},{"id":6,"kind":64,"name":"registerVerifier","url":"modules.html#registerverifier","classes":"tsd-kind-function"},{"id":7,"kind":64,"name":"sendEmail","url":"modules.html#sendemail","classes":"tsd-kind-function"},{"id":8,"kind":64,"name":"sendRequest","url":"modules.html#sendrequest","classes":"tsd-kind-function"},{"id":9,"kind":64,"name":"sendSms","url":"modules.html#sendsms","classes":"tsd-kind-function"},{"id":10,"kind":64,"name":"verifyPresentation","url":"modules.html#verifypresentation","classes":"tsd-kind-function"},{"id":11,"kind":64,"name":"checkCredentialStatus","url":"modules.html#checkcredentialstatus","classes":"tsd-kind-function"},{"id":12,"kind":64,"name":"getRequest","url":"modules.html#getrequest","classes":"tsd-kind-function"},{"id":13,"kind":64,"name":"getVersionedRequest","url":"modules.html#getversionedrequest","classes":"tsd-kind-function"},{"id":14,"kind":256,"name":"UnumDto","url":"interfaces/unumdto.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":15,"kind":1024,"name":"authToken","url":"interfaces/unumdto.html#authtoken","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"UnumDto"},{"id":16,"kind":1024,"name":"body","url":"interfaces/unumdto.html#body","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"UnumDto"},{"id":17,"kind":256,"name":"RegisteredVerifier","url":"interfaces/registeredverifier.html","classes":"tsd-kind-interface"},{"id":18,"kind":1024,"name":"keys","url":"interfaces/registeredverifier.html#keys","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RegisteredVerifier"},{"id":19,"kind":256,"name":"VerifiedStatus","url":"interfaces/verifiedstatus.html","classes":"tsd-kind-interface"},{"id":20,"kind":1024,"name":"isVerified","url":"interfaces/verifiedstatus.html#isverified","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"VerifiedStatus"},{"id":21,"kind":1024,"name":"message","url":"interfaces/verifiedstatus.html#message","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"VerifiedStatus"},{"id":22,"kind":256,"name":"RegisteredIssuer","url":"interfaces/registeredissuer.html","classes":"tsd-kind-interface"},{"id":23,"kind":1024,"name":"keys","url":"interfaces/registeredissuer.html#keys","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RegisteredIssuer"},{"id":24,"kind":256,"name":"DecryptedPresentation","url":"interfaces/decryptedpresentation.html","classes":"tsd-kind-interface"},{"id":25,"kind":1024,"name":"type","url":"interfaces/decryptedpresentation.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DecryptedPresentation"},{"id":26,"kind":1024,"name":"presentation","url":"interfaces/decryptedpresentation.html#presentation","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DecryptedPresentation"},{"id":27,"kind":1024,"name":"isVerified","url":"interfaces/decryptedpresentation.html#isverified","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"DecryptedPresentation"},{"id":28,"kind":1024,"name":"message","url":"interfaces/decryptedpresentation.html#message","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"DecryptedPresentation"},{"id":29,"kind":256,"name":"CredentialStatusInfo","url":"interfaces/credentialstatusinfo.html","classes":"tsd-kind-interface"},{"id":30,"kind":1024,"name":"createdAt","url":"interfaces/credentialstatusinfo.html#createdat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":31,"kind":1024,"name":"updatedAt","url":"interfaces/credentialstatusinfo.html#updatedat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":32,"kind":1024,"name":"credentialId","url":"interfaces/credentialstatusinfo.html#credentialid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":33,"kind":1024,"name":"status","url":"interfaces/credentialstatusinfo.html#status","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":34,"kind":128,"name":"CustError","url":"classes/custerror.html","classes":"tsd-kind-class"},{"id":35,"kind":65536,"name":"__type","url":"classes/custerror.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"CustError"},{"id":36,"kind":512,"name":"constructor","url":"classes/custerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"CustError"},{"id":37,"kind":1024,"name":"code","url":"classes/custerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CustError"},{"id":38,"kind":256,"name":"CredentialInfo","url":"interfaces/credentialinfo.html","classes":"tsd-kind-interface"},{"id":39,"kind":1024,"name":"credentialTypes","url":"interfaces/credentialinfo.html#credentialtypes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialInfo"},{"id":40,"kind":1024,"name":"subjectDid","url":"interfaces/credentialinfo.html#subjectdid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialInfo"},{"id":41,"kind":64,"name":"extractCredentialInfo","url":"modules.html#extractcredentialinfo","classes":"tsd-kind-function"},{"id":42,"kind":64,"name":"verifySubjectDidDocument","url":"modules.html#verifysubjectdiddocument","classes":"tsd-kind-function"},{"id":43,"kind":64,"name":"createProof","url":"modules.html#createproof","classes":"tsd-kind-function"},{"id":44,"kind":64,"name":"createProofPb","url":"modules.html#createproofpb","classes":"tsd-kind-function"},{"id":45,"kind":64,"name":"convertCredentialSubject","url":"modules.html#convertcredentialsubject","classes":"tsd-kind-function"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,34.447]],["parent/0",[]],["name/1",[1,34.447]],["parent/1",[]],["name/2",[2,34.447]],["parent/2",[]],["name/3",[3,34.447]],["parent/3",[]],["name/4",[4,34.447]],["parent/4",[]],["name/5",[5,34.447]],["parent/5",[]],["name/6",[6,34.447]],["parent/6",[]],["name/7",[7,34.447]],["parent/7",[]],["name/8",[8,34.447]],["parent/8",[]],["name/9",[9,34.447]],["parent/9",[]],["name/10",[10,34.447]],["parent/10",[]],["name/11",[11,34.447]],["parent/11",[]],["name/12",[12,34.447]],["parent/12",[]],["name/13",[13,34.447]],["parent/13",[]],["name/14",[14,25.974]],["parent/14",[]],["name/15",[15,34.447]],["parent/15",[14,1.643]],["name/16",[16,34.447]],["parent/16",[14,1.643]],["name/17",[17,29.339]],["parent/17",[]],["name/18",[18,29.339]],["parent/18",[17,1.855]],["name/19",[19,25.974]],["parent/19",[]],["name/20",[20,29.339]],["parent/20",[19,1.643]],["name/21",[21,29.339]],["parent/21",[19,1.643]],["name/22",[22,29.339]],["parent/22",[]],["name/23",[18,29.339]],["parent/23",[22,1.855]],["name/24",[23,21.454]],["parent/24",[]],["name/25",[24,34.447]],["parent/25",[23,1.357]],["name/26",[25,34.447]],["parent/26",[23,1.357]],["name/27",[20,29.339]],["parent/27",[23,1.357]],["name/28",[21,29.339]],["parent/28",[23,1.357]],["name/29",[26,21.454]],["parent/29",[]],["name/30",[27,34.447]],["parent/30",[26,1.357]],["name/31",[28,34.447]],["parent/31",[26,1.357]],["name/32",[29,34.447]],["parent/32",[26,1.357]],["name/33",[30,34.447]],["parent/33",[26,1.357]],["name/34",[31,23.461]],["parent/34",[]],["name/35",[32,34.447]],["parent/35",[31,1.484]],["name/36",[33,34.447]],["parent/36",[31,1.484]],["name/37",[34,34.447]],["parent/37",[31,1.484]],["name/38",[35,25.974]],["parent/38",[]],["name/39",[36,34.447]],["parent/39",[35,1.643]],["name/40",[37,34.447]],["parent/40",[35,1.643]],["name/41",[38,34.447]],["parent/41",[]],["name/42",[39,34.447]],["parent/42",[]],["name/43",[40,34.447]],["parent/43",[]],["name/44",[41,34.447]],["parent/44",[]],["name/45",[42,34.447]],["parent/45",[]]],"invertedIndex":[["__type",{"_index":32,"name":{"35":{}},"parent":{}}],["authtoken",{"_index":15,"name":{"15":{}},"parent":{}}],["body",{"_index":16,"name":{"16":{}},"parent":{}}],["checkcredentialstatus",{"_index":11,"name":{"11":{}},"parent":{}}],["code",{"_index":34,"name":{"37":{}},"parent":{}}],["constructor",{"_index":33,"name":{"36":{}},"parent":{}}],["convertcredentialsubject",{"_index":42,"name":{"45":{}},"parent":{}}],["createdat",{"_index":27,"name":{"30":{}},"parent":{}}],["createproof",{"_index":40,"name":{"43":{}},"parent":{}}],["createproofpb",{"_index":41,"name":{"44":{}},"parent":{}}],["credentialid",{"_index":29,"name":{"32":{}},"parent":{}}],["credentialinfo",{"_index":35,"name":{"38":{}},"parent":{"39":{},"40":{}}}],["credentialstatusinfo",{"_index":26,"name":{"29":{}},"parent":{"30":{},"31":{},"32":{},"33":{}}}],["credentialtypes",{"_index":36,"name":{"39":{}},"parent":{}}],["custerror",{"_index":31,"name":{"34":{}},"parent":{"35":{},"36":{},"37":{}}}],["decryptedpresentation",{"_index":23,"name":{"24":{}},"parent":{"25":{},"26":{},"27":{},"28":{}}}],["extractcredentialinfo",{"_index":38,"name":{"41":{}},"parent":{}}],["getrequest",{"_index":12,"name":{"12":{}},"parent":{}}],["getversionedrequest",{"_index":13,"name":{"13":{}},"parent":{}}],["issuecredential",{"_index":1,"name":{"1":{}},"parent":{}}],["issuecredentials",{"_index":2,"name":{"2":{}},"parent":{}}],["isverified",{"_index":20,"name":{"20":{},"27":{}},"parent":{}}],["keys",{"_index":18,"name":{"18":{},"23":{}},"parent":{}}],["message",{"_index":21,"name":{"21":{},"28":{}},"parent":{}}],["presentation",{"_index":25,"name":{"26":{}},"parent":{}}],["registeredissuer",{"_index":22,"name":{"22":{}},"parent":{"23":{}}}],["registeredverifier",{"_index":17,"name":{"17":{}},"parent":{"18":{}}}],["registerissuer",{"_index":0,"name":{"0":{}},"parent":{}}],["registerverifier",{"_index":6,"name":{"6":{}},"parent":{}}],["revokeallcredentials",{"_index":5,"name":{"5":{}},"parent":{}}],["sendemail",{"_index":7,"name":{"7":{}},"parent":{}}],["sendrequest",{"_index":8,"name":{"8":{}},"parent":{}}],["sendsms",{"_index":9,"name":{"9":{}},"parent":{}}],["status",{"_index":30,"name":{"33":{}},"parent":{}}],["subjectdid",{"_index":37,"name":{"40":{}},"parent":{}}],["type",{"_index":24,"name":{"25":{}},"parent":{}}],["unumdto",{"_index":14,"name":{"14":{}},"parent":{"15":{},"16":{}}}],["updatecredentialstatus",{"_index":3,"name":{"3":{}},"parent":{}}],["updatedat",{"_index":28,"name":{"31":{}},"parent":{}}],["verifiedstatus",{"_index":19,"name":{"19":{}},"parent":{"20":{},"21":{}}}],["verifypresentation",{"_index":10,"name":{"10":{}},"parent":{}}],["verifysubjectcredentialrequests",{"_index":4,"name":{"4":{}},"parent":{}}],["verifysubjectdiddocument",{"_index":39,"name":{"42":{}},"parent":{}}]],"pipeline":[]}}
window.searchData = {"kinds":{"64":"Function","128":"Class","256":"Interface","512":"Constructor","1024":"Property","65536":"Type literal"},"rows":[{"id":0,"kind":64,"name":"registerIssuer","url":"modules.html#registerissuer","classes":"tsd-kind-function"},{"id":1,"kind":64,"name":"issueCredential","url":"modules.html#issuecredential","classes":"tsd-kind-function"},{"id":2,"kind":64,"name":"issueCredentials","url":"modules.html#issuecredentials","classes":"tsd-kind-function"},{"id":3,"kind":64,"name":"updateCredentialStatus","url":"modules.html#updatecredentialstatus","classes":"tsd-kind-function"},{"id":4,"kind":64,"name":"updateCredentialStatuses","url":"modules.html#updatecredentialstatuses","classes":"tsd-kind-function"},{"id":5,"kind":64,"name":"verifySubjectCredentialRequests","url":"modules.html#verifysubjectcredentialrequests","classes":"tsd-kind-function"},{"id":6,"kind":64,"name":"revokeAllCredentials","url":"modules.html#revokeallcredentials","classes":"tsd-kind-function"},{"id":7,"kind":64,"name":"registerVerifier","url":"modules.html#registerverifier","classes":"tsd-kind-function"},{"id":8,"kind":64,"name":"sendEmail","url":"modules.html#sendemail","classes":"tsd-kind-function"},{"id":9,"kind":64,"name":"sendRequest","url":"modules.html#sendrequest","classes":"tsd-kind-function"},{"id":10,"kind":64,"name":"sendSms","url":"modules.html#sendsms","classes":"tsd-kind-function"},{"id":11,"kind":64,"name":"verifyPresentation","url":"modules.html#verifypresentation","classes":"tsd-kind-function"},{"id":12,"kind":64,"name":"checkCredentialStatus","url":"modules.html#checkcredentialstatus","classes":"tsd-kind-function"},{"id":13,"kind":64,"name":"getRequest","url":"modules.html#getrequest","classes":"tsd-kind-function"},{"id":14,"kind":64,"name":"getVersionedRequest","url":"modules.html#getversionedrequest","classes":"tsd-kind-function"},{"id":15,"kind":256,"name":"UnumDto","url":"interfaces/unumdto.html","classes":"tsd-kind-interface tsd-has-type-parameter"},{"id":16,"kind":1024,"name":"authToken","url":"interfaces/unumdto.html#authtoken","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"UnumDto"},{"id":17,"kind":1024,"name":"body","url":"interfaces/unumdto.html#body","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"UnumDto"},{"id":18,"kind":256,"name":"RegisteredVerifier","url":"interfaces/registeredverifier.html","classes":"tsd-kind-interface"},{"id":19,"kind":1024,"name":"keys","url":"interfaces/registeredverifier.html#keys","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RegisteredVerifier"},{"id":20,"kind":256,"name":"VerifiedStatus","url":"interfaces/verifiedstatus.html","classes":"tsd-kind-interface"},{"id":21,"kind":1024,"name":"isVerified","url":"interfaces/verifiedstatus.html#isverified","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"VerifiedStatus"},{"id":22,"kind":1024,"name":"message","url":"interfaces/verifiedstatus.html#message","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"VerifiedStatus"},{"id":23,"kind":256,"name":"RegisteredIssuer","url":"interfaces/registeredissuer.html","classes":"tsd-kind-interface"},{"id":24,"kind":1024,"name":"keys","url":"interfaces/registeredissuer.html#keys","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"RegisteredIssuer"},{"id":25,"kind":256,"name":"DecryptedPresentation","url":"interfaces/decryptedpresentation.html","classes":"tsd-kind-interface"},{"id":26,"kind":1024,"name":"type","url":"interfaces/decryptedpresentation.html#type","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DecryptedPresentation"},{"id":27,"kind":1024,"name":"presentation","url":"interfaces/decryptedpresentation.html#presentation","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"DecryptedPresentation"},{"id":28,"kind":1024,"name":"isVerified","url":"interfaces/decryptedpresentation.html#isverified","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"DecryptedPresentation"},{"id":29,"kind":1024,"name":"message","url":"interfaces/decryptedpresentation.html#message","classes":"tsd-kind-property tsd-parent-kind-interface tsd-is-inherited","parent":"DecryptedPresentation"},{"id":30,"kind":256,"name":"CredentialStatusInfo","url":"interfaces/credentialstatusinfo.html","classes":"tsd-kind-interface"},{"id":31,"kind":1024,"name":"createdAt","url":"interfaces/credentialstatusinfo.html#createdat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":32,"kind":1024,"name":"updatedAt","url":"interfaces/credentialstatusinfo.html#updatedat","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":33,"kind":1024,"name":"credentialId","url":"interfaces/credentialstatusinfo.html#credentialid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":34,"kind":1024,"name":"status","url":"interfaces/credentialstatusinfo.html#status","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialStatusInfo"},{"id":35,"kind":128,"name":"CustError","url":"classes/custerror.html","classes":"tsd-kind-class"},{"id":36,"kind":65536,"name":"__type","url":"classes/custerror.html#__type","classes":"tsd-kind-type-literal tsd-parent-kind-class","parent":"CustError"},{"id":37,"kind":512,"name":"constructor","url":"classes/custerror.html#constructor","classes":"tsd-kind-constructor tsd-parent-kind-class tsd-is-overwrite","parent":"CustError"},{"id":38,"kind":1024,"name":"code","url":"classes/custerror.html#code","classes":"tsd-kind-property tsd-parent-kind-class","parent":"CustError"},{"id":39,"kind":256,"name":"CredentialInfo","url":"interfaces/credentialinfo.html","classes":"tsd-kind-interface"},{"id":40,"kind":1024,"name":"credentialTypes","url":"interfaces/credentialinfo.html#credentialtypes","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialInfo"},{"id":41,"kind":1024,"name":"subjectDid","url":"interfaces/credentialinfo.html#subjectdid","classes":"tsd-kind-property tsd-parent-kind-interface","parent":"CredentialInfo"},{"id":42,"kind":64,"name":"extractCredentialInfo","url":"modules.html#extractcredentialinfo","classes":"tsd-kind-function"},{"id":43,"kind":64,"name":"verifySubjectDidDocument","url":"modules.html#verifysubjectdiddocument","classes":"tsd-kind-function"},{"id":44,"kind":64,"name":"createProof","url":"modules.html#createproof","classes":"tsd-kind-function"},{"id":45,"kind":64,"name":"createProofPb","url":"modules.html#createproofpb","classes":"tsd-kind-function"},{"id":46,"kind":64,"name":"convertCredentialSubject","url":"modules.html#convertcredentialsubject","classes":"tsd-kind-function"}],"index":{"version":"2.3.9","fields":["name","parent"],"fieldVectors":[["name/0",[0,34.657]],["parent/0",[]],["name/1",[1,34.657]],["parent/1",[]],["name/2",[2,34.657]],["parent/2",[]],["name/3",[3,34.657]],["parent/3",[]],["name/4",[4,34.657]],["parent/4",[]],["name/5",[5,34.657]],["parent/5",[]],["name/6",[6,34.657]],["parent/6",[]],["name/7",[7,34.657]],["parent/7",[]],["name/8",[8,34.657]],["parent/8",[]],["name/9",[9,34.657]],["parent/9",[]],["name/10",[10,34.657]],["parent/10",[]],["name/11",[11,34.657]],["parent/11",[]],["name/12",[12,34.657]],["parent/12",[]],["name/13",[13,34.657]],["parent/13",[]],["name/14",[14,34.657]],["parent/14",[]],["name/15",[15,26.184]],["parent/15",[]],["name/16",[16,34.657]],["parent/16",[15,1.634]],["name/17",[17,34.657]],["parent/17",[15,1.634]],["name/18",[18,29.549]],["parent/18",[]],["name/19",[19,29.549]],["parent/19",[18,1.844]],["name/20",[20,26.184]],["parent/20",[]],["name/21",[21,29.549]],["parent/21",[20,1.634]],["name/22",[22,29.549]],["parent/22",[20,1.634]],["name/23",[23,29.549]],["parent/23",[]],["name/24",[19,29.549]],["parent/24",[23,1.844]],["name/25",[24,21.665]],["parent/25",[]],["name/26",[25,34.657]],["parent/26",[24,1.352]],["name/27",[26,34.657]],["parent/27",[24,1.352]],["name/28",[21,29.549]],["parent/28",[24,1.352]],["name/29",[22,29.549]],["parent/29",[24,1.352]],["name/30",[27,21.665]],["parent/30",[]],["name/31",[28,34.657]],["parent/31",[27,1.352]],["name/32",[29,34.657]],["parent/32",[27,1.352]],["name/33",[30,34.657]],["parent/33",[27,1.352]],["name/34",[31,34.657]],["parent/34",[27,1.352]],["name/35",[32,23.671]],["parent/35",[]],["name/36",[33,34.657]],["parent/36",[32,1.477]],["name/37",[34,34.657]],["parent/37",[32,1.477]],["name/38",[35,34.657]],["parent/38",[32,1.477]],["name/39",[36,26.184]],["parent/39",[]],["name/40",[37,34.657]],["parent/40",[36,1.634]],["name/41",[38,34.657]],["parent/41",[36,1.634]],["name/42",[39,34.657]],["parent/42",[]],["name/43",[40,34.657]],["parent/43",[]],["name/44",[41,34.657]],["parent/44",[]],["name/45",[42,34.657]],["parent/45",[]],["name/46",[43,34.657]],["parent/46",[]]],"invertedIndex":[["__type",{"_index":33,"name":{"36":{}},"parent":{}}],["authtoken",{"_index":16,"name":{"16":{}},"parent":{}}],["body",{"_index":17,"name":{"17":{}},"parent":{}}],["checkcredentialstatus",{"_index":12,"name":{"12":{}},"parent":{}}],["code",{"_index":35,"name":{"38":{}},"parent":{}}],["constructor",{"_index":34,"name":{"37":{}},"parent":{}}],["convertcredentialsubject",{"_index":43,"name":{"46":{}},"parent":{}}],["createdat",{"_index":28,"name":{"31":{}},"parent":{}}],["createproof",{"_index":41,"name":{"44":{}},"parent":{}}],["createproofpb",{"_index":42,"name":{"45":{}},"parent":{}}],["credentialid",{"_index":30,"name":{"33":{}},"parent":{}}],["credentialinfo",{"_index":36,"name":{"39":{}},"parent":{"40":{},"41":{}}}],["credentialstatusinfo",{"_index":27,"name":{"30":{}},"parent":{"31":{},"32":{},"33":{},"34":{}}}],["credentialtypes",{"_index":37,"name":{"40":{}},"parent":{}}],["custerror",{"_index":32,"name":{"35":{}},"parent":{"36":{},"37":{},"38":{}}}],["decryptedpresentation",{"_index":24,"name":{"25":{}},"parent":{"26":{},"27":{},"28":{},"29":{}}}],["extractcredentialinfo",{"_index":39,"name":{"42":{}},"parent":{}}],["getrequest",{"_index":13,"name":{"13":{}},"parent":{}}],["getversionedrequest",{"_index":14,"name":{"14":{}},"parent":{}}],["issuecredential",{"_index":1,"name":{"1":{}},"parent":{}}],["issuecredentials",{"_index":2,"name":{"2":{}},"parent":{}}],["isverified",{"_index":21,"name":{"21":{},"28":{}},"parent":{}}],["keys",{"_index":19,"name":{"19":{},"24":{}},"parent":{}}],["message",{"_index":22,"name":{"22":{},"29":{}},"parent":{}}],["presentation",{"_index":26,"name":{"27":{}},"parent":{}}],["registeredissuer",{"_index":23,"name":{"23":{}},"parent":{"24":{}}}],["registeredverifier",{"_index":18,"name":{"18":{}},"parent":{"19":{}}}],["registerissuer",{"_index":0,"name":{"0":{}},"parent":{}}],["registerverifier",{"_index":7,"name":{"7":{}},"parent":{}}],["revokeallcredentials",{"_index":6,"name":{"6":{}},"parent":{}}],["sendemail",{"_index":8,"name":{"8":{}},"parent":{}}],["sendrequest",{"_index":9,"name":{"9":{}},"parent":{}}],["sendsms",{"_index":10,"name":{"10":{}},"parent":{}}],["status",{"_index":31,"name":{"34":{}},"parent":{}}],["subjectdid",{"_index":38,"name":{"41":{}},"parent":{}}],["type",{"_index":25,"name":{"26":{}},"parent":{}}],["unumdto",{"_index":15,"name":{"15":{}},"parent":{"16":{},"17":{}}}],["updatecredentialstatus",{"_index":3,"name":{"3":{}},"parent":{}}],["updatecredentialstatuses",{"_index":4,"name":{"4":{}},"parent":{}}],["updatedat",{"_index":29,"name":{"32":{}},"parent":{}}],["verifiedstatus",{"_index":20,"name":{"20":{}},"parent":{"21":{},"22":{}}}],["verifypresentation",{"_index":11,"name":{"11":{}},"parent":{}}],["verifysubjectcredentialrequests",{"_index":5,"name":{"5":{}},"parent":{}}],["verifysubjectdiddocument",{"_index":40,"name":{"43":{}},"parent":{}}]],"pipeline":[]}}
{
"name": "@unumid/server-sdk",
"version": "3.13.0",
"version": "3.14.0",
"main": "build/index.js",

@@ -47,3 +47,3 @@ "repository": "git@github.com:UnumID/Server-SDK-TypeScript.git",

"@unumid/library-crypto": "https://github.com/UnumID/Library-Crypto-TypeScript.git#1.7.0",
"@unumid/types": "https://github.com/UnumID/types.git#3.29.0",
"@unumid/types": "https://github.com/UnumID/types.git#3.31.0",
"@unumid/types-v2": "npm:@unumid/types@2.1.3",

@@ -50,0 +50,0 @@ "dotenv": "^8.2.0",

@@ -21,2 +21,3 @@ import { registerVerifier } from './verifier/registerVerifier';

import { revokeAllCredentials } from './issuer/revokeAllCredentials';
import { updateCredentialStatuses } from './issuer/updateCredentialStatuses';

@@ -29,2 +30,3 @@ export {

updateCredentialStatus,
updateCredentialStatuses,
verifySubjectCredentialRequests,

@@ -31,0 +33,0 @@ revokeAllCredentials,

@@ -42,3 +42,3 @@ import { configData } from '../config';

baseUrl: configData.SaaSUrl,
endPoint: 'credentialStatus/' + credentialId,
endPoint: 'credentialStatus/?credentialId=' + credentialId,
header: { Authorization: authorization },

@@ -53,3 +53,3 @@ data: { status }

const revokedCredential: UnumDto<undefined> = {
const result: UnumDto<undefined> = {
authToken,

@@ -59,3 +59,3 @@ body: undefined

return revokedCredential;
return result;
} catch (error) {

@@ -62,0 +62,0 @@ logger.error(`Error revoking a credential with UnumID SaaS. ${error}`);

@@ -25,3 +25,3 @@ import { dummyAuthToken, dummyAdminKey } from './mocks';

mockMakeNetworkRequest.mockResolvedValue({ body: { success: true }, headers });
response = await updateCredentialStatus(credentialId, authHeader);
response = await updateCredentialStatus(authHeader, credentialId);
responseAuthToken = response.authToken;

@@ -28,0 +28,0 @@ });

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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