@procivis/react-native-one-core 1.55153.0 → 1.56306.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.
@@ -51,49 +51,6 @@ object DeserializeSpecific {
51
51
  return result
52
52
  }
53
53
 
54
- fun historyListQuery(query: ReadableMap): HistoryListQueryBindingDto {
55
- return HistoryListQueryBindingDto(
56
- page = query.getUInt("page")!!,
57
- pageSize = query.getUInt("pageSize")!!,
58
- organisationId = query.getString("organisationId").toString(),
59
- entityId = query.getString("entityId"),
60
- actions = opt(query.getArray("actions")) { types ->
61
- enumList(types, HistoryActionBindingEnum::valueOf)
62
- },
63
- entityTypes = opt(query.getArray("entityTypes")) { types ->
64
- enumList(types, HistoryEntityTypeBindingEnum::valueOf)
65
- },
66
- createdDateFrom = query.getString("createdDateFrom"),
67
- createdDateTo = query.getString("createdDateTo"),
68
- identifierId = query.getString("identifierId"),
69
- credentialId = query.getString("credentialId"),
70
- credentialSchemaId = query.getString("credentialSchemaId"),
71
- search = historySearch(
72
- query.getString("searchText"),
73
- query.getString("searchType"),
74
- ),
75
- proofSchemaId = query.getString("proofSchemaId"),
76
- )
77
- }
78
-
79
- private fun historySearch(text: String?, type: String?): HistorySearchBindingDto? {
80
- if (text == null) {
81
- return null
82
- }
83
-
84
- return HistorySearchBindingDto(
85
- text = text,
86
- type = opt(type, HistorySearchEnumBindingEnum::valueOf),
87
- )
88
- }
89
-
90
- private fun <F, T> opt(input: F?, fn: (F) -> T): T? {
91
- if (input == null) {
92
- return null
93
- }
94
- return fn(input)
95
- }
96
-
97
54
  fun <T> enumList(entries: ReadableArray, fn: (String) -> T): List<T> {
98
55
  val result = mutableListOf<T>()
99
56
  for (n in 0 until entries.size()) {
@@ -213,6 +213,22 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
213
213
  }
214
214
  }
215
215
 
216
+ @ReactMethod
217
+ fun initiateIssuance(request: ReadableMap, promise: Promise) {
218
+ asyncCall(promise, scope) {
219
+ val response = getCore().initiateIssuance(construct(request))
220
+ return@asyncCall convertToRN(response)
221
+ }
222
+ }
223
+
224
+ @ReactMethod
225
+ fun continueIssuance(url: String, promise: Promise) {
226
+ asyncCall(promise, scope) {
227
+ val response = getCore().continueIssuance(url)
228
+ return@asyncCall convertToRN(response)
229
+ }
230
+ }
231
+
216
232
  @ReactMethod
217
233
  fun getPresentationDefinition(proofId: String, promise: Promise) {
218
234
  asyncCall(promise, scope) {
@@ -406,8 +422,7 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
406
422
  @ReactMethod
407
423
  fun getHistory(query: ReadableMap, promise: Promise) {
408
424
  asyncCall(promise, scope) {
409
- val listQuery = DeserializeSpecific.historyListQuery(query)
410
- val history = getCore().getHistoryList(listQuery)
425
+ val history = getCore().getHistoryList(construct(query))
411
426
  return@asyncCall convertToRN(history)
412
427
  }
413
428
  }
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/55153/onecore-debug.aar",
5
- "sha1": "64fe69b634b975424de58275f51e30a0f10fcc22"
4
+ "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/56306/onecore-debug.aar",
5
+ "sha1": "fa86f918237f414fa8a2581bcd0ef33b386acac4"
6
6
  },
7
7
  "release": {
8
- "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/55153/onecore-release.aar",
9
- "sha1": "d626bb161fdc8ba5e1e98a2ac2a43efb10fce37a"
8
+ "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/android/56306/onecore-release.aar",
9
+ "sha1": "59a02d824a074e83ddb44ab7b5f29778f0a07fa1"
10
10
  }
11
11
  },
