@triveria/wallet 0.0.167 → 0.0.168
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +24 -0
- package/api.js +6 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -688,6 +688,24 @@ export interface EbsiSpecificWalletData {
|
|
|
688
688
|
* @memberof EbsiSpecificWalletData
|
|
689
689
|
*/
|
|
690
690
|
'proxyUrl'?: string;
|
|
691
|
+
/**
|
|
692
|
+
* Defines if the specific wallet is eligible to request a credential from EBSI to get Accredited as RTAO
|
|
693
|
+
* @type {boolean}
|
|
694
|
+
* @memberof EbsiSpecificWalletData
|
|
695
|
+
*/
|
|
696
|
+
'rTaoEligible'?: boolean;
|
|
697
|
+
/**
|
|
698
|
+
* EBSI specific role in the trust chain
|
|
699
|
+
* @type {string}
|
|
700
|
+
* @memberof EbsiSpecificWalletData
|
|
701
|
+
*/
|
|
702
|
+
'trustChainRole'?: EbsiSpecificWalletDataTrustChainRoleEnum;
|
|
703
|
+
/**
|
|
704
|
+
* List of credential DIDs that authorize this specific wallet to accredit other wallets.
|
|
705
|
+
* @type {Array<string>}
|
|
706
|
+
* @memberof EbsiSpecificWalletData
|
|
707
|
+
*/
|
|
708
|
+
'authorizationCredentials'?: Array<string>;
|
|
691
709
|
/**
|
|
692
710
|
*
|
|
693
711
|
* @type {EbsiConfiguration}
|
|
@@ -695,6 +713,12 @@ export interface EbsiSpecificWalletData {
|
|
|
695
713
|
*/
|
|
696
714
|
'configuration': EbsiConfiguration;
|
|
697
715
|
}
|
|
716
|
+
export declare const EbsiSpecificWalletDataTrustChainRoleEnum: {
|
|
717
|
+
readonly Rtao: "rtao";
|
|
718
|
+
readonly Tao: "tao";
|
|
719
|
+
readonly Ti: "ti";
|
|
720
|
+
};
|
|
721
|
+
export type EbsiSpecificWalletDataTrustChainRoleEnum = typeof EbsiSpecificWalletDataTrustChainRoleEnum[keyof typeof EbsiSpecificWalletDataTrustChainRoleEnum];
|
|
698
722
|
/**
|
|
699
723
|
* A scheme providing enough information for a verifier to determine whether the evidence gathered by the issuer meets its confidence requirements for relying on the credential
|
|
700
724
|
* @export
|
package/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletCapability = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
28
|
+
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletCapability = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.EbsiSpecificWalletDataTrustChainRoleEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.AccreditationRequestTypeEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -60,6 +60,11 @@ exports.DeferredStatusEnum = {
|
|
|
60
60
|
Completed: 'completed',
|
|
61
61
|
Error: 'error'
|
|
62
62
|
};
|
|
63
|
+
exports.EbsiSpecificWalletDataTrustChainRoleEnum = {
|
|
64
|
+
Rtao: 'rtao',
|
|
65
|
+
Tao: 'tao',
|
|
66
|
+
Ti: 'ti'
|
|
67
|
+
};
|
|
63
68
|
exports.HealthStatusStatusEnum = {
|
|
64
69
|
Ok: 'ok',
|
|
65
70
|
Limited: 'limited',
|