@triveria/wallet 0.0.162 → 0.0.163
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 +20 -10
- package/api.js +10 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -177,6 +177,16 @@ export interface Credential {
|
|
|
177
177
|
*/
|
|
178
178
|
'proof'?: Proof;
|
|
179
179
|
}
|
|
180
|
+
/**
|
|
181
|
+
*
|
|
182
|
+
* @export
|
|
183
|
+
* @enum {string}
|
|
184
|
+
*/
|
|
185
|
+
export declare const CredentialFormat: {
|
|
186
|
+
readonly JwtVc: "jwt_vc";
|
|
187
|
+
readonly SdJwtVc: "sd_jwt_vc";
|
|
188
|
+
};
|
|
189
|
+
export type CredentialFormat = typeof CredentialFormat[keyof typeof CredentialFormat];
|
|
180
190
|
/**
|
|
181
191
|
*
|
|
182
192
|
* @export
|
|
@@ -361,10 +371,10 @@ export interface CredentialRequest {
|
|
|
361
371
|
'types': Array<string>;
|
|
362
372
|
/**
|
|
363
373
|
*
|
|
364
|
-
* @type {
|
|
374
|
+
* @type {CredentialFormat}
|
|
365
375
|
* @memberof CredentialRequest
|
|
366
376
|
*/
|
|
367
|
-
'format':
|
|
377
|
+
'format': CredentialFormat;
|
|
368
378
|
/**
|
|
369
379
|
*
|
|
370
380
|
* @type {string}
|
|
@@ -506,10 +516,10 @@ export interface CredentialToPresentWrapper {
|
|
|
506
516
|
export interface CredentialType {
|
|
507
517
|
/**
|
|
508
518
|
*
|
|
509
|
-
* @type {
|
|
519
|
+
* @type {CredentialFormat}
|
|
510
520
|
* @memberof CredentialType
|
|
511
521
|
*/
|
|
512
|
-
'format':
|
|
522
|
+
'format': CredentialFormat;
|
|
513
523
|
/**
|
|
514
524
|
*
|
|
515
525
|
* @type {Array<string>}
|
|
@@ -756,10 +766,10 @@ export interface HolderAuthOfferCreationRequest {
|
|
|
756
766
|
'types': Array<string>;
|
|
757
767
|
/**
|
|
758
768
|
*
|
|
759
|
-
* @type {
|
|
769
|
+
* @type {CredentialFormat}
|
|
760
770
|
* @memberof HolderAuthOfferCreationRequest
|
|
761
771
|
*/
|
|
762
|
-
'format':
|
|
772
|
+
'format': CredentialFormat;
|
|
763
773
|
/**
|
|
764
774
|
*
|
|
765
775
|
* @type {string}
|
|
@@ -832,10 +842,10 @@ export interface InitAuthOffer {
|
|
|
832
842
|
'credentialTypes': Array<string>;
|
|
833
843
|
/**
|
|
834
844
|
*
|
|
835
|
-
* @type {
|
|
845
|
+
* @type {CredentialFormat}
|
|
836
846
|
* @memberof InitAuthOffer
|
|
837
847
|
*/
|
|
838
|
-
'format':
|
|
848
|
+
'format': CredentialFormat;
|
|
839
849
|
/**
|
|
840
850
|
*
|
|
841
851
|
* @type {string}
|
|
@@ -869,10 +879,10 @@ export interface InitPreAuthOffer {
|
|
|
869
879
|
'credentialTypes': Array<string>;
|
|
870
880
|
/**
|
|
871
881
|
*
|
|
872
|
-
* @type {
|
|
882
|
+
* @type {CredentialFormat}
|
|
873
883
|
* @memberof InitPreAuthOffer
|
|
874
884
|
*/
|
|
875
|
-
'format':
|
|
885
|
+
'format': CredentialFormat;
|
|
876
886
|
/**
|
|
877
887
|
*
|
|
878
888
|
* @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.WalletRoleEnum = exports.SystemImpactStatusEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.AccreditationRequestTypeEnum = void 0;
|
|
28
|
+
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletConfigTrustFrameworkEnum = exports.WalletRoleEnum = 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
|
|
@@ -36,6 +36,15 @@ exports.AccreditationRequestTypeEnum = {
|
|
|
36
36
|
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation',
|
|
37
37
|
RootTrustedAccreditationOrganisation: 'RootTrustedAccreditationOrganisation'
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
* @export
|
|
42
|
+
* @enum {string}
|
|
43
|
+
*/
|
|
44
|
+
exports.CredentialFormat = {
|
|
45
|
+
JwtVc: 'jwt_vc',
|
|
46
|
+
SdJwtVc: 'sd_jwt_vc'
|
|
47
|
+
};
|
|
39
48
|
exports.CredentialIssuerDefinitionCredentialIssuerEnum = {
|
|
40
49
|
CtWalletSame: 'CtWalletSame',
|
|
41
50
|
CtRevocable: 'CtRevocable',
|