@triveria/wallet 0.0.173 → 0.0.175
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 +8 -20
- package/api.js +1 -6
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -306,6 +306,12 @@ export interface CredentialMetadata {
|
|
|
306
306
|
* @memberof CredentialMetadata
|
|
307
307
|
*/
|
|
308
308
|
'name': string;
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof CredentialMetadata
|
|
313
|
+
*/
|
|
314
|
+
'message'?: string;
|
|
309
315
|
/**
|
|
310
316
|
*
|
|
311
317
|
* @type {string}
|
|
@@ -732,23 +738,11 @@ export interface EbsiSpecificWalletData {
|
|
|
732
738
|
*/
|
|
733
739
|
'proxyUrl'?: string;
|
|
734
740
|
/**
|
|
735
|
-
* Defines if the specific wallet is
|
|
741
|
+
* Defines if the specific wallet is a legal entity
|
|
736
742
|
* @type {boolean}
|
|
737
743
|
* @memberof EbsiSpecificWalletData
|
|
738
744
|
*/
|
|
739
|
-
'
|
|
740
|
-
/**
|
|
741
|
-
* EBSI specific role in the trust chain
|
|
742
|
-
* @type {string}
|
|
743
|
-
* @memberof EbsiSpecificWalletData
|
|
744
|
-
*/
|
|
745
|
-
'trustChainRole'?: EbsiSpecificWalletDataTrustChainRoleEnum;
|
|
746
|
-
/**
|
|
747
|
-
* List of credential DIDs that authorize this specific wallet to accredit other wallets.
|
|
748
|
-
* @type {Array<string>}
|
|
749
|
-
* @memberof EbsiSpecificWalletData
|
|
750
|
-
*/
|
|
751
|
-
'authorizationCredentials'?: Array<string>;
|
|
745
|
+
'isLegalEntity'?: boolean;
|
|
752
746
|
/**
|
|
753
747
|
*
|
|
754
748
|
* @type {EbsiConfiguration}
|
|
@@ -756,12 +750,6 @@ export interface EbsiSpecificWalletData {
|
|
|
756
750
|
*/
|
|
757
751
|
'configuration': EbsiConfiguration;
|
|
758
752
|
}
|
|
759
|
-
export declare const EbsiSpecificWalletDataTrustChainRoleEnum: {
|
|
760
|
-
readonly Rtao: "rtao";
|
|
761
|
-
readonly Tao: "tao";
|
|
762
|
-
readonly Ti: "ti";
|
|
763
|
-
};
|
|
764
|
-
export type EbsiSpecificWalletDataTrustChainRoleEnum = typeof EbsiSpecificWalletDataTrustChainRoleEnum[keyof typeof EbsiSpecificWalletDataTrustChainRoleEnum];
|
|
765
753
|
/**
|
|
766
754
|
* 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
|
|
767
755
|
* @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.
|
|
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;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -60,11 +60,6 @@ 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
|
-
};
|
|
68
63
|
exports.HealthStatusStatusEnum = {
|
|
69
64
|
Ok: 'ok',
|
|
70
65
|
Limited: 'limited',
|