@triveria/wallet 0.0.97 → 0.0.99

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.
Files changed (3) hide show
  1. package/api.d.ts +12 -0
  2. package/api.js +6 -1
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1297,6 +1297,12 @@ export interface WalletConfig {
1297
1297
  * @memberof WalletConfig
1298
1298
  */
1299
1299
  'credentialVerifiers'?: Array<CredentialVerifierDefinition>;
1300
+ /**
1301
+ * What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, TTS - Triveria Trust Service, Noop - did:key based no-op trust framework (mainly for the personal use)
1302
+ * @type {string}
1303
+ * @memberof WalletConfig
1304
+ */
1305
+ 'trustFramework': WalletConfigTrustFrameworkEnum;
1300
1306
  /**
1301
1307
  *
1302
1308
  * @type {EbsiSpecificWalletData}
@@ -1304,6 +1310,12 @@ export interface WalletConfig {
1304
1310
  */
1305
1311
  'EBSI'?: EbsiSpecificWalletData;
1306
1312
  }
1313
+ export declare const WalletConfigTrustFrameworkEnum: {
1314
+ readonly Ebsi: "EBSI";
1315
+ readonly Tts: "TTS";
1316
+ readonly Noop: "NOOP";
1317
+ };
1318
+ export type WalletConfigTrustFrameworkEnum = typeof WalletConfigTrustFrameworkEnum[keyof typeof WalletConfigTrustFrameworkEnum];
1307
1319
  /**
1308
1320
  *
1309
1321
  * @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.CredentialListSortFieldEnum = exports.CredentialListSortDirectionEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventTypeEnum = exports.SystemImpactStatusEnum = exports.PrepareToAccreditRequestTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = exports.AccreditationRequestTypeEnum = void 0;
28
+ exports.CredentialListSortFieldEnum = exports.CredentialListSortDirectionEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventTypeEnum = exports.WalletConfigTrustFrameworkEnum = exports.SystemImpactStatusEnum = exports.PrepareToAccreditRequestTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialIssuerDefinitionCredentialFormatEnum = 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
@@ -68,6 +68,11 @@ exports.SystemImpactStatusEnum = {
68
68
  Limited: 'limited',
69
69
  Critical: 'critical'
70
70
  };
71
+ exports.WalletConfigTrustFrameworkEnum = {
72
+ Ebsi: 'EBSI',
73
+ Tts: 'TTS',
74
+ Noop: 'NOOP'
75
+ };
71
76
  exports.WalletNotificationEventTypeEnum = {
72
77
  VpVerified: 'vp.verified',
73
78
  VpInvalid: 'vp.invalid',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.97",
4
+ "version": "0.0.99",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {