@credo-ts/didcomm 0.6.0-pr-2459-20251016133114 → 0.6.0-pr-2468-20251023090550
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.
- package/build/DidCommModule.d.mts.map +1 -1
- package/build/DidCommModule.d.ts.map +1 -1
- package/build/DidCommModule.js +2 -2
- package/build/DidCommModule.mjs +2 -2
- package/build/DidCommModule.mjs.map +1 -1
- package/build/index.d.mts +2 -1
- package/build/index.d.ts +2 -1
- package/build/index.js +2 -0
- package/build/index.mjs +2 -1
- package/build/modules/index.js +1 -0
- package/build/modules/index.mjs +1 -0
- package/build/modules/message-pickup/index.js +1 -0
- package/build/modules/message-pickup/index.mjs +1 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommModule.d.mts","names":[],"sources":["../src/DidCommModule.ts"],"sourcesContent":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;KA4CK,gCAAgC,4BAA4B;KAE5D,+BAA+B;eACrB;OACR;aACM;IACT,cACF;eAEe,yBACX,+BAA+B,sCAAsC,+BACjE,gDACA;KAIR,cACE;UAEU,oBACN,0BAA0B,iCAAiC,0BACvD,sCACA;KAIV,cACE;iBAEiB,2BACb,iCAAiC,wCAAwC,kCACrE,wCACA;AAnCwC,CAAA,CAAA,GAuClD,aApCG,CAoCW,OApCE,CAAA,UAAA,CAAA,EAAA;EAAA,QAAA,EAoC+B,qBApC/B;KAqChB,aArCmC,CAqCrB,OArCqB,CAAA,oBAAA,CAAA,EAAA;oBAA4B,EAqCI,+BArCJ;CAAM,CAAA,GAsCrE,aAtCqE,CAsCvD,OAtCuD,CAAA,eAAA,CAAA,EAAA;EAElE,aAAA,EAoCsD,0BApCxC;CAAA,CAAA;iBAsCV,iBAtC2B,CAAA,gBAsCO,0BAtCP,CAAA,CAAA,OAAA,EAsC4C,OAtC5C,CAAA,EAsCsD,cAtCtD,CAsCqE,OAtCrE,CAAA;AACrB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;UAEI,CAAA,iBAAA,EA6E2B,iBA7E3B,CAAA,EAAA,IAAA;YAHO,CAAA,YAAA,EA2GuB,YA3GvB,CAAA,EA2GsC,OA3GtC,CAAA,IAAA,CAAA;qBAHb,CAAA,YAAA,EAuJ6C,YAvJ7C,CAAA,EAuJ4D,OAvJ5D,CAAA,IAAA,CAAA;gBAWA,CAAA,YAAA,EAmJwC,YAnJxC,CAAA,EAmJuD,OAnJvD,CAAA,IAAA,CAAA;iBAGI,CAAA,YAAA,EAuJqC,YAvJrC,CAAA,EAuJoD,OAvJpD,CAAA,IAAA,CAAA;oBAA2D,CAAA,YAAA,EA8JnB,YA9JmB,CAAA,EA8JJ,OA9JI,CAAA,IAAA,CAAA;UAAjC,CAAA,YAAA,EAqKI,YArKJ,CAAA,EAqKgB,OArKhB,CAAA,IAAA,CAAA;MACtB,OAAA,CAAA,CAAA,EAAA,CAAA;IACA,WAAA,EAAA,KAAA;IAHE,SAAA,EAAA,KAAA;IAHZ,QAAA,EAAA,uBAAA;MAWE;IAGI,WAAA,EAAA,KAAA;IAAyE,SAAA,EAAA,KAAA;IAAxC,QAAA,EAAA,uBAAA;MAC7B;IACA,WAAA,EAAA,KAAA;IAHS,SAAA,EAAA,KAAA;IAHnB,QAAA,EAAA,uBAAA;MAUc"}
|
package/build/DidCommModule.js
CHANGED
|
@@ -31,7 +31,7 @@ rxjs = require_rolldown_runtime.__toESM(rxjs);
|
|
|
31
31
|
|
|
32
32
|
//#region src/DidCommModule.ts
|
|
33
33
|
function getDidcommModules(options) {
|
|
34
|
-
return {
|
|
34
|
+
return Object.fromEntries(Object.entries({
|
|
35
35
|
connections: new require_DidCommConnectionsModule.DidCommConnectionsModule(options.connections),
|
|
36
36
|
oob: new require_DidCommOutOfBandModule.DidCommOutOfBandModule(),
|
|
37
37
|
discovery: new require_DidCommDiscoverFeaturesModule.DidCommDiscoverFeaturesModule(options.discovery),
|
|
@@ -41,7 +41,7 @@ function getDidcommModules(options) {
|
|
|
41
41
|
mediationRecipient: options.mediationRecipient !== false ? new require_DidCommMediationRecipientModule.DidCommMediationRecipientModule(options.mediationRecipient === true ? {} : options.mediationRecipient) : void 0,
|
|
42
42
|
messagePickup: options.messagePickup !== false ? new require_DidCommMessagePickupModule.DidCommMessagePickupModule(options.messagePickup === true ? {} : options.messagePickup) : void 0,
|
|
43
43
|
basicMessages: options.basicMessages !== false ? new require_DidCommBasicMessagesModule.DidCommBasicMessagesModule() : void 0
|
|
44
|
-
};
|
|
44
|
+
}).filter(([, moduleValue]) => moduleValue !== void 0));
|
|
45
45
|
}
|
|
46
46
|
var DidCommModule = class {
|
|
47
47
|
constructor(config) {
|
package/build/DidCommModule.mjs
CHANGED
|
@@ -28,7 +28,7 @@ import { mergeMap, takeUntil } from "rxjs";
|
|
|
28
28
|
|
|
29
29
|
//#region src/DidCommModule.ts
|
|
30
30
|
function getDidcommModules(options) {
|
|
31
|
-
return {
|
|
31
|
+
return Object.fromEntries(Object.entries({
|
|
32
32
|
connections: new DidCommConnectionsModule(options.connections),
|
|
33
33
|
oob: new DidCommOutOfBandModule(),
|
|
34
34
|
discovery: new DidCommDiscoverFeaturesModule(options.discovery),
|
|
@@ -38,7 +38,7 @@ function getDidcommModules(options) {
|
|
|
38
38
|
mediationRecipient: options.mediationRecipient !== false ? new DidCommMediationRecipientModule(options.mediationRecipient === true ? {} : options.mediationRecipient) : void 0,
|
|
39
39
|
messagePickup: options.messagePickup !== false ? new DidCommMessagePickupModule(options.messagePickup === true ? {} : options.messagePickup) : void 0,
|
|
40
40
|
basicMessages: options.basicMessages !== false ? new DidCommBasicMessagesModule() : void 0
|
|
41
|
-
};
|
|
41
|
+
}).filter(([, moduleValue]) => moduleValue !== void 0));
|
|
42
42
|
}
|
|
43
43
|
var DidCommModule = class {
|
|
44
44
|
constructor(config) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DidCommModule.mjs","names":[],"sources":["../src/DidCommModule.ts"],"sourcesContent":["import type { AgentContext, Constructor, DependencyManager, Module, Update } from '@credo-ts/core'\nimport { EventEmitter, InjectionSymbols } from '@credo-ts/core'\nimport type { Subject } from 'rxjs'\nimport { mergeMap, takeUntil } from 'rxjs'\nimport { DidCommApi } from './DidCommApi'\nimport { DidCommDispatcher } from './DidCommDispatcher'\nimport { DidCommEnvelopeService } from './DidCommEnvelopeService'\nimport type { DidCommMessageReceivedEvent } from './DidCommEvents'\nimport { DidCommEventTypes } from './DidCommEvents'\nimport { DidCommFeatureRegistry } from './DidCommFeatureRegistry'\nimport { DidCommMessageHandlerRegistry } from './DidCommMessageHandlerRegistry'\nimport { DidCommMessageReceiver } from './DidCommMessageReceiver'\nimport { DidCommMessageSender } from './DidCommMessageSender'\nimport type { DidCommModuleConfigOptions } from './DidCommModuleConfig'\nimport { DidCommModuleConfig } from './DidCommModuleConfig'\nimport { DidCommTransportService } from './DidCommTransportService'\nimport {\n type DefaultDidCommMessagePickupProtocols,\n type DefaultDidCommProofProtocols,\n DidCommBasicMessagesModule,\n DidCommConnectionsModule,\n type DidCommCredentialProtocol,\n DidCommDiscoverFeaturesModule,\n DidCommMessagePickupModule,\n type DidCommMessagePickupModuleConfigOptions,\n type DidCommMessagePickupProtocol,\n DidCommOutOfBandModule,\n type DidCommProofProtocol,\n DidCommProofsModule,\n type DidCommProofsModuleConfigOptions,\n} from './modules'\nimport {\n type DefaultDidCommCredentialProtocols,\n DidCommCredentialsModule,\n} from './modules/credentials/DidCommCredentialsModule'\nimport type { DidCommCredentialsModuleConfigOptions } from './modules/credentials/DidCommCredentialsModuleConfig'\nimport { DidCommMediationRecipientModule } from './modules/routing/DidCommMediationRecipientModule'\nimport { DidCommMediatorModule } from './modules/routing/DidCommMediatorModule'\nimport { DidCommMessageRepository } from './repository'\nimport { updateV0_1ToV0_2 } from './updates/0.1-0.2'\nimport { updateV0_2ToV0_3 } from './updates/0.2-0.3'\nimport { updateV0_4ToV0_5 } from './updates/0.4-0.5'\n\n// biome-ignore lint/complexity/noBannedTypes: no explanation\ntype ModuleOrEmpty<Config, Module> = Config extends false ? {} : Module\n\ntype DidCommModules<Options extends DidCommModuleConfigOptions> = {\n connections: DidCommConnectionsModule\n oob: DidCommOutOfBandModule\n discovery: DidCommDiscoverFeaturesModule\n} & ModuleOrEmpty<\n Options['credentials'],\n {\n credentials: DidCommCredentialsModule<\n Options['credentials'] extends DidCommCredentialsModuleConfigOptions<DidCommCredentialProtocol[]>\n ? Options['credentials']['credentialProtocols']\n : DefaultDidCommCredentialProtocols\n >\n }\n> &\n ModuleOrEmpty<\n Options['proofs'],\n {\n proofs: DidCommProofsModule<\n Options['proofs'] extends DidCommProofsModuleConfigOptions<DidCommProofProtocol[]>\n ? Options['proofs']['proofProtocols']\n : DefaultDidCommProofProtocols\n >\n }\n > &\n ModuleOrEmpty<\n Options['messagePickup'],\n {\n messagePickup: DidCommMessagePickupModule<\n Options['messagePickup'] extends DidCommMessagePickupModuleConfigOptions<DidCommMessagePickupProtocol[]>\n ? Options['messagePickup']['protocols']\n : DefaultDidCommMessagePickupProtocols\n >\n }\n > &\n ModuleOrEmpty<Options['mediator'], { mediator: DidCommMediatorModule }> &\n ModuleOrEmpty<Options['mediationRecipient'], { mediationRecipient: DidCommMediationRecipientModule }> &\n ModuleOrEmpty<Options['basicMessages'], { basicMessages: DidCommBasicMessagesModule }>\n\nfunction getDidcommModules<Options extends DidCommModuleConfigOptions>(options: Options): DidCommModules<Options> {\n return {\n connections: new DidCommConnectionsModule(options.connections),\n oob: new DidCommOutOfBandModule(),\n discovery: new DidCommDiscoverFeaturesModule(options.discovery),\n\n credentials:\n options.credentials !== false\n ? new DidCommCredentialsModule(options.credentials === true ? {} : options.credentials)\n : undefined,\n\n proofs:\n options.proofs !== false ? new DidCommProofsModule(options.proofs === true ? {} : options.proofs) : undefined,\n\n mediator:\n options.mediator !== false\n ? new DidCommMediatorModule(options.mediator === true ? {} : options.mediator)\n : undefined,\n\n mediationRecipient:\n options.mediationRecipient !== false\n ? new DidCommMediationRecipientModule(options.mediationRecipient === true ? {} : options.mediationRecipient)\n : undefined,\n\n messagePickup:\n options.messagePickup !== false\n ? new DidCommMessagePickupModule(options.messagePickup === true ? {} : options.messagePickup)\n : undefined,\n\n basicMessages: options.basicMessages !== false ? new DidCommBasicMessagesModule() : undefined,\n } as unknown as DidCommModules<Options>\n}\n\nexport class DidCommModule<Options extends DidCommModuleConfigOptions = DidCommModuleConfigOptions> implements Module {\n public readonly config: DidCommModuleConfig<Options>\n public readonly api: typeof DidCommApi<Options> = DidCommApi\n\n public readonly modules: ReturnType<typeof getDidcommModules<Options>>\n\n public constructor(config?: Options) {\n this.config = new DidCommModuleConfig<Options>(config)\n this.modules = getDidcommModules(config ?? {})\n }\n\n /**\n * Registers the dependencies of the question answer module on the dependency manager.\n */\n public register(dependencyManager: DependencyManager) {\n // Config\n dependencyManager.registerInstance(DidCommModuleConfig, this.config)\n\n // Registries\n dependencyManager.registerSingleton(DidCommMessageHandlerRegistry)\n dependencyManager.registerSingleton(DidCommFeatureRegistry)\n\n // Services\n dependencyManager.registerSingleton(DidCommMessageSender)\n dependencyManager.registerSingleton(DidCommMessageReceiver)\n dependencyManager.registerSingleton(DidCommTransportService)\n dependencyManager.registerSingleton(DidCommDispatcher)\n dependencyManager.registerSingleton(DidCommEnvelopeService)\n\n // Repositories\n dependencyManager.registerSingleton(DidCommMessageRepository)\n\n for (const [_moduleKey, module] of Object.entries(this.modules)) {\n module.register(dependencyManager)\n\n if (module.api) {\n dependencyManager.registerContextScoped(module.api as Constructor<unknown>)\n }\n }\n }\n\n public async initialize(agentContext: AgentContext): Promise<void> {\n const stop$ = agentContext.dependencyManager.resolve<Subject<boolean>>(InjectionSymbols.Stop$)\n const eventEmitter = agentContext.dependencyManager.resolve(EventEmitter)\n const messageReceiver = agentContext.dependencyManager.resolve(DidCommMessageReceiver)\n\n // Listen for new messages (either from transports or somewhere else in the framework / extensions)\n // We create this before doing any other initialization, so the initialization could already receive messages\n eventEmitter\n .observable<DidCommMessageReceivedEvent>(DidCommEventTypes.DidCommMessageReceived)\n .pipe(\n takeUntil(stop$),\n mergeMap(\n (e) =>\n messageReceiver\n .receiveMessage(e.payload.message, {\n connection: e.payload.connection,\n contextCorrelationId: e.payload.contextCorrelationId,\n session: e.payload.session,\n receivedAt: e.payload.receivedAt,\n })\n .catch((error) => {\n agentContext.config.logger.error('Failed to process message', { error })\n }),\n this.config.processDidCommMessagesConcurrently ? undefined : 1\n )\n )\n .subscribe()\n\n for (const transport of this.config.inboundTransports) {\n await transport.start(agentContext)\n }\n\n for (const transport of this.config.outboundTransports) {\n await transport.start(agentContext)\n }\n\n for (const module of Object.values(this.modules)) {\n await module.initialize?.(agentContext)\n }\n }\n\n public async onInitializeContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onInitializeContext?.(agentContext)\n }\n }\n\n public async onCloseContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onCloseContext?.(agentContext)\n }\n }\n\n public async onDeleteContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onDeleteContext?.(agentContext)\n }\n }\n\n public async onProvisionContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onProvisionContext?.(agentContext)\n }\n }\n\n public async shutdown(agentContext: AgentContext) {\n // Stop transports\n const allTransports = [...this.config.inboundTransports, ...this.config.outboundTransports]\n const transportPromises = allTransports.map((transport) => transport.stop())\n await Promise.all(transportPromises)\n\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.shutdown?.(agentContext)\n }\n }\n\n public get updates() {\n return [\n {\n fromVersion: '0.1',\n toVersion: '0.2',\n doUpdate: updateV0_1ToV0_2,\n },\n {\n fromVersion: '0.2',\n toVersion: '0.3',\n doUpdate: updateV0_2ToV0_3,\n },\n {\n fromVersion: '0.4',\n toVersion: '0.5',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AM,UAAU,OAAO,OAAO,KAAK,QAAQ,CAE9C,OADuB,OACF,kBAAkB,aAAa;;CAIxD,MAAa,mBAAmB,cAA2C;AACzE,OAAK,MAAM,UAAU,OAAO,OAAO,KAAK,QAAQ,CAE9C,OADuB,OACF,qBAAqB,aAAa;;CAI3D,MAAa,SAAS,cAA4B;EAGhD,MAAM,oBADgB,CAAC,GAAG,KAAK,OAAO,mBAAmB,GAAG,KAAK,OAAO,mBAAmB,CACnD,KAAK,cAAc,UAAU,MAAM,CAAC;AAC5E,QAAM,QAAQ,IAAI,kBAAkB;AAEpC,OAAK,MAAM,UAAU,OAAO,OAAO,KAAK,QAAQ,CAE9C,OADuB,OACF,WAAW,aAAa;;CAIjD,IAAW,UAAU;AACnB,SAAO;GACL;IACE,aAAa;IACb,WAAW;IACX,UAAU;IACX;GACD;IACE,aAAa;IACb,WAAW;IACX,UAAU;IACX;GACD;IACE,aAAa;IACb,WAAW;IACX,UAAU;IACX;GACF"}
|
|
1
|
+
{"version":3,"file":"DidCommModule.mjs","names":[],"sources":["../src/DidCommModule.ts"],"sourcesContent":["import type { AgentContext, Constructor, DependencyManager, Module, Update } from '@credo-ts/core'\nimport { EventEmitter, InjectionSymbols } from '@credo-ts/core'\nimport type { Subject } from 'rxjs'\nimport { mergeMap, takeUntil } from 'rxjs'\nimport { DidCommApi } from './DidCommApi'\nimport { DidCommDispatcher } from './DidCommDispatcher'\nimport { DidCommEnvelopeService } from './DidCommEnvelopeService'\nimport type { DidCommMessageReceivedEvent } from './DidCommEvents'\nimport { DidCommEventTypes } from './DidCommEvents'\nimport { DidCommFeatureRegistry } from './DidCommFeatureRegistry'\nimport { DidCommMessageHandlerRegistry } from './DidCommMessageHandlerRegistry'\nimport { DidCommMessageReceiver } from './DidCommMessageReceiver'\nimport { DidCommMessageSender } from './DidCommMessageSender'\nimport type { DidCommModuleConfigOptions } from './DidCommModuleConfig'\nimport { DidCommModuleConfig } from './DidCommModuleConfig'\nimport { DidCommTransportService } from './DidCommTransportService'\nimport {\n type DefaultDidCommMessagePickupProtocols,\n type DefaultDidCommProofProtocols,\n DidCommBasicMessagesModule,\n DidCommConnectionsModule,\n type DidCommCredentialProtocol,\n DidCommDiscoverFeaturesModule,\n DidCommMessagePickupModule,\n type DidCommMessagePickupModuleConfigOptions,\n type DidCommMessagePickupProtocol,\n DidCommOutOfBandModule,\n type DidCommProofProtocol,\n DidCommProofsModule,\n type DidCommProofsModuleConfigOptions,\n} from './modules'\nimport {\n type DefaultDidCommCredentialProtocols,\n DidCommCredentialsModule,\n} from './modules/credentials/DidCommCredentialsModule'\nimport type { DidCommCredentialsModuleConfigOptions } from './modules/credentials/DidCommCredentialsModuleConfig'\nimport { DidCommMediationRecipientModule } from './modules/routing/DidCommMediationRecipientModule'\nimport { DidCommMediatorModule } from './modules/routing/DidCommMediatorModule'\nimport { DidCommMessageRepository } from './repository'\nimport { updateV0_1ToV0_2 } from './updates/0.1-0.2'\nimport { updateV0_2ToV0_3 } from './updates/0.2-0.3'\nimport { updateV0_4ToV0_5 } from './updates/0.4-0.5'\n\n// biome-ignore lint/complexity/noBannedTypes: no explanation\ntype ModuleOrEmpty<Config, Module> = Config extends false ? {} : Module\n\ntype DidCommModules<Options extends DidCommModuleConfigOptions> = {\n connections: DidCommConnectionsModule\n oob: DidCommOutOfBandModule\n discovery: DidCommDiscoverFeaturesModule\n} & ModuleOrEmpty<\n Options['credentials'],\n {\n credentials: DidCommCredentialsModule<\n Options['credentials'] extends DidCommCredentialsModuleConfigOptions<DidCommCredentialProtocol[]>\n ? Options['credentials']['credentialProtocols']\n : DefaultDidCommCredentialProtocols\n >\n }\n> &\n ModuleOrEmpty<\n Options['proofs'],\n {\n proofs: DidCommProofsModule<\n Options['proofs'] extends DidCommProofsModuleConfigOptions<DidCommProofProtocol[]>\n ? Options['proofs']['proofProtocols']\n : DefaultDidCommProofProtocols\n >\n }\n > &\n ModuleOrEmpty<\n Options['messagePickup'],\n {\n messagePickup: DidCommMessagePickupModule<\n Options['messagePickup'] extends DidCommMessagePickupModuleConfigOptions<DidCommMessagePickupProtocol[]>\n ? Options['messagePickup']['protocols']\n : DefaultDidCommMessagePickupProtocols\n >\n }\n > &\n ModuleOrEmpty<Options['mediator'], { mediator: DidCommMediatorModule }> &\n ModuleOrEmpty<Options['mediationRecipient'], { mediationRecipient: DidCommMediationRecipientModule }> &\n ModuleOrEmpty<Options['basicMessages'], { basicMessages: DidCommBasicMessagesModule }>\n\nfunction getDidcommModules<Options extends DidCommModuleConfigOptions>(options: Options): DidCommModules<Options> {\n return Object.fromEntries(\n Object.entries({\n connections: new DidCommConnectionsModule(options.connections),\n oob: new DidCommOutOfBandModule(),\n discovery: new DidCommDiscoverFeaturesModule(options.discovery),\n\n credentials:\n options.credentials !== false\n ? new DidCommCredentialsModule(options.credentials === true ? {} : options.credentials)\n : undefined,\n\n proofs:\n options.proofs !== false ? new DidCommProofsModule(options.proofs === true ? {} : options.proofs) : undefined,\n\n mediator:\n options.mediator !== false\n ? new DidCommMediatorModule(options.mediator === true ? {} : options.mediator)\n : undefined,\n\n mediationRecipient:\n options.mediationRecipient !== false\n ? new DidCommMediationRecipientModule(options.mediationRecipient === true ? {} : options.mediationRecipient)\n : undefined,\n\n messagePickup:\n options.messagePickup !== false\n ? new DidCommMessagePickupModule(options.messagePickup === true ? {} : options.messagePickup)\n : undefined,\n\n basicMessages: options.basicMessages !== false ? new DidCommBasicMessagesModule() : undefined,\n }).filter(([, moduleValue]) => moduleValue !== undefined)\n ) as unknown as DidCommModules<Options>\n}\n\nexport class DidCommModule<Options extends DidCommModuleConfigOptions = DidCommModuleConfigOptions> implements Module {\n public readonly config: DidCommModuleConfig<Options>\n public readonly api: typeof DidCommApi<Options> = DidCommApi\n\n public readonly modules: ReturnType<typeof getDidcommModules<Options>>\n\n public constructor(config?: Options) {\n this.config = new DidCommModuleConfig<Options>(config)\n this.modules = getDidcommModules(config ?? {})\n }\n\n /**\n * Registers the dependencies of the question answer module on the dependency manager.\n */\n public register(dependencyManager: DependencyManager) {\n // Config\n dependencyManager.registerInstance(DidCommModuleConfig, this.config)\n\n // Registries\n dependencyManager.registerSingleton(DidCommMessageHandlerRegistry)\n dependencyManager.registerSingleton(DidCommFeatureRegistry)\n\n // Services\n dependencyManager.registerSingleton(DidCommMessageSender)\n dependencyManager.registerSingleton(DidCommMessageReceiver)\n dependencyManager.registerSingleton(DidCommTransportService)\n dependencyManager.registerSingleton(DidCommDispatcher)\n dependencyManager.registerSingleton(DidCommEnvelopeService)\n\n // Repositories\n dependencyManager.registerSingleton(DidCommMessageRepository)\n\n for (const [_moduleKey, module] of Object.entries(this.modules)) {\n module.register(dependencyManager)\n\n if (module.api) {\n dependencyManager.registerContextScoped(module.api as Constructor<unknown>)\n }\n }\n }\n\n public async initialize(agentContext: AgentContext): Promise<void> {\n const stop$ = agentContext.dependencyManager.resolve<Subject<boolean>>(InjectionSymbols.Stop$)\n const eventEmitter = agentContext.dependencyManager.resolve(EventEmitter)\n const messageReceiver = agentContext.dependencyManager.resolve(DidCommMessageReceiver)\n\n // Listen for new messages (either from transports or somewhere else in the framework / extensions)\n // We create this before doing any other initialization, so the initialization could already receive messages\n eventEmitter\n .observable<DidCommMessageReceivedEvent>(DidCommEventTypes.DidCommMessageReceived)\n .pipe(\n takeUntil(stop$),\n mergeMap(\n (e) =>\n messageReceiver\n .receiveMessage(e.payload.message, {\n connection: e.payload.connection,\n contextCorrelationId: e.payload.contextCorrelationId,\n session: e.payload.session,\n receivedAt: e.payload.receivedAt,\n })\n .catch((error) => {\n agentContext.config.logger.error('Failed to process message', { error })\n }),\n this.config.processDidCommMessagesConcurrently ? undefined : 1\n )\n )\n .subscribe()\n\n for (const transport of this.config.inboundTransports) {\n await transport.start(agentContext)\n }\n\n for (const transport of this.config.outboundTransports) {\n await transport.start(agentContext)\n }\n\n for (const module of Object.values(this.modules)) {\n await module.initialize?.(agentContext)\n }\n }\n\n public async onInitializeContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onInitializeContext?.(agentContext)\n }\n }\n\n public async onCloseContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onCloseContext?.(agentContext)\n }\n }\n\n public async onDeleteContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onDeleteContext?.(agentContext)\n }\n }\n\n public async onProvisionContext(agentContext: AgentContext): Promise<void> {\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.onProvisionContext?.(agentContext)\n }\n }\n\n public async shutdown(agentContext: AgentContext) {\n // Stop transports\n const allTransports = [...this.config.inboundTransports, ...this.config.outboundTransports]\n const transportPromises = allTransports.map((transport) => transport.stop())\n await Promise.all(transportPromises)\n\n for (const module of Object.values(this.modules)) {\n const standardModule = module as Module\n await standardModule.shutdown?.(agentContext)\n }\n }\n\n public get updates() {\n return [\n {\n fromVersion: '0.1',\n toVersion: '0.2',\n doUpdate: updateV0_1ToV0_2,\n },\n {\n fromVersion: '0.2',\n toVersion: '0.3',\n doUpdate: updateV0_2ToV0_3,\n },\n {\n fromVersion: '0.4',\n toVersion: '0.5',\n doUpdate: updateV0_4ToV0_5,\n },\n ] satisfies Update[]\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoFA,SAAS,kBAA8D,SAA2C;AAChH,QAAO,OAAO,YACZ,OAAO,QAAQ;EACb,aAAa,IAAI,yBAAyB,QAAQ,YAAY;EAC9D,KAAK,IAAI,wBAAwB;EACjC,WAAW,IAAI,8BAA8B,QAAQ,UAAU;EAE/D,aACE,QAAQ,gBAAgB,QACpB,IAAI,yBAAyB,QAAQ,gBAAgB,OAAO,EAAE,GAAG,QAAQ,YAAY,GACrF;EAEN,QACE,QAAQ,WAAW,QAAQ,IAAI,oBAAoB,QAAQ,WAAW,OAAO,EAAE,GAAG,QAAQ,OAAO,GAAG;EAEtG,UACE,QA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,QAAQ,CAE9C,OADuB,OACF,WAAW,aAAa;;CAIjD,IAAW,UAAU;AACnB,SAAO;GACL;IACE,aAAa;IACb,WAAW;IACX,UAAU;IACX;GACD;IACE,aAAa;IACb,WAAW;IACX,UAAU;IACX;GACD;IACE,aAAa;IACb,WAAW;IACX,UAAU;IACX;GACF"}
|
package/build/index.d.mts
CHANGED
|
@@ -118,6 +118,7 @@ import { InMemoryQueueTransportRepository } from "./transport/queue/InMemoryQueu
|
|
|
118
118
|
import { DidCommMessagePickupProtocol } from "./modules/message-pickup/protocol/DidCommMessagePickupProtocol.mjs";
|
|
119
119
|
import { DeliverMessagesFromQueueOptions, DeliverMessagesFromQueueReturnType, DeliverMessagesOptions, DeliverMessagesReturnType, DidCommMessagePickupProtocolVersionType, PickupMessagesOptions, PickupMessagesReturnType, QueueMessageOptions, QueueMessageReturnType, SetLiveDeliveryModeOptions, SetLiveDeliveryModeReturnType } from "./modules/message-pickup/DidCommMessagePickupApiOptions.mjs";
|
|
120
120
|
import { DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions } from "./modules/message-pickup/DidCommMessagePickupModuleConfig.mjs";
|
|
121
|
+
import { DidCommMessagePickupSession, DidCommMessagePickupSessionRole } from "./modules/message-pickup/DidCommMessagePickupSession.mjs";
|
|
121
122
|
import { DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchMessageOptions } from "./modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.mjs";
|
|
122
123
|
import { DidCommBatchPickupMessage, DidCommBatchPickupMessageOptions } from "./modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.mjs";
|
|
123
124
|
import { DidCommMessagePickupV1Protocol } from "./modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs";
|
|
@@ -242,4 +243,4 @@ import { encodeAttachment, isLinkedAttachment } from "./util/attachment.mjs";
|
|
|
242
243
|
import { DidCommLinkedAttachment, DidCommLinkedAttachmentOptions } from "./util/DidCommLinkedAttachment.mjs";
|
|
243
244
|
import { isValidJweStructure } from "./util/JWE.mjs";
|
|
244
245
|
import { oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl } from "./util/parseInvitation.mjs";
|
|
245
|
-
export { AcceptCredentialOfferOptions, AcceptCredentialOptions, AcceptCredentialProposalOptions, AcceptCredentialRequestOptions, AcceptProofOptions, AcceptProofProposalOptions, AcceptProofRequestOptions, AckDecorator, AckStatus, AddMessageOptions, AnonCredsLinkSecretBindingMethod, AnonCredsLinkSecretBindingMethodOptions, AnonCredsLinkSecretCredentialRequestOptions, AnonCredsLinkSecretDataIntegrityBindingProof, Authentication, AuthenticationTransformer, DidCommBaseCredentialProtocol as BaseDidCommCredentialProtocol, BaseInvitationOptions, ConnectionProblemReportError, ConnectionProblemReportReason, ConnectionProtocolMsgReturnType, ConnectionRequestParams, CreateCredentialOfferOptions, CreateFromImplicitInvitationConfig, CreateLegacyInvitationConfig, CreateOutOfBandInvitationConfig, CreateProofRequestOptions, CredentialPreviewOptions, DidCommCredentialProtocolOptions_d_exports as CredentialProtocolOptions, CredentialProtocolVersionType, CredentialRecordBinding, CustomDidCommBasicMessageTags, CustomDidCommConnectionTags, CustomDidCommCredentialExchangeTags, CustomDidCommMediationTags, CustomDidCommProofExchangeTags, DIDInvitationOptions, DataIntegrityBindingMethods, DataIntegrityBindingMethodsOptions, DataIntegrityCredential, DataIntegrityCredentialOffer, DataIntegrityCredentialOfferOptions, DataIntegrityCredentialRequest, DataIntegrityCredentialRequestBindingProof, DeclineCredentialOfferOptions, DeclineProofRequestOptions, DefaultDidCommBasicMessageTags, DefaultDidCommConnectionTags, DefaultDidCommCredentialExchangeTags, DefaultDidCommCredentialProtocols, DefaultDidCommMediationTags, DefaultDidCommMediatorRoutingRecordTags, DefaultDidCommMessagePickupProtocols, DefaultDidCommMessageTags, DefaultDidCommProofExchangeTags, DefaultDidCommProofProtocols, DeleteCredentialOptions, DeleteProofOptions, DeliverMessagesFromQueueOptions, DeliverMessagesFromQueueReturnType, DeliverMessagesOptions, DeliverMessagesReturnType, DescriptionOptions, DidCommAckMessage, DidCommAckMessageHandler, DidCommAckMessageOptions, DidCommAnonCredsLinkSecretCreateOfferOptions, DidCommApi, DidCommAttachment, DidCommAttachmentData, DidCommAutoAcceptCredential, DidCommAutoAcceptProof, DidCommBaseProofProtocol, DidCommBasicMessage, DidCommBasicMessageEventTypes, DidCommBasicMessageRecord, DidCommBasicMessageRepository, DidCommBasicMessageRole, DidCommBasicMessageService, DidCommBasicMessageStateChangedEvent, DidCommBasicMessageStorageProps, DidCommBasicMessageTags, DidCommBasicMessagesApi, DidCommBasicMessagesModule, DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchMessageOptions, DidCommBatchPickupMessage, DidCommBatchPickupMessageOptions, DidCommConnection, DidCommConnectionDidRotatedEvent, DidCommConnectionEventTypes, DidCommConnectionInvitationMessage, DidCommConnectionInvitationMessageOptions, DidCommConnectionOptions, DidCommConnectionProblemReportHandler, DidCommConnectionProblemReportMessage, DidCommConnectionProblemReportMessageOptions, DidCommConnectionRecord, DidCommConnectionRecordProps, DidCommConnectionRepository, DidCommConnectionRequestHandler, DidCommConnectionRequestMessage, DidCommConnectionRequestMessageOptions, DidCommConnectionResponseHandler, DidCommConnectionResponseMessage, DidCommConnectionResponseMessageOptions, DidCommConnectionRole, DidCommConnectionService, DidCommConnectionState, DidCommConnectionStateChangedEvent, DidCommConnectionType, DidCommConnectionsApi, DidCommConnectionsModule, DidCommConnectionsModuleConfig, DidCommConnectionsModuleConfigOptions, DidCommCredentialEventTypes, DidCommCredentialExchangeRecord, DidCommCredentialExchangeRecordProps, DidCommCredentialExchangeRepository, DidCommCredentialFormat, DidCommCredentialFormatAcceptOfferOptions, DidCommCredentialFormatAcceptProposalOptions, DidCommCredentialFormatAcceptRequestOptions, DidCommCredentialFormatAutoRespondCredentialOptions, DidCommCredentialFormatAutoRespondOfferOptions, DidCommCredentialFormatAutoRespondProposalOptions, DidCommCredentialFormatAutoRespondRequestOptions, DidCommCredentialFormatCreateOfferOptions, DidCommCredentialFormatCreateOfferReturn, DidCommCredentialFormatCreateProposalOptions, DidCommCredentialFormatCreateProposalReturn, DidCommCredentialFormatCreateRequestOptions, DidCommCredentialFormatCreateReturn, DidCommCredentialFormatPayload, DidCommCredentialFormatProcessCredentialOptions, DidCommCredentialFormatProcessOptions, DidCommCredentialFormatService, DidCommCredentialFormatSpec, DidCommCredentialFormatSpecOptions, DidCommCredentialPreviewAttribute, DidCommCredentialPreviewAttributeOptions, DidCommCredentialProblemReportReason, DidCommCredentialProtocol, DidCommCredentialRole, DidCommCredentialState, DidCommCredentialStateChangedEvent, DidCommCredentialV2AckMessage, DidCommCredentialV2AckMessageOptions, DidCommCredentialV2Preview, DidCommCredentialV2ProblemReportMessage, DidCommCredentialV2ProblemReportMessageOptions, DidCommCredentialV2Protocol, DidCommCredentialV2ProtocolConfig, DidCommCredentialsApi, DidCommCredentialsModule, DidCommCredentialsModuleConfig, DidCommCredentialsModuleConfigOptions, DidCommCredentialsModuleOptions, DidCommDataIntegrityAcceptOfferFormat, DidCommDataIntegrityAcceptRequestFormat, DidCommDataIntegrityCredentialFormat, DidCommDataIntegrityOfferCredentialFormat, DidCommDeliveryRequestV2Message, DidCommDeliveryRequestV2MessageOptions, DidCommDidExchangeCompleteHandler, DidCommDidExchangeCompleteMessage, DidCommDidExchangeCompleteMessageOptions, DidCommDidExchangeProblemReportMessage, DidCommDidExchangeProblemReportMessageOptions, DidCommDidExchangeRequestHandler, DidCommDidExchangeRequestMessage, DidCommDidExchangeRequestMessageOptions, DidCommDidExchangeResponseHandler, DidCommDidExchangeResponseMessage, DidCommDidExchangeResponseMessageOptions, DidCommDidExchangeRole, DidCommDidExchangeState, DidCommDidRotateAckHandler, DidCommDidRotateAckMessage, DidCommDidRotateAckMessageOptions, DidCommDidRotateHandler, DidCommDidRotateMessage, DidCommDidRotateMessageOptions, DidCommDidRotateProblemReportHandler, DidCommDidRotateProblemReportMessage, DidCommDidRotateProblemReportMessageOptions, DidCommDidRotateRole, DidCommDidRotateService, DidCommDifPresentationExchangeProofFormat, DidCommDifPresentationExchangeProofFormatService, DidCommDiscoverFeaturesApi, DidCommDiscoverFeaturesDisclosureReceivedEvent, DidCommDiscoverFeaturesEventTypes, DidCommDiscoverFeaturesModule, DidCommDiscoverFeaturesQueryReceivedEvent, DidCommDiscoverFeaturesV1Service, DidCommDiscoverFeaturesV2Service, DidCommDispatcher, DidCommDocumentService, DidCommEncryptedMessage, DidCommEnvelopeService, DidCommEventTypes, DidCommFeature, DidCommFeatureOptions, DidCommFeatureQuery, DidCommFeatureQueryOptions, DidCommFeatureRegistry, DidCommFeaturesDiscloseMessage, DidCommFeaturesDiscloseMessageOptions, DidCommFeaturesDiscloseProtocol, DidCommFeaturesDiscloseProtocolOptions, DidCommFeaturesDisclosuresMessage, DidCommFeaturesDisclosuresMessageOptions, DidCommFeaturesQueriesMessage, DidCommFeaturesQueriesMessageOptions, DidCommFeaturesQueryMessage, DidCommFeaturesQueryMessageOptions, DidCommFormatCreateRequestOptions, DidCommForwardMessage, DidCommForwardMessageOptions, DidCommGoalCode, DidCommGoalCodeOptions, DidCommGovernanceFramework, DidCommGovernanceFrameworkOptions, DidCommHandshakeProtocol, DidCommHandshakeReuseAcceptedMessage, DidCommHandshakeReuseAcceptedMessageOptions, DidCommHandshakeReuseMessage, DidCommHandshakeReuseMessageOptions, DidCommHandshakeReusedEvent, DidCommHangupHandler, DidCommHangupMessage, DidCommHangupMessageOptions, DidCommHttpOutboundTransport, DidCommInboundMessageContext, DidCommInboundTransport, DidCommInvitationType, DidCommIssueCredentialV2Message, DidCommIssueCredentialV2MessageOptions, DidCommJsonLdAcceptRequestFormat, DidCommJsonLdCredentialDetail, DidCommJsonLdCredentialDetailCredentialStatus, DidCommJsonLdCredentialDetailCredentialStatusOptions, DidCommJsonLdCredentialDetailFormat, DidCommJsonLdCredentialDetailInputOptions, DidCommJsonLdCredentialDetailOptions, DidCommJsonLdCredentialDetailOptionsOptions, DidCommJsonLdCredentialFormat, DidCommJsonLdCredentialFormatService, DidCommKeylistUpdate, DidCommKeylistUpdateAction, DidCommKeylistUpdateMessage, DidCommKeylistUpdateMessageOptions, DidCommKeylistUpdateOptions, DidCommKeylistUpdateResponseMessage, DidCommKeylistUpdateResponseMessageOptions, DidCommKeylistUpdateResult, DidCommKeylistUpdated, DidCommKeylistUpdatedEvent, DidCommLinkedAttachment, type DidCommLinkedAttachmentOptions, DidCommLiveDeliveryChangeV2Message, DidCommLiveDeliveryChangeV2MessageOptions, DidCommMediationDenyMessage, DidCommMediationDenyMessageOptions, DidCommMediationGrantMessage, DidCommMediationGrantMessageOptions, DidCommMediationRecipientApi, DidCommMediationRecipientModule, DidCommMediationRecipientService, DidCommMediationRecord, DidCommMediationRecordProps, DidCommMediationRepository, DidCommMediationRequestMessage, DidCommMediationRequestMessageOptions, DidCommMediationRole, DidCommMediationState, DidCommMediationStateChangedEvent, DidCommMediatorApi, DidCommMediatorModule, DidCommMediatorPickupStrategy, DidCommMediatorRoutingRecord, DidCommMediatorRoutingRecordProps, DidCommMediatorRoutingRecordRoutingKey, DidCommMediatorRoutingRepository, DidCommMediatorService, DidCommMessage, DidCommMessageDeliveryV2Message, DidCommMessageDeliveryV2MessageOptions, DidCommMessageForwardingStrategy, DidCommMessageHandler, DidCommMessageHandlerInboundMessage, DidCommMessageHandlerMiddleware, DidCommMessageHandlerMiddlewareRunner, DidCommMessageHandlerRegistry, DidCommMessagePickupApi, DidCommMessagePickupEventTypes, DidCommMessagePickupLiveSessionSavedEvent, DidCommMessagePickupModule, DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions, DidCommMessagePickupModuleOptions, DidCommMessagePickupProtocol, DidCommMessagePickupProtocolVersionType, DidCommMessagePickupSessionService, DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol, DidCommMessageProcessedEvent, DidCommMessageReceivedEvent, DidCommMessageReceiver, DidCommMessageRecord, DidCommMessageRecordProps, DidCommMessageRepository, DidCommMessageRole, DidCommMessageSender, DidCommMessageSentEvent, DidCommMessagesReceivedV2Message, DidCommMessagesReceivedV2MessageOptions, DidCommMimeType, DidCommModule, DidCommModuleConfig, type DidCommModuleConfigOptions, DidCommOfferCredentialV2Message, DidCommOfferCredentialV2MessageOptions, DidCommOutOfBandApi, DidCommOutOfBandEventTypes, DidCommOutOfBandInlineServiceKey, DidCommOutOfBandInvitation, DidCommOutOfBandInvitationOptions, DidCommOutOfBandModule, DidCommOutOfBandRecord, DidCommOutOfBandRecordProps, DidCommOutOfBandRepository, DidCommOutOfBandRole, DidCommOutOfBandService, DidCommOutOfBandState, DidCommOutOfBandStateChangedEvent, DidCommOutboundMessageContext, DidCommOutboundMessageContextParams, DidCommOutboundPackage, DidCommOutboundTransport, DidCommOutboundWebSocketClosedEvent, DidCommOutboundWebSocketOpenedEvent, DidCommPlaintextMessage, DidCommPresentationProblemReportReason, DidCommPresentationV2AckMessage, DidCommPresentationV2Message, DidCommPresentationV2MessageOptions, DidCommPresentationV2ProblemReportMessage, DidCommProblemReportError, DidCommProblemReportErrorOptions, DidCommProblemReportMessage, DidCommProblemReportMessageOptions, DidCommProblemReportReason, DidCommProofEventTypes, DidCommProofExchangeRecord, DidCommProofExchangeRecordProps, DidCommProofExchangeRepository, DidCommProofFormat, DidCommProofFormatAcceptProposalOptions, DidCommProofFormatAcceptRequestOptions, DidCommProofFormatAutoRespondPresentationOptions, DidCommProofFormatAutoRespondProposalOptions, DidCommProofFormatAutoRespondRequestOptions, DidCommProofFormatCreateProposalOptions, DidCommProofFormatCreateReturn, DidCommProofFormatCredentialForRequestPayload, DidCommProofFormatGetCredentialsForRequestOptions, DidCommProofFormatGetCredentialsForRequestReturn, DidCommProofFormatPayload, DidCommProofFormatProcessOptions, DidCommProofFormatProcessPresentationOptions, DidCommProofFormatSelectCredentialsForRequestOptions, DidCommProofFormatSelectCredentialsForRequestReturn, DidCommProofFormatService, DidCommProofFormatSpec, DidCommProofFormatSpecOptions, DidCommProofProtocol, DidCommProofRole, DidCommProofState, DidCommProofStateChangedEvent, DidCommProofV2Protocol, DidCommProofV2ProtocolConfig, DidCommProofsApi, DidCommProofsModule, DidCommProofsModuleConfig, DidCommProofsModuleConfigOptions, DidCommProofsModuleOptions, DidCommProposeCredentialV2Message, DidCommProposeCredentialV2MessageOptions, DidCommProposePresentationV2Message, DidCommProposePresentationV2MessageOptions, DidCommProtocol, DidCommQueueTransportRepository, DidCommRequestCredentialV2Message, DidCommRequestCredentialV2MessageOptions, DidCommRequestPresentationV2Message, DidCommRequestPresentationV2MessageOptions, DidCommRevocationNotification, DidCommRevocationNotificationReceivedEvent, DidCommRevocationNotificationV1Message, DidCommRevocationNotificationV1MessageOptions, DidCommRevocationNotificationV2Message, DidCommRevocationNotificationV2MessageOptions, DidCommRouting, DidCommRoutingCreatedEvent, DidCommRoutingEventTypes, DidCommRoutingService, DidCommSignedAttachmentBindingMethod, DidCommSignedAttachmentBindingMethodOptions, DidCommSignedAttachmentCreateOfferOptions, DidCommSignedAttachmentCredentialRequestOptions, DidCommSignedAttachmentDataIntegrityBindingProof, DidCommStatusRequestMessageV2MessageOptions, DidCommStatusRequestV2Message, DidCommStatusV2Message, DidCommStatusV2MessageOptions, DidCommTransportEventTypes, DidCommTransportService, type DidCommTransportSession, DidCommTransportSessionRemovedEvent, DidCommTransportSessionSavedEvent, DidCommTrustPingEventTypes, DidCommTrustPingMessage, DidCommTrustPingMessageHandler, DidCommTrustPingMessageOptions, DidCommTrustPingReceivedEvent, DidCommTrustPingResponseMessage, DidCommTrustPingResponseMessageHandler, DidCommTrustPingResponseMessageOptions, DidCommTrustPingService, DidCommWsOutboundTransport, DidDoc, DidExchangeProblemReportError, DidExchangeProblemReportReason, DidExchangeProtocol, DifPexGetCredentialsForProofRequestOptions, DifPresentationExchangePresentation, DifPresentationExchangeProposal, DifPresentationExchangeRequest, Ed25119Sig2018, EddsaSaSigSecp256k1, EmbeddedAuthentication, ExtractCredentialFormat, ExtractCredentialFormats, ExtractProofFormat, ExtractProofFormats, FindCredentialMessageReturn, FindCredentialOfferMessageReturn, FindCredentialProposalMessageReturn, FindCredentialRequestMessageReturn, FindProofPresentationMessageReturn, FindProofProposalMessageReturn, FindProofRequestMessageReturn, FixHintOptions, GetAgentMessageOptions, GetAvailableMessageCountOptions, GetCredentialFormatDataReturn, GetCredentialsForProofRequestOptions, GetCredentialsForProofRequestReturn, GetProofFormatDataReturn, GetRoutingOptions, ImpactStatus, InMemoryQueueTransportRepository, InlineInvitationOptions, IsValidMessageType, JsonCredential, JsonLdFormatDataCredentialDetail, JsonLdFormatDataCredentialDetailOptions, JsonLdFormatDataVerifiableCredential, MediationProtocolMsgReturnType, MessageContextParams, MessagePickupCompletedEvent, MessagePickupLiveSessionRemovedEvent, MessageSendingError, NegotiateCredentialOfferOptions, NegotiateCredentialProposalOptions, NegotiateProofProposalOptions, NegotiateProofRequestOptions, OfferCredentialOptions, OtherStatus, OutOfBandDidCommService, OutboundMessageSendStatus, type ParsedMessageType, PickupMessagesOptions, PickupMessagesReturnType, DidCommProofFormatServiceOptions_d_exports as ProofFormatServiceOptions, DidCommProofProtocolOptions_d_exports as ProofProtocolOptions, ProofsProtocolVersionType, ProposeCredentialOptions, ProposeProofOptions, ProtocolOptions, ProtocolVersion, PublicKey, PublicKeyTransformer, QueryFeaturesReturnType, QueueMessageOptions, QueueMessageReturnType, QueuedDidCommMessage, ReceiveOutOfBandImplicitInvitationConfig, ReceiveOutOfBandInvitationConfig, ReferencedAuthentication, RemoveMessagesOptions, RemoveRoutingOptions, RequestProofOptions, ReturnRouteTypes, RsaSig2018, SaveAgentMessageOptions, SelectCredentialsForProofRequestOptions, SelectCredentialsForProofRequestReturn, SendCredentialProblemReportOptions, SendPingOptions, SendProofProblemReportOptions, SendRevocationNotificationOptions, ServiceDecorator, type ServiceDecoratorOptions, ServiceMessageParams, SetLiveDeliveryModeOptions, SetLiveDeliveryModeReturnType, TakeFromQueueOptions, TrustPingResponseReceivedEvent, DidCommCredentialV2ProblemReportError as V2CredentialProblemReportError, DidCommCredentialV2ProblemReportErrorOptions as V2CredentialProblemReportErrorOptions, V2PresentationProblemReportError, W3C_VC_DATA_MODEL_VERSION, WhereStatus, WhoRetriesStatus, authenticationTypes, encodeAttachment, getOutboundDidCommMessageContext, isLinkedAttachment, isValidJweStructure, oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl, parseMessageType, publicKeyTypes, replaceLegacyDidSovPrefix, rfc0160StateFromDidExchangeState, supportsIncomingMessageType };
|
|
246
|
+
export { AcceptCredentialOfferOptions, AcceptCredentialOptions, AcceptCredentialProposalOptions, AcceptCredentialRequestOptions, AcceptProofOptions, AcceptProofProposalOptions, AcceptProofRequestOptions, AckDecorator, AckStatus, AddMessageOptions, AnonCredsLinkSecretBindingMethod, AnonCredsLinkSecretBindingMethodOptions, AnonCredsLinkSecretCredentialRequestOptions, AnonCredsLinkSecretDataIntegrityBindingProof, Authentication, AuthenticationTransformer, DidCommBaseCredentialProtocol as BaseDidCommCredentialProtocol, BaseInvitationOptions, ConnectionProblemReportError, ConnectionProblemReportReason, ConnectionProtocolMsgReturnType, ConnectionRequestParams, CreateCredentialOfferOptions, CreateFromImplicitInvitationConfig, CreateLegacyInvitationConfig, CreateOutOfBandInvitationConfig, CreateProofRequestOptions, CredentialPreviewOptions, DidCommCredentialProtocolOptions_d_exports as CredentialProtocolOptions, CredentialProtocolVersionType, CredentialRecordBinding, CustomDidCommBasicMessageTags, CustomDidCommConnectionTags, CustomDidCommCredentialExchangeTags, CustomDidCommMediationTags, CustomDidCommProofExchangeTags, DIDInvitationOptions, DataIntegrityBindingMethods, DataIntegrityBindingMethodsOptions, DataIntegrityCredential, DataIntegrityCredentialOffer, DataIntegrityCredentialOfferOptions, DataIntegrityCredentialRequest, DataIntegrityCredentialRequestBindingProof, DeclineCredentialOfferOptions, DeclineProofRequestOptions, DefaultDidCommBasicMessageTags, DefaultDidCommConnectionTags, DefaultDidCommCredentialExchangeTags, DefaultDidCommCredentialProtocols, DefaultDidCommMediationTags, DefaultDidCommMediatorRoutingRecordTags, DefaultDidCommMessagePickupProtocols, DefaultDidCommMessageTags, DefaultDidCommProofExchangeTags, DefaultDidCommProofProtocols, DeleteCredentialOptions, DeleteProofOptions, DeliverMessagesFromQueueOptions, DeliverMessagesFromQueueReturnType, DeliverMessagesOptions, DeliverMessagesReturnType, DescriptionOptions, DidCommAckMessage, DidCommAckMessageHandler, DidCommAckMessageOptions, DidCommAnonCredsLinkSecretCreateOfferOptions, DidCommApi, DidCommAttachment, DidCommAttachmentData, DidCommAutoAcceptCredential, DidCommAutoAcceptProof, DidCommBaseProofProtocol, DidCommBasicMessage, DidCommBasicMessageEventTypes, DidCommBasicMessageRecord, DidCommBasicMessageRepository, DidCommBasicMessageRole, DidCommBasicMessageService, DidCommBasicMessageStateChangedEvent, DidCommBasicMessageStorageProps, DidCommBasicMessageTags, DidCommBasicMessagesApi, DidCommBasicMessagesModule, DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchMessageOptions, DidCommBatchPickupMessage, DidCommBatchPickupMessageOptions, DidCommConnection, DidCommConnectionDidRotatedEvent, DidCommConnectionEventTypes, DidCommConnectionInvitationMessage, DidCommConnectionInvitationMessageOptions, DidCommConnectionOptions, DidCommConnectionProblemReportHandler, DidCommConnectionProblemReportMessage, DidCommConnectionProblemReportMessageOptions, DidCommConnectionRecord, DidCommConnectionRecordProps, DidCommConnectionRepository, DidCommConnectionRequestHandler, DidCommConnectionRequestMessage, DidCommConnectionRequestMessageOptions, DidCommConnectionResponseHandler, DidCommConnectionResponseMessage, DidCommConnectionResponseMessageOptions, DidCommConnectionRole, DidCommConnectionService, DidCommConnectionState, DidCommConnectionStateChangedEvent, DidCommConnectionType, DidCommConnectionsApi, DidCommConnectionsModule, DidCommConnectionsModuleConfig, DidCommConnectionsModuleConfigOptions, DidCommCredentialEventTypes, DidCommCredentialExchangeRecord, DidCommCredentialExchangeRecordProps, DidCommCredentialExchangeRepository, DidCommCredentialFormat, DidCommCredentialFormatAcceptOfferOptions, DidCommCredentialFormatAcceptProposalOptions, DidCommCredentialFormatAcceptRequestOptions, DidCommCredentialFormatAutoRespondCredentialOptions, DidCommCredentialFormatAutoRespondOfferOptions, DidCommCredentialFormatAutoRespondProposalOptions, DidCommCredentialFormatAutoRespondRequestOptions, DidCommCredentialFormatCreateOfferOptions, DidCommCredentialFormatCreateOfferReturn, DidCommCredentialFormatCreateProposalOptions, DidCommCredentialFormatCreateProposalReturn, DidCommCredentialFormatCreateRequestOptions, DidCommCredentialFormatCreateReturn, DidCommCredentialFormatPayload, DidCommCredentialFormatProcessCredentialOptions, DidCommCredentialFormatProcessOptions, DidCommCredentialFormatService, DidCommCredentialFormatSpec, DidCommCredentialFormatSpecOptions, DidCommCredentialPreviewAttribute, DidCommCredentialPreviewAttributeOptions, DidCommCredentialProblemReportReason, DidCommCredentialProtocol, DidCommCredentialRole, DidCommCredentialState, DidCommCredentialStateChangedEvent, DidCommCredentialV2AckMessage, DidCommCredentialV2AckMessageOptions, DidCommCredentialV2Preview, DidCommCredentialV2ProblemReportMessage, DidCommCredentialV2ProblemReportMessageOptions, DidCommCredentialV2Protocol, DidCommCredentialV2ProtocolConfig, DidCommCredentialsApi, DidCommCredentialsModule, DidCommCredentialsModuleConfig, DidCommCredentialsModuleConfigOptions, DidCommCredentialsModuleOptions, DidCommDataIntegrityAcceptOfferFormat, DidCommDataIntegrityAcceptRequestFormat, DidCommDataIntegrityCredentialFormat, DidCommDataIntegrityOfferCredentialFormat, DidCommDeliveryRequestV2Message, DidCommDeliveryRequestV2MessageOptions, DidCommDidExchangeCompleteHandler, DidCommDidExchangeCompleteMessage, DidCommDidExchangeCompleteMessageOptions, DidCommDidExchangeProblemReportMessage, DidCommDidExchangeProblemReportMessageOptions, DidCommDidExchangeRequestHandler, DidCommDidExchangeRequestMessage, DidCommDidExchangeRequestMessageOptions, DidCommDidExchangeResponseHandler, DidCommDidExchangeResponseMessage, DidCommDidExchangeResponseMessageOptions, DidCommDidExchangeRole, DidCommDidExchangeState, DidCommDidRotateAckHandler, DidCommDidRotateAckMessage, DidCommDidRotateAckMessageOptions, DidCommDidRotateHandler, DidCommDidRotateMessage, DidCommDidRotateMessageOptions, DidCommDidRotateProblemReportHandler, DidCommDidRotateProblemReportMessage, DidCommDidRotateProblemReportMessageOptions, DidCommDidRotateRole, DidCommDidRotateService, DidCommDifPresentationExchangeProofFormat, DidCommDifPresentationExchangeProofFormatService, DidCommDiscoverFeaturesApi, DidCommDiscoverFeaturesDisclosureReceivedEvent, DidCommDiscoverFeaturesEventTypes, DidCommDiscoverFeaturesModule, DidCommDiscoverFeaturesQueryReceivedEvent, DidCommDiscoverFeaturesV1Service, DidCommDiscoverFeaturesV2Service, DidCommDispatcher, DidCommDocumentService, DidCommEncryptedMessage, DidCommEnvelopeService, DidCommEventTypes, DidCommFeature, DidCommFeatureOptions, DidCommFeatureQuery, DidCommFeatureQueryOptions, DidCommFeatureRegistry, DidCommFeaturesDiscloseMessage, DidCommFeaturesDiscloseMessageOptions, DidCommFeaturesDiscloseProtocol, DidCommFeaturesDiscloseProtocolOptions, DidCommFeaturesDisclosuresMessage, DidCommFeaturesDisclosuresMessageOptions, DidCommFeaturesQueriesMessage, DidCommFeaturesQueriesMessageOptions, DidCommFeaturesQueryMessage, DidCommFeaturesQueryMessageOptions, DidCommFormatCreateRequestOptions, DidCommForwardMessage, DidCommForwardMessageOptions, DidCommGoalCode, DidCommGoalCodeOptions, DidCommGovernanceFramework, DidCommGovernanceFrameworkOptions, DidCommHandshakeProtocol, DidCommHandshakeReuseAcceptedMessage, DidCommHandshakeReuseAcceptedMessageOptions, DidCommHandshakeReuseMessage, DidCommHandshakeReuseMessageOptions, DidCommHandshakeReusedEvent, DidCommHangupHandler, DidCommHangupMessage, DidCommHangupMessageOptions, DidCommHttpOutboundTransport, DidCommInboundMessageContext, DidCommInboundTransport, DidCommInvitationType, DidCommIssueCredentialV2Message, DidCommIssueCredentialV2MessageOptions, DidCommJsonLdAcceptRequestFormat, DidCommJsonLdCredentialDetail, DidCommJsonLdCredentialDetailCredentialStatus, DidCommJsonLdCredentialDetailCredentialStatusOptions, DidCommJsonLdCredentialDetailFormat, DidCommJsonLdCredentialDetailInputOptions, DidCommJsonLdCredentialDetailOptions, DidCommJsonLdCredentialDetailOptionsOptions, DidCommJsonLdCredentialFormat, DidCommJsonLdCredentialFormatService, DidCommKeylistUpdate, DidCommKeylistUpdateAction, DidCommKeylistUpdateMessage, DidCommKeylistUpdateMessageOptions, DidCommKeylistUpdateOptions, DidCommKeylistUpdateResponseMessage, DidCommKeylistUpdateResponseMessageOptions, DidCommKeylistUpdateResult, DidCommKeylistUpdated, DidCommKeylistUpdatedEvent, DidCommLinkedAttachment, type DidCommLinkedAttachmentOptions, DidCommLiveDeliveryChangeV2Message, DidCommLiveDeliveryChangeV2MessageOptions, DidCommMediationDenyMessage, DidCommMediationDenyMessageOptions, DidCommMediationGrantMessage, DidCommMediationGrantMessageOptions, DidCommMediationRecipientApi, DidCommMediationRecipientModule, DidCommMediationRecipientService, DidCommMediationRecord, DidCommMediationRecordProps, DidCommMediationRepository, DidCommMediationRequestMessage, DidCommMediationRequestMessageOptions, DidCommMediationRole, DidCommMediationState, DidCommMediationStateChangedEvent, DidCommMediatorApi, DidCommMediatorModule, DidCommMediatorPickupStrategy, DidCommMediatorRoutingRecord, DidCommMediatorRoutingRecordProps, DidCommMediatorRoutingRecordRoutingKey, DidCommMediatorRoutingRepository, DidCommMediatorService, DidCommMessage, DidCommMessageDeliveryV2Message, DidCommMessageDeliveryV2MessageOptions, DidCommMessageForwardingStrategy, DidCommMessageHandler, DidCommMessageHandlerInboundMessage, DidCommMessageHandlerMiddleware, DidCommMessageHandlerMiddlewareRunner, DidCommMessageHandlerRegistry, DidCommMessagePickupApi, DidCommMessagePickupEventTypes, DidCommMessagePickupLiveSessionSavedEvent, DidCommMessagePickupModule, DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions, DidCommMessagePickupModuleOptions, DidCommMessagePickupProtocol, DidCommMessagePickupProtocolVersionType, DidCommMessagePickupSession, DidCommMessagePickupSessionRole, DidCommMessagePickupSessionService, DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol, DidCommMessageProcessedEvent, DidCommMessageReceivedEvent, DidCommMessageReceiver, DidCommMessageRecord, DidCommMessageRecordProps, DidCommMessageRepository, DidCommMessageRole, DidCommMessageSender, DidCommMessageSentEvent, DidCommMessagesReceivedV2Message, DidCommMessagesReceivedV2MessageOptions, DidCommMimeType, DidCommModule, DidCommModuleConfig, type DidCommModuleConfigOptions, DidCommOfferCredentialV2Message, DidCommOfferCredentialV2MessageOptions, DidCommOutOfBandApi, DidCommOutOfBandEventTypes, DidCommOutOfBandInlineServiceKey, DidCommOutOfBandInvitation, DidCommOutOfBandInvitationOptions, DidCommOutOfBandModule, DidCommOutOfBandRecord, DidCommOutOfBandRecordProps, DidCommOutOfBandRepository, DidCommOutOfBandRole, DidCommOutOfBandService, DidCommOutOfBandState, DidCommOutOfBandStateChangedEvent, DidCommOutboundMessageContext, DidCommOutboundMessageContextParams, DidCommOutboundPackage, DidCommOutboundTransport, DidCommOutboundWebSocketClosedEvent, DidCommOutboundWebSocketOpenedEvent, DidCommPlaintextMessage, DidCommPresentationProblemReportReason, DidCommPresentationV2AckMessage, DidCommPresentationV2Message, DidCommPresentationV2MessageOptions, DidCommPresentationV2ProblemReportMessage, DidCommProblemReportError, DidCommProblemReportErrorOptions, DidCommProblemReportMessage, DidCommProblemReportMessageOptions, DidCommProblemReportReason, DidCommProofEventTypes, DidCommProofExchangeRecord, DidCommProofExchangeRecordProps, DidCommProofExchangeRepository, DidCommProofFormat, DidCommProofFormatAcceptProposalOptions, DidCommProofFormatAcceptRequestOptions, DidCommProofFormatAutoRespondPresentationOptions, DidCommProofFormatAutoRespondProposalOptions, DidCommProofFormatAutoRespondRequestOptions, DidCommProofFormatCreateProposalOptions, DidCommProofFormatCreateReturn, DidCommProofFormatCredentialForRequestPayload, DidCommProofFormatGetCredentialsForRequestOptions, DidCommProofFormatGetCredentialsForRequestReturn, DidCommProofFormatPayload, DidCommProofFormatProcessOptions, DidCommProofFormatProcessPresentationOptions, DidCommProofFormatSelectCredentialsForRequestOptions, DidCommProofFormatSelectCredentialsForRequestReturn, DidCommProofFormatService, DidCommProofFormatSpec, DidCommProofFormatSpecOptions, DidCommProofProtocol, DidCommProofRole, DidCommProofState, DidCommProofStateChangedEvent, DidCommProofV2Protocol, DidCommProofV2ProtocolConfig, DidCommProofsApi, DidCommProofsModule, DidCommProofsModuleConfig, DidCommProofsModuleConfigOptions, DidCommProofsModuleOptions, DidCommProposeCredentialV2Message, DidCommProposeCredentialV2MessageOptions, DidCommProposePresentationV2Message, DidCommProposePresentationV2MessageOptions, DidCommProtocol, DidCommQueueTransportRepository, DidCommRequestCredentialV2Message, DidCommRequestCredentialV2MessageOptions, DidCommRequestPresentationV2Message, DidCommRequestPresentationV2MessageOptions, DidCommRevocationNotification, DidCommRevocationNotificationReceivedEvent, DidCommRevocationNotificationV1Message, DidCommRevocationNotificationV1MessageOptions, DidCommRevocationNotificationV2Message, DidCommRevocationNotificationV2MessageOptions, DidCommRouting, DidCommRoutingCreatedEvent, DidCommRoutingEventTypes, DidCommRoutingService, DidCommSignedAttachmentBindingMethod, DidCommSignedAttachmentBindingMethodOptions, DidCommSignedAttachmentCreateOfferOptions, DidCommSignedAttachmentCredentialRequestOptions, DidCommSignedAttachmentDataIntegrityBindingProof, DidCommStatusRequestMessageV2MessageOptions, DidCommStatusRequestV2Message, DidCommStatusV2Message, DidCommStatusV2MessageOptions, DidCommTransportEventTypes, DidCommTransportService, type DidCommTransportSession, DidCommTransportSessionRemovedEvent, DidCommTransportSessionSavedEvent, DidCommTrustPingEventTypes, DidCommTrustPingMessage, DidCommTrustPingMessageHandler, DidCommTrustPingMessageOptions, DidCommTrustPingReceivedEvent, DidCommTrustPingResponseMessage, DidCommTrustPingResponseMessageHandler, DidCommTrustPingResponseMessageOptions, DidCommTrustPingService, DidCommWsOutboundTransport, DidDoc, DidExchangeProblemReportError, DidExchangeProblemReportReason, DidExchangeProtocol, DifPexGetCredentialsForProofRequestOptions, DifPresentationExchangePresentation, DifPresentationExchangeProposal, DifPresentationExchangeRequest, Ed25119Sig2018, EddsaSaSigSecp256k1, EmbeddedAuthentication, ExtractCredentialFormat, ExtractCredentialFormats, ExtractProofFormat, ExtractProofFormats, FindCredentialMessageReturn, FindCredentialOfferMessageReturn, FindCredentialProposalMessageReturn, FindCredentialRequestMessageReturn, FindProofPresentationMessageReturn, FindProofProposalMessageReturn, FindProofRequestMessageReturn, FixHintOptions, GetAgentMessageOptions, GetAvailableMessageCountOptions, GetCredentialFormatDataReturn, GetCredentialsForProofRequestOptions, GetCredentialsForProofRequestReturn, GetProofFormatDataReturn, GetRoutingOptions, ImpactStatus, InMemoryQueueTransportRepository, InlineInvitationOptions, IsValidMessageType, JsonCredential, JsonLdFormatDataCredentialDetail, JsonLdFormatDataCredentialDetailOptions, JsonLdFormatDataVerifiableCredential, MediationProtocolMsgReturnType, MessageContextParams, MessagePickupCompletedEvent, MessagePickupLiveSessionRemovedEvent, MessageSendingError, NegotiateCredentialOfferOptions, NegotiateCredentialProposalOptions, NegotiateProofProposalOptions, NegotiateProofRequestOptions, OfferCredentialOptions, OtherStatus, OutOfBandDidCommService, OutboundMessageSendStatus, type ParsedMessageType, PickupMessagesOptions, PickupMessagesReturnType, DidCommProofFormatServiceOptions_d_exports as ProofFormatServiceOptions, DidCommProofProtocolOptions_d_exports as ProofProtocolOptions, ProofsProtocolVersionType, ProposeCredentialOptions, ProposeProofOptions, ProtocolOptions, ProtocolVersion, PublicKey, PublicKeyTransformer, QueryFeaturesReturnType, QueueMessageOptions, QueueMessageReturnType, QueuedDidCommMessage, ReceiveOutOfBandImplicitInvitationConfig, ReceiveOutOfBandInvitationConfig, ReferencedAuthentication, RemoveMessagesOptions, RemoveRoutingOptions, RequestProofOptions, ReturnRouteTypes, RsaSig2018, SaveAgentMessageOptions, SelectCredentialsForProofRequestOptions, SelectCredentialsForProofRequestReturn, SendCredentialProblemReportOptions, SendPingOptions, SendProofProblemReportOptions, SendRevocationNotificationOptions, ServiceDecorator, type ServiceDecoratorOptions, ServiceMessageParams, SetLiveDeliveryModeOptions, SetLiveDeliveryModeReturnType, TakeFromQueueOptions, TrustPingResponseReceivedEvent, DidCommCredentialV2ProblemReportError as V2CredentialProblemReportError, DidCommCredentialV2ProblemReportErrorOptions as V2CredentialProblemReportErrorOptions, V2PresentationProblemReportError, W3C_VC_DATA_MODEL_VERSION, WhereStatus, WhoRetriesStatus, authenticationTypes, encodeAttachment, getOutboundDidCommMessageContext, isLinkedAttachment, isValidJweStructure, oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl, parseMessageType, publicKeyTypes, replaceLegacyDidSovPrefix, rfc0160StateFromDidExchangeState, supportsIncomingMessageType };
|
package/build/index.d.ts
CHANGED
|
@@ -118,6 +118,7 @@ import { InMemoryQueueTransportRepository } from "./transport/queue/InMemoryQueu
|
|
|
118
118
|
import { DidCommMessagePickupProtocol } from "./modules/message-pickup/protocol/DidCommMessagePickupProtocol.js";
|
|
119
119
|
import { DeliverMessagesFromQueueOptions, DeliverMessagesFromQueueReturnType, DeliverMessagesOptions, DeliverMessagesReturnType, DidCommMessagePickupProtocolVersionType, PickupMessagesOptions, PickupMessagesReturnType, QueueMessageOptions, QueueMessageReturnType, SetLiveDeliveryModeOptions, SetLiveDeliveryModeReturnType } from "./modules/message-pickup/DidCommMessagePickupApiOptions.js";
|
|
120
120
|
import { DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions } from "./modules/message-pickup/DidCommMessagePickupModuleConfig.js";
|
|
121
|
+
import { DidCommMessagePickupSession, DidCommMessagePickupSessionRole } from "./modules/message-pickup/DidCommMessagePickupSession.js";
|
|
121
122
|
import { DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchMessageOptions } from "./modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.js";
|
|
122
123
|
import { DidCommBatchPickupMessage, DidCommBatchPickupMessageOptions } from "./modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.js";
|
|
123
124
|
import { DidCommMessagePickupV1Protocol } from "./modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.js";
|
|
@@ -242,4 +243,4 @@ import { encodeAttachment, isLinkedAttachment } from "./util/attachment.js";
|
|
|
242
243
|
import { DidCommLinkedAttachment, DidCommLinkedAttachmentOptions } from "./util/DidCommLinkedAttachment.js";
|
|
243
244
|
import { isValidJweStructure } from "./util/JWE.js";
|
|
244
245
|
import { oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl } from "./util/parseInvitation.js";
|
|
245
|
-
export { AcceptCredentialOfferOptions, AcceptCredentialOptions, AcceptCredentialProposalOptions, AcceptCredentialRequestOptions, AcceptProofOptions, AcceptProofProposalOptions, AcceptProofRequestOptions, AckDecorator, AckStatus, AddMessageOptions, AnonCredsLinkSecretBindingMethod, AnonCredsLinkSecretBindingMethodOptions, AnonCredsLinkSecretCredentialRequestOptions, AnonCredsLinkSecretDataIntegrityBindingProof, Authentication, AuthenticationTransformer, DidCommBaseCredentialProtocol as BaseDidCommCredentialProtocol, BaseInvitationOptions, ConnectionProblemReportError, ConnectionProblemReportReason, ConnectionProtocolMsgReturnType, ConnectionRequestParams, CreateCredentialOfferOptions, CreateFromImplicitInvitationConfig, CreateLegacyInvitationConfig, CreateOutOfBandInvitationConfig, CreateProofRequestOptions, CredentialPreviewOptions, DidCommCredentialProtocolOptions_d_exports as CredentialProtocolOptions, CredentialProtocolVersionType, CredentialRecordBinding, CustomDidCommBasicMessageTags, CustomDidCommConnectionTags, CustomDidCommCredentialExchangeTags, CustomDidCommMediationTags, CustomDidCommProofExchangeTags, DIDInvitationOptions, DataIntegrityBindingMethods, DataIntegrityBindingMethodsOptions, DataIntegrityCredential, DataIntegrityCredentialOffer, DataIntegrityCredentialOfferOptions, DataIntegrityCredentialRequest, DataIntegrityCredentialRequestBindingProof, DeclineCredentialOfferOptions, DeclineProofRequestOptions, DefaultDidCommBasicMessageTags, DefaultDidCommConnectionTags, DefaultDidCommCredentialExchangeTags, DefaultDidCommCredentialProtocols, DefaultDidCommMediationTags, DefaultDidCommMediatorRoutingRecordTags, DefaultDidCommMessagePickupProtocols, DefaultDidCommMessageTags, DefaultDidCommProofExchangeTags, DefaultDidCommProofProtocols, DeleteCredentialOptions, DeleteProofOptions, DeliverMessagesFromQueueOptions, DeliverMessagesFromQueueReturnType, DeliverMessagesOptions, DeliverMessagesReturnType, DescriptionOptions, DidCommAckMessage, DidCommAckMessageHandler, DidCommAckMessageOptions, DidCommAnonCredsLinkSecretCreateOfferOptions, DidCommApi, DidCommAttachment, DidCommAttachmentData, DidCommAutoAcceptCredential, DidCommAutoAcceptProof, DidCommBaseProofProtocol, DidCommBasicMessage, DidCommBasicMessageEventTypes, DidCommBasicMessageRecord, DidCommBasicMessageRepository, DidCommBasicMessageRole, DidCommBasicMessageService, DidCommBasicMessageStateChangedEvent, DidCommBasicMessageStorageProps, DidCommBasicMessageTags, DidCommBasicMessagesApi, DidCommBasicMessagesModule, DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchMessageOptions, DidCommBatchPickupMessage, DidCommBatchPickupMessageOptions, DidCommConnection, DidCommConnectionDidRotatedEvent, DidCommConnectionEventTypes, DidCommConnectionInvitationMessage, DidCommConnectionInvitationMessageOptions, DidCommConnectionOptions, DidCommConnectionProblemReportHandler, DidCommConnectionProblemReportMessage, DidCommConnectionProblemReportMessageOptions, DidCommConnectionRecord, DidCommConnectionRecordProps, DidCommConnectionRepository, DidCommConnectionRequestHandler, DidCommConnectionRequestMessage, DidCommConnectionRequestMessageOptions, DidCommConnectionResponseHandler, DidCommConnectionResponseMessage, DidCommConnectionResponseMessageOptions, DidCommConnectionRole, DidCommConnectionService, DidCommConnectionState, DidCommConnectionStateChangedEvent, DidCommConnectionType, DidCommConnectionsApi, DidCommConnectionsModule, DidCommConnectionsModuleConfig, DidCommConnectionsModuleConfigOptions, DidCommCredentialEventTypes, DidCommCredentialExchangeRecord, DidCommCredentialExchangeRecordProps, DidCommCredentialExchangeRepository, DidCommCredentialFormat, DidCommCredentialFormatAcceptOfferOptions, DidCommCredentialFormatAcceptProposalOptions, DidCommCredentialFormatAcceptRequestOptions, DidCommCredentialFormatAutoRespondCredentialOptions, DidCommCredentialFormatAutoRespondOfferOptions, DidCommCredentialFormatAutoRespondProposalOptions, DidCommCredentialFormatAutoRespondRequestOptions, DidCommCredentialFormatCreateOfferOptions, DidCommCredentialFormatCreateOfferReturn, DidCommCredentialFormatCreateProposalOptions, DidCommCredentialFormatCreateProposalReturn, DidCommCredentialFormatCreateRequestOptions, DidCommCredentialFormatCreateReturn, DidCommCredentialFormatPayload, DidCommCredentialFormatProcessCredentialOptions, DidCommCredentialFormatProcessOptions, DidCommCredentialFormatService, DidCommCredentialFormatSpec, DidCommCredentialFormatSpecOptions, DidCommCredentialPreviewAttribute, DidCommCredentialPreviewAttributeOptions, DidCommCredentialProblemReportReason, DidCommCredentialProtocol, DidCommCredentialRole, DidCommCredentialState, DidCommCredentialStateChangedEvent, DidCommCredentialV2AckMessage, DidCommCredentialV2AckMessageOptions, DidCommCredentialV2Preview, DidCommCredentialV2ProblemReportMessage, DidCommCredentialV2ProblemReportMessageOptions, DidCommCredentialV2Protocol, DidCommCredentialV2ProtocolConfig, DidCommCredentialsApi, DidCommCredentialsModule, DidCommCredentialsModuleConfig, DidCommCredentialsModuleConfigOptions, DidCommCredentialsModuleOptions, DidCommDataIntegrityAcceptOfferFormat, DidCommDataIntegrityAcceptRequestFormat, DidCommDataIntegrityCredentialFormat, DidCommDataIntegrityOfferCredentialFormat, DidCommDeliveryRequestV2Message, DidCommDeliveryRequestV2MessageOptions, DidCommDidExchangeCompleteHandler, DidCommDidExchangeCompleteMessage, DidCommDidExchangeCompleteMessageOptions, DidCommDidExchangeProblemReportMessage, DidCommDidExchangeProblemReportMessageOptions, DidCommDidExchangeRequestHandler, DidCommDidExchangeRequestMessage, DidCommDidExchangeRequestMessageOptions, DidCommDidExchangeResponseHandler, DidCommDidExchangeResponseMessage, DidCommDidExchangeResponseMessageOptions, DidCommDidExchangeRole, DidCommDidExchangeState, DidCommDidRotateAckHandler, DidCommDidRotateAckMessage, DidCommDidRotateAckMessageOptions, DidCommDidRotateHandler, DidCommDidRotateMessage, DidCommDidRotateMessageOptions, DidCommDidRotateProblemReportHandler, DidCommDidRotateProblemReportMessage, DidCommDidRotateProblemReportMessageOptions, DidCommDidRotateRole, DidCommDidRotateService, DidCommDifPresentationExchangeProofFormat, DidCommDifPresentationExchangeProofFormatService, DidCommDiscoverFeaturesApi, DidCommDiscoverFeaturesDisclosureReceivedEvent, DidCommDiscoverFeaturesEventTypes, DidCommDiscoverFeaturesModule, DidCommDiscoverFeaturesQueryReceivedEvent, DidCommDiscoverFeaturesV1Service, DidCommDiscoverFeaturesV2Service, DidCommDispatcher, DidCommDocumentService, DidCommEncryptedMessage, DidCommEnvelopeService, DidCommEventTypes, DidCommFeature, DidCommFeatureOptions, DidCommFeatureQuery, DidCommFeatureQueryOptions, DidCommFeatureRegistry, DidCommFeaturesDiscloseMessage, DidCommFeaturesDiscloseMessageOptions, DidCommFeaturesDiscloseProtocol, DidCommFeaturesDiscloseProtocolOptions, DidCommFeaturesDisclosuresMessage, DidCommFeaturesDisclosuresMessageOptions, DidCommFeaturesQueriesMessage, DidCommFeaturesQueriesMessageOptions, DidCommFeaturesQueryMessage, DidCommFeaturesQueryMessageOptions, DidCommFormatCreateRequestOptions, DidCommForwardMessage, DidCommForwardMessageOptions, DidCommGoalCode, DidCommGoalCodeOptions, DidCommGovernanceFramework, DidCommGovernanceFrameworkOptions, DidCommHandshakeProtocol, DidCommHandshakeReuseAcceptedMessage, DidCommHandshakeReuseAcceptedMessageOptions, DidCommHandshakeReuseMessage, DidCommHandshakeReuseMessageOptions, DidCommHandshakeReusedEvent, DidCommHangupHandler, DidCommHangupMessage, DidCommHangupMessageOptions, DidCommHttpOutboundTransport, DidCommInboundMessageContext, DidCommInboundTransport, DidCommInvitationType, DidCommIssueCredentialV2Message, DidCommIssueCredentialV2MessageOptions, DidCommJsonLdAcceptRequestFormat, DidCommJsonLdCredentialDetail, DidCommJsonLdCredentialDetailCredentialStatus, DidCommJsonLdCredentialDetailCredentialStatusOptions, DidCommJsonLdCredentialDetailFormat, DidCommJsonLdCredentialDetailInputOptions, DidCommJsonLdCredentialDetailOptions, DidCommJsonLdCredentialDetailOptionsOptions, DidCommJsonLdCredentialFormat, DidCommJsonLdCredentialFormatService, DidCommKeylistUpdate, DidCommKeylistUpdateAction, DidCommKeylistUpdateMessage, DidCommKeylistUpdateMessageOptions, DidCommKeylistUpdateOptions, DidCommKeylistUpdateResponseMessage, DidCommKeylistUpdateResponseMessageOptions, DidCommKeylistUpdateResult, DidCommKeylistUpdated, DidCommKeylistUpdatedEvent, DidCommLinkedAttachment, type DidCommLinkedAttachmentOptions, DidCommLiveDeliveryChangeV2Message, DidCommLiveDeliveryChangeV2MessageOptions, DidCommMediationDenyMessage, DidCommMediationDenyMessageOptions, DidCommMediationGrantMessage, DidCommMediationGrantMessageOptions, DidCommMediationRecipientApi, DidCommMediationRecipientModule, DidCommMediationRecipientService, DidCommMediationRecord, DidCommMediationRecordProps, DidCommMediationRepository, DidCommMediationRequestMessage, DidCommMediationRequestMessageOptions, DidCommMediationRole, DidCommMediationState, DidCommMediationStateChangedEvent, DidCommMediatorApi, DidCommMediatorModule, DidCommMediatorPickupStrategy, DidCommMediatorRoutingRecord, DidCommMediatorRoutingRecordProps, DidCommMediatorRoutingRecordRoutingKey, DidCommMediatorRoutingRepository, DidCommMediatorService, DidCommMessage, DidCommMessageDeliveryV2Message, DidCommMessageDeliveryV2MessageOptions, DidCommMessageForwardingStrategy, DidCommMessageHandler, DidCommMessageHandlerInboundMessage, DidCommMessageHandlerMiddleware, DidCommMessageHandlerMiddlewareRunner, DidCommMessageHandlerRegistry, DidCommMessagePickupApi, DidCommMessagePickupEventTypes, DidCommMessagePickupLiveSessionSavedEvent, DidCommMessagePickupModule, DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions, DidCommMessagePickupModuleOptions, DidCommMessagePickupProtocol, DidCommMessagePickupProtocolVersionType, DidCommMessagePickupSessionService, DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol, DidCommMessageProcessedEvent, DidCommMessageReceivedEvent, DidCommMessageReceiver, DidCommMessageRecord, DidCommMessageRecordProps, DidCommMessageRepository, DidCommMessageRole, DidCommMessageSender, DidCommMessageSentEvent, DidCommMessagesReceivedV2Message, DidCommMessagesReceivedV2MessageOptions, DidCommMimeType, DidCommModule, DidCommModuleConfig, type DidCommModuleConfigOptions, DidCommOfferCredentialV2Message, DidCommOfferCredentialV2MessageOptions, DidCommOutOfBandApi, DidCommOutOfBandEventTypes, DidCommOutOfBandInlineServiceKey, DidCommOutOfBandInvitation, DidCommOutOfBandInvitationOptions, DidCommOutOfBandModule, DidCommOutOfBandRecord, DidCommOutOfBandRecordProps, DidCommOutOfBandRepository, DidCommOutOfBandRole, DidCommOutOfBandService, DidCommOutOfBandState, DidCommOutOfBandStateChangedEvent, DidCommOutboundMessageContext, DidCommOutboundMessageContextParams, DidCommOutboundPackage, DidCommOutboundTransport, DidCommOutboundWebSocketClosedEvent, DidCommOutboundWebSocketOpenedEvent, DidCommPlaintextMessage, DidCommPresentationProblemReportReason, DidCommPresentationV2AckMessage, DidCommPresentationV2Message, DidCommPresentationV2MessageOptions, DidCommPresentationV2ProblemReportMessage, DidCommProblemReportError, DidCommProblemReportErrorOptions, DidCommProblemReportMessage, DidCommProblemReportMessageOptions, DidCommProblemReportReason, DidCommProofEventTypes, DidCommProofExchangeRecord, DidCommProofExchangeRecordProps, DidCommProofExchangeRepository, DidCommProofFormat, DidCommProofFormatAcceptProposalOptions, DidCommProofFormatAcceptRequestOptions, DidCommProofFormatAutoRespondPresentationOptions, DidCommProofFormatAutoRespondProposalOptions, DidCommProofFormatAutoRespondRequestOptions, DidCommProofFormatCreateProposalOptions, DidCommProofFormatCreateReturn, DidCommProofFormatCredentialForRequestPayload, DidCommProofFormatGetCredentialsForRequestOptions, DidCommProofFormatGetCredentialsForRequestReturn, DidCommProofFormatPayload, DidCommProofFormatProcessOptions, DidCommProofFormatProcessPresentationOptions, DidCommProofFormatSelectCredentialsForRequestOptions, DidCommProofFormatSelectCredentialsForRequestReturn, DidCommProofFormatService, DidCommProofFormatSpec, DidCommProofFormatSpecOptions, DidCommProofProtocol, DidCommProofRole, DidCommProofState, DidCommProofStateChangedEvent, DidCommProofV2Protocol, DidCommProofV2ProtocolConfig, DidCommProofsApi, DidCommProofsModule, DidCommProofsModuleConfig, DidCommProofsModuleConfigOptions, DidCommProofsModuleOptions, DidCommProposeCredentialV2Message, DidCommProposeCredentialV2MessageOptions, DidCommProposePresentationV2Message, DidCommProposePresentationV2MessageOptions, DidCommProtocol, DidCommQueueTransportRepository, DidCommRequestCredentialV2Message, DidCommRequestCredentialV2MessageOptions, DidCommRequestPresentationV2Message, DidCommRequestPresentationV2MessageOptions, DidCommRevocationNotification, DidCommRevocationNotificationReceivedEvent, DidCommRevocationNotificationV1Message, DidCommRevocationNotificationV1MessageOptions, DidCommRevocationNotificationV2Message, DidCommRevocationNotificationV2MessageOptions, DidCommRouting, DidCommRoutingCreatedEvent, DidCommRoutingEventTypes, DidCommRoutingService, DidCommSignedAttachmentBindingMethod, DidCommSignedAttachmentBindingMethodOptions, DidCommSignedAttachmentCreateOfferOptions, DidCommSignedAttachmentCredentialRequestOptions, DidCommSignedAttachmentDataIntegrityBindingProof, DidCommStatusRequestMessageV2MessageOptions, DidCommStatusRequestV2Message, DidCommStatusV2Message, DidCommStatusV2MessageOptions, DidCommTransportEventTypes, DidCommTransportService, type DidCommTransportSession, DidCommTransportSessionRemovedEvent, DidCommTransportSessionSavedEvent, DidCommTrustPingEventTypes, DidCommTrustPingMessage, DidCommTrustPingMessageHandler, DidCommTrustPingMessageOptions, DidCommTrustPingReceivedEvent, DidCommTrustPingResponseMessage, DidCommTrustPingResponseMessageHandler, DidCommTrustPingResponseMessageOptions, DidCommTrustPingService, DidCommWsOutboundTransport, DidDoc, DidExchangeProblemReportError, DidExchangeProblemReportReason, DidExchangeProtocol, DifPexGetCredentialsForProofRequestOptions, DifPresentationExchangePresentation, DifPresentationExchangeProposal, DifPresentationExchangeRequest, Ed25119Sig2018, EddsaSaSigSecp256k1, EmbeddedAuthentication, ExtractCredentialFormat, ExtractCredentialFormats, ExtractProofFormat, ExtractProofFormats, FindCredentialMessageReturn, FindCredentialOfferMessageReturn, FindCredentialProposalMessageReturn, FindCredentialRequestMessageReturn, FindProofPresentationMessageReturn, FindProofProposalMessageReturn, FindProofRequestMessageReturn, FixHintOptions, GetAgentMessageOptions, GetAvailableMessageCountOptions, GetCredentialFormatDataReturn, GetCredentialsForProofRequestOptions, GetCredentialsForProofRequestReturn, GetProofFormatDataReturn, GetRoutingOptions, ImpactStatus, InMemoryQueueTransportRepository, InlineInvitationOptions, IsValidMessageType, JsonCredential, JsonLdFormatDataCredentialDetail, JsonLdFormatDataCredentialDetailOptions, JsonLdFormatDataVerifiableCredential, MediationProtocolMsgReturnType, MessageContextParams, MessagePickupCompletedEvent, MessagePickupLiveSessionRemovedEvent, MessageSendingError, NegotiateCredentialOfferOptions, NegotiateCredentialProposalOptions, NegotiateProofProposalOptions, NegotiateProofRequestOptions, OfferCredentialOptions, OtherStatus, OutOfBandDidCommService, OutboundMessageSendStatus, type ParsedMessageType, PickupMessagesOptions, PickupMessagesReturnType, DidCommProofFormatServiceOptions_d_exports as ProofFormatServiceOptions, DidCommProofProtocolOptions_d_exports as ProofProtocolOptions, ProofsProtocolVersionType, ProposeCredentialOptions, ProposeProofOptions, ProtocolOptions, ProtocolVersion, PublicKey, PublicKeyTransformer, QueryFeaturesReturnType, QueueMessageOptions, QueueMessageReturnType, QueuedDidCommMessage, ReceiveOutOfBandImplicitInvitationConfig, ReceiveOutOfBandInvitationConfig, ReferencedAuthentication, RemoveMessagesOptions, RemoveRoutingOptions, RequestProofOptions, ReturnRouteTypes, RsaSig2018, SaveAgentMessageOptions, SelectCredentialsForProofRequestOptions, SelectCredentialsForProofRequestReturn, SendCredentialProblemReportOptions, SendPingOptions, SendProofProblemReportOptions, SendRevocationNotificationOptions, ServiceDecorator, type ServiceDecoratorOptions, ServiceMessageParams, SetLiveDeliveryModeOptions, SetLiveDeliveryModeReturnType, TakeFromQueueOptions, TrustPingResponseReceivedEvent, DidCommCredentialV2ProblemReportError as V2CredentialProblemReportError, DidCommCredentialV2ProblemReportErrorOptions as V2CredentialProblemReportErrorOptions, V2PresentationProblemReportError, W3C_VC_DATA_MODEL_VERSION, WhereStatus, WhoRetriesStatus, authenticationTypes, encodeAttachment, getOutboundDidCommMessageContext, isLinkedAttachment, isValidJweStructure, oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl, parseMessageType, publicKeyTypes, replaceLegacyDidSovPrefix, rfc0160StateFromDidExchangeState, supportsIncomingMessageType };
|
|
246
|
+
export { AcceptCredentialOfferOptions, AcceptCredentialOptions, AcceptCredentialProposalOptions, AcceptCredentialRequestOptions, AcceptProofOptions, AcceptProofProposalOptions, AcceptProofRequestOptions, AckDecorator, AckStatus, AddMessageOptions, AnonCredsLinkSecretBindingMethod, AnonCredsLinkSecretBindingMethodOptions, AnonCredsLinkSecretCredentialRequestOptions, AnonCredsLinkSecretDataIntegrityBindingProof, Authentication, AuthenticationTransformer, DidCommBaseCredentialProtocol as BaseDidCommCredentialProtocol, BaseInvitationOptions, ConnectionProblemReportError, ConnectionProblemReportReason, ConnectionProtocolMsgReturnType, ConnectionRequestParams, CreateCredentialOfferOptions, CreateFromImplicitInvitationConfig, CreateLegacyInvitationConfig, CreateOutOfBandInvitationConfig, CreateProofRequestOptions, CredentialPreviewOptions, DidCommCredentialProtocolOptions_d_exports as CredentialProtocolOptions, CredentialProtocolVersionType, CredentialRecordBinding, CustomDidCommBasicMessageTags, CustomDidCommConnectionTags, CustomDidCommCredentialExchangeTags, CustomDidCommMediationTags, CustomDidCommProofExchangeTags, DIDInvitationOptions, DataIntegrityBindingMethods, DataIntegrityBindingMethodsOptions, DataIntegrityCredential, DataIntegrityCredentialOffer, DataIntegrityCredentialOfferOptions, DataIntegrityCredentialRequest, DataIntegrityCredentialRequestBindingProof, DeclineCredentialOfferOptions, DeclineProofRequestOptions, DefaultDidCommBasicMessageTags, DefaultDidCommConnectionTags, DefaultDidCommCredentialExchangeTags, DefaultDidCommCredentialProtocols, DefaultDidCommMediationTags, DefaultDidCommMediatorRoutingRecordTags, DefaultDidCommMessagePickupProtocols, DefaultDidCommMessageTags, DefaultDidCommProofExchangeTags, DefaultDidCommProofProtocols, DeleteCredentialOptions, DeleteProofOptions, DeliverMessagesFromQueueOptions, DeliverMessagesFromQueueReturnType, DeliverMessagesOptions, DeliverMessagesReturnType, DescriptionOptions, DidCommAckMessage, DidCommAckMessageHandler, DidCommAckMessageOptions, DidCommAnonCredsLinkSecretCreateOfferOptions, DidCommApi, DidCommAttachment, DidCommAttachmentData, DidCommAutoAcceptCredential, DidCommAutoAcceptProof, DidCommBaseProofProtocol, DidCommBasicMessage, DidCommBasicMessageEventTypes, DidCommBasicMessageRecord, DidCommBasicMessageRepository, DidCommBasicMessageRole, DidCommBasicMessageService, DidCommBasicMessageStateChangedEvent, DidCommBasicMessageStorageProps, DidCommBasicMessageTags, DidCommBasicMessagesApi, DidCommBasicMessagesModule, DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchMessageOptions, DidCommBatchPickupMessage, DidCommBatchPickupMessageOptions, DidCommConnection, DidCommConnectionDidRotatedEvent, DidCommConnectionEventTypes, DidCommConnectionInvitationMessage, DidCommConnectionInvitationMessageOptions, DidCommConnectionOptions, DidCommConnectionProblemReportHandler, DidCommConnectionProblemReportMessage, DidCommConnectionProblemReportMessageOptions, DidCommConnectionRecord, DidCommConnectionRecordProps, DidCommConnectionRepository, DidCommConnectionRequestHandler, DidCommConnectionRequestMessage, DidCommConnectionRequestMessageOptions, DidCommConnectionResponseHandler, DidCommConnectionResponseMessage, DidCommConnectionResponseMessageOptions, DidCommConnectionRole, DidCommConnectionService, DidCommConnectionState, DidCommConnectionStateChangedEvent, DidCommConnectionType, DidCommConnectionsApi, DidCommConnectionsModule, DidCommConnectionsModuleConfig, DidCommConnectionsModuleConfigOptions, DidCommCredentialEventTypes, DidCommCredentialExchangeRecord, DidCommCredentialExchangeRecordProps, DidCommCredentialExchangeRepository, DidCommCredentialFormat, DidCommCredentialFormatAcceptOfferOptions, DidCommCredentialFormatAcceptProposalOptions, DidCommCredentialFormatAcceptRequestOptions, DidCommCredentialFormatAutoRespondCredentialOptions, DidCommCredentialFormatAutoRespondOfferOptions, DidCommCredentialFormatAutoRespondProposalOptions, DidCommCredentialFormatAutoRespondRequestOptions, DidCommCredentialFormatCreateOfferOptions, DidCommCredentialFormatCreateOfferReturn, DidCommCredentialFormatCreateProposalOptions, DidCommCredentialFormatCreateProposalReturn, DidCommCredentialFormatCreateRequestOptions, DidCommCredentialFormatCreateReturn, DidCommCredentialFormatPayload, DidCommCredentialFormatProcessCredentialOptions, DidCommCredentialFormatProcessOptions, DidCommCredentialFormatService, DidCommCredentialFormatSpec, DidCommCredentialFormatSpecOptions, DidCommCredentialPreviewAttribute, DidCommCredentialPreviewAttributeOptions, DidCommCredentialProblemReportReason, DidCommCredentialProtocol, DidCommCredentialRole, DidCommCredentialState, DidCommCredentialStateChangedEvent, DidCommCredentialV2AckMessage, DidCommCredentialV2AckMessageOptions, DidCommCredentialV2Preview, DidCommCredentialV2ProblemReportMessage, DidCommCredentialV2ProblemReportMessageOptions, DidCommCredentialV2Protocol, DidCommCredentialV2ProtocolConfig, DidCommCredentialsApi, DidCommCredentialsModule, DidCommCredentialsModuleConfig, DidCommCredentialsModuleConfigOptions, DidCommCredentialsModuleOptions, DidCommDataIntegrityAcceptOfferFormat, DidCommDataIntegrityAcceptRequestFormat, DidCommDataIntegrityCredentialFormat, DidCommDataIntegrityOfferCredentialFormat, DidCommDeliveryRequestV2Message, DidCommDeliveryRequestV2MessageOptions, DidCommDidExchangeCompleteHandler, DidCommDidExchangeCompleteMessage, DidCommDidExchangeCompleteMessageOptions, DidCommDidExchangeProblemReportMessage, DidCommDidExchangeProblemReportMessageOptions, DidCommDidExchangeRequestHandler, DidCommDidExchangeRequestMessage, DidCommDidExchangeRequestMessageOptions, DidCommDidExchangeResponseHandler, DidCommDidExchangeResponseMessage, DidCommDidExchangeResponseMessageOptions, DidCommDidExchangeRole, DidCommDidExchangeState, DidCommDidRotateAckHandler, DidCommDidRotateAckMessage, DidCommDidRotateAckMessageOptions, DidCommDidRotateHandler, DidCommDidRotateMessage, DidCommDidRotateMessageOptions, DidCommDidRotateProblemReportHandler, DidCommDidRotateProblemReportMessage, DidCommDidRotateProblemReportMessageOptions, DidCommDidRotateRole, DidCommDidRotateService, DidCommDifPresentationExchangeProofFormat, DidCommDifPresentationExchangeProofFormatService, DidCommDiscoverFeaturesApi, DidCommDiscoverFeaturesDisclosureReceivedEvent, DidCommDiscoverFeaturesEventTypes, DidCommDiscoverFeaturesModule, DidCommDiscoverFeaturesQueryReceivedEvent, DidCommDiscoverFeaturesV1Service, DidCommDiscoverFeaturesV2Service, DidCommDispatcher, DidCommDocumentService, DidCommEncryptedMessage, DidCommEnvelopeService, DidCommEventTypes, DidCommFeature, DidCommFeatureOptions, DidCommFeatureQuery, DidCommFeatureQueryOptions, DidCommFeatureRegistry, DidCommFeaturesDiscloseMessage, DidCommFeaturesDiscloseMessageOptions, DidCommFeaturesDiscloseProtocol, DidCommFeaturesDiscloseProtocolOptions, DidCommFeaturesDisclosuresMessage, DidCommFeaturesDisclosuresMessageOptions, DidCommFeaturesQueriesMessage, DidCommFeaturesQueriesMessageOptions, DidCommFeaturesQueryMessage, DidCommFeaturesQueryMessageOptions, DidCommFormatCreateRequestOptions, DidCommForwardMessage, DidCommForwardMessageOptions, DidCommGoalCode, DidCommGoalCodeOptions, DidCommGovernanceFramework, DidCommGovernanceFrameworkOptions, DidCommHandshakeProtocol, DidCommHandshakeReuseAcceptedMessage, DidCommHandshakeReuseAcceptedMessageOptions, DidCommHandshakeReuseMessage, DidCommHandshakeReuseMessageOptions, DidCommHandshakeReusedEvent, DidCommHangupHandler, DidCommHangupMessage, DidCommHangupMessageOptions, DidCommHttpOutboundTransport, DidCommInboundMessageContext, DidCommInboundTransport, DidCommInvitationType, DidCommIssueCredentialV2Message, DidCommIssueCredentialV2MessageOptions, DidCommJsonLdAcceptRequestFormat, DidCommJsonLdCredentialDetail, DidCommJsonLdCredentialDetailCredentialStatus, DidCommJsonLdCredentialDetailCredentialStatusOptions, DidCommJsonLdCredentialDetailFormat, DidCommJsonLdCredentialDetailInputOptions, DidCommJsonLdCredentialDetailOptions, DidCommJsonLdCredentialDetailOptionsOptions, DidCommJsonLdCredentialFormat, DidCommJsonLdCredentialFormatService, DidCommKeylistUpdate, DidCommKeylistUpdateAction, DidCommKeylistUpdateMessage, DidCommKeylistUpdateMessageOptions, DidCommKeylistUpdateOptions, DidCommKeylistUpdateResponseMessage, DidCommKeylistUpdateResponseMessageOptions, DidCommKeylistUpdateResult, DidCommKeylistUpdated, DidCommKeylistUpdatedEvent, DidCommLinkedAttachment, type DidCommLinkedAttachmentOptions, DidCommLiveDeliveryChangeV2Message, DidCommLiveDeliveryChangeV2MessageOptions, DidCommMediationDenyMessage, DidCommMediationDenyMessageOptions, DidCommMediationGrantMessage, DidCommMediationGrantMessageOptions, DidCommMediationRecipientApi, DidCommMediationRecipientModule, DidCommMediationRecipientService, DidCommMediationRecord, DidCommMediationRecordProps, DidCommMediationRepository, DidCommMediationRequestMessage, DidCommMediationRequestMessageOptions, DidCommMediationRole, DidCommMediationState, DidCommMediationStateChangedEvent, DidCommMediatorApi, DidCommMediatorModule, DidCommMediatorPickupStrategy, DidCommMediatorRoutingRecord, DidCommMediatorRoutingRecordProps, DidCommMediatorRoutingRecordRoutingKey, DidCommMediatorRoutingRepository, DidCommMediatorService, DidCommMessage, DidCommMessageDeliveryV2Message, DidCommMessageDeliveryV2MessageOptions, DidCommMessageForwardingStrategy, DidCommMessageHandler, DidCommMessageHandlerInboundMessage, DidCommMessageHandlerMiddleware, DidCommMessageHandlerMiddlewareRunner, DidCommMessageHandlerRegistry, DidCommMessagePickupApi, DidCommMessagePickupEventTypes, DidCommMessagePickupLiveSessionSavedEvent, DidCommMessagePickupModule, DidCommMessagePickupModuleConfig, DidCommMessagePickupModuleConfigOptions, DidCommMessagePickupModuleOptions, DidCommMessagePickupProtocol, DidCommMessagePickupProtocolVersionType, DidCommMessagePickupSession, DidCommMessagePickupSessionRole, DidCommMessagePickupSessionService, DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol, DidCommMessageProcessedEvent, DidCommMessageReceivedEvent, DidCommMessageReceiver, DidCommMessageRecord, DidCommMessageRecordProps, DidCommMessageRepository, DidCommMessageRole, DidCommMessageSender, DidCommMessageSentEvent, DidCommMessagesReceivedV2Message, DidCommMessagesReceivedV2MessageOptions, DidCommMimeType, DidCommModule, DidCommModuleConfig, type DidCommModuleConfigOptions, DidCommOfferCredentialV2Message, DidCommOfferCredentialV2MessageOptions, DidCommOutOfBandApi, DidCommOutOfBandEventTypes, DidCommOutOfBandInlineServiceKey, DidCommOutOfBandInvitation, DidCommOutOfBandInvitationOptions, DidCommOutOfBandModule, DidCommOutOfBandRecord, DidCommOutOfBandRecordProps, DidCommOutOfBandRepository, DidCommOutOfBandRole, DidCommOutOfBandService, DidCommOutOfBandState, DidCommOutOfBandStateChangedEvent, DidCommOutboundMessageContext, DidCommOutboundMessageContextParams, DidCommOutboundPackage, DidCommOutboundTransport, DidCommOutboundWebSocketClosedEvent, DidCommOutboundWebSocketOpenedEvent, DidCommPlaintextMessage, DidCommPresentationProblemReportReason, DidCommPresentationV2AckMessage, DidCommPresentationV2Message, DidCommPresentationV2MessageOptions, DidCommPresentationV2ProblemReportMessage, DidCommProblemReportError, DidCommProblemReportErrorOptions, DidCommProblemReportMessage, DidCommProblemReportMessageOptions, DidCommProblemReportReason, DidCommProofEventTypes, DidCommProofExchangeRecord, DidCommProofExchangeRecordProps, DidCommProofExchangeRepository, DidCommProofFormat, DidCommProofFormatAcceptProposalOptions, DidCommProofFormatAcceptRequestOptions, DidCommProofFormatAutoRespondPresentationOptions, DidCommProofFormatAutoRespondProposalOptions, DidCommProofFormatAutoRespondRequestOptions, DidCommProofFormatCreateProposalOptions, DidCommProofFormatCreateReturn, DidCommProofFormatCredentialForRequestPayload, DidCommProofFormatGetCredentialsForRequestOptions, DidCommProofFormatGetCredentialsForRequestReturn, DidCommProofFormatPayload, DidCommProofFormatProcessOptions, DidCommProofFormatProcessPresentationOptions, DidCommProofFormatSelectCredentialsForRequestOptions, DidCommProofFormatSelectCredentialsForRequestReturn, DidCommProofFormatService, DidCommProofFormatSpec, DidCommProofFormatSpecOptions, DidCommProofProtocol, DidCommProofRole, DidCommProofState, DidCommProofStateChangedEvent, DidCommProofV2Protocol, DidCommProofV2ProtocolConfig, DidCommProofsApi, DidCommProofsModule, DidCommProofsModuleConfig, DidCommProofsModuleConfigOptions, DidCommProofsModuleOptions, DidCommProposeCredentialV2Message, DidCommProposeCredentialV2MessageOptions, DidCommProposePresentationV2Message, DidCommProposePresentationV2MessageOptions, DidCommProtocol, DidCommQueueTransportRepository, DidCommRequestCredentialV2Message, DidCommRequestCredentialV2MessageOptions, DidCommRequestPresentationV2Message, DidCommRequestPresentationV2MessageOptions, DidCommRevocationNotification, DidCommRevocationNotificationReceivedEvent, DidCommRevocationNotificationV1Message, DidCommRevocationNotificationV1MessageOptions, DidCommRevocationNotificationV2Message, DidCommRevocationNotificationV2MessageOptions, DidCommRouting, DidCommRoutingCreatedEvent, DidCommRoutingEventTypes, DidCommRoutingService, DidCommSignedAttachmentBindingMethod, DidCommSignedAttachmentBindingMethodOptions, DidCommSignedAttachmentCreateOfferOptions, DidCommSignedAttachmentCredentialRequestOptions, DidCommSignedAttachmentDataIntegrityBindingProof, DidCommStatusRequestMessageV2MessageOptions, DidCommStatusRequestV2Message, DidCommStatusV2Message, DidCommStatusV2MessageOptions, DidCommTransportEventTypes, DidCommTransportService, type DidCommTransportSession, DidCommTransportSessionRemovedEvent, DidCommTransportSessionSavedEvent, DidCommTrustPingEventTypes, DidCommTrustPingMessage, DidCommTrustPingMessageHandler, DidCommTrustPingMessageOptions, DidCommTrustPingReceivedEvent, DidCommTrustPingResponseMessage, DidCommTrustPingResponseMessageHandler, DidCommTrustPingResponseMessageOptions, DidCommTrustPingService, DidCommWsOutboundTransport, DidDoc, DidExchangeProblemReportError, DidExchangeProblemReportReason, DidExchangeProtocol, DifPexGetCredentialsForProofRequestOptions, DifPresentationExchangePresentation, DifPresentationExchangeProposal, DifPresentationExchangeRequest, Ed25119Sig2018, EddsaSaSigSecp256k1, EmbeddedAuthentication, ExtractCredentialFormat, ExtractCredentialFormats, ExtractProofFormat, ExtractProofFormats, FindCredentialMessageReturn, FindCredentialOfferMessageReturn, FindCredentialProposalMessageReturn, FindCredentialRequestMessageReturn, FindProofPresentationMessageReturn, FindProofProposalMessageReturn, FindProofRequestMessageReturn, FixHintOptions, GetAgentMessageOptions, GetAvailableMessageCountOptions, GetCredentialFormatDataReturn, GetCredentialsForProofRequestOptions, GetCredentialsForProofRequestReturn, GetProofFormatDataReturn, GetRoutingOptions, ImpactStatus, InMemoryQueueTransportRepository, InlineInvitationOptions, IsValidMessageType, JsonCredential, JsonLdFormatDataCredentialDetail, JsonLdFormatDataCredentialDetailOptions, JsonLdFormatDataVerifiableCredential, MediationProtocolMsgReturnType, MessageContextParams, MessagePickupCompletedEvent, MessagePickupLiveSessionRemovedEvent, MessageSendingError, NegotiateCredentialOfferOptions, NegotiateCredentialProposalOptions, NegotiateProofProposalOptions, NegotiateProofRequestOptions, OfferCredentialOptions, OtherStatus, OutOfBandDidCommService, OutboundMessageSendStatus, type ParsedMessageType, PickupMessagesOptions, PickupMessagesReturnType, DidCommProofFormatServiceOptions_d_exports as ProofFormatServiceOptions, DidCommProofProtocolOptions_d_exports as ProofProtocolOptions, ProofsProtocolVersionType, ProposeCredentialOptions, ProposeProofOptions, ProtocolOptions, ProtocolVersion, PublicKey, PublicKeyTransformer, QueryFeaturesReturnType, QueueMessageOptions, QueueMessageReturnType, QueuedDidCommMessage, ReceiveOutOfBandImplicitInvitationConfig, ReceiveOutOfBandInvitationConfig, ReferencedAuthentication, RemoveMessagesOptions, RemoveRoutingOptions, RequestProofOptions, ReturnRouteTypes, RsaSig2018, SaveAgentMessageOptions, SelectCredentialsForProofRequestOptions, SelectCredentialsForProofRequestReturn, SendCredentialProblemReportOptions, SendPingOptions, SendProofProblemReportOptions, SendRevocationNotificationOptions, ServiceDecorator, type ServiceDecoratorOptions, ServiceMessageParams, SetLiveDeliveryModeOptions, SetLiveDeliveryModeReturnType, TakeFromQueueOptions, TrustPingResponseReceivedEvent, DidCommCredentialV2ProblemReportError as V2CredentialProblemReportError, DidCommCredentialV2ProblemReportErrorOptions as V2CredentialProblemReportErrorOptions, V2PresentationProblemReportError, W3C_VC_DATA_MODEL_VERSION, WhereStatus, WhoRetriesStatus, authenticationTypes, encodeAttachment, getOutboundDidCommMessageContext, isLinkedAttachment, isValidJweStructure, oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl, parseMessageType, publicKeyTypes, replaceLegacyDidSovPrefix, rfc0160StateFromDidExchangeState, supportsIncomingMessageType };
|
package/build/index.js
CHANGED
|
@@ -150,6 +150,7 @@ const require_DidCommMessagePickupApi = require('./modules/message-pickup/DidCom
|
|
|
150
150
|
const require_DidCommBatchMessage = require('./modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.js');
|
|
151
151
|
const require_DidCommBatchPickupMessage = require('./modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.js');
|
|
152
152
|
const require_DidCommMessagePickupV1Protocol = require('./modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.js');
|
|
153
|
+
const require_DidCommMessagePickupSession = require('./modules/message-pickup/DidCommMessagePickupSession.js');
|
|
153
154
|
const require_DidCommDeliveryRequestV2Message = require('./modules/message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.js');
|
|
154
155
|
const require_DidCommLiveDeliveryChangeV2Message = require('./modules/message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.js');
|
|
155
156
|
const require_DidCommMessageDeliveryV2Message = require('./modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.js');
|
|
@@ -507,6 +508,7 @@ Object.defineProperty(exports, 'DidCommMessagePickupApi', {
|
|
|
507
508
|
exports.DidCommMessagePickupEventTypes = require_DidCommMessagePickupEvents.DidCommMessagePickupEventTypes;
|
|
508
509
|
exports.DidCommMessagePickupModule = require_DidCommMessagePickupModule.DidCommMessagePickupModule;
|
|
509
510
|
exports.DidCommMessagePickupModuleConfig = require_DidCommMessagePickupModuleConfig.DidCommMessagePickupModuleConfig;
|
|
511
|
+
exports.DidCommMessagePickupSessionRole = require_DidCommMessagePickupSession.DidCommMessagePickupSessionRole;
|
|
510
512
|
Object.defineProperty(exports, 'DidCommMessagePickupSessionService', {
|
|
511
513
|
enumerable: true,
|
|
512
514
|
get: function () {
|
package/build/index.mjs
CHANGED
|
@@ -150,6 +150,7 @@ import { DidCommMessagePickupApi } from "./modules/message-pickup/DidCommMessage
|
|
|
150
150
|
import { DidCommBatchMessage, DidCommBatchMessageMessage } from "./modules/message-pickup/protocol/v1/messages/DidCommBatchMessage.mjs";
|
|
151
151
|
import { DidCommBatchPickupMessage } from "./modules/message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.mjs";
|
|
152
152
|
import { DidCommMessagePickupV1Protocol } from "./modules/message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs";
|
|
153
|
+
import { DidCommMessagePickupSessionRole } from "./modules/message-pickup/DidCommMessagePickupSession.mjs";
|
|
153
154
|
import { DidCommDeliveryRequestV2Message } from "./modules/message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.mjs";
|
|
154
155
|
import { DidCommLiveDeliveryChangeV2Message } from "./modules/message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
|
155
156
|
import { DidCommMessageDeliveryV2Message } from "./modules/message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs";
|
|
@@ -229,4 +230,4 @@ import { DidCommModule } from "./DidCommModule.mjs";
|
|
|
229
230
|
import { encodeAttachment, isLinkedAttachment } from "./util/attachment.mjs";
|
|
230
231
|
import { DidCommLinkedAttachment } from "./util/DidCommLinkedAttachment.mjs";
|
|
231
232
|
|
|
232
|
-
export { AckDecorator, AckStatus, AnonCredsLinkSecretBindingMethod, Authentication, AuthenticationTransformer, DidCommBaseCredentialProtocol as BaseDidCommCredentialProtocol, ConnectionProblemReportError, ConnectionProblemReportReason, DidCommCredentialProtocolOptions_exports as CredentialProtocolOptions, DataIntegrityBindingMethods, DataIntegrityCredentialOffer, DidCommAckMessage, DidCommAckMessageHandler, DidCommApi, DidCommAttachment, DidCommAttachmentData, DidCommAutoAcceptCredential, DidCommAutoAcceptProof, DidCommBaseProofProtocol, DidCommBasicMessage, DidCommBasicMessageEventTypes, DidCommBasicMessageRecord, DidCommBasicMessageRepository, DidCommBasicMessageRole, DidCommBasicMessageService, DidCommBasicMessagesApi, DidCommBasicMessagesModule, DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchPickupMessage, DidCommConnection, DidCommConnectionEventTypes, DidCommConnectionInvitationMessage, DidCommConnectionProblemReportHandler, DidCommConnectionProblemReportMessage, DidCommConnectionRecord, DidCommConnectionRepository, DidCommConnectionRequestHandler, DidCommConnectionRequestMessage, DidCommConnectionResponseHandler, DidCommConnectionResponseMessage, DidCommConnectionRole, DidCommConnectionService, DidCommConnectionState, DidCommConnectionType, DidCommConnectionsApi, DidCommConnectionsModule, DidCommConnectionsModuleConfig, DidCommCredentialEventTypes, DidCommCredentialExchangeRecord, DidCommCredentialExchangeRepository, DidCommCredentialFormatSpec, DidCommCredentialPreviewAttribute, DidCommCredentialProblemReportReason, DidCommCredentialRole, DidCommCredentialState, DidCommCredentialV2AckMessage, DidCommCredentialV2Preview, DidCommCredentialV2ProblemReportMessage, DidCommCredentialV2Protocol, DidCommCredentialsApi, DidCommCredentialsModule, DidCommCredentialsModuleConfig, DidCommDeliveryRequestV2Message, DidCommDidExchangeCompleteHandler, DidCommDidExchangeCompleteMessage, DidCommDidExchangeProblemReportMessage, DidCommDidExchangeRequestHandler, DidCommDidExchangeRequestMessage, DidCommDidExchangeResponseHandler, DidCommDidExchangeResponseMessage, DidCommDidExchangeRole, DidCommDidExchangeState, DidCommDidRotateAckHandler, DidCommDidRotateAckMessage, DidCommDidRotateHandler, DidCommDidRotateMessage, DidCommDidRotateProblemReportHandler, DidCommDidRotateProblemReportMessage, DidCommDidRotateRole, DidCommDidRotateService, DidCommDifPresentationExchangeProofFormatService, DidCommDiscoverFeaturesApi, DidCommDiscoverFeaturesEventTypes, DidCommDiscoverFeaturesModule, DidCommDiscoverFeaturesV1Service, DidCommDiscoverFeaturesV2Service, DidCommDispatcher, DidCommDocumentService, DidCommEnvelopeService, DidCommEventTypes, DidCommFeature, DidCommFeatureQuery, DidCommFeatureRegistry, DidCommFeaturesDiscloseMessage, DidCommFeaturesDiscloseProtocol, DidCommFeaturesDisclosuresMessage, DidCommFeaturesQueriesMessage, DidCommFeaturesQueryMessage, DidCommForwardMessage, DidCommGoalCode, DidCommGovernanceFramework, DidCommHandshakeProtocol, DidCommHandshakeReuseAcceptedMessage, DidCommHandshakeReuseMessage, DidCommHangupHandler, DidCommHangupMessage, DidCommHttpOutboundTransport, DidCommInboundMessageContext, DidCommInvitationType, DidCommIssueCredentialV2Message, DidCommJsonLdCredentialDetail, DidCommJsonLdCredentialDetailCredentialStatus, DidCommJsonLdCredentialDetailOptions, DidCommJsonLdCredentialFormatService, DidCommKeylistUpdate, DidCommKeylistUpdateAction, DidCommKeylistUpdateMessage, DidCommKeylistUpdateResponseMessage, DidCommKeylistUpdateResult, DidCommKeylistUpdated, DidCommLinkedAttachment, DidCommLiveDeliveryChangeV2Message, DidCommMediationDenyMessage, DidCommMediationGrantMessage, DidCommMediationRecipientApi, DidCommMediationRecipientModule, DidCommMediationRecipientService, DidCommMediationRecord, DidCommMediationRepository, DidCommMediationRequestMessage, DidCommMediationRole, DidCommMediationState, DidCommMediatorApi, DidCommMediatorModule, DidCommMediatorPickupStrategy, DidCommMediatorRoutingRecord, DidCommMediatorRoutingRepository, DidCommMediatorService, DidCommMessage, DidCommMessageDeliveryV2Message, DidCommMessageForwardingStrategy, DidCommMessageHandlerMiddlewareRunner, DidCommMessageHandlerRegistry, DidCommMessagePickupApi, DidCommMessagePickupEventTypes, DidCommMessagePickupModule, DidCommMessagePickupModuleConfig, DidCommMessagePickupSessionService, DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol, DidCommMessageReceiver, DidCommMessageRecord, DidCommMessageRepository, DidCommMessageRole, DidCommMessageSender, DidCommMessagesReceivedV2Message, DidCommMimeType, DidCommModule, DidCommModuleConfig, DidCommOfferCredentialV2Message, DidCommOutOfBandApi, DidCommOutOfBandEventTypes, DidCommOutOfBandInvitation, DidCommOutOfBandModule, DidCommOutOfBandRecord, DidCommOutOfBandRepository, DidCommOutOfBandRole, DidCommOutOfBandService, DidCommOutOfBandState, DidCommOutboundMessageContext, DidCommPresentationProblemReportReason, DidCommPresentationV2AckMessage, DidCommPresentationV2Message, DidCommPresentationV2ProblemReportMessage, DidCommProblemReportError, DidCommProblemReportMessage, DidCommProblemReportReason, DidCommProofEventTypes, DidCommProofExchangeRecord, DidCommProofExchangeRepository, DidCommProofFormatSpec, DidCommProofRole, DidCommProofState, DidCommProofV2Protocol, DidCommProofsApi, DidCommProofsModule, DidCommProofsModuleConfig, DidCommProposeCredentialV2Message, DidCommProposePresentationV2Message, DidCommProtocol, DidCommRequestCredentialV2Message, DidCommRequestPresentationV2Message, DidCommRevocationNotification, DidCommRevocationNotificationV1Message, DidCommRevocationNotificationV2Message, DidCommRoutingEventTypes, DidCommRoutingService, DidCommSignedAttachmentBindingMethod, DidCommStatusRequestV2Message, DidCommStatusV2Message, DidCommTransportEventTypes, DidCommTransportService, DidCommTrustPingEventTypes, DidCommTrustPingMessage, DidCommTrustPingMessageHandler, DidCommTrustPingResponseMessage, DidCommTrustPingResponseMessageHandler, DidCommTrustPingService, DidCommWsOutboundTransport, DidDoc, DidExchangeProblemReportError, DidExchangeProblemReportReason, DidExchangeProtocol, Ed25119Sig2018, EddsaSaSigSecp256k1, EmbeddedAuthentication, ImpactStatus, InMemoryQueueTransportRepository, IsValidMessageType, MessageSendingError, OtherStatus, OutOfBandDidCommService, OutboundMessageSendStatus, DidCommProofFormatServiceOptions_exports as ProofFormatServiceOptions, DidCommProofProtocolOptions_exports as ProofProtocolOptions, PublicKey, PublicKeyTransformer, ReferencedAuthentication, ReturnRouteTypes, RsaSig2018, ServiceDecorator, DidCommCredentialV2ProblemReportError as V2CredentialProblemReportError, V2PresentationProblemReportError, WhereStatus, WhoRetriesStatus, authenticationTypes, encodeAttachment, getOutboundDidCommMessageContext, isLinkedAttachment, isValidJweStructure, oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl, parseMessageType, publicKeyTypes, replaceLegacyDidSovPrefix, rfc0160StateFromDidExchangeState, supportsIncomingMessageType };
|
|
233
|
+
export { AckDecorator, AckStatus, AnonCredsLinkSecretBindingMethod, Authentication, AuthenticationTransformer, DidCommBaseCredentialProtocol as BaseDidCommCredentialProtocol, ConnectionProblemReportError, ConnectionProblemReportReason, DidCommCredentialProtocolOptions_exports as CredentialProtocolOptions, DataIntegrityBindingMethods, DataIntegrityCredentialOffer, DidCommAckMessage, DidCommAckMessageHandler, DidCommApi, DidCommAttachment, DidCommAttachmentData, DidCommAutoAcceptCredential, DidCommAutoAcceptProof, DidCommBaseProofProtocol, DidCommBasicMessage, DidCommBasicMessageEventTypes, DidCommBasicMessageRecord, DidCommBasicMessageRepository, DidCommBasicMessageRole, DidCommBasicMessageService, DidCommBasicMessagesApi, DidCommBasicMessagesModule, DidCommBatchMessage, DidCommBatchMessageMessage, DidCommBatchPickupMessage, DidCommConnection, DidCommConnectionEventTypes, DidCommConnectionInvitationMessage, DidCommConnectionProblemReportHandler, DidCommConnectionProblemReportMessage, DidCommConnectionRecord, DidCommConnectionRepository, DidCommConnectionRequestHandler, DidCommConnectionRequestMessage, DidCommConnectionResponseHandler, DidCommConnectionResponseMessage, DidCommConnectionRole, DidCommConnectionService, DidCommConnectionState, DidCommConnectionType, DidCommConnectionsApi, DidCommConnectionsModule, DidCommConnectionsModuleConfig, DidCommCredentialEventTypes, DidCommCredentialExchangeRecord, DidCommCredentialExchangeRepository, DidCommCredentialFormatSpec, DidCommCredentialPreviewAttribute, DidCommCredentialProblemReportReason, DidCommCredentialRole, DidCommCredentialState, DidCommCredentialV2AckMessage, DidCommCredentialV2Preview, DidCommCredentialV2ProblemReportMessage, DidCommCredentialV2Protocol, DidCommCredentialsApi, DidCommCredentialsModule, DidCommCredentialsModuleConfig, DidCommDeliveryRequestV2Message, DidCommDidExchangeCompleteHandler, DidCommDidExchangeCompleteMessage, DidCommDidExchangeProblemReportMessage, DidCommDidExchangeRequestHandler, DidCommDidExchangeRequestMessage, DidCommDidExchangeResponseHandler, DidCommDidExchangeResponseMessage, DidCommDidExchangeRole, DidCommDidExchangeState, DidCommDidRotateAckHandler, DidCommDidRotateAckMessage, DidCommDidRotateHandler, DidCommDidRotateMessage, DidCommDidRotateProblemReportHandler, DidCommDidRotateProblemReportMessage, DidCommDidRotateRole, DidCommDidRotateService, DidCommDifPresentationExchangeProofFormatService, DidCommDiscoverFeaturesApi, DidCommDiscoverFeaturesEventTypes, DidCommDiscoverFeaturesModule, DidCommDiscoverFeaturesV1Service, DidCommDiscoverFeaturesV2Service, DidCommDispatcher, DidCommDocumentService, DidCommEnvelopeService, DidCommEventTypes, DidCommFeature, DidCommFeatureQuery, DidCommFeatureRegistry, DidCommFeaturesDiscloseMessage, DidCommFeaturesDiscloseProtocol, DidCommFeaturesDisclosuresMessage, DidCommFeaturesQueriesMessage, DidCommFeaturesQueryMessage, DidCommForwardMessage, DidCommGoalCode, DidCommGovernanceFramework, DidCommHandshakeProtocol, DidCommHandshakeReuseAcceptedMessage, DidCommHandshakeReuseMessage, DidCommHangupHandler, DidCommHangupMessage, DidCommHttpOutboundTransport, DidCommInboundMessageContext, DidCommInvitationType, DidCommIssueCredentialV2Message, DidCommJsonLdCredentialDetail, DidCommJsonLdCredentialDetailCredentialStatus, DidCommJsonLdCredentialDetailOptions, DidCommJsonLdCredentialFormatService, DidCommKeylistUpdate, DidCommKeylistUpdateAction, DidCommKeylistUpdateMessage, DidCommKeylistUpdateResponseMessage, DidCommKeylistUpdateResult, DidCommKeylistUpdated, DidCommLinkedAttachment, DidCommLiveDeliveryChangeV2Message, DidCommMediationDenyMessage, DidCommMediationGrantMessage, DidCommMediationRecipientApi, DidCommMediationRecipientModule, DidCommMediationRecipientService, DidCommMediationRecord, DidCommMediationRepository, DidCommMediationRequestMessage, DidCommMediationRole, DidCommMediationState, DidCommMediatorApi, DidCommMediatorModule, DidCommMediatorPickupStrategy, DidCommMediatorRoutingRecord, DidCommMediatorRoutingRepository, DidCommMediatorService, DidCommMessage, DidCommMessageDeliveryV2Message, DidCommMessageForwardingStrategy, DidCommMessageHandlerMiddlewareRunner, DidCommMessageHandlerRegistry, DidCommMessagePickupApi, DidCommMessagePickupEventTypes, DidCommMessagePickupModule, DidCommMessagePickupModuleConfig, DidCommMessagePickupSessionRole, DidCommMessagePickupSessionService, DidCommMessagePickupV1Protocol, DidCommMessagePickupV2Protocol, DidCommMessageReceiver, DidCommMessageRecord, DidCommMessageRepository, DidCommMessageRole, DidCommMessageSender, DidCommMessagesReceivedV2Message, DidCommMimeType, DidCommModule, DidCommModuleConfig, DidCommOfferCredentialV2Message, DidCommOutOfBandApi, DidCommOutOfBandEventTypes, DidCommOutOfBandInvitation, DidCommOutOfBandModule, DidCommOutOfBandRecord, DidCommOutOfBandRepository, DidCommOutOfBandRole, DidCommOutOfBandService, DidCommOutOfBandState, DidCommOutboundMessageContext, DidCommPresentationProblemReportReason, DidCommPresentationV2AckMessage, DidCommPresentationV2Message, DidCommPresentationV2ProblemReportMessage, DidCommProblemReportError, DidCommProblemReportMessage, DidCommProblemReportReason, DidCommProofEventTypes, DidCommProofExchangeRecord, DidCommProofExchangeRepository, DidCommProofFormatSpec, DidCommProofRole, DidCommProofState, DidCommProofV2Protocol, DidCommProofsApi, DidCommProofsModule, DidCommProofsModuleConfig, DidCommProposeCredentialV2Message, DidCommProposePresentationV2Message, DidCommProtocol, DidCommRequestCredentialV2Message, DidCommRequestPresentationV2Message, DidCommRevocationNotification, DidCommRevocationNotificationV1Message, DidCommRevocationNotificationV2Message, DidCommRoutingEventTypes, DidCommRoutingService, DidCommSignedAttachmentBindingMethod, DidCommStatusRequestV2Message, DidCommStatusV2Message, DidCommTransportEventTypes, DidCommTransportService, DidCommTrustPingEventTypes, DidCommTrustPingMessage, DidCommTrustPingMessageHandler, DidCommTrustPingResponseMessage, DidCommTrustPingResponseMessageHandler, DidCommTrustPingService, DidCommWsOutboundTransport, DidDoc, DidExchangeProblemReportError, DidExchangeProblemReportReason, DidExchangeProtocol, Ed25119Sig2018, EddsaSaSigSecp256k1, EmbeddedAuthentication, ImpactStatus, InMemoryQueueTransportRepository, IsValidMessageType, MessageSendingError, OtherStatus, OutOfBandDidCommService, OutboundMessageSendStatus, DidCommProofFormatServiceOptions_exports as ProofFormatServiceOptions, DidCommProofProtocolOptions_exports as ProofProtocolOptions, PublicKey, PublicKeyTransformer, ReferencedAuthentication, ReturnRouteTypes, RsaSig2018, ServiceDecorator, DidCommCredentialV2ProblemReportError as V2CredentialProblemReportError, V2PresentationProblemReportError, WhereStatus, WhoRetriesStatus, authenticationTypes, encodeAttachment, getOutboundDidCommMessageContext, isLinkedAttachment, isValidJweStructure, oobInvitationFromShortUrl, parseInvitationJson, parseInvitationShortUrl, parseInvitationUrl, parseMessageType, publicKeyTypes, replaceLegacyDidSovPrefix, rfc0160StateFromDidExchangeState, supportsIncomingMessageType };
|
package/build/modules/index.js
CHANGED
|
@@ -115,6 +115,7 @@ const require_DidCommMessagePickupApi = require('./message-pickup/DidCommMessage
|
|
|
115
115
|
const require_DidCommBatchMessage = require('./message-pickup/protocol/v1/messages/DidCommBatchMessage.js');
|
|
116
116
|
const require_DidCommBatchPickupMessage = require('./message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.js');
|
|
117
117
|
const require_DidCommMessagePickupV1Protocol = require('./message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.js');
|
|
118
|
+
const require_DidCommMessagePickupSession = require('./message-pickup/DidCommMessagePickupSession.js');
|
|
118
119
|
const require_DidCommDeliveryRequestV2Message = require('./message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.js');
|
|
119
120
|
const require_DidCommLiveDeliveryChangeV2Message = require('./message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.js');
|
|
120
121
|
const require_DidCommMessageDeliveryV2Message = require('./message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.js');
|
package/build/modules/index.mjs
CHANGED
|
@@ -115,6 +115,7 @@ import { DidCommMessagePickupApi } from "./message-pickup/DidCommMessagePickupAp
|
|
|
115
115
|
import { DidCommBatchMessage, DidCommBatchMessageMessage } from "./message-pickup/protocol/v1/messages/DidCommBatchMessage.mjs";
|
|
116
116
|
import { DidCommBatchPickupMessage } from "./message-pickup/protocol/v1/messages/DidCommBatchPickupMessage.mjs";
|
|
117
117
|
import { DidCommMessagePickupV1Protocol } from "./message-pickup/protocol/v1/DidCommMessagePickupV1Protocol.mjs";
|
|
118
|
+
import { DidCommMessagePickupSessionRole } from "./message-pickup/DidCommMessagePickupSession.mjs";
|
|
118
119
|
import { DidCommDeliveryRequestV2Message } from "./message-pickup/protocol/v2/messages/DidCommDeliveryRequestV2Message.mjs";
|
|
119
120
|
import { DidCommLiveDeliveryChangeV2Message } from "./message-pickup/protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
|
120
121
|
import { DidCommMessageDeliveryV2Message } from "./message-pickup/protocol/v2/messages/DidCommMessageDeliveryV2Message.mjs";
|
|
@@ -5,6 +5,7 @@ const require_DidCommMessagePickupApi = require('./DidCommMessagePickupApi.js');
|
|
|
5
5
|
const require_DidCommBatchMessage = require('./protocol/v1/messages/DidCommBatchMessage.js');
|
|
6
6
|
const require_DidCommBatchPickupMessage = require('./protocol/v1/messages/DidCommBatchPickupMessage.js');
|
|
7
7
|
const require_DidCommMessagePickupV1Protocol = require('./protocol/v1/DidCommMessagePickupV1Protocol.js');
|
|
8
|
+
const require_DidCommMessagePickupSession = require('./DidCommMessagePickupSession.js');
|
|
8
9
|
require('./services/index.js');
|
|
9
10
|
const require_DidCommDeliveryRequestV2Message = require('./protocol/v2/messages/DidCommDeliveryRequestV2Message.js');
|
|
10
11
|
const require_DidCommLiveDeliveryChangeV2Message = require('./protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.js');
|
|
@@ -5,6 +5,7 @@ import { DidCommMessagePickupApi } from "./DidCommMessagePickupApi.mjs";
|
|
|
5
5
|
import { DidCommBatchMessage, DidCommBatchMessageMessage } from "./protocol/v1/messages/DidCommBatchMessage.mjs";
|
|
6
6
|
import { DidCommBatchPickupMessage } from "./protocol/v1/messages/DidCommBatchPickupMessage.mjs";
|
|
7
7
|
import { DidCommMessagePickupV1Protocol } from "./protocol/v1/DidCommMessagePickupV1Protocol.mjs";
|
|
8
|
+
import { DidCommMessagePickupSessionRole } from "./DidCommMessagePickupSession.mjs";
|
|
8
9
|
import "./services/index.mjs";
|
|
9
10
|
import { DidCommDeliveryRequestV2Message } from "./protocol/v2/messages/DidCommDeliveryRequestV2Message.mjs";
|
|
10
11
|
import { DidCommLiveDeliveryChangeV2Message } from "./protocol/v2/messages/DidCommLiveDeliveryChangeV2Message.mjs";
|
package/package.json
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
},
|
|
9
9
|
"./package.json": "./package.json"
|
|
10
10
|
},
|
|
11
|
-
"version": "0.6.0-pr-
|
|
11
|
+
"version": "0.6.0-pr-2468-20251023090550",
|
|
12
12
|
"files": [
|
|
13
13
|
"build"
|
|
14
14
|
],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"luxon": "^3.7.2",
|
|
29
29
|
"query-string": "^9.3.1",
|
|
30
30
|
"rxjs": "^7.8.2",
|
|
31
|
-
"@credo-ts/core": "0.6.0-pr-
|
|
31
|
+
"@credo-ts/core": "0.6.0-pr-2468-20251023090550"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@animo-id/pex": "^6.1.1",
|