12
12
  "ios": {
13
- "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/ios/55153/deploy.zip",
14
- "sha1": "3208471b1372b8a4f4aac112d3c7a14845a99c0f"
13
+ "url": "https://onetfstatestorage.blob.core.windows.net/core-sdk/ios/56306/deploy.zip",
14
+ "sha1": "aeb5640771f1cba05bf457f5a60ecb48a5670819"
15
15
  }
16
16
  }
@@ -1,6 +1,6 @@
1
1
  import { BackupCreate, ImportBackupMetadata, UnexportableEntities } from "./backup";
2
2
  import { Config } from "./config";
3
- import { CredentialDetail, CredentialListItem, CredentialListQuery, CredentialRevocationCheckResponse, InvitationResultCredentialIssuance } from "./credential";
3
+ import { 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";
@@ -54,6 +54,8 @@ export interface ONECore {
54
54
  handleInvitation(url: string, organisationId: string, transport: string[] | undefined): Promise<InvitationResult>;
55
55
  holderAcceptCredential(interactionId: InvitationResultCredentialIssuance["interactionId"], didId: DidListItem["id"] | undefined, identifierId: IdentifierListItem["id"] | undefined, keyId: string | undefined, txCode: string | undefined): Promise<void>;
56
56
  holderRejectCredential(interactionId: InvitationResultCredentialIssuance["interactionId"]): Promise<void>;
57
+ initiateIssuance(request: InitiateIssuanceRequest): Promise<InitiateIssuanceResponse>;
58
+ continueIssuance(url: string): Promise<ContinueIssuanceResponse>;
57
59
  getPresentationDefinition(proofId: ProofDetail["id"]): Promise<PresentationDefinition>;
58
60
  holderRejectProof(interactionId: InvitationResultProofRequest["interactionId"]): Promise<void>;
59
61
  holderSubmitProof(interactionId: InvitationResultProofRequest["interactionId"], credentials: Record<PresentationDefinitionRequestedCredential["id"], PresentationSubmitCredentialRequest>, didId: DidListItem["id"] | undefined, identifierId: IdentifierListItem["id"] | undefined, keyId: string | undefined): Promise<void>;
@@ -128,4 +130,4 @@ export interface ONECore {
128
130
  */
129
131
  uninitialize(deleteData: boolean): Promise<void>;
130
132
  }
131
- export declare const interfaceMethodNames: readonly ["getVersion", "getConfig", "createOrganisation", "upsertOrganisation", "generateKey", "createDid", "getDids", "createIdentifier", "getIdentifier", "getIdentifiers", "deleteIdentifier", "handleInvitation", "holderAcceptCredential", "holderRejectCredential", "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"];
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"];
package/dist/src/core.js CHANGED
@@ -28,6 +28,8 @@ export const interfaceMethodNames = [
28
28
  "handleInvitation",
29
29
  "holderAcceptCredential",
30
30
  "holderRejectCredential",
31
+ "initiateIssuance",
32
+ "continueIssuance",
31
33
  "getPresentationDefinition",
32
34
  "holderRejectProof",
33
35
  "holderSubmitProof",
@@ -100,6 +100,22 @@ export type CredentialListQuery = ListQuery & {
100
100
  status?: CredentialStateEnum[];
101
101
  profile?: string;
102
102
  include?: CredentialListIncludeEntityType[];
103
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
104
+ createdDateAfter?: string;
105
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
106
+ createdDateBefore?: string;
107
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
108
+ lastModifiedAfter?: string;
109
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
110
+ lastModifiedBefore?: string;
111
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
112
+ issuanceDateAfter?: string;
113
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
114
+ issuanceDateBefore?: string;
115
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
116
+ revocationDateAfter?: string;
117
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
118
+ revocationDateBefore?: string;
103
119
  } & ({
104
120
  name?: string;
105
121
  searchType?: never;
@@ -119,6 +135,7 @@ export interface InvitationResultCredentialIssuance {
119
135
  interactionId: string;
120
136
  credentialIds: Array<CredentialListItem["id"]>;
121
137
  txCode?: OpenID4VCITxCode;
138
+ credentialConfigurationsSupported: Record<CredentialListItem["id"], CredentialConfigurationSupported>;
122
139
  }
123
140
  export interface OpenID4VCITxCode {
124
141
  inputMode?: OpenID4VCITxCodeInputMode;
@@ -129,3 +146,30 @@ export declare enum OpenID4VCITxCodeInputMode {
129
146
  NUMERIC = "NUMERIC",
130
147
  TEXT = "TEXT"
131
148
  }
149
+ export interface InitiateIssuanceRequest {
150
+ organisationId: string;
151
+ protocol: string;
152
+ issuer: string;
153
+ clientId: string;
154
+ redirectUri?: string;
155
+ scope?: string[];
156
+ authorizationDetails?: InitiateIssuanceAuthorizationDetail[];
157
+ }
158
+ export interface InitiateIssuanceAuthorizationDetail {
159
+ type: string;
160
+ credentialConfigurationId: string;
161
+ }
162
+ export interface InitiateIssuanceResponse {
163
+ url: string;
164
+ }
165
+ export interface ContinueIssuanceResponse {
166
+ interactionId: string;
167
+ credentialIds: Array<CredentialListItem["id"]>;
168
+ credentialConfigurationsSupported: Record<CredentialListItem["id"], CredentialConfigurationSupported>;
169
+ }
170
+ export interface CredentialConfigurationSupported {
171
+ proofTypesSupported: Record<string, OpenID4VCIProofTypeSupported>;
172
+ }
173
+ export interface OpenID4VCIProofTypeSupported {
174
+ proofSigningAlgValuesSupported: string[];
175
+ }
@@ -63,6 +63,14 @@ export interface CredentialSchemaListQuery extends ListQuery {
63
63
  include?: CredentialSchemaListIncludeEntityType[];
64
64
  schemaId?: string;
65
65
  formats?: string[];
66
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
67
+ createdDateAfter?: string;
68
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
69
+ createdDateBefore?: string;
70
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
71
+ lastModifiedAfter?: string;
72
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
73
+ lastModifiedBefore?: string;
66
74
  }
67
75
  export declare enum WalletStorageType {
68
76
  HARDWARE = "HARDWARE",
@@ -55,15 +55,18 @@ export interface HistoryListQuery extends ListQuery {
55
55
  actions?: HistoryActionEnum[];
56
56
  entityTypes?: HistoryEntityTypeEnum[];
57
57
  /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
58
- createdDateFrom?: string;
58
+ createdDateAfter?: string;
59
59
  /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
60
- createdDateTo?: string;
60
+ createdDateBefore?: string;
61
61
  identifierId?: string;
62
62
  credentialId?: string;
63
63
  credentialSchemaId?: string;
64
64
  proofSchemaId?: string;
65
- searchText?: string;
66
- searchType?: HistorySearchTypeEnum;
65
+ search?: HistoryListSearch;
66
+ }
67
+ export interface HistoryListSearch {
68
+ text: string;
69
+ type?: HistorySearchTypeEnum;
67
70
  }
68
71
  export interface HistoryErrorMetadata {
69
72
  errorCode: string;
@@ -122,4 +122,12 @@ export interface IdentifierListQuery extends ListQuery {
122
122
  keyAlgorithms?: string[];
123
123
  keyRoles?: KeyRoleEnum[];
124
124
  keyStorages?: string[];
125
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
126
+ createdDateAfter?: string;
127
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
128
+ createdDateBefore?: string;
129
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
130
+ lastModifiedAfter?: string;
131
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
132
+ lastModifiedBefore?: string;
125
133
  }
@@ -145,6 +145,22 @@ export interface ProofListQuery extends ListQuery {
145
145
  proofSchemaIds?: string[];
146
146
  exact?: ExactProofFilterColumnEnum[];
147
147
  profile?: string;
148
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
149
+ createdDateAfter?: string;
150
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
151
+ createdDateBefore?: string;
152
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
153
+ lastModifiedAfter?: string;
154
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
155
+ lastModifiedBefore?: string;
156
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
157
+ requestedDateAfter?: string;
158
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
159
+ requestedDateBefore?: string;
160
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
161
+ completedDateAfter?: string;
162
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
163
+ completedDateBefore?: string;
148
164
  }
149
165
  export interface ProposeProofResponse {
150
166
  proofId: string;
@@ -49,6 +49,14 @@ export interface ProofSchemaListQuery extends ListQuery {
49
49
  exact?: ExactProofSchemaFilterColumnEnum[];
50
50
  ids?: Array<ProofSchema["id"]>;
51
51
  formats?: string[];
52
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
53
+ createdDateAfter?: string;
54
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
55
+ createdDateBefore?: string;
56
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
57
+ lastModifiedAfter?: string;
58
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
59
+ lastModifiedBefore?: string;
52
60
  }
53
61
  export interface ImportProofSchemaRequest {
54
62
  organisationId: string;
@@ -40,6 +40,14 @@ export interface TrustAnchorListQuery extends Omit<ListQuery, "organisationId">
40
40
  exact?: ExactTrustAnchorFilterColumnEnum[];
41
41
  type?: string;
42
42
  isPublisher?: boolean;
43
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
44
+ createdDateAfter?: string;
45
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
46
+ createdDateBefore?: string;
47
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
48
+ lastModifiedAfter?: string;
49
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
50
+ lastModifiedBefore?: string;
43
51
  }
44
52
  export interface TrustEntityListItem {
45
53
  id: string;
@@ -106,6 +114,14 @@ export interface TrustEntityListQuery {
106
114
  exact?: ExactTrustEntityFilterColumnEnum[];
107
115
  type?: string;
108
116
  isPublisher?: boolean;
117
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
118
+ createdDateAfter?: string;
119
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
120
+ createdDateBefore?: string;
121
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
122
+ lastModifiedAfter?: string;
123
+ /** accepts the RFC3339 format, e.g. use the {@link Date.toISOString} */
124
+ lastModifiedBefore?: string;
109
125
  }
110
126
  export declare enum SortableTrustEntityColumnEnum {
111
127
  NAME = "NAME",
@@ -79,17 +79,6 @@ private func deserializeSpecific(_ value: Any, _ type: Any.Type, _ codingPath: [
79
79
  return deserializeCredentialSchemaTypeBindingEnum(data)
80
80
  }
81
81
 
82
- if type == HistoryListQueryBindingDto.self {
83
- guard let data = value as? NSDictionary else {
84
- let description = "Expected to decode \(type) but found '\(value)' instead."
85
- throw DecodingError.typeMismatch(
86
- type,
87
- DecodingError.Context(codingPath: codingPath, debugDescription: description)
88
- )
89
- }
90
- return try deserializeHistoryListQuery(data)
91
- }
92
-
93
82
  if type == OptionalString.self {
94
83
  if value is NSNull {
95
84
  return OptionalString.none
@@ -124,38 +113,3 @@ private func deserializeCredentialSchemaTypeBindingEnum(_ credentialSchemaType:
124
113
  return .other(value: other)
125
114
  }
126
115
  }
127
-
128
- private func deserializeHistoryListQuery(_ query: NSDictionary) throws -> HistoryListQueryBindingDto
129
- {
130
- return HistoryListQueryBindingDto(
131
- page: try safeCast(query.value(forKey: "page")),
132
- pageSize: try safeCast(query.value(forKey: "pageSize")),
133
- organisationId: try safeCast(query.value(forKey: "organisationId")),
134
- entityId: query.value(forKey: "entityId") as? String,
135
- entityTypes: try opt(query.value(forKey: "entityTypes") as? NSArray, enumList),
136
- actions: try opt(query.value(forKey: "actions") as? NSArray, enumList),
137
- createdDateFrom: query.value(forKey: "createdDateFrom") as? String,
138
- createdDateTo: query.value(forKey: "createdDateTo") as? String,
139
- identifierId: query.value(forKey: "identifierId") as? String,
140
- credentialId: query.value(forKey: "credentialId") as? String,
141
- credentialSchemaId: query.value(forKey: "credentialSchemaId") as? String,
142
- proofSchemaId: query.value(forKey: "proofSchemaId") as? String,
143
- search: try deserializeHistorySearch(
144
- text: query.value(forKey: "searchText") as? String,
145
- type: query.value(forKey: "searchType") as? String
146
- )
147
- )
148
- }
149
-
150
- private func deserializeHistorySearch(text: String?, type: String?) throws
151
- -> HistorySearchBindingDto?
152
- {
153
- if text == nil {
154
- return nil
155
- }
156
-
157
- return HistorySearchBindingDto(
158
- text: text!,
159
- type: try opt(type, deserializeEnum)
160
- )
161
- }
@@ -81,6 +81,14 @@ RCT_EXTERN_METHOD(holderRejectCredential:(NSString *)interactionId
81
81
  resolver:(RCTPromiseResolveBlock)resolve
82
82
  rejecter:(RCTPromiseRejectBlock)reject)
83
83
 
84
+ RCT_EXTERN_METHOD(initiateIssuance:(NSDictionary *)request
85
+ resolver:(RCTPromiseResolveBlock)resolve
86
+ rejecter:(RCTPromiseRejectBlock)reject)
87
+
88
+ RCT_EXTERN_METHOD(continueIssuance:(NSString *)url
89
+ resolver:(RCTPromiseResolveBlock)resolve
90
+ rejecter:(RCTPromiseRejectBlock)reject)
91
+
84
92
  RCT_EXTERN_METHOD(getPresentationDefinition:(NSString *)proofId
85
93
  resolver:(RCTPromiseResolveBlock)resolve
86
94
  rejecter:(RCTPromiseRejectBlock)reject)
@@ -260,6 +260,30 @@ class ProcivisOneCoreModule: RCTEventEmitter {
260
260
  }
261
261
  }
262
262
 
263
+ @objc(initiateIssuance:resolver:rejecter:)
264
+ func initiateIssuance(
265
+ request: NSDictionary,
266
+ resolve: @escaping RCTPromiseResolveBlock,
267
+ reject: @escaping RCTPromiseRejectBlock
268
+ ) {
269
+ asyncCall(resolve, reject) {
270
+ let result = try await self.getCore().initiateIssuance(request: try deserialize(request))
271
+ return try serializeAny(result)
272
+ }
273
+ }
274
+
275
+ @objc(continueIssuance:resolver:rejecter:)
276
+ func continueIssuance(
277
+ url: String,
278
+ resolve: @escaping RCTPromiseResolveBlock,
279
+ reject: @escaping RCTPromiseRejectBlock
280
+ ) {
281
+ asyncCall(resolve, reject) {
282
+ let result = try await self.getCore().continueIssuance(url: url)
283
+ return try serializeAny(result)
284
+ }
285
+ }
286
+
263
287
  @objc(getPresentationDefinition:resolver:rejecter:)
264
288
  func getPresentationDefinition(
265
289
  proofId: String,
@@ -710,7 +734,7 @@ class ProcivisOneCoreModule: RCTEventEmitter {
710
734
  return try serializeAny(trustEntity)
711
735
  }
712
736
  }
713
-
737
+
714
738
  @objc(resolveTrustEntityByIdentifier:resolver:rejecter:)
715
739
  func resolveTrustEntityByIdentifier(
716
740
  request: NSDictionary,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@procivis/react-native-one-core",
3
- "version": "1.55153.0",
3
+ "version": "1.56306.0",
4
4
  "author": "Procivis AG (https://procivis.ch)",
5
5
  "license": "Apache-2.0",
6
6
  "description": "ONE core bindings for React Native",