@procivis/react-native-one-core 1.56306.0 → 1.58802.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.
@@ -178,14 +178,11 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
178
178
 
179
179
  @ReactMethod
180
180
  fun handleInvitation(
181
- url: String,
182
- organisationId: String,
183
- transport: ReadableArray?,
181
+ request: ReadableMap,
184
182
  promise: Promise
185
183
  ) {
186
184
  asyncCall(promise, scope) {
187
- val transportList = transport?.let { DeserializeSpecific.ids(it) }
188
- val invitationResult = getCore().handleInvitation(url, organisationId, transportList)
185
+ val invitationResult = getCore().handleInvitation(construct(request))
189
186
  return@asyncCall convertToRN(invitationResult)
190
187
  }
191
188
  }
@@ -588,6 +585,30 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
588
585
  }
589
586
  }
590
587
 
588
+ @ReactMethod
589
+ fun holderRegisterWalletUnit(request: ReadableMap, promise: Promise) {
590
+ asyncCall(promise, scope) {
591
+ getCore().holderRegisterWalletUnit(construct(request))
592
+ return@asyncCall null
593
+ }
594
+ }
595
+
596
+ @ReactMethod
597
+ fun holderRefreshWalletUnit(request: ReadableMap, promise: Promise) {
598
+ asyncCall(promise, scope) {
599
+ getCore().holderRefreshWalletUnit(construct(request))
600
+ return@asyncCall null
601
+ }
602
+ }
603
+
604
+ @ReactMethod
605
+ fun holderGetWalletUnitAttestation(organisationId: String, promise: Promise) {
606
+ asyncCall(promise, scope) {
607
+ val result = getCore().holderGetWalletUnitAttestation(organisationId)
608
+ return@asyncCall convertToRN(result)
609
+ }
610
+ }
611
+
591
612
  @ReactMethod
