@verana-labs/vs-agent-model 1.9.2 → 1.10.0-dev.6

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 (2) hide show
  1. package/build/types.d.ts +14 -1
  2. package/package.json +1 -1
package/build/types.d.ts CHANGED
@@ -32,6 +32,14 @@ export interface CredentialIssuanceResponse {
32
32
  jsonSchemaCredentialId?: string;
33
33
  credential?: Record<string, unknown>;
34
34
  }
35
+ export interface CredentialRevocationRequest {
36
+ format: 'jsonld' | 'anoncreds';
37
+ anoncredsRevocationRegistryDefinitionId?: string;
38
+ anoncredsRevocationRegistryIndex?: number;
39
+ }
40
+ export interface CredentialRevocationResponse {
41
+ status: number;
42
+ }
35
43
  export interface ImportCredentialTypeOptions {
36
44
  id: string;
37
45
  data: {
@@ -60,7 +68,8 @@ export interface CreatePresentationRequestOptions {
60
68
  requestedCredentials: RequestedCredential[];
61
69
  }
62
70
  export type RequestedCredential = {
63
- credentialDefinitionId: string;
71
+ credentialDefinitionId?: string;
72
+ relatedJsonSchemaCredentialId?: string;
64
73
  attributes?: string[];
65
74
  };
66
75
  export interface CreatePresentationRequestResult {
@@ -115,6 +124,10 @@ export interface OutOfBandInvitationSchema {
115
124
  services: Array<OutOfBandDidCommService | string>;
116
125
  imageUrl?: string;
117
126
  }
127
+ export interface ReceiveInvitationResult {
128
+ outOfBandId: string;
129
+ connectionId?: string;
130
+ }
118
131
  export interface ConnectionInvitationSchema {
119
132
  id?: string;
120
133
  '@type': string;
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "default": "./build/utils/ecs.js"
15
15
  }
16
16
  },
17
- "version": "1.9.2",
17
+ "version": "1.10.0-dev.6",
18
18
  "repository": {
19
19
  "type": "git",
20
20
  "url": "https://github.com/verana-labs/vs-agent"