@microsoft/ccf-app 4.0.6 → 4.0.7

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/endpoints.d.ts +10 -2
  2. package/package.json +1 -1
package/endpoints.d.ts CHANGED
@@ -120,10 +120,18 @@ export interface UserCertAuthnIdentity extends UserMemberAuthnIdentityCommon {
120
120
  export interface MemberCertAuthnIdentity extends UserMemberAuthnIdentityCommon {
121
121
  policy: "member_cert";
122
122
  }
123
- export interface MemberCOSESign1AuthnIdentity extends UserMemberAuthnIdentityCommon {
123
+ interface UserMemberCOSEAuthIdentityCommon {
124
+ cose: {
125
+ /**
126
+ * COSE content
127
+ */
128
+ content: ArrayBuffer;
129
+ };
130
+ }
131
+ export interface MemberCOSESign1AuthnIdentity extends UserMemberAuthnIdentityCommon, UserMemberCOSEAuthIdentityCommon {
124
132
  policy: "member_cose_sign1";
125
133
  }
126
- export interface UserCOSESign1AuthnIdentity extends UserMemberAuthnIdentityCommon {
134
+ export interface UserCOSESign1AuthnIdentity extends UserMemberAuthnIdentityCommon, UserMemberCOSEAuthIdentityCommon {
127
135
  policy: "user_cose_sign1";
128
136
  }
129
137
  export interface JwtAuthnIdentity extends AuthnIdentityCommon {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/ccf-app",
3
- "version": "4.0.6",
3
+ "version": "4.0.7",
4
4
  "description": "CCF app support package",
5
5
  "main": "index.js",
6
6
  "files": [