@credebl/ssi-mobile-didcomm 2.2.0-alpha-20260908201721 → 2.2.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DidCommAgent } from "../DidCommSdk.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as _credo_ts_didcomm0 from "@credo-ts/didcomm";
|
|
3
3
|
import { CreateOutOfBandInvitationConfig, DidCommConnectionInvitationMessage, DidCommOutOfBandInvitation, DidCommRouting, ReceiveOutOfBandInvitationConfig } from "@credo-ts/didcomm";
|
|
4
4
|
|
|
5
5
|
//#region src/connections/ConnectionsApi.d.ts
|
|
@@ -10,7 +10,7 @@ declare class ConnectionsApi {
|
|
|
10
10
|
* Creates an out-of-band invitation for establishing a connection with another agent.
|
|
11
11
|
*/
|
|
12
12
|
createInvitation(domain: string, config?: CreateOutOfBandInvitationConfig): Promise<{
|
|
13
|
-
record:
|
|
13
|
+
record: _credo_ts_didcomm0.DidCommOutOfBandRecord;
|
|
14
14
|
invitation: DidCommOutOfBandInvitation;
|
|
15
15
|
invitationUrl: string;
|
|
16
16
|
}>;
|
|
@@ -18,8 +18,8 @@ declare class ConnectionsApi {
|
|
|
18
18
|
* Accepts a connection invitation message or out-of-band invitation and returns the connection record.
|
|
19
19
|
*/
|
|
20
20
|
acceptInvitation(invitation: DidCommOutOfBandInvitation | DidCommConnectionInvitationMessage, config: ReceiveOutOfBandInvitationConfig): Promise<{
|
|
21
|
-
outOfBandRecord:
|
|
22
|
-
connectionRecord?:
|
|
21
|
+
outOfBandRecord: _credo_ts_didcomm0.DidCommOutOfBandRecord;
|
|
22
|
+
connectionRecord?: _credo_ts_didcomm0.DidCommConnectionRecord;
|
|
23
23
|
}>;
|
|
24
24
|
/**
|
|
25
25
|
* Parses an invitation from a URL.
|
|
@@ -29,29 +29,29 @@ declare class ConnectionsApi {
|
|
|
29
29
|
* Accepts a connection invitation from a URL.
|
|
30
30
|
*/
|
|
31
31
|
acceptInvitationFromUrl(invitationUrl: string, config: ReceiveOutOfBandInvitationConfig): Promise<{
|
|
32
|
-
outOfBandRecord:
|
|
33
|
-
connectionRecord?:
|
|
32
|
+
outOfBandRecord: _credo_ts_didcomm0.DidCommOutOfBandRecord;
|
|
33
|
+
connectionRecord?: _credo_ts_didcomm0.DidCommConnectionRecord;
|
|
34
34
|
}>;
|
|
35
35
|
/**
|
|
36
36
|
* Returns all connections from the agent.
|
|
37
37
|
*/
|
|
38
|
-
getAll(): Promise<
|
|
38
|
+
getAll(): Promise<_credo_ts_didcomm0.DidCommConnectionRecord[]>;
|
|
39
39
|
/**
|
|
40
40
|
* Retrieves a connection record by connectionId.
|
|
41
41
|
*/
|
|
42
|
-
getById(connectionId: string): Promise<
|
|
42
|
+
getById(connectionId: string): Promise<_credo_ts_didcomm0.DidCommConnectionRecord>;
|
|
43
43
|
/**
|
|
44
44
|
* Finds a connection record by its ID.
|
|
45
45
|
*/
|
|
46
|
-
findById(connectionId: string): Promise<
|
|
46
|
+
findById(connectionId: string): Promise<_credo_ts_didcomm0.DidCommConnectionRecord | null>;
|
|
47
47
|
/**
|
|
48
48
|
* Finds an out-of-band record by its ID.
|
|
49
49
|
*/
|
|
50
|
-
findOutOfBandRecordById(outOfBandId: string): Promise<
|
|
50
|
+
findOutOfBandRecordById(outOfBandId: string): Promise<_credo_ts_didcomm0.DidCommOutOfBandRecord | null>;
|
|
51
51
|
/**
|
|
52
52
|
* Finds an out-of-band record by its invitation ID.
|
|
53
53
|
*/
|
|
54
|
-
findByReceivedInvitationId(receivedInvitationId: string): Promise<
|
|
54
|
+
findByReceivedInvitationId(receivedInvitationId: string): Promise<_credo_ts_didcomm0.DidCommOutOfBandRecord | null>;
|
|
55
55
|
/**
|
|
56
56
|
* Deletes a connection record by its ID.
|
|
57
57
|
*/
|
|
@@ -66,7 +66,7 @@ declare class ConnectionsApi {
|
|
|
66
66
|
* @param connectionId connection Id.
|
|
67
67
|
* @param timeoutMs wait for time in ms
|
|
68
68
|
*/
|
|
69
|
-
waitForConnectionToComplete(connectionId: string, timeoutMs?: number): Promise<
|
|
69
|
+
waitForConnectionToComplete(connectionId: string, timeoutMs?: number): Promise<_credo_ts_didcomm0.DidCommConnectionRecord>;
|
|
70
70
|
/**
|
|
71
71
|
* Hangup connection.
|
|
72
72
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DidCommAgent, DidCommAgentModules } from "../DidCommSdk.mjs";
|
|
2
2
|
import * as _credo_ts_anoncreds0 from "@credo-ts/anoncreds";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _credo_ts_didcomm11 from "@credo-ts/didcomm";
|
|
4
4
|
import { AcceptCredentialOfferOptions, DeclineCredentialOfferOptions, DeleteCredentialOptions, DidCommCredentialExchangeRecord, ProposeCredentialOptions, SendCredentialProblemReportOptions } from "@credo-ts/didcomm";
|
|
5
5
|
|
|
6
6
|
//#region src/credentials/CredentialsApi.d.ts
|
|
@@ -20,7 +20,7 @@ declare class CredentialsApi {
|
|
|
20
20
|
* @param credentialRecordId The ID of the credential record to retrieve formatted data for.
|
|
21
21
|
* @returns A Promise that resolves with the formatted data for the given credential record ID.
|
|
22
22
|
*/
|
|
23
|
-
getFormattedCredentialData(credentialRecordId: string): Promise<
|
|
23
|
+
getFormattedCredentialData(credentialRecordId: string): Promise<_credo_ts_didcomm11.GetCredentialFormatDataReturn<(_credo_ts_anoncreds0.LegacyIndyCredentialFormat | _credo_ts_anoncreds0.AnonCredsDidCommCredentialFormat | _credo_ts_didcomm11.DidCommDataIntegrityCredentialFormat | _credo_ts_didcomm11.DidCommJsonLdCredentialFormat)[]>>;
|
|
24
24
|
/**
|
|
25
25
|
* Propose a credential to connection.
|
|
26
26
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CredentialsApi.d.mts","names":[],"sources":["../../src/credentials/CredentialsApi.ts"],"mappings":";;;;;;KAUY,0BAAA,GACV,mBAAA;AAAA,cAEW,cAAA;EAAA,QACH,KAAA;cAEW,KAAA,EAAO,YAAA;EANhB;;;;;EAeG,+BAAA,CAAA,GAA+B,OAAA,CAAA,+BAAA;EAZnB;;;;;;EAsBZ,0BAAA,CAA2B,kBAAA,WAA0B,OAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"CredentialsApi.d.mts","names":[],"sources":["../../src/credentials/CredentialsApi.ts"],"mappings":";;;;;;KAUY,0BAAA,GACV,mBAAA;AAAA,cAEW,cAAA;EAAA,QACH,KAAA;cAEW,KAAA,EAAO,YAAA;EANhB;;;;;EAeG,+BAAA,CAAA,GAA+B,OAAA,CAAA,+BAAA;EAZnB;;;;;;EAsBZ,0BAAA,CAA2B,kBAAA,WAA0B,OAAA,CAAA,mBAAA,CAAA,6BAAA,EAVtB,oBAAA,CAUsB,0BAAA,GAAA,oBAAA,CAAA,gCAAA,GAAA,mBAAA,CAAA,oCAAA,GAAA,mBAAA,CAAA,6BAAA;EAAA;;;;;;EAUrD,iBAAA,CAAkB,OAAA,EAAS,wBAAA,CAAyB,0BAAA,IAA2B,OAAA,CAAA,+BAAA;EAAA;;;;;;EAU/E,qBAAA,CAAsB,OAAA,EAAS,4BAAA,CAA6B,0BAAA,IAA2B,OAAA,CAAA,+BAAA;EAoBvD;;;;;;EAVhC,8BAAA,CAA+B,gBAAA,EAAkB,+BAAA,GAA+B,OAAA;EAgCT;;;;;;EAtBvE,sBAAA,CAAuB,OAAA,EAAS,6BAAA,GAA6B,OAAA,CAAA,+BAAA;EAlD7D;;;;;;;;EA8DA,kCAAA,CAAmC,kBAAA,UAA4B,OAAA,GAAU,uBAAA,GAAuB,OAAA;EApD3C;;;;;;EA8DrD,2BAAA,CAA4B,OAAA,EAAS,kCAAA,GAAkC,OAAA,CAAA,+BAAA;AAAA"}
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
".": "./build/index.mjs",
|
|
5
5
|
"./package.json": "./package.json"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.2.0
|
|
7
|
+
"version": "2.2.0",
|
|
8
8
|
"files": [
|
|
9
9
|
"build"
|
|
10
10
|
],
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@credo-ts/react-native": "0.7.0",
|
|
29
29
|
"rxjs": "^7.8.2",
|
|
30
30
|
"@credo-ts/didcomm-push-notifications": "0.0.2-alpha-20251223125919",
|
|
31
|
-
"@credebl/ssi-mobile-core": "2.2.0
|
|
31
|
+
"@credebl/ssi-mobile-core": "2.2.0"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"@types/react": "^19.2.18",
|