@triveria/wallet 0.0.166 → 0.0.167

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 +11 -6
  2. package/api.js +9 -4
  3. package/package.json +1 -1
package/api.d.ts CHANGED
@@ -1658,11 +1658,11 @@ export interface Wallet {
1658
1658
  */
1659
1659
  'name': string;
1660
1660
  /**
1661
- * Based on the wallet configuration this property defines the roles which the wallet has. It may be one of \"holder\", \"issuer\" and \"verifier\".
1662
- * @type {string}
1661
+ * This property defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
1662
+ * @type {Array<WalletCapability>}
1663
1663
  * @memberof Wallet
1664
1664
  */
1665
- 'role'?: WalletRoleEnum;
1665
+ 'capabilities'?: Array<WalletCapability>;
1666
1666
  /**
1667
1667
  * Wallet metadata is a key value container for any custom data a client may want
1668
1668
  * @type {{ [key: string]: any; }}
@@ -1678,12 +1678,17 @@ export interface Wallet {
1678
1678
  */
1679
1679
  'config': WalletConfig;
1680
1680
  }
1681
- export declare const WalletRoleEnum: {
1681
+ /**
1682
+ *
1683
+ * @export
1684
+ * @enum {string}
1685
+ */
1686
+ export declare const WalletCapability: {
1682
1687
  readonly Holder: "holder";
1683
- readonly Verifier: "verifier";
1684
1688
  readonly Issuer: "issuer";
1689
+ readonly Verifier: "verifier";
1685
1690
  };
1686
- export type WalletRoleEnum = typeof WalletRoleEnum[keyof typeof WalletRoleEnum];
1691
+ export type WalletCapability = typeof WalletCapability[keyof typeof WalletCapability];
1687
1692
  /**
1688
1693
  * Wallet specific configuration.
1689
1694
  * @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.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;
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
@@ -92,10 +92,15 @@ exports.SystemImpactStatusEnum = {
92
92
  Limited: 'limited',
93
93
  Critical: 'critical'
94
94
  };
95
- exports.WalletRoleEnum = {
95
+ /**
96
+ *
97
+ * @export
98
+ * @enum {string}
99
+ */
100
+ exports.WalletCapability = {
96
101
  Holder: 'holder',
97
- Verifier: 'verifier',
98
- Issuer: 'issuer'
102
+ Issuer: 'issuer',
103
+ Verifier: 'verifier'
99
104
  };
100
105
  exports.WalletConfigTrustFrameworkEnum = {
101
106
  Ebsi: 'EBSI',
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triveria/wallet",
3
3
  "private": false,
4
- "version": "0.0.166",
4
+ "version": "0.0.167",
5
5
  "description": "",
6
6
  "main": "index.js",
7
7
  "scripts": {