We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e72b3d0 commit d3e903dCopy full SHA for d3e903d
src/iden3comm/handlers/discovery-protocol.ts
@@ -1,4 +1,4 @@
1
-import { PROTOCOL_MESSAGE_TYPE } from '../constants';
+import { MediaType, PROTOCOL_MESSAGE_TYPE } from '../constants';
2
3
import { BasicMessage, IPackageManager, ProtocolMessage } from '../types';
4
@@ -62,6 +62,7 @@ export function createDiscoveryFeatureQueryMessage(
62
return {
63
id: uuidv4,
64
thid: uuidv4,
65
+ typ: MediaType.PlainMessage,
66
type: PROTOCOL_MESSAGE_TYPE.DISCOVERY_PROTOCOL_QUERIES_MESSAGE_TYPE,
67
body: {
68
queries
@@ -91,6 +92,7 @@ export function createDiscoveryFeatureDiscloseMessage(
91
92
const uuidv4 = uuid.v4();
93
94
95
96
97
type: PROTOCOL_MESSAGE_TYPE.DISCOVERY_PROTOCOL_DISCLOSE_MESSAGE_TYPE,
98
0 commit comments