592
613
  fun uninitialize(deleteData: Boolean, promise: Promise) {
593
614
  asyncCall(promise, scope) {
@@ -43,6 +43,13 @@ object SerializeSpecific {
43
43
 
44
44
  is HistoryMetadataBinding.ErrorMetadata ->
45
45
  return convertToRN(metadata.value) as ReadableMap
46
+
47
+ is HistoryMetadataBinding.WalletUnitJwt -> {
48
+ val result = Arguments.createMap()
49
+ result.putString("jwt", metadata.v1)
50
+ return result
51
+ }
52
+
46
53
  }
47
54
  }
48
55
 
package/core-sdk.json CHANGED
@@ -1,16 +1,16 @@
1
1
  {
2
2
  "android": {
3
3
  "debug": {
4
- "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/56306/onecore-debug.aar",
5
- "sha1": "fa86f918237f414fa8a2581bcd0ef33b386acac4"
4
+ "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/58802/onecore-debug.aar",
5
+ "sha1": "42ea4049778b8b3b842e51682291e1ef445ce695"
6
6
  },
7
7
  "release": {
8
- "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/56306/onecore-release.aar",
9
- "sha1": "59a02d824a074e83ddb44ab7b5f29778f0a07fa1"
8
+ "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/58802/onecore-release.aar",
9
+ "sha1": "c7891e923cfe5501b278e80b3298ba901ae20825"
10
10
  }
11
11
  },
12
12
  "ios": {
13
- "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/ios/56306/deploy.zip",
14
- "sha1": "aeb5640771f1cba05bf457f5a60ecb48a5670819"
13
+ "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/ios/58802/deploy.zip",
14
+ "sha1": "a2b9e352b1960121eacf6345326e4ad75734675b"
15
15
  }
16
16
  }
@@ -144,5 +144,7 @@ export interface Config {
144
144
  keyStorage: ConfigEntities<KeyStorageCapabilities>;
145
145
  trustManagement: ConfigEntities<TrustCapabilities>;
146
146
  cacheEntities: ConfigEntities;
147
+ task: ConfigEntities;
148
+ credentialIssuer: ConfigEntities<undefined, {}>;
147
149
  }
148
150
  export {};
@@ -1,6 +1,6 @@
1
1
  import { BackupCreate, ImportBackupMetadata, UnexportableEntities } from "./backup";
2
2
  import { Config } from "./config";
3
- import { ContinueIssuanceResponse, CredentialDetail, CredentialListItem, CredentialListQuery, CredentialRevocationCheckResponse, InitiateIssuanceRequest, InitiateIssuanceResponse, InvitationResultCredentialIssuance } from "./credential";
3
+ import { AuthorizationCodeFlow, ContinueIssuanceResponse, CredentialDetail, CredentialListItem, CredentialListQuery, CredentialRevocationCheckResponse, InitiateIssuanceRequest, InitiateIssuanceResponse, InvitationResultCredentialIssuance } from "./credential";
4
4
  import { CredentialSchema, CredentialSchemaDetail, CredentialSchemaListQuery, ImportCredentialSchemaRequest, ShareCredentialSchemaResponse } from "./credentialSchema";
5
5
  import { DidListItem, DidListQuery, DidRequest } from "./did";
6
6
  import { HistoryListItem, HistoryListQuery } from "./history";
@@ -12,6 +12,7 @@ import { CreateRemoteTrustEntityRequest, CreateTrustAnchorRequest, CreateTrustEn
12
12
  import { CacheType } from "./cache";
13
13
  import { CreateOrganisationRequest, UpsertOrganisationRequest } from "./organisation";
14
14
  import { CreateIdentifierRequest, IdentifierDetail, IdentifierListItem, IdentifierListQuery } from "./identifier";
15
+ import { HolderAttestationWalletUnitResponse, HolderRefreshWalletUnitRequest, HolderRegisterWalletUnitRequest } from "./walletUnit";
15
16
  export * from "./backup";
16
17
  export * from "./cache";
17
18
  export * from "./config";
@@ -26,6 +27,7 @@ export * from "./organisation";
26
27
  export * from "./proof";
27
28
  export * from "./proofSchema";
28
29
  export * from "./trust";
30
+ export * from "./walletUnit";
29
31
  export interface Version {
30
32
  target: string;
31
33
  buildTime: string;
@@ -35,7 +37,13 @@ export interface Version {
35
37
  rustVersion: string;
36
38
  pipelineId: string;
37
39
  }
38
- export type InvitationResult = InvitationResultCredentialIssuance | InvitationResultProofRequest;
40
+ export type InvitationResult = InvitationResultCredentialIssuance | InvitationResultProofRequest | AuthorizationCodeFlow;
41
+ export interface HandleInvitationRequest {
42
+ url: string;
43
+ organisationId: string;
44
+ transport?: string[];
45
+ redirectUri?: string;
46
+ }
39
47
  export interface ResolveJsonLdContextResponse {
40
48
  context: string;
41
49
  }
@@ -51,10 +59,14 @@ export interface ONECore {
51
59
  getIdentifiers(query: IdentifierListQuery): Promise<ItemList<IdentifierListItem>>;
52
60
  getIdentifier(identifierId: IdentifierListItem["id"]): Promise<IdentifierDetail>;
53
61
  deleteIdentifier(identifierId: IdentifierListItem["id"]): Promise<void>;
54
- handleInvitation(url: string, organisationId: string, transport: string[] | undefined): Promise<InvitationResult>;
62
+ handleInvitation(request: HandleInvitationRequest): Promise<InvitationResult>;
55
63
  holderAcceptCredential(interactionId: InvitationResultCredentialIssuance["interactionId"], didId: DidListItem["id"] | undefined, identifierId: IdentifierListItem["id"] | undefined, keyId: string | undefined, txCode: string | undefined): Promise<void>;
56
64
  holderRejectCredential(interactionId: InvitationResultCredentialIssuance["interactionId"]): Promise<void>;
65
+ /** For wallets, starts the OID4VCI Authorization Code Flow. */
57
66
  initiateIssuance(request: InitiateIssuanceRequest): Promise<InitiateIssuanceResponse>;
67
+ /** For wallet-initiated flows, continues the OpenID4VCI issuance process
68
+ * after completing authorization.
69
+ */
58
70
  continueIssuance(url: string): Promise<ContinueIssuanceResponse>;
59
71
  getPresentationDefinition(proofId: ProofDetail["id"]): Promise<PresentationDefinition>;
60
72
  holderRejectProof(interactionId: InvitationResultProofRequest["interactionId"]): Promise<void>;
@@ -121,6 +133,9 @@ export interface ONECore {
121
133
  */
122
134
  rollbackImport(): Promise<void>;
123
135
  resolveJsonldContext(url: string): Promise<ResolveJsonLdContextResponse>;
136
+ holderRegisterWalletUnit(request: HolderRegisterWalletUnitRequest): Promise<void>;
137
+ holderRefreshWalletUnit(request: HolderRefreshWalletUnitRequest): Promise<void>;
138
+ holderGetWalletUnitAttestation(organisationId: string): Promise<HolderAttestationWalletUnitResponse>;
124
139
  /**
125
140
  * Uninitialize the core instance
126
141
  *
@@ -130,4 +145,4 @@ export interface ONECore {
130
145
  */
131
146
  uninitialize(deleteData: boolean): Promise<void>;
132
147
  }
133
- export declare const interfaceMethodNames: readonly ["getVersion", "getConfig", "createOrganisation", "upsertOrganisation", "generateKey", "createDid", "getDids", "createIdentifier", "getIdentifier", "getIdentifiers", "deleteIdentifier", "handleInvitation", "holderAcceptCredential", "holderRejectCredential", "initiateIssuance", "continueIssuance", "getPresentationDefinition", "holderRejectProof", "holderSubmitProof", "getCredentials", "runTask", "deleteProofClaims", "getCredential", "deleteCredential", "importCredentialSchema", "getCredentialSchema", "getCredentialSchemas", "deleteCredentialSchema", "createProof", "shareProof", "shareProofSchema", "shareCredentialSchema", "getProof", "getProofs", "deleteProof", "proposeProof", "createProofSchema", "getProofSchemas", "getProofSchema", "deleteProofSchema", "importProofSchema", "checkRevocation", "createTrustAnchor", "deleteTrustAnchor", "getTrustAnchor", "getTrustAnchors", "createTrustEntity", "getTrustEntity", "getTrustEntities", "getTrustEntityByDid", "resolveTrustEntityByIdentifier", "createRemoteTrustEntity", "getRemoteTrustEntity", "updateRemoteTrustEntity", "getHistory", "getHistoryEntry", "createBackup", "backupInfo", "deleteCache", "unpackBackup", "finalizeImport", "rollbackImport", "resolveJsonldContext", "uninitialize"];
148
+ export declare const interfaceMethodNames: readonly ["getVersion", "getConfig", "createOrganisation", "upsertOrganisation", "generateKey", "createDid", "getDids", "createIdentifier", "getIdentifier", "getIdentifiers", "deleteIdentifier", "handleInvitation", "holderAcceptCredential", "holderRejectCredential", "initiateIssuance", "continueIssuance", "getPresentationDefinition", "holderRejectProof", "holderSubmitProof", "getCredentials", "runTask", "deleteProofClaims", "getCredential", "deleteCredential", "importCredentialSchema", "getCredentialSchema", "getCredentialSchemas", "deleteCredentialSchema", "createProof", "shareProof", "shareProofSchema", "shareCredentialSchema", "getProof", "getProofs", "deleteProof", "proposeProof", "createProofSchema", "getProofSchemas", "getProofSchema", "deleteProofSchema", "importProofSchema", "checkRevocation", "createTrustAnchor", "deleteTrustAnchor", "getTrustAnchor", "getTrustAnchors", "createTrustEntity", "getTrustEntity", "getTrustEntities", "getTrustEntityByDid", "resolveTrustEntityByIdentifier", "createRemoteTrustEntity", "getRemoteTrustEntity", "updateRemoteTrustEntity", "getHistory", "getHistoryEntry", "createBackup", "backupInfo", "deleteCache", "unpackBackup", "finalizeImport", "rollbackImport", "resolveJsonldContext", "holderRegisterWalletUnit", "holderRefreshWalletUnit", "holderGetWalletUnitAttestation", "uninitialize"];
package/dist/src/core.js CHANGED
@@ -12,6 +12,7 @@ export * from "./organisation";
12
12
  export * from "./proof";
13
13
  export * from "./proofSchema";
14
14
  export * from "./trust";
15
+ export * from "./walletUnit";
15
16
  // New Architecture bridgeless issue workaround: see https://github.com/facebook/react-native/issues/43221
16
17
  export const interfaceMethodNames = [
17
18
  "getVersion",
@@ -77,6 +78,9 @@ export const interfaceMethodNames = [
77
78
  "finalizeImport",
78
79
  "rollbackImport",
79
80
  "resolveJsonldContext",
81
+ "holderRegisterWalletUnit",
82
+ "holderRefreshWalletUnit",
83
+ "holderGetWalletUnitAttestation",
80
84
  "uninitialize",
81
85
  ];
82
86
  // Typescript automatic assertions to keep ONECore and interfaceMethodNames in sync
@@ -146,9 +146,11 @@ export declare enum OpenID4VCITxCodeInputMode {
146
146
  NUMERIC = "NUMERIC",
147
147
  TEXT = "TEXT"
148
148
  }
149
+ /** OID4VCI authorization request parameters. Use either `scope` or `authorizationDetails`. */
149
150
  export interface InitiateIssuanceRequest {
150
151
  organisationId: string;
151
152
  protocol: string;
153
+ /** Issuer URL */
152
154
  issuer: string;
153
155
  clientId: string;
154
156
  redirectUri?: string;
@@ -165,6 +167,7 @@ export interface InitiateIssuanceResponse {
165
167
  export interface ContinueIssuanceResponse {
166
168
  interactionId: string;
167
169
  credentialIds: Array<CredentialListItem["id"]>;
170
+ /** Informs client of API about valid options for issuance including applicable signing algorithms. */
168
171
  credentialConfigurationsSupported: Record<CredentialListItem["id"], CredentialConfigurationSupported>;
169
172
  }
170
173
  export interface CredentialConfigurationSupported {
@@ -173,3 +176,7 @@ export interface CredentialConfigurationSupported {
173
176
  export interface OpenID4VCIProofTypeSupported {
174
177
  proofSigningAlgValuesSupported: string[];
175
178
  }
179
+ export interface AuthorizationCodeFlow {
180
+ interactionId: string;
181
+ authorizationCodeFlowUrl: string;
182
+ }
@@ -38,7 +38,9 @@ export declare enum HistoryEntityTypeEnum {
38
38
  ORGANISATION = "ORGANISATION",
39
39
  BACKUP = "BACKUP",
40
40
  TRUST_ANCHOR = "TRUST_ANCHOR",
41
- TRUST_ENTITY = "TRUST_ENTITY"
41
+ TRUST_ENTITY = "TRUST_ENTITY",
42
+ WALLET_UNIT = "WALLET_UNIT",
43
+ WALLET_UNIT_ATTESTATION = "WALLET_UNIT_ATTESTATION"
42
44
  }
43
45
  export declare enum HistorySearchTypeEnum {
44
46
  CLAIM_NAME = "CLAIM_NAME",
@@ -72,7 +74,10 @@ export interface HistoryErrorMetadata {
72
74
  errorCode: string;
73
75
  message: string;
74
76
  }
75
- export type HistoryMetadata = UnexportableEntities | HistoryErrorMetadata;
77
+ export interface WalletUnitJWT {
78
+ jwt: string;
79
+ }
80
+ export type HistoryMetadata = UnexportableEntities | HistoryErrorMetadata | WalletUnitJWT;
76
81
  export interface HistoryListItem {
77
82
  id: string;
78
83
  createdDate: string;
@@ -39,6 +39,8 @@ export var HistoryEntityTypeEnum;
39
39
  HistoryEntityTypeEnum["BACKUP"] = "BACKUP";
40
40
  HistoryEntityTypeEnum["TRUST_ANCHOR"] = "TRUST_ANCHOR";
41
41
  HistoryEntityTypeEnum["TRUST_ENTITY"] = "TRUST_ENTITY";
42
+ HistoryEntityTypeEnum["WALLET_UNIT"] = "WALLET_UNIT";
43
+ HistoryEntityTypeEnum["WALLET_UNIT_ATTESTATION"] = "WALLET_UNIT_ATTESTATION";
42
44
  })(HistoryEntityTypeEnum || (HistoryEntityTypeEnum = {}));
43
45
  export var HistorySearchTypeEnum;
44
46
  (function (HistorySearchTypeEnum) {
@@ -1,4 +1,4 @@
1
- import { CredentialDetail, CredentialListItem } from "./credential";
1
+ import { Claim, CredentialDetail, CredentialListItem } from "./credential";
2
2
  import { CredentialSchema } from "./credentialSchema";
3
3
  import { ListQuery, SortDirection } from "./list";
4
4
  import { ProofInputClaimSchema, ProofSchemaListItem } from "./proofSchema";
@@ -120,7 +120,7 @@ export interface PresentationDefinitionField {
120
120
  name?: string;
121
121
  purpose?: string;
122
122
  required: boolean;
123
- keyMap: Record<string, string>;
123
+ keyMap: Record<CredentialListItem["id"], Claim["key"]>;
124
124
  }
125
125
  export interface PresentationSubmitCredentialRequest {
126
126
  credentialId: CredentialListItem["id"];
@@ -0,0 +1,33 @@
1
+ import { KeyListItem } from "./key";
2
+ export declare enum WalletProviderTypeEnum {
3
+ PROCIVIS_ONE = "PROCIVIS_ONE"
4
+ }
5
+ export declare enum WalletUnitStatusEnum {
6
+ ACTIVE = "ACTIVE",
7
+ REVOKED = "REVOKED"
8
+ }
9
+ export interface WalletProvider {
10
+ url: string;
11
+ type: WalletProviderTypeEnum;
12
+ name: string;
13
+ }
14
+ export interface HolderRegisterWalletUnitRequest {
15
+ organisationId: string;
16
+ walletProvider: WalletProvider;
17
+ keyId: KeyListItem["id"];
18
+ }
19
+ export interface HolderRefreshWalletUnitRequest {
20
+ organisationId: string;
21
+ }
22
+ export interface HolderAttestationWalletUnitResponse {
23
+ id: string;
24
+ createdDate: string;
25
+ lastModified: string;
26
+ expirationDate: string;
27
+ status: WalletUnitStatusEnum;
28
+ attestation: string;
29
+ walletUnitId: string;
30
+ walletProviderUrl: string;
31
+ walletProviderType: WalletProviderTypeEnum;
32
+ walletProviderName: string;
33
+ }
@@ -0,0 +1,9 @@
1
+ export var WalletProviderTypeEnum;
2
+ (function (WalletProviderTypeEnum) {
3
+ WalletProviderTypeEnum["PROCIVIS_ONE"] = "PROCIVIS_ONE";
4
+ })(WalletProviderTypeEnum || (WalletProviderTypeEnum = {}));
5
+ export var WalletUnitStatusEnum;
6
+ (function (WalletUnitStatusEnum) {
7
+ WalletUnitStatusEnum["ACTIVE"] = "ACTIVE";
8
+ WalletUnitStatusEnum["REVOKED"] = "REVOKED";
9
+ })(WalletUnitStatusEnum || (WalletUnitStatusEnum = {}));
@@ -63,9 +63,7 @@ RCT_EXTERN_METHOD(deleteIdentifier:(NSString *)identifierId
63
63
  resolver:(RCTPromiseResolveBlock)resolve
64
64
  rejecter:(RCTPromiseRejectBlock)reject)
65
65
 
66
- RCT_EXTERN_METHOD(handleInvitation:(NSString *)url
67
- organisationId:(NSString *)organisationId
68
- transport:(NSArray *)transport
66
+ RCT_EXTERN_METHOD(handleInvitation:(NSDictionary *)request
69
67
  resolver:(RCTPromiseResolveBlock)resolve
70
68
  rejecter:(RCTPromiseRejectBlock)reject)
71
69
 
@@ -279,6 +277,18 @@ RCT_EXTERN_METHOD(resolveJsonldContext:(NSString *)url
279
277
  resolver:(RCTPromiseResolveBlock)resolve
280
278
  rejecter:(RCTPromiseRejectBlock)reject)
281
279
 
280
+ RCT_EXTERN_METHOD(holderRegisterWalletUnit:(NSDictionary *)request
281
+ resolver:(RCTPromiseResolveBlock)resolve
282
+ rejecter:(RCTPromiseRejectBlock)reject)
283
+
284
+ RCT_EXTERN_METHOD(holderRefreshWalletUnit:(NSDictionary *)request
285
+ resolver:(RCTPromiseResolveBlock)resolve
286
+ rejecter:(RCTPromiseRejectBlock)reject)
287
+
288
+ RCT_EXTERN_METHOD(holderGetWalletUnitAttestation:(NSString *)organisationId
289
+ resolver:(RCTPromiseResolveBlock)resolve
290
+ rejecter:(RCTPromiseRejectBlock)reject)
291
+
282
292
  RCT_EXTERN_METHOD(uninitialize:(BOOL *)deleteData
283
293
  resolver:(RCTPromiseResolveBlock)resolve
284
294
  rejecter:(RCTPromiseRejectBlock)reject)
@@ -208,20 +208,14 @@ class ProcivisOneCoreModule: RCTEventEmitter {
208
208
  }
209
209
  }
210
210
 
211
- @objc(handleInvitation:organisationId:transport:resolver:rejecter:)
211
+ @objc(handleInvitation:resolver:rejecter:)
212
212
  func handleInvitation(
213
- url: String,
214
- organisationId: String,
215
- transport: NSArray?,
213
+ request: NSDictionary,
216
214
  resolve: @escaping RCTPromiseResolveBlock,
217
215
  reject: @escaping RCTPromiseRejectBlock
218
216
  ) {
219
217
  asyncCall(resolve, reject) {
220
- let result = try await self.getCore().handleInvitation(
221
- url: url,
222
- organisationId: organisationId,
223
- transport: try deserializeOpt(transport)
224
- )
218
+ let result = try await self.getCore().handleInvitation(request: try deserialize(request))
225
219
  return try serializeAny(result)
226
220
  }
227
221
  }
@@ -864,6 +858,42 @@ class ProcivisOneCoreModule: RCTEventEmitter {
864
858
  }
865
859
  }
866
860
 
861
+ @objc(holderRegisterWalletUnit:resolver:rejecter:)
862
+ func holderRegisterWalletUnit(
863
+ request: NSDictionary,
864
+ resolve: @escaping RCTPromiseResolveBlock,
865
+ reject: @escaping RCTPromiseRejectBlock
866
+ ) {
867
+ asyncCall(resolve, reject) {
868
+ try await self.getCore().holderRegisterWalletUnit(request: try deserialize(request))
869
+ return nil as NSDictionary?
870
+ }
871
+ }
872
+
873
+ @objc(holderRefreshWalletUnit:resolver:rejecter:)
874
+ func holderRefreshWalletUnit(
875
+ request: NSDictionary,
876
+ resolve: @escaping RCTPromiseResolveBlock,
877
+ reject: @escaping RCTPromiseRejectBlock
878
+ ) {
879
+ asyncCall(resolve, reject) {
880
+ try await self.getCore().holderRefreshWalletUnit(request: try deserialize(request))
881
+ return nil as NSDictionary?
882
+ }
883
+ }
884
+
885
+ @objc(holderGetWalletUnitAttestation:resolver:rejecter:)
886
+ func holderGetWalletUnitAttestation(
887
+ organisationId: String,
888
+ resolve: @escaping RCTPromiseResolveBlock,
889
+ reject: @escaping RCTPromiseRejectBlock
890
+ ) {
891
+ asyncCall(resolve, reject) {
892
+ let result = try await self.getCore().holderGetWalletUnitAttestation(organisationId: organisationId)
893
+ return try serializeAny(result)
894
+ }
895
+ }
896
+
867
897
  @objc(uninitialize:resolver:rejecter:)
868
898
  func uninitialize(
869
899
  deleteData: Bool,
@@ -51,6 +51,8 @@ private func serialize(historyMetadata: HistoryMetadataBinding) throws -> Any {
51
51
  return try serializeAny(value);
52
52
  case let .errorMetadata(value):
53
53
  return try serializeAny(value);
54
+ case let .walletUnitJwt(value):
55
+ return ["jwt": value] as NSDictionary;
54
56
  }
55
57
  }
56
58
 
@@ -111,5 +113,11 @@ private func serialize(invitationResponse: HandleInvitationResponseBindingEnum)
111
113
  "interactionId": interactionId,
112
114
  "proofId": proofId
113
115
  ];
116
+
117
+ case let .authorizationCodeFlow(interactionId, authorizationCodeFlowUrl):
118
+ return [
119
+ "interactionId": interactionId,
120
+ "authorizationCodeFlowUrl": authorizationCodeFlowUrl
121
+ ];
114
122
  }
115
123
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procivis/react-native-one-core",
3
- "version": "1.56306.0",
3
+ "version": "1.58802.0",
4
4
  "author": "Procivis AG (https://procivis.ch)",
5
5
  "license": "Apache-2.0",
6
6
  "description": "ONE core bindings for React Native",