@hyperledger/anoncreds-nodejs 0.1.0 → 0.2.0-dev.10
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 +2 -3
- package/build/NodeJSAnoncreds.d.ts +91 -11
- package/build/NodeJSAnoncreds.js +208 -95
- package/build/NodeJSAnoncreds.js.map +1 -1
- package/build/ffi/alloc.js +1 -1
- package/build/ffi/alloc.js.map +1 -1
- package/build/ffi/conversion.js +1 -1
- package/build/ffi/conversion.js.map +1 -1
- package/build/ffi/index.js +5 -1
- package/build/ffi/index.js.map +1 -1
- package/build/ffi/primitives.d.ts +5 -5
- package/build/ffi/primitives.js +1 -1
- package/build/ffi/primitives.js.map +1 -1
- package/build/ffi/serialize.d.ts +5 -5
- package/build/ffi/serialize.js +3 -3
- package/build/ffi/serialize.js.map +1 -1
- package/build/ffi/structures.d.ts +36 -36
- package/build/ffi/structures.js +21 -19
- package/build/ffi/structures.js.map +1 -1
- package/build/index.js +5 -1
- package/build/index.js.map +1 -1
- package/build/library/NativeBindingInterface.d.ts +5 -7
- package/build/library/bindings.d.ts +134 -56
- package/build/library/bindings.js +98 -23
- package/build/library/bindings.js.map +1 -1
- package/build/library/index.js +5 -1
- package/build/library/index.js.map +1 -1
- package/build/library/register.d.ts +14 -3
- package/build/library/register.js +5 -5
- package/build/library/register.js.map +1 -1
- package/package.json +15 -17
- package/scripts/install.js +15 -0
- package/scripts/arch.js +0 -22
- package/scripts/platform.js +0 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const nativeBindings: {
|
|
2
|
-
readonly anoncreds_buffer_free: readonly [import("ref-napi").Type<void>, readonly [import("ref-struct-di").StructType<{
|
|
2
|
+
readonly anoncreds_buffer_free: readonly [import("@2060.io/ref-napi").Type<void>, readonly [import("ref-struct-di").StructType<{
|
|
3
3
|
len: import("ref-napi").Type<string | number>;
|
|
4
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
4
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
5
5
|
}>]];
|
|
6
6
|
readonly anoncreds_create_credential: readonly ["uint", readonly ["size_t", "size_t", "size_t", "size_t", import("ref-struct-di").StructType<{
|
|
7
7
|
count: import("ref-napi").Type<string | number>;
|
|
@@ -12,12 +12,12 @@ export declare const nativeBindings: {
|
|
|
12
12
|
}>, import("ref-struct-di").StructType<{
|
|
13
13
|
count: import("ref-napi").Type<string | number>;
|
|
14
14
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
15
|
-
}>, "
|
|
16
|
-
readonly anoncreds_create_credential_definition: readonly ["uint", readonly ["string", "size_t", "string", "string", "string", "int8", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>, import("ref-napi").Type<import("ref-napi").Pointer<string | number>>, import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
17
|
-
readonly anoncreds_create_credential_offer: readonly ["uint", readonly ["string", "string", "size_t", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
18
|
-
readonly anoncreds_create_credential_request: readonly ["uint", readonly ["string", "string", "size_t", "string", "string", "size_t", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>, import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
19
|
-
readonly anoncreds_create_link_secret: readonly ["uint", readonly [import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
20
|
-
readonly anoncreds_create_or_update_revocation_state: readonly ["uint", readonly ["size_t", "size_t", "int64", "string", "size_t", "size_t", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
15
|
+
}>, "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
16
|
+
readonly anoncreds_create_credential_definition: readonly ["uint", readonly ["string", "size_t", "string", "string", "string", "int8", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
17
|
+
readonly anoncreds_create_credential_offer: readonly ["uint", readonly ["string", "string", "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
18
|
+
readonly anoncreds_create_credential_request: readonly ["uint", readonly ["string", "string", "size_t", "string", "string", "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
19
|
+
readonly anoncreds_create_link_secret: readonly ["uint", readonly [import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
20
|
+
readonly anoncreds_create_or_update_revocation_state: readonly ["uint", readonly ["size_t", "size_t", "int64", "string", "size_t", "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
21
21
|
readonly anoncreds_create_presentation: readonly ["uint", readonly ["size_t", import("ref-struct-di").StructType<{
|
|
22
22
|
count: import("ref-napi").Type<string | number>;
|
|
23
23
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<import("ref-struct-di").StructObject<{
|
|
@@ -51,31 +51,32 @@ export declare const nativeBindings: {
|
|
|
51
51
|
}>, import("ref-struct-di").StructType<{
|
|
52
52
|
count: import("ref-napi").Type<string | number>;
|
|
53
53
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
54
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
55
|
-
readonly anoncreds_create_revocation_registry_def: readonly ["uint", readonly ["size_t", "string", "string", "string", "string", "int64", "string", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>, import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
54
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
55
|
+
readonly anoncreds_create_revocation_registry_def: readonly ["uint", readonly ["size_t", "string", "string", "string", "string", "int64", "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
56
56
|
readonly anoncreds_create_schema: readonly ["uint", readonly ["string", "string", "string", import("ref-struct-di").StructType<{
|
|
57
57
|
count: import("ref-napi").Type<string | number>;
|
|
58
58
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
59
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
60
|
-
readonly anoncreds_credential_get_attribute: readonly ["uint", readonly ["size_t", "string", import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
59
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
60
|
+
readonly anoncreds_credential_get_attribute: readonly ["uint", readonly ["size_t", "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
61
61
|
readonly anoncreds_encode_credential_attributes: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
62
62
|
count: import("ref-napi").Type<string | number>;
|
|
63
63
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
64
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
65
|
-
readonly anoncreds_generate_nonce: readonly ["uint", readonly [import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
66
|
-
readonly anoncreds_get_current_error: readonly ["uint", readonly [import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
67
|
-
readonly anoncreds_object_free: readonly [import("ref-napi").Type<void>, readonly ["size_t"]];
|
|
68
|
-
readonly
|
|
64
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
65
|
+
readonly anoncreds_generate_nonce: readonly ["uint", readonly [import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
66
|
+
readonly anoncreds_get_current_error: readonly ["uint", readonly [import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
67
|
+
readonly anoncreds_object_free: readonly [import("@2060.io/ref-napi").Type<void>, readonly ["size_t"]];
|
|
68
|
+
readonly anoncreds_string_free: readonly [import("@2060.io/ref-napi").Type<void>, readonly [import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
69
|
+
readonly anoncreds_object_get_json: readonly ["uint", readonly ["size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<import("ref-struct-di").StructObject<{
|
|
69
70
|
len: string | number;
|
|
70
|
-
data: import("ref-napi").Pointer<string | null>;
|
|
71
|
+
data: import("@2060.io/ref-napi").Pointer<string | null>;
|
|
71
72
|
}>>>]];
|
|
72
|
-
readonly anoncreds_object_get_type_name: readonly ["uint", readonly ["size_t", import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
73
|
+
readonly anoncreds_object_get_type_name: readonly ["uint", readonly ["size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
73
74
|
readonly anoncreds_presentation_request_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
74
75
|
len: import("ref-napi").Type<string | number>;
|
|
75
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
76
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
77
|
-
readonly anoncreds_process_credential: readonly ["uint", readonly ["size_t", "size_t", "string", "size_t", "size_t", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
78
|
-
readonly anoncreds_revocation_registry_definition_get_attribute: readonly ["uint", readonly ["size_t", "string", import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
76
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
77
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
78
|
+
readonly anoncreds_process_credential: readonly ["uint", readonly ["size_t", "size_t", "string", "size_t", "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
79
|
+
readonly anoncreds_revocation_registry_definition_get_attribute: readonly ["uint", readonly ["size_t", "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
79
80
|
readonly anoncreds_set_default_logger: readonly ["uint", readonly []];
|
|
80
81
|
readonly anoncreds_verify_presentation: readonly ["uint", readonly ["size_t", "size_t", import("ref-struct-di").StructType<{
|
|
81
82
|
count: import("ref-napi").Type<string | number>;
|
|
@@ -105,71 +106,148 @@ export declare const nativeBindings: {
|
|
|
105
106
|
requested_from_ts: number;
|
|
106
107
|
override_rev_status_list_ts: number;
|
|
107
108
|
}>, number>>;
|
|
108
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<number>>]];
|
|
109
|
-
readonly anoncreds_create_revocation_status_list: readonly ["uint", readonly ["string", "size_t", "
|
|
110
|
-
readonly anoncreds_update_revocation_status_list_timestamp_only: readonly ["uint", readonly ["int64", "size_t", import("ref-napi").Type<import("ref-napi").Pointer<string | number>>]];
|
|
111
|
-
readonly anoncreds_update_revocation_status_list: readonly ["uint", readonly ["
|
|
109
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<number>>]];
|
|
110
|
+
readonly anoncreds_create_revocation_status_list: readonly ["uint", readonly ["size_t", "string", "size_t", "size_t", "string", "int8", "int64", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
111
|
+
readonly anoncreds_update_revocation_status_list_timestamp_only: readonly ["uint", readonly ["int64", "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
112
|
+
readonly anoncreds_update_revocation_status_list: readonly ["uint", readonly ["size_t", "size_t", "size_t", "size_t", import("ref-struct-di").StructType<{
|
|
112
113
|
count: import("ref-napi").Type<string | number>;
|
|
113
114
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<number, number>>;
|
|
114
115
|
}>, import("ref-struct-di").StructType<{
|
|
115
116
|
count: import("ref-napi").Type<string | number>;
|
|
116
117
|
data: import("ref-napi").Type<import("ref-array-di").TypedArray<number, number>>;
|
|
117
|
-
}>, "
|
|
118
|
+
}>, "int64", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
118
119
|
readonly anoncreds_version: readonly ["string", readonly []];
|
|
119
120
|
readonly anoncreds_credential_request_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
120
121
|
len: import("ref-napi").Type<string | number>;
|
|
121
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
122
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
122
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
123
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
123
124
|
readonly anoncreds_credential_request_metadata_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
124
125
|
len: import("ref-napi").Type<string | number>;
|
|
125
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
126
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
126
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
127
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
127
128
|
readonly anoncreds_presentation_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
128
129
|
len: import("ref-napi").Type<string | number>;
|
|
129
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
130
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
130
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
131
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
131
132
|
readonly anoncreds_credential_offer_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
132
133
|
len: import("ref-napi").Type<string | number>;
|
|
133
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
134
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
134
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
135
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
135
136
|
readonly anoncreds_revocation_registry_definition_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
136
137
|
len: import("ref-napi").Type<string | number>;
|
|
137
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
138
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
138
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
139
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
139
140
|
readonly anoncreds_revocation_registry_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
140
141
|
len: import("ref-napi").Type<string | number>;
|
|
141
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
142
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
142
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
143
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
143
144
|
readonly anoncreds_revocation_status_list_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
144
145
|
len: import("ref-napi").Type<string | number>;
|
|
145
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
146
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
146
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
147
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
147
148
|
readonly anoncreds_revocation_state_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
148
149
|
len: import("ref-napi").Type<string | number>;
|
|
149
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
150
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
150
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
151
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
151
152
|
readonly anoncreds_credential_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
152
153
|
len: import("ref-napi").Type<string | number>;
|
|
153
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
154
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
154
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
155
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
155
156
|
readonly anoncreds_credential_definition_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
156
157
|
len: import("ref-napi").Type<string | number>;
|
|
157
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
158
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
158
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
159
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
159
160
|
readonly anoncreds_credential_definition_private_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
160
161
|
len: import("ref-napi").Type<string | number>;
|
|
161
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
162
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
162
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
163
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
163
164
|
readonly anoncreds_revocation_registry_definition_private_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
164
165
|
len: import("ref-napi").Type<string | number>;
|
|
165
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
166
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
166
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
167
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
167
168
|
readonly anoncreds_key_correctness_proof_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
168
169
|
len: import("ref-napi").Type<string | number>;
|
|
169
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
170
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
170
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
171
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
171
172
|
readonly anoncreds_schema_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
172
173
|
len: import("ref-napi").Type<string | number>;
|
|
173
|
-
data: import("ref-napi").Type<import("ref-napi").Pointer<string | null>>;
|
|
174
|
-
}>, import("ref-napi").Type<import("ref-napi").Pointer<string | null>>]];
|
|
174
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
175
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
176
|
+
readonly anoncreds_create_w3c_credential: readonly ["uint", readonly ["size_t", "size_t", "size_t", "size_t", import("ref-struct-di").StructType<{
|
|
177
|
+
count: import("ref-napi").Type<string | number>;
|
|
178
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
179
|
+
}>, import("ref-struct-di").StructType<{
|
|
180
|
+
count: import("ref-napi").Type<string | number>;
|
|
181
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
182
|
+
}>, "size_t", "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
183
|
+
readonly anoncreds_process_w3c_credential: readonly ["uint", readonly ["size_t", "size_t", "string", "size_t", "size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
184
|
+
readonly anoncreds_create_w3c_presentation: readonly ["uint", readonly ["size_t", import("ref-struct-di").StructType<{
|
|
185
|
+
count: import("ref-napi").Type<string | number>;
|
|
186
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<import("ref-struct-di").StructObject<{
|
|
187
|
+
credential: string | number;
|
|
188
|
+
timestamp: string | number;
|
|
189
|
+
rev_state: string | number;
|
|
190
|
+
}>, number>>;
|
|
191
|
+
}>, import("ref-struct-di").StructType<{
|
|
192
|
+
count: import("ref-napi").Type<string | number>;
|
|
193
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<import("ref-struct-di").StructObject<{
|
|
194
|
+
entry_idx: string | number;
|
|
195
|
+
referent: string | null;
|
|
196
|
+
is_predicate: number;
|
|
197
|
+
reveal: number;
|
|
198
|
+
}>, number>>;
|
|
199
|
+
}>, "string", import("ref-struct-di").StructType<{
|
|
200
|
+
count: import("ref-napi").Type<string | number>;
|
|
201
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | number, number>>;
|
|
202
|
+
}>, import("ref-struct-di").StructType<{
|
|
203
|
+
count: import("ref-napi").Type<string | number>;
|
|
204
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
205
|
+
}>, import("ref-struct-di").StructType<{
|
|
206
|
+
count: import("ref-napi").Type<string | number>;
|
|
207
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | number, number>>;
|
|
208
|
+
}>, import("ref-struct-di").StructType<{
|
|
209
|
+
count: import("ref-napi").Type<string | number>;
|
|
210
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
211
|
+
}>, "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
212
|
+
readonly anoncreds_verify_w3c_presentation: readonly ["uint", readonly ["size_t", "size_t", import("ref-struct-di").StructType<{
|
|
213
|
+
count: import("ref-napi").Type<string | number>;
|
|
214
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | number, number>>;
|
|
215
|
+
}>, import("ref-struct-di").StructType<{
|
|
216
|
+
count: import("ref-napi").Type<string | number>;
|
|
217
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
218
|
+
}>, import("ref-struct-di").StructType<{
|
|
219
|
+
count: import("ref-napi").Type<string | number>;
|
|
220
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | number, number>>;
|
|
221
|
+
}>, import("ref-struct-di").StructType<{
|
|
222
|
+
count: import("ref-napi").Type<string | number>;
|
|
223
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
224
|
+
}>, import("ref-struct-di").StructType<{
|
|
225
|
+
count: import("ref-napi").Type<string | number>;
|
|
226
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | number, number>>;
|
|
227
|
+
}>, import("ref-struct-di").StructType<{
|
|
228
|
+
count: import("ref-napi").Type<string | number>;
|
|
229
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | null, number>>;
|
|
230
|
+
}>, import("ref-struct-di").StructType<{
|
|
231
|
+
count: import("ref-napi").Type<string | number>;
|
|
232
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<string | number, number>>;
|
|
233
|
+
}>, import("ref-struct-di").StructType<{
|
|
234
|
+
count: import("ref-napi").Type<string | number>;
|
|
235
|
+
data: import("ref-napi").Type<import("ref-array-di").TypedArray<import("ref-struct-di").StructObject<{
|
|
236
|
+
rev_reg_def_id: string | null;
|
|
237
|
+
requested_from_ts: number;
|
|
238
|
+
override_rev_status_list_ts: number;
|
|
239
|
+
}>, number>>;
|
|
240
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<number>>]];
|
|
241
|
+
readonly anoncreds_credential_to_w3c: readonly ["uint", readonly ["size_t", "size_t", "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
242
|
+
readonly anoncreds_credential_from_w3c: readonly ["uint", readonly ["size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
243
|
+
readonly anoncreds_w3c_credential_get_integrity_proof_details: readonly ["uint", readonly ["size_t", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | number>>]];
|
|
244
|
+
readonly anoncreds_w3c_credential_proof_get_attribute: readonly ["uint", readonly ["size_t", "string", import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
245
|
+
readonly anoncreds_w3c_presentation_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
246
|
+
len: import("ref-napi").Type<string | number>;
|
|
247
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
248
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
249
|
+
readonly anoncreds_w3c_credential_from_json: readonly ["uint", readonly [import("ref-struct-di").StructType<{
|
|
250
|
+
len: import("ref-napi").Type<string | number>;
|
|
251
|
+
data: import("ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>;
|
|
252
|
+
}>, import("@2060.io/ref-napi").Type<import("@2060.io/ref-napi").Pointer<string | null>>]];
|
|
175
253
|
};
|
|
@@ -15,11 +15,9 @@ exports.nativeBindings = {
|
|
|
15
15
|
ffi_1.StringListStruct,
|
|
16
16
|
ffi_1.StringListStruct,
|
|
17
17
|
ffi_1.StringListStruct,
|
|
18
|
-
ffi_1.FFI_STRING,
|
|
19
|
-
ffi_1.FFI_OBJECT_HANDLE,
|
|
20
18
|
ffi_1.FFI_OBJECT_HANDLE,
|
|
21
|
-
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
22
|
-
]
|
|
19
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
20
|
+
]
|
|
23
21
|
],
|
|
24
22
|
anoncreds_create_credential_definition: [
|
|
25
23
|
ffi_1.FFI_ERRORCODE,
|
|
@@ -32,12 +30,12 @@ exports.nativeBindings = {
|
|
|
32
30
|
ffi_1.FFI_INT8,
|
|
33
31
|
ffi_1.FFI_OBJECT_HANDLE_PTR,
|
|
34
32
|
ffi_1.FFI_OBJECT_HANDLE_PTR,
|
|
35
|
-
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
36
|
-
]
|
|
33
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
34
|
+
]
|
|
37
35
|
],
|
|
38
36
|
anoncreds_create_credential_offer: [
|
|
39
37
|
ffi_1.FFI_ERRORCODE,
|
|
40
|
-
[ffi_1.FFI_STRING, ffi_1.FFI_STRING, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
38
|
+
[ffi_1.FFI_STRING, ffi_1.FFI_STRING, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
41
39
|
],
|
|
42
40
|
anoncreds_create_credential_request: [
|
|
43
41
|
ffi_1.FFI_ERRORCODE,
|
|
@@ -49,8 +47,8 @@ exports.nativeBindings = {
|
|
|
49
47
|
ffi_1.FFI_STRING,
|
|
50
48
|
ffi_1.FFI_OBJECT_HANDLE,
|
|
51
49
|
ffi_1.FFI_OBJECT_HANDLE_PTR,
|
|
52
|
-
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
53
|
-
]
|
|
50
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
51
|
+
]
|
|
54
52
|
],
|
|
55
53
|
anoncreds_create_link_secret: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE_PTR]],
|
|
56
54
|
anoncreds_create_or_update_revocation_state: [
|
|
@@ -62,8 +60,8 @@ exports.nativeBindings = {
|
|
|
62
60
|
ffi_1.FFI_STRING,
|
|
63
61
|
ffi_1.FFI_OBJECT_HANDLE,
|
|
64
62
|
ffi_1.FFI_OBJECT_HANDLE,
|
|
65
|
-
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
66
|
-
]
|
|
63
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
64
|
+
]
|
|
67
65
|
],
|
|
68
66
|
anoncreds_create_presentation: [
|
|
69
67
|
ffi_1.FFI_ERRORCODE,
|
|
@@ -78,8 +76,8 @@ exports.nativeBindings = {
|
|
|
78
76
|
ffi_1.StringListStruct,
|
|
79
77
|
ffi_1.ObjectHandleListStruct,
|
|
80
78
|
ffi_1.StringListStruct,
|
|
81
|
-
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
82
|
-
]
|
|
79
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
80
|
+
]
|
|
83
81
|
],
|
|
84
82
|
anoncreds_create_revocation_registry_def: [
|
|
85
83
|
ffi_1.FFI_ERRORCODE,
|
|
@@ -92,28 +90,29 @@ exports.nativeBindings = {
|
|
|
92
90
|
ffi_1.FFI_INT64,
|
|
93
91
|
ffi_1.FFI_STRING,
|
|
94
92
|
ffi_1.FFI_OBJECT_HANDLE_PTR,
|
|
95
|
-
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
96
|
-
]
|
|
93
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
94
|
+
]
|
|
97
95
|
],
|
|
98
96
|
anoncreds_create_schema: [
|
|
99
97
|
ffi_1.FFI_ERRORCODE,
|
|
100
|
-
[ffi_1.FFI_STRING, ffi_1.FFI_STRING, ffi_1.FFI_STRING, ffi_1.StringListStruct, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
98
|
+
[ffi_1.FFI_STRING, ffi_1.FFI_STRING, ffi_1.FFI_STRING, ffi_1.StringListStruct, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
101
99
|
],
|
|
102
100
|
anoncreds_credential_get_attribute: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_STRING_PTR]],
|
|
103
101
|
anoncreds_encode_credential_attributes: [ffi_1.FFI_ERRORCODE, [ffi_1.StringListStruct, ffi_1.FFI_STRING_PTR]],
|
|
104
102
|
anoncreds_generate_nonce: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_STRING_PTR]],
|
|
105
103
|
anoncreds_get_current_error: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_STRING_PTR]],
|
|
106
104
|
anoncreds_object_free: [ffi_1.FFI_VOID, [ffi_1.FFI_OBJECT_HANDLE]],
|
|
105
|
+
anoncreds_string_free: [ffi_1.FFI_VOID, [ffi_1.FFI_STRING_PTR]],
|
|
107
106
|
anoncreds_object_get_json: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE, ffi_1.ByteBufferStructPtr]],
|
|
108
107
|
anoncreds_object_get_type_name: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING_PTR]],
|
|
109
108
|
anoncreds_presentation_request_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]],
|
|
110
109
|
anoncreds_process_credential: [
|
|
111
110
|
ffi_1.FFI_ERRORCODE,
|
|
112
|
-
[ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
111
|
+
[ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
113
112
|
],
|
|
114
113
|
anoncreds_revocation_registry_definition_get_attribute: [
|
|
115
114
|
ffi_1.FFI_ERRORCODE,
|
|
116
|
-
[ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_STRING_PTR]
|
|
115
|
+
[ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_STRING_PTR]
|
|
117
116
|
],
|
|
118
117
|
anoncreds_set_default_logger: [ffi_1.FFI_ERRORCODE, []],
|
|
119
118
|
anoncreds_verify_presentation: [
|
|
@@ -129,20 +128,38 @@ exports.nativeBindings = {
|
|
|
129
128
|
ffi_1.StringListStruct,
|
|
130
129
|
ffi_1.ObjectHandleListStruct,
|
|
131
130
|
ffi_1.NonRevokedIntervalOverrideListStruct,
|
|
132
|
-
ffi_1.FFI_INT8_PTR
|
|
133
|
-
]
|
|
131
|
+
ffi_1.FFI_INT8_PTR
|
|
132
|
+
]
|
|
134
133
|
],
|
|
135
134
|
anoncreds_create_revocation_status_list: [
|
|
136
135
|
ffi_1.FFI_ERRORCODE,
|
|
137
|
-
[
|
|
136
|
+
[
|
|
137
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
138
|
+
ffi_1.FFI_STRING,
|
|
139
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
140
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
141
|
+
ffi_1.FFI_STRING,
|
|
142
|
+
ffi_1.FFI_INT8,
|
|
143
|
+
ffi_1.FFI_INT64,
|
|
144
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
145
|
+
]
|
|
138
146
|
],
|
|
139
147
|
anoncreds_update_revocation_status_list_timestamp_only: [
|
|
140
148
|
ffi_1.FFI_ERRORCODE,
|
|
141
|
-
[ffi_1.FFI_INT64, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
149
|
+
[ffi_1.FFI_INT64, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
142
150
|
],
|
|
143
151
|
anoncreds_update_revocation_status_list: [
|
|
144
152
|
ffi_1.FFI_ERRORCODE,
|
|
145
|
-
[
|
|
153
|
+
[
|
|
154
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
155
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
156
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
157
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
158
|
+
ffi_1.I32ListStruct,
|
|
159
|
+
ffi_1.I32ListStruct,
|
|
160
|
+
ffi_1.FFI_INT64,
|
|
161
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
162
|
+
]
|
|
146
163
|
],
|
|
147
164
|
anoncreds_version: [ffi_1.FFI_STRING, []],
|
|
148
165
|
anoncreds_credential_request_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]],
|
|
@@ -159,5 +176,63 @@ exports.nativeBindings = {
|
|
|
159
176
|
anoncreds_revocation_registry_definition_private_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]],
|
|
160
177
|
anoncreds_key_correctness_proof_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]],
|
|
161
178
|
anoncreds_schema_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]],
|
|
179
|
+
anoncreds_create_w3c_credential: [
|
|
180
|
+
ffi_1.FFI_ERRORCODE,
|
|
181
|
+
[
|
|
182
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
183
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
184
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
185
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
186
|
+
ffi_1.StringListStruct,
|
|
187
|
+
ffi_1.StringListStruct,
|
|
188
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
189
|
+
ffi_1.FFI_STRING,
|
|
190
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
191
|
+
]
|
|
192
|
+
],
|
|
193
|
+
anoncreds_process_w3c_credential: [
|
|
194
|
+
ffi_1.FFI_ERRORCODE,
|
|
195
|
+
[ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
196
|
+
],
|
|
197
|
+
anoncreds_create_w3c_presentation: [
|
|
198
|
+
ffi_1.FFI_ERRORCODE,
|
|
199
|
+
[
|
|
200
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
201
|
+
ffi_1.CredentialEntryListStruct,
|
|
202
|
+
ffi_1.CredentialProveListStruct,
|
|
203
|
+
ffi_1.FFI_STRING,
|
|
204
|
+
ffi_1.ObjectHandleListStruct,
|
|
205
|
+
ffi_1.StringListStruct,
|
|
206
|
+
ffi_1.ObjectHandleListStruct,
|
|
207
|
+
ffi_1.StringListStruct,
|
|
208
|
+
ffi_1.FFI_STRING,
|
|
209
|
+
ffi_1.FFI_OBJECT_HANDLE_PTR
|
|
210
|
+
]
|
|
211
|
+
],
|
|
212
|
+
anoncreds_verify_w3c_presentation: [
|
|
213
|
+
ffi_1.FFI_ERRORCODE,
|
|
214
|
+
[
|
|
215
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
216
|
+
ffi_1.FFI_OBJECT_HANDLE,
|
|
217
|
+
ffi_1.ObjectHandleListStruct,
|
|
218
|
+
ffi_1.StringListStruct,
|
|
219
|
+
ffi_1.ObjectHandleListStruct,
|
|
220
|
+
ffi_1.StringListStruct,
|
|
221
|
+
ffi_1.ObjectHandleListStruct,
|
|
222
|
+
ffi_1.StringListStruct,
|
|
223
|
+
ffi_1.ObjectHandleListStruct,
|
|
224
|
+
ffi_1.NonRevokedIntervalOverrideListStruct,
|
|
225
|
+
ffi_1.FFI_INT8_PTR
|
|
226
|
+
]
|
|
227
|
+
],
|
|
228
|
+
anoncreds_credential_to_w3c: [
|
|
229
|
+
ffi_1.FFI_ERRORCODE,
|
|
230
|
+
[ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_OBJECT_HANDLE_PTR]
|
|
231
|
+
],
|
|
232
|
+
anoncreds_credential_from_w3c: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]],
|
|
233
|
+
anoncreds_w3c_credential_get_integrity_proof_details: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_OBJECT_HANDLE_PTR]],
|
|
234
|
+
anoncreds_w3c_credential_proof_get_attribute: [ffi_1.FFI_ERRORCODE, [ffi_1.FFI_OBJECT_HANDLE, ffi_1.FFI_STRING, ffi_1.FFI_STRING_PTR]],
|
|
235
|
+
anoncreds_w3c_presentation_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]],
|
|
236
|
+
anoncreds_w3c_credential_from_json: [ffi_1.FFI_ERRORCODE, [ffi_1.ByteBufferStruct, ffi_1.FFI_STRING_PTR]]
|
|
162
237
|
};
|
|
163
238
|
//# sourceMappingURL=bindings.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bindings.js","sourceRoot":"","sources":["../../src/library/bindings.ts"],"names":[],"mappings":";;;AAAA,gCAkBe;AAEF,QAAA,cAAc,GAAG;IAC5B,uFAAuF;IACvF,qBAAqB,EAAE,CAAC,cAAQ,EAAE,CAAC,sBAAgB,CAAC,CAAC;IACrD,2BAA2B,EAAE;QAC3B,mBAAa;QACb;YACE,uBAAiB;YACjB,uBAAiB;YACjB,uBAAiB;YACjB,uBAAiB;YACjB,sBAAgB;YAChB,sBAAgB;YAChB,sBAAgB;YAChB,
|
|
1
|
+
{"version":3,"file":"bindings.js","sourceRoot":"","sources":["../../src/library/bindings.ts"],"names":[],"mappings":";;;AAAA,gCAkBe;AAEF,QAAA,cAAc,GAAG;IAC5B,uFAAuF;IACvF,qBAAqB,EAAE,CAAC,cAAQ,EAAE,CAAC,sBAAgB,CAAC,CAAC;IACrD,2BAA2B,EAAE;QAC3B,mBAAa;QACb;YACE,uBAAiB;YACjB,uBAAiB;YACjB,uBAAiB;YACjB,uBAAiB;YACjB,sBAAgB;YAChB,sBAAgB;YAChB,sBAAgB;YAChB,uBAAiB;YACjB,2BAAqB;SACtB;KACF;IACD,sCAAsC,EAAE;QACtC,mBAAa;QACb;YACE,gBAAU;YACV,uBAAiB;YACjB,gBAAU;YACV,gBAAU;YACV,gBAAU;YACV,cAAQ;YACR,2BAAqB;YACrB,2BAAqB;YACrB,2BAAqB;SACtB;KACF;IACD,iCAAiC,EAAE;QAC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 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
3
|
if (k2 === undefined) k2 = k;
|
|
4
|
-
Object.
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
5
9
|
}) : (function(o, m, k, k2) {
|
|
6
10
|
if (k2 === undefined) k2 = k;
|
|
7
11
|
o[k2] = m[k];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/library/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/library/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAwC;AACxC,6CAA0B;AAC1B,6CAA0B"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const getNativeAnoncreds: () => {
|
|
2
2
|
anoncreds_buffer_free: (args_0: Buffer) => unknown;
|
|
3
|
-
anoncreds_create_credential: (args_0: number, args_1: number, args_2: number, args_3: number, args_4: Buffer, args_5: Buffer, args_6: Buffer, args_7:
|
|
3
|
+
anoncreds_create_credential: (args_0: number, args_1: number, args_2: number, args_3: number, args_4: Buffer, args_5: Buffer, args_6: Buffer, args_7: number, args_8: Buffer) => unknown;
|
|
4
4
|
anoncreds_create_credential_definition: (args_0: string, args_1: number, args_2: string, args_3: string, args_4: string, args_5: number, args_6: Buffer, args_7: Buffer, args_8: Buffer) => unknown;
|
|
5
5
|
anoncreds_create_credential_offer: (args_0: string, args_1: string, args_2: number, args_3: Buffer) => unknown;
|
|
6
6
|
anoncreds_create_credential_request: (args_0: string, args_1: string, args_2: number, args_3: string, args_4: string, args_5: number, args_6: Buffer, args_7: Buffer) => unknown;
|
|
@@ -14,6 +14,7 @@ export declare const getNativeAnoncreds: () => {
|
|
|
14
14
|
anoncreds_generate_nonce: (args_0: Buffer) => unknown;
|
|
15
15
|
anoncreds_get_current_error: (args_0: Buffer) => unknown;
|
|
16
16
|
anoncreds_object_free: (args_0: number) => unknown;
|
|
17
|
+
anoncreds_string_free: (args_0: Buffer) => unknown;
|
|
17
18
|
anoncreds_object_get_json: (args_0: number, args_1: Buffer) => unknown;
|
|
18
19
|
anoncreds_object_get_type_name: (args_0: number, args_1: Buffer) => unknown;
|
|
19
20
|
anoncreds_presentation_request_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
@@ -21,9 +22,9 @@ export declare const getNativeAnoncreds: () => {
|
|
|
21
22
|
anoncreds_revocation_registry_definition_get_attribute: (args_0: number, args_1: string, args_2: Buffer) => unknown;
|
|
22
23
|
anoncreds_set_default_logger: () => unknown;
|
|
23
24
|
anoncreds_verify_presentation: (args_0: number, args_1: number, args_2: Buffer, args_3: Buffer, args_4: Buffer, args_5: Buffer, args_6: Buffer, args_7: Buffer, args_8: Buffer, args_9: Buffer, args_10: Buffer) => unknown;
|
|
24
|
-
anoncreds_create_revocation_status_list: (args_0:
|
|
25
|
+
anoncreds_create_revocation_status_list: (args_0: number, args_1: string, args_2: number, args_3: number, args_4: string, args_5: number, args_6: number, args_7: Buffer) => unknown;
|
|
25
26
|
anoncreds_update_revocation_status_list_timestamp_only: (args_0: number, args_1: number, args_2: Buffer) => unknown;
|
|
26
|
-
anoncreds_update_revocation_status_list: (args_0: number, args_1:
|
|
27
|
+
anoncreds_update_revocation_status_list: (args_0: number, args_1: number, args_2: number, args_3: number, args_4: Buffer, args_5: Buffer, args_6: number, args_7: Buffer) => unknown;
|
|
27
28
|
anoncreds_version: () => string;
|
|
28
29
|
anoncreds_credential_request_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
29
30
|
anoncreds_credential_request_metadata_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
@@ -39,4 +40,14 @@ export declare const getNativeAnoncreds: () => {
|
|
|
39
40
|
anoncreds_revocation_registry_definition_private_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
40
41
|
anoncreds_key_correctness_proof_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
41
42
|
anoncreds_schema_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
43
|
+
anoncreds_create_w3c_credential: (args_0: number, args_1: number, args_2: number, args_3: number, args_4: Buffer, args_5: Buffer, args_6: number, args_7: string, args_8: Buffer) => unknown;
|
|
44
|
+
anoncreds_process_w3c_credential: (args_0: number, args_1: number, args_2: string, args_3: number, args_4: number, args_5: Buffer) => unknown;
|
|
45
|
+
anoncreds_create_w3c_presentation: (args_0: number, args_1: Buffer, args_2: Buffer, args_3: string, args_4: Buffer, args_5: Buffer, args_6: Buffer, args_7: Buffer, args_8: string, args_9: Buffer) => unknown;
|
|
46
|
+
anoncreds_verify_w3c_presentation: (args_0: number, args_1: number, args_2: Buffer, args_3: Buffer, args_4: Buffer, args_5: Buffer, args_6: Buffer, args_7: Buffer, args_8: Buffer, args_9: Buffer, args_10: Buffer) => unknown;
|
|
47
|
+
anoncreds_credential_to_w3c: (args_0: number, args_1: number, args_2: string, args_3: Buffer) => unknown;
|
|
48
|
+
anoncreds_credential_from_w3c: (args_0: number, args_1: Buffer) => unknown;
|
|
49
|
+
anoncreds_w3c_credential_get_integrity_proof_details: (args_0: number, args_1: Buffer) => unknown;
|
|
50
|
+
anoncreds_w3c_credential_proof_get_attribute: (args_0: number, args_1: string, args_2: Buffer) => unknown;
|
|
51
|
+
anoncreds_w3c_presentation_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
52
|
+
anoncreds_w3c_credential_from_json: (args_0: Buffer, args_1: Buffer) => unknown;
|
|
42
53
|
};
|
|
@@ -4,7 +4,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
4
4
|
};
|
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
6
|
exports.getNativeAnoncreds = void 0;
|
|
7
|
-
const ffi_napi_1 = require("ffi-napi");
|
|
7
|
+
const ffi_napi_1 = require("@2060.io/ffi-napi");
|
|
8
8
|
const fs_1 = __importDefault(require("fs"));
|
|
9
9
|
const os_1 = __importDefault(require("os"));
|
|
10
10
|
const path_1 = __importDefault(require("path"));
|
|
@@ -14,12 +14,12 @@ const ENV_VAR = 'LIB_ANONCREDS_PATH';
|
|
|
14
14
|
const extensions = {
|
|
15
15
|
darwin: { prefix: 'lib', extension: '.dylib' },
|
|
16
16
|
linux: { prefix: 'lib', extension: '.so' },
|
|
17
|
-
win32: { extension: '.dll' }
|
|
17
|
+
win32: { extension: '.dll' }
|
|
18
18
|
};
|
|
19
19
|
const libPaths = {
|
|
20
20
|
darwin: ['/usr/local/lib/', '/usr/lib/', '/opt/homebrew/opt/'],
|
|
21
21
|
linux: ['/usr/lib/', '/usr/local/lib/'],
|
|
22
|
-
win32: ['c:\\windows\\system32\\']
|
|
22
|
+
win32: ['c:\\windows\\system32\\']
|
|
23
23
|
};
|
|
24
24
|
// Alias for a simple function to check if the path exists
|
|
25
25
|
const doesPathExist = fs_1.default.existsSync;
|
|
@@ -49,10 +49,10 @@ const getLibrary = () => {
|
|
|
49
49
|
const validLibraryPath = libaries.find((l) => doesPathExist(l));
|
|
50
50
|
// TODO
|
|
51
51
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
52
|
-
// @ts-
|
|
52
|
+
// @ts-expect-error
|
|
53
53
|
return (0, ffi_napi_1.Library)(validLibraryPath, bindings_1.nativeBindings);
|
|
54
54
|
};
|
|
55
|
-
let nativeAnoncreds
|
|
55
|
+
let nativeAnoncreds;
|
|
56
56
|
const getNativeAnoncreds = () => {
|
|
57
57
|
if (!nativeAnoncreds)
|
|
58
58
|
nativeAnoncreds = getLibrary();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../src/library/register.ts"],"names":[],"mappings":";;;;;;AAEA,
|
|
1
|
+
{"version":3,"file":"register.js","sourceRoot":"","sources":["../../src/library/register.ts"],"names":[],"mappings":";;;;;;AAEA,gDAA2C;AAC3C,4CAAmB;AACnB,4CAAmB;AACnB,gDAAuB;AAEvB,yCAA2C;AAE3C,MAAM,OAAO,GAAG,WAAW,CAAA;AAC3B,MAAM,OAAO,GAAG,oBAAoB,CAAA;AAMpC,MAAM,UAAU,GAAiB;IAC/B,MAAM,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE;IAC9C,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,KAAK,EAAE;IAC1C,KAAK,EAAE,EAAE,SAAS,EAAE,MAAM,EAAE;CAC7B,CAAA;AAED,MAAM,QAAQ,GAA+B;IAC3C,MAAM,EAAE,CAAC,iBAAiB,EAAE,WAAW,EAAE,oBAAoB,CAAC;IAC9D,KAAK,EAAE,CAAC,WAAW,EAAE,iBAAiB,CAAC;IACvC,KAAK,EAAE,CAAC,yBAAyB,CAAC;CACnC,CAAA;AAED,0DAA0D;AAC1D,MAAM,aAAa,GAAG,YAAE,CAAC,UAAU,CAAA;AAEnC,MAAM,UAAU,GAAG,GAAG,EAAE;IACtB,0DAA0D;IAC1D,MAAM,QAAQ,GAAG,YAAE,CAAC,QAAQ,EAAE,CAAA;IAE9B,IAAI,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,OAAO,IAAI,QAAQ,KAAK,QAAQ;QACvE,MAAM,IAAI,KAAK,CAAC,yBAAyB,QAAQ,0CAA0C,CAAC,CAAA;IAE9F,qDAAqD;IACrD,MAAM,mBAAmB,GAAG,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAA;IAEhD,uDAAuD;IACvD,MAAM,aAAa,GAAG,QAAQ,CAAC,QAAQ,CAAC,CAAA;IAExC,4DAA4D;IAC5D,yFAAyF;IACzF,aAAa,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