@procivis/react-native-one-core 1.101239.0 → 1.109666.1
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/README.md +31 -34
- package/android/src/main/java/ch/procivis/one/core/ProcivisOneCoreModule.kt +23 -93
- package/android/src/main/java/ch/procivis/one/core/Serialize.kt +8 -0
- package/android/src/main/java/ch/procivis/one/core/SerializeSpecific.kt +8 -0
- package/core-sdk.json +6 -6
- package/dist/index.js +5 -1
- package/dist/src/config.d.ts +3 -10
- package/dist/src/config.js +0 -5
- package/dist/src/core.d.ts +1 -1
- package/dist/src/core.js +3 -12
- package/dist/src/one-core-uniffi-intf.d.ts +283 -250
- package/dist/src/one-core-uniffi-intf.js +18 -51
- package/ios/ProcivisOneCoreModule.m +12 -48
- package/ios/ProcivisOneCoreModule.swift +36 -141
- package/ios/Serialize.swift +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,49 +13,48 @@ The SDK's SSI functionality is powered by the [Procivis One Core][core], a compl
|
|
|
13
13
|
solution capable of powering every element of the digital identity credential lifecycle.
|
|
14
14
|
See the [key features][key] and complete solution [architecture][archi].
|
|
15
15
|
|
|
16
|
-
##
|
|
16
|
+
## Installation
|
|
17
17
|
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
- [EU Digital Identity Ecosystem](#eu-digital-identity-ecosystem)
|
|
22
|
-
- [Interoperability and conformance](#interoperability-and-conformance)
|
|
23
|
-
- [Supported standards](#supported-standards)
|
|
24
|
-
- [Support](#support)
|
|
25
|
-
- [License](#license)
|
|
18
|
+
```bash
|
|
19
|
+
yarn add @procivis/react-native-one-core
|
|
20
|
+
```
|
|
26
21
|
|
|
27
|
-
|
|
22
|
+
### Android
|
|
23
|
+
|
|
24
|
+
Add the following to `android/build.gradle`:
|
|
25
|
+
|
|
26
|
+
```kotlin
|
|
27
|
+
allprojects {
|
|
28
|
+
repositories {
|
|
29
|
+
flatDir { dirs "$rootDir/../node_modules/@procivis/react-native-one-core/android/libs" }
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
```
|
|
33
|
+
|
|
34
|
+
### iOS
|
|
35
|
+
|
|
36
|
+
```bash
|
|
37
|
+
cd ios && pod install
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Documentation
|
|
41
|
+
|
|
42
|
+
Full documentation including configuration, initialization, and SDK reference is available at
|
|
43
|
+
[docs.procivis.ch/sdk][sdkref].
|
|
44
|
+
|
|
45
|
+
## How to use the Procivis One SDK
|
|
28
46
|
|
|
29
47
|
- Use this SDK to embed wallet capabilities into an existing app
|
|
30
48
|
- Use the [Procivis One Wallet][pow] for a free-standing solution that can be white-labeled
|
|
31
49
|
- Use the [One Core React Components][comp] library for UI elements for your digital wallet app
|
|
32
50
|
|
|
33
|
-
##
|
|
34
|
-
|
|
35
|
-
### Trial
|
|
51
|
+
## Procivis One Trial
|
|
36
52
|
|
|
37
53
|
The fastest way to get started with the _Procivis One Wallet_ is to download the app
|
|
38
54
|
from the iOS or Android app stores and [join our Trial Environment][trial].
|
|
39
55
|
In the trial environment, you are given control of an organization on our server
|
|
40
56
|
solution, the _Procivis One Desk_, and can quickly begin issuing and verifying credentials.
|
|
41
57
|
|
|
42
|
-
### Documentation
|
|
43
|
-
|
|
44
|
-
See our documentation:
|
|
45
|
-
|
|
46
|
-
- [SDK docs][sdkref]
|
|
47
|
-
- [Docs home][docs]
|
|
48
|
-
|
|
49
|
-
## Background
|
|
50
|
-
|
|
51
|
-
Decentralized digital identities and credentials is an approach to identity that relocates
|
|
52
|
-
digital credentials from the possession and control of centralized authorities to the
|
|
53
|
-
digital wallet of the credentials holder. This architecture eliminates the need for the
|
|
54
|
-
user to "phone home" to use their credentials as well as the verifier to communicate to
|
|
55
|
-
the issuer via back-channels, keeping the wallet holder's interactions private between only
|
|
56
|
-
those parties directly involved in each interaction. This model of digital identity is
|
|
57
|
-
often referred to as Self-Sovereign Identity, or SSI.
|
|
58
|
-
|
|
59
58
|
## EU Digital Identity Ecosystem
|
|
60
59
|
|
|
61
60
|

|
|
@@ -122,16 +121,15 @@ and regulations mature and harden.
|
|
|
122
121
|
|
|
123
122
|
- OpenID4VCI (Issuance)
|
|
124
123
|
- [v1.0][vci1]
|
|
125
|
-
- [ID-1][vci]
|
|
126
124
|
- OpenID4VP (Verification)
|
|
127
125
|
- [v1.0][vp1.0]
|
|
128
126
|
- [Draft 25][vp25]
|
|
129
127
|
- [Draft 20][vp20]
|
|
130
128
|
- [OID4VP over BLE][ble]; optimized version of Draft 00
|
|
131
129
|
- OID4VP over MQTT; proprietary adaptation of "OID4VP over BLE" via MQTT channel
|
|
132
|
-
- ISO/IEC 18013
|
|
130
|
+
- ISO/IEC 18013 (Verification)
|
|
133
131
|
- [18013-5][iso5]: Device engagement using either NFC or QR Code, data retrieval using BLE
|
|
134
|
-
- [18013-7][iso7]: Online data retrieval via OID4VP
|
|
132
|
+
- [18013-7 Annex B][iso7]: Online data retrieval via OID4VP
|
|
135
133
|
|
|
136
134
|
### Key storage
|
|
137
135
|
|
|
@@ -199,7 +197,6 @@ Version 2.0](./LICENSE).
|
|
|
199
197
|
[tsl]: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-status-list-03
|
|
200
198
|
[vcdi]: https://www.w3.org/TR/vc-data-integrity/
|
|
201
199
|
[vcdm]: https://www.w3.org/TR/vc-data-model-2.0/
|
|
202
|
-
[vci]: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0-ID1.html
|
|
203
200
|
[vci1]: https://openid.net/specs/openid-4-verifiable-credential-issuance-1_0.html
|
|
204
201
|
[vp1.0]: https://openid.net/specs/openid-4-verifiable-presentations-1_0-final.html
|
|
205
202
|
[vp20]: https://openid.net/specs/openid-4-verifiable-presentations-1_0-20.html
|
|
@@ -130,6 +130,14 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
+
@ReactMethod
|
|
134
|
+
fun getOrganisation(organisationId: String, promise: Promise) {
|
|
135
|
+
asyncCall(promise, scope) {
|
|
136
|
+
val organisation = getCore().getOrganisation(organisationId)
|
|
137
|
+
return@asyncCall convertToRN(organisation)
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
|
|
133
141
|
@ReactMethod
|
|
134
142
|
fun generateKey(keyRequest: ReadableMap, promise: Promise) {
|
|
135
143
|
asyncCall(promise, scope) {
|
|
@@ -212,6 +220,14 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
|
|
|
212
220
|
}
|
|
213
221
|
}
|
|
214
222
|
|
|
223
|
+
@ReactMethod
|
|
224
|
+
fun holderRefreshCredential(interactionId: String, promise: Promise) {
|
|
225
|
+
asyncCall(promise, scope) {
|
|
226
|
+
val result = getCore().holderRefreshCredential(interactionId)
|
|
227
|
+
return@asyncCall convertToRN(result)
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
215
231
|
@ReactMethod
|
|
216
232
|
fun initiateIssuance(request: ReadableMap, promise: Promise) {
|
|
217
233
|
asyncCall(promise, scope) {
|
|
@@ -374,6 +390,13 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
|
|
|
374
390
|
}
|
|
375
391
|
}
|
|
376
392
|
|
|
393
|
+
@ReactMethod
|
|
394
|
+
fun createCredentialSchema(request: ReadableMap, promise: Promise) {
|
|
395
|
+
asyncCall(promise, scope) {
|
|
396
|
+
return@asyncCall getCore().createCredentialSchema(construct(request))
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
377
400
|
@ReactMethod
|
|
378
401
|
fun listCredentialSchemas(query: ReadableMap, promise: Promise) {
|
|
379
402
|
asyncCall(promise, scope) {
|
|
@@ -512,99 +535,6 @@ class ProcivisOneCoreModule(reactContext: ReactApplicationContext) :
|
|
|
512
535
|
}
|
|
513
536
|
}
|
|
514
537
|
|
|
515
|
-
@ReactMethod
|
|
516
|
-
fun createTrustAnchor(request: ReadableMap, promise: Promise) {
|
|
517
|
-
asyncCall(promise, scope) {
|
|
518
|
-
return@asyncCall getCore().createTrustAnchor(construct(request))
|
|
519
|
-
}
|
|
520
|
-
}
|
|
521
|
-
|
|
522
|
-
@ReactMethod
|
|
523
|
-
fun deleteTrustAnchor(trustAnchorId: String, promise: Promise) {
|
|
524
|
-
asyncCall(promise, scope) {
|
|
525
|
-
return@asyncCall getCore().deleteTrustAnchor(trustAnchorId)
|
|
526
|
-
}
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
@ReactMethod
|
|
530
|
-
fun getTrustAnchor(trustAnchorId: String, promise: Promise) {
|
|
531
|
-
asyncCall(promise, scope) {
|
|
532
|
-
val trustAnchor = getCore().getTrustAnchor(trustAnchorId)
|
|
533
|
-
return@asyncCall convertToRN(trustAnchor)
|
|
534
|
-
}
|
|
535
|
-
}
|
|
536
|
-
|
|
537
|
-
@ReactMethod
|
|
538
|
-
fun listTrustAnchors(query: ReadableMap, promise: Promise) {
|
|
539
|
-
asyncCall(promise, scope) {
|
|
540
|
-
val trustAnchors = getCore().listTrustAnchors(construct(query))
|
|
541
|
-
return@asyncCall convertToRN(trustAnchors)
|
|
542
|
-
}
|
|
543
|
-
}
|
|
544
|
-
|
|
545
|
-
@ReactMethod
|
|
546
|
-
fun createTrustEntity(request: ReadableMap, promise: Promise) {
|
|
547
|
-
asyncCall(promise, scope) {
|
|
548
|
-
return@asyncCall getCore().createTrustEntity(construct(request))
|
|
549
|
-
}
|
|
550
|
-
}
|
|
551
|
-
|
|
552
|
-
@ReactMethod
|
|
553
|
-
fun getTrustEntity(trustEntityId: String, promise: Promise) {
|
|
554
|
-
asyncCall(promise, scope) {
|
|
555
|
-
val trustEntity = getCore().getTrustEntity(trustEntityId)
|
|
556
|
-
return@asyncCall convertToRN(trustEntity)
|
|
557
|
-
}
|
|
558
|
-
}
|
|
559
|
-
|
|
560
|
-
@ReactMethod
|
|
561
|
-
fun listTrustEntities(query: ReadableMap, promise: Promise) {
|
|
562
|
-
asyncCall(promise, scope) {
|
|
563
|
-
val trustEntity = getCore().listTrustEntities(construct(query))
|
|
564
|
-
return@asyncCall convertToRN(trustEntity)
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
@ReactMethod
|
|
570
|
-
fun getTrustEntityByDid(didId: String, promise: Promise) {
|
|
571
|
-
asyncCall(promise, scope) {
|
|
572
|
-
val trustEntity = getCore().getTrustEntityByDid(didId)
|
|
573
|
-
return@asyncCall convertToRN(trustEntity)
|
|
574
|
-
}
|
|
575
|
-
}
|
|
576
|
-
|
|
577
|
-
@ReactMethod
|
|
578
|
-
fun resolveTrustEntityByIdentifier(request: ReadableMap, promise: Promise) {
|
|
579
|
-
asyncCall(promise, scope) {
|
|
580
|
-
val trustEntities = getCore().resolveTrustEntityByIdentifier(construct(request))
|
|
581
|
-
return@asyncCall convertToRN(trustEntities)
|
|
582
|
-
}
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
@ReactMethod
|
|
586
|
-
fun createRemoteTrustEntity(request: ReadableMap, promise: Promise) {
|
|
587
|
-
asyncCall(promise, scope) {
|
|
588
|
-
return@asyncCall getCore().createRemoteTrustEntity(construct(request))
|
|
589
|
-
}
|
|
590
|
-
}
|
|
591
|
-
|
|
592
|
-
@ReactMethod
|
|
593
|
-
fun updateRemoteTrustEntity(request: ReadableMap, promise: Promise) {
|
|
594
|
-
asyncCall(promise, scope) {
|
|
595
|
-
getCore().updateRemoteTrustEntity(construct(request))
|
|
596
|
-
return@asyncCall null
|
|
597
|
-
}
|
|
598
|
-
}
|
|
599
|
-
|
|
600
|
-
@ReactMethod
|
|
601
|
-
fun getRemoteTrustEntity(didId: String, promise: Promise) {
|
|
602
|
-
asyncCall(promise, scope) {
|
|
603
|
-
val trustEntity = getCore().getRemoteTrustEntity(didId)
|
|
604
|
-
return@asyncCall convertToRN(trustEntity)
|
|
605
|
-
}
|
|
606
|
-
}
|
|
607
|
-
|
|
608
538
|
@ReactMethod
|
|
609
539
|
fun createBackup(password: String, outputPath: String, promise: Promise) {
|
|
610
540
|
asyncCall(promise, scope) {
|
|
@@ -40,6 +40,14 @@ object Serialize {
|
|
|
40
40
|
return Pair(RNType.BOOLEAN, input as Boolean)
|
|
41
41
|
} else if (type == String::class.java || type == java.lang.String::class.java) {
|
|
42
42
|
return Pair(RNType.STRING, input as String)
|
|
43
|
+
} else if (type == UByte::class.java) {
|
|
44
|
+
return Pair(RNType.INT, (input as UByte).toInt())
|
|
45
|
+
} else if (type == UShort::class.java) {
|
|
46
|
+
return Pair(RNType.INT, (input as UShort).toInt())
|
|
47
|
+
} else if (type == UInt::class.java) {
|
|
48
|
+
return Pair(RNType.DOUBLE, (input as UInt).toDouble())
|
|
49
|
+
} else if (type == ULong::class.java) {
|
|
50
|
+
return Pair(RNType.DOUBLE, (input as ULong).toDouble())
|
|
43
51
|
} else if (type == Int::class.java || type == java.lang.Integer::class.java) {
|
|
44
52
|
return Pair(RNType.INT, input as Int)
|
|
45
53
|
} else if (type == Byte::class.java || type == java.lang.Byte::class.java) {
|
|
@@ -81,6 +81,14 @@ object SerializeSpecific {
|
|
|
81
81
|
convertToRN(metadata.value) as ReadableMap
|
|
82
82
|
)
|
|
83
83
|
}
|
|
84
|
+
|
|
85
|
+
is HistoryMetadata.TrustResolution -> {
|
|
86
|
+
result.putString("type_", "TRUST_RESOLUTION")
|
|
87
|
+
result.putMap(
|
|
88
|
+
"value",
|
|
89
|
+
convertToRN(metadata.value) as ReadableMap
|
|
90
|
+
)
|
|
91
|
+
}
|
|
84
92
|
}
|
|
85
93
|
return result
|
|
86
94
|
}
|
package/core-sdk.json
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"android": {
|
|
3
3
|
"debug": {
|
|
4
|
-
"url": "https://onesdk.blob.core.windows.net/core-sdk/
|
|
5
|
-
"sha1": "
|
|
4
|
+
"url": "https://onesdk.blob.core.windows.net/core-sdk/109666/android/onecore-debug.aar",
|
|
5
|
+
"sha1": "282e37ace7c1f2fe5d76801c491ef7d9dc5d5802"
|
|
6
6
|
},
|
|
7
7
|
"release": {
|
|
8
|
-
"url": "https://onesdk.blob.core.windows.net/core-sdk/
|
|
9
|
-
"sha1": "
|
|
8
|
+
"url": "https://onesdk.blob.core.windows.net/core-sdk/109666/android/onecore-release.aar",
|
|
9
|
+
"sha1": "06ac88f54cb4e28b5df88114fe5ec067f21cad0a"
|
|
10
10
|
}
|
|
11
11
|
},
|
|
12
12
|
"ios": {
|
|
13
|
-
"url": "https://onesdk.blob.core.windows.net/core-sdk/
|
|
14
|
-
"sha1": "
|
|
13
|
+
"url": "https://onesdk.blob.core.windows.net/core-sdk/109666/ios/deploy.zip",
|
|
14
|
+
"sha1": "2230a7d583857c37b6938518f6259f006986a757"
|
|
15
15
|
}
|
|
16
16
|
}
|
package/dist/index.js
CHANGED
|
@@ -13,7 +13,11 @@ interfaceMethodNames.forEach((method) => ONE?.[method]);
|
|
|
13
13
|
// Config entities are exposed as serialized JSON, here conversion to structs
|
|
14
14
|
const originalGetConfig = ONE?.getConfig;
|
|
15
15
|
if (originalGetConfig) {
|
|
16
|
-
ONE.getConfig = () => originalGetConfig().then((config) => objectMap(config, (
|
|
16
|
+
ONE.getConfig = () => originalGetConfig().then((config) => objectMap(config, (entityValue) => {
|
|
17
|
+
return typeof entityValue === "string"
|
|
18
|
+
? entityValue
|
|
19
|
+
: objectMap(entityValue, (json) => JSON.parse(json));
|
|
20
|
+
}));
|
|
17
21
|
}
|
|
18
22
|
/**
|
|
19
23
|
* Initialize ONE Core
|
package/dist/src/config.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IdentifierType } from "./one-core-uniffi-intf";
|
|
2
2
|
export declare enum KeyAlgorithmFeature {
|
|
3
3
|
GENERATE_CSR = "GENERATE_CSR"
|
|
4
4
|
}
|
|
@@ -140,14 +140,6 @@ export interface VerificationProtocolCapabilities {
|
|
|
140
140
|
verifierIdentifierTypes: IdentifierType[];
|
|
141
141
|
supportedPresentationDefinition: PresentationDefinitionVersion[];
|
|
142
142
|
}
|
|
143
|
-
export declare enum TrustOperation {
|
|
144
|
-
Publish = "PUBLISH",
|
|
145
|
-
Lookup = "LOOKUP"
|
|
146
|
-
}
|
|
147
|
-
export interface TrustCapabilities {
|
|
148
|
-
operations: TrustOperation[];
|
|
149
|
-
supportedTypes: TrustEntityType[];
|
|
150
|
-
}
|
|
151
143
|
export interface CoreConfig {
|
|
152
144
|
format: ConfigEntities<FormatCapabilities>;
|
|
153
145
|
issuanceProtocol: ConfigEntities<IssuanceProtocolCapabilities>;
|
|
@@ -159,10 +151,11 @@ export interface CoreConfig {
|
|
|
159
151
|
datatype: ConfigEntities<undefined, DataTypeParams>;
|
|
160
152
|
keyAlgorithm: ConfigEntities<KeyAlgorithmCapabilities, {}>;
|
|
161
153
|
keyStorage: ConfigEntities<KeyStorageCapabilities>;
|
|
162
|
-
trustManagement: ConfigEntities<TrustCapabilities>;
|
|
163
154
|
cacheEntities: ConfigEntities;
|
|
164
155
|
task: ConfigEntities;
|
|
165
156
|
credentialIssuer: ConfigEntities<undefined, {}>;
|
|
166
157
|
walletProvider: ConfigEntities;
|
|
158
|
+
verifierProvider: ConfigEntities<undefined, {}>;
|
|
159
|
+
defaultLanguage: string;
|
|
167
160
|
}
|
|
168
161
|
export {};
|
package/dist/src/config.js
CHANGED
|
@@ -58,11 +58,6 @@ export var PresentationDefinitionVersion;
|
|
|
58
58
|
PresentationDefinitionVersion["V1"] = "V1";
|
|
59
59
|
PresentationDefinitionVersion["V2"] = "V2";
|
|
60
60
|
})(PresentationDefinitionVersion || (PresentationDefinitionVersion = {}));
|
|
61
|
-
export var TrustOperation;
|
|
62
|
-
(function (TrustOperation) {
|
|
63
|
-
TrustOperation["Publish"] = "PUBLISH";
|
|
64
|
-
TrustOperation["Lookup"] = "LOOKUP";
|
|
65
|
-
})(TrustOperation || (TrustOperation = {}));
|
|
66
61
|
// Typescript automatic assertions to keep the fields of ONECore Config and typed Config in sync
|
|
67
62
|
/** assert that all fields listed in {@link CoreConfig} exist in {@link Config} */
|
|
68
63
|
const missingFieldsCheck = null;
|
package/dist/src/core.d.ts
CHANGED
|
@@ -10,4 +10,4 @@ export interface ONECore extends Omit<OneCore, "version" | "getConfig"> {
|
|
|
10
10
|
* @hidden
|
|
11
11
|
* New Architecture bridgeless issue workaround: see https://github.com/facebook/react-native/issues/43221
|
|
12
12
|
*/
|
|
13
|
-
export declare const interfaceMethodNames: readonly ["getVersion", "getConfig", "createOrganisation", "upsertOrganisation", "generateKey", "createDid", "listDids", "createIdentifier", "getIdentifier", "listIdentifiers", "deleteIdentifier", "handleInvitation", "holderAcceptCredential", "holderRejectCredential", "initiateIssuance", "continueIssuance", "getPresentationDefinition", "getPresentationDefinitionV2", "holderRejectProof", "holderSubmitProof", "holderSubmitProofV2", "listCredentials", "runTask", "deleteProofClaims", "getCredential", "getCredentialTrustInformation", "deleteCredential", "importCredentialSchema", "getCredentialSchema", "listCredentialSchemas", "deleteCredentialSchema", "createProof", "shareProof", "shareProofSchema", "shareCredentialSchema", "getProof", "getProofTrustInformation", "listProofs", "deleteProof", "proposeProof", "createProofSchema", "listProofSchemas", "getProofSchema", "deleteProofSchema", "importProofSchema", "checkRevocation", "
|
|
13
|
+
export declare const interfaceMethodNames: readonly ["getVersion", "getConfig", "createOrganisation", "upsertOrganisation", "getOrganisation", "generateKey", "createDid", "listDids", "createIdentifier", "getIdentifier", "listIdentifiers", "deleteIdentifier", "handleInvitation", "holderAcceptCredential", "holderRejectCredential", "holderRefreshCredential", "initiateIssuance", "continueIssuance", "getPresentationDefinition", "getPresentationDefinitionV2", "holderRejectProof", "holderSubmitProof", "holderSubmitProofV2", "listCredentials", "runTask", "deleteProofClaims", "getCredential", "getCredentialTrustInformation", "deleteCredential", "importCredentialSchema", "getCredentialSchema", "createCredentialSchema", "listCredentialSchemas", "deleteCredentialSchema", "createProof", "shareProof", "shareProofSchema", "shareCredentialSchema", "getProof", "getProofTrustInformation", "listProofs", "deleteProof", "proposeProof", "createProofSchema", "listProofSchemas", "getProofSchema", "deleteProofSchema", "importProofSchema", "checkRevocation", "listHistory", "getHistoryEntry", "createBackup", "backupInfo", "deleteCache", "unpackBackup", "finalizeImport", "rollbackImport", "resolveJsonldContext", "holderRegisterWalletUnit", "holderWalletUnitStatus", "holderGetWalletUnit", "holderWalletUnitUpdate", "holderGetWalletUnitTrustCollections", "registerVerifierInstance", "updateVerifierInstance", "getVerifierInstanceTrustCollections", "nfcReadIsoMdlEngagement", "nfcStopIsoMdlEngagement", "uninitialize"];
|
package/dist/src/core.js
CHANGED
|
@@ -9,6 +9,7 @@ export const interfaceMethodNames = [
|
|
|
9
9
|
"getConfig",
|
|
10
10
|
"createOrganisation",
|
|
11
11
|
"upsertOrganisation",
|
|
12
|
+
"getOrganisation",
|
|
12
13
|
"generateKey",
|
|
13
14
|
"createDid",
|
|
14
15
|
"listDids",
|
|
@@ -19,6 +20,7 @@ export const interfaceMethodNames = [
|
|
|
19
20
|
"handleInvitation",
|
|
20
21
|
"holderAcceptCredential",
|
|
21
22
|
"holderRejectCredential",
|
|
23
|
+
"holderRefreshCredential",
|
|
22
24
|
"initiateIssuance",
|
|
23
25
|
"continueIssuance",
|
|
24
26
|
"getPresentationDefinition",
|
|
@@ -34,6 +36,7 @@ export const interfaceMethodNames = [
|
|
|
34
36
|
"deleteCredential",
|
|
35
37
|
"importCredentialSchema",
|
|
36
38
|
"getCredentialSchema",
|
|
39
|
+
"createCredentialSchema",
|
|
37
40
|
"listCredentialSchemas",
|
|
38
41
|
"deleteCredentialSchema",
|
|
39
42
|
"createProof",
|
|
@@ -51,18 +54,6 @@ export const interfaceMethodNames = [
|
|
|
51
54
|
"deleteProofSchema",
|
|
52
55
|
"importProofSchema",
|
|
53
56
|
"checkRevocation",
|
|
54
|
-
"createTrustAnchor",
|
|
55
|
-
"deleteTrustAnchor",
|
|
56
|
-
"getTrustAnchor",
|
|
57
|
-
"listTrustAnchors",
|
|
58
|
-
"createTrustEntity",
|
|
59
|
-
"getTrustEntity",
|
|
60
|
-
"listTrustEntities",
|
|
61
|
-
"getTrustEntityByDid",
|
|
62
|
-
"resolveTrustEntityByIdentifier",
|
|
63
|
-
"createRemoteTrustEntity",
|
|
64
|
-
"getRemoteTrustEntity",
|
|
65
|
-
"updateRemoteTrustEntity",
|
|
66
57
|
"listHistory",
|
|
67
58
|
"getHistoryEntry",
|
|
68
59
|
"createBackup",
|