@triveria/wallet 0.0.218 → 0.0.220
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 +19 -14
- package/api.js +5 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1364,7 +1364,13 @@ export interface ModelError {
|
|
|
1364
1364
|
* @type {string}
|
|
1365
1365
|
* @memberof ModelError
|
|
1366
1366
|
*/
|
|
1367
|
-
'
|
|
1367
|
+
'error': string;
|
|
1368
|
+
/**
|
|
1369
|
+
*
|
|
1370
|
+
* @type {string}
|
|
1371
|
+
* @memberof ModelError
|
|
1372
|
+
*/
|
|
1373
|
+
'message': string;
|
|
1368
1374
|
}
|
|
1369
1375
|
/**
|
|
1370
1376
|
*
|
|
@@ -1497,6 +1503,12 @@ export interface OidcRevision {
|
|
|
1497
1503
|
* @memberof OidcRevision
|
|
1498
1504
|
*/
|
|
1499
1505
|
'oidc4vci'?: OidcRevisionOidc4vciEnum;
|
|
1506
|
+
/**
|
|
1507
|
+
*
|
|
1508
|
+
* @type {string}
|
|
1509
|
+
* @memberof OidcRevision
|
|
1510
|
+
*/
|
|
1511
|
+
'oidc4vp'?: OidcRevisionOidc4vpEnum;
|
|
1500
1512
|
}
|
|
1501
1513
|
export declare const OidcRevisionOidc4vciEnum: {
|
|
1502
1514
|
readonly Draft11: "Draft11";
|
|
@@ -1504,6 +1516,11 @@ export declare const OidcRevisionOidc4vciEnum: {
|
|
|
1504
1516
|
readonly Release10: "Release10";
|
|
1505
1517
|
};
|
|
1506
1518
|
export type OidcRevisionOidc4vciEnum = typeof OidcRevisionOidc4vciEnum[keyof typeof OidcRevisionOidc4vciEnum];
|
|
1519
|
+
export declare const OidcRevisionOidc4vpEnum: {
|
|
1520
|
+
readonly Draft16: "Draft16";
|
|
1521
|
+
readonly Draft23: "Draft23";
|
|
1522
|
+
};
|
|
1523
|
+
export type OidcRevisionOidc4vpEnum = typeof OidcRevisionOidc4vpEnum[keyof typeof OidcRevisionOidc4vpEnum];
|
|
1507
1524
|
/**
|
|
1508
1525
|
* On successful EBSI-onboarding result contains \"did:ebsi\" decentralized identifier
|
|
1509
1526
|
* @export
|
|
@@ -2015,23 +2032,11 @@ export interface VerifiedLinkedVp {
|
|
|
2015
2032
|
'credentials': Array<Credential>;
|
|
2016
2033
|
}
|
|
2017
2034
|
/**
|
|
2018
|
-
* Request for the creation of URL used by holder to present credentials to a verifier.
|
|
2035
|
+
* Request for the creation of URL used by holder to present credentials to a verifier.
|
|
2019
2036
|
* @export
|
|
2020
2037
|
* @interface VerifyInitRequest
|
|
2021
2038
|
*/
|
|
2022
2039
|
export interface VerifyInitRequest {
|
|
2023
|
-
/**
|
|
2024
|
-
* DID of client for which verification url is created
|
|
2025
|
-
* @type {string}
|
|
2026
|
-
* @memberof VerifyInitRequest
|
|
2027
|
-
*/
|
|
2028
|
-
'clientId'?: string;
|
|
2029
|
-
/**
|
|
2030
|
-
* Id of ID token request with which the client shares its did
|
|
2031
|
-
* @type {string}
|
|
2032
|
-
* @memberof VerifyInitRequest
|
|
2033
|
-
*/
|
|
2034
|
-
'idTokenRequestId'?: string;
|
|
2035
2040
|
/**
|
|
2036
2041
|
*
|
|
2037
2042
|
* @type {string}
|
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.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.OidcRevisionOidc4vciEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = 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.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.OidcRevisionOidc4vpEnum = exports.OidcRevisionOidc4vciEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = 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
|
|
@@ -92,6 +92,10 @@ exports.OidcRevisionOidc4vciEnum = {
|
|
|
92
92
|
Draft13: 'Draft13',
|
|
93
93
|
Release10: 'Release10'
|
|
94
94
|
};
|
|
95
|
+
exports.OidcRevisionOidc4vpEnum = {
|
|
96
|
+
Draft16: 'Draft16',
|
|
97
|
+
Draft23: 'Draft23'
|
|
98
|
+
};
|
|
95
99
|
exports.PrepareToAccreditRequestTypeEnum = {
|
|
96
100
|
TrustedIssuer: 'TrustedIssuer',
|
|
97
101
|
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
|