@sphereon/idk-lib-data-link-http-client-public 0.25.0-SNAPSHOT-build-8529934
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/idk-lib-cbor-public.mjs +4930 -0
- package/idk-lib-cbor-public.mjs.map +1 -0
- package/idk-lib-core-api-default.mjs +4 -0
- package/idk-lib-core-api-default.mjs.map +1 -0
- package/idk-lib-core-api-public.mjs +4803 -0
- package/idk-lib-core-api-public.mjs.map +1 -0
- package/idk-lib-crypto-core-impl.mjs +2009 -0
- package/idk-lib-crypto-core-impl.mjs.map +1 -0
- package/idk-lib-crypto-core-public.mjs +37347 -0
- package/idk-lib-crypto-core-public.mjs.map +1 -0
- package/idk-lib-crypto-core.mjs +4 -0
- package/idk-lib-crypto-core.mjs.map +1 -0
- package/idk-lib-data-link-http-client-public.d.mts +8902 -0
- package/idk-lib-data-link-http-client-public.mjs +430 -0
- package/idk-lib-data-link-http-client-public.mjs.map +1 -0
- package/package.json +39 -0
|
@@ -0,0 +1,430 @@
|
|
|
1
|
+
import {
|
|
2
|
+
THROW_IAE23kobfj9wdoxr as THROW_IAE,
|
|
3
|
+
Unit_instancev9v8hjid95df as Unit_instance,
|
|
4
|
+
Enum3alwj03lh1n41 as Enum,
|
|
5
|
+
initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
|
|
6
|
+
VOID3gxj6tk5isa35 as VOID,
|
|
7
|
+
getStringHashCode26igk1bx568vk as getStringHashCode,
|
|
8
|
+
initMetadataForCompanion1wyw17z38v6ac as initMetadataForCompanion,
|
|
9
|
+
initMetadataForInterface1egvbzx539z91 as initMetadataForInterface,
|
|
10
|
+
defineProp3ur6h3slcvq4x as defineProp,
|
|
11
|
+
emptyList1g2z5xcrvp2zy as emptyList,
|
|
12
|
+
isBlank1dvkhjjvox3p0 as isBlank,
|
|
13
|
+
ArrayList3it5z8td81qkl as ArrayList,
|
|
14
|
+
toString1pkumu07cwy4m as toString,
|
|
15
|
+
hashCodeq5arwsb9dgti as hashCode,
|
|
16
|
+
equals2au1ep9vhcato as equals,
|
|
17
|
+
} from '../kotlin-kotlin-stdlib.mjs';
|
|
18
|
+
import {
|
|
19
|
+
Companion_instance3okt1bfv4zjyt as Companion_instance,
|
|
20
|
+
Commandx68wq02phbzl as Command,
|
|
21
|
+
Companion_instance27w1uk4n2zibh as Companion_instance_0,
|
|
22
|
+
Err2cndwvrrxrbxb as Err,
|
|
23
|
+
Okrwqdz458ybob as Ok,
|
|
24
|
+
} from './idk-lib-core-api-public.mjs';
|
|
25
|
+
import '../ktor-ktor-client-core.mjs';
|
|
26
|
+
import '../ktor-ktor-client-cio.mjs';
|
|
27
|
+
import '../cryptography-kotlin-cryptography-provider-webcrypto.mjs';
|
|
28
|
+
//region block: imports
|
|
29
|
+
var imul = Math.imul;
|
|
30
|
+
//endregion
|
|
31
|
+
//region block: pre-declaration
|
|
32
|
+
class RequestUriMethod extends Enum {
|
|
33
|
+
get name() {
|
|
34
|
+
return this.b1();
|
|
35
|
+
}
|
|
36
|
+
get ordinal() {
|
|
37
|
+
return this.a5();
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
class FetchRequestUriArgs {
|
|
41
|
+
constructor(requestUri, httpMethod, httpClientOptions, expectedContentType, walletMetadataJson, walletNonce) {
|
|
42
|
+
httpMethod = httpMethod === VOID ? RequestUriMethod_GET_getInstance() : httpMethod;
|
|
43
|
+
httpClientOptions = httpClientOptions === VOID ? Companion_instance.s2u() : httpClientOptions;
|
|
44
|
+
expectedContentType = expectedContentType === VOID ? null : expectedContentType;
|
|
45
|
+
walletMetadataJson = walletMetadataJson === VOID ? null : walletMetadataJson;
|
|
46
|
+
walletNonce = walletNonce === VOID ? null : walletNonce;
|
|
47
|
+
this.requestUri = requestUri;
|
|
48
|
+
this.httpMethod = httpMethod;
|
|
49
|
+
this.httpClientOptions = httpClientOptions;
|
|
50
|
+
this.expectedContentType = expectedContentType;
|
|
51
|
+
this.walletMetadataJson = walletMetadataJson;
|
|
52
|
+
this.walletNonce = walletNonce;
|
|
53
|
+
}
|
|
54
|
+
g5x() {
|
|
55
|
+
return this.requestUri;
|
|
56
|
+
}
|
|
57
|
+
h5x() {
|
|
58
|
+
return this.httpMethod;
|
|
59
|
+
}
|
|
60
|
+
i5x() {
|
|
61
|
+
return this.httpClientOptions;
|
|
62
|
+
}
|
|
63
|
+
j5x() {
|
|
64
|
+
return this.expectedContentType;
|
|
65
|
+
}
|
|
66
|
+
k5x() {
|
|
67
|
+
return this.walletMetadataJson;
|
|
68
|
+
}
|
|
69
|
+
l5x() {
|
|
70
|
+
return this.walletNonce;
|
|
71
|
+
}
|
|
72
|
+
nk() {
|
|
73
|
+
return this.requestUri;
|
|
74
|
+
}
|
|
75
|
+
ok() {
|
|
76
|
+
return this.httpMethod;
|
|
77
|
+
}
|
|
78
|
+
tr() {
|
|
79
|
+
return this.httpClientOptions;
|
|
80
|
+
}
|
|
81
|
+
a2r() {
|
|
82
|
+
return this.expectedContentType;
|
|
83
|
+
}
|
|
84
|
+
b2r() {
|
|
85
|
+
return this.walletMetadataJson;
|
|
86
|
+
}
|
|
87
|
+
c2r() {
|
|
88
|
+
return this.walletNonce;
|
|
89
|
+
}
|
|
90
|
+
m5x(requestUri, httpMethod, httpClientOptions, expectedContentType, walletMetadataJson, walletNonce) {
|
|
91
|
+
return new FetchRequestUriArgs(requestUri, httpMethod, httpClientOptions, expectedContentType, walletMetadataJson, walletNonce);
|
|
92
|
+
}
|
|
93
|
+
copy(requestUri, httpMethod, httpClientOptions, expectedContentType, walletMetadataJson, walletNonce, $super) {
|
|
94
|
+
requestUri = requestUri === VOID ? this.requestUri : requestUri;
|
|
95
|
+
httpMethod = httpMethod === VOID ? this.httpMethod : httpMethod;
|
|
96
|
+
httpClientOptions = httpClientOptions === VOID ? this.httpClientOptions : httpClientOptions;
|
|
97
|
+
expectedContentType = expectedContentType === VOID ? this.expectedContentType : expectedContentType;
|
|
98
|
+
walletMetadataJson = walletMetadataJson === VOID ? this.walletMetadataJson : walletMetadataJson;
|
|
99
|
+
walletNonce = walletNonce === VOID ? this.walletNonce : walletNonce;
|
|
100
|
+
return $super === VOID ? this.m5x(requestUri, httpMethod, httpClientOptions, expectedContentType, walletMetadataJson, walletNonce) : $super.m5x.call(this, requestUri, httpMethod, httpClientOptions, expectedContentType, walletMetadataJson, walletNonce);
|
|
101
|
+
}
|
|
102
|
+
toString() {
|
|
103
|
+
return 'FetchRequestUriArgs(requestUri=' + this.requestUri + ', httpMethod=' + this.httpMethod.toString() + ', httpClientOptions=' + this.httpClientOptions.toString() + ', expectedContentType=' + this.expectedContentType + ', walletMetadataJson=' + this.walletMetadataJson + ', walletNonce=' + this.walletNonce + ')';
|
|
104
|
+
}
|
|
105
|
+
hashCode() {
|
|
106
|
+
var result = getStringHashCode(this.requestUri);
|
|
107
|
+
result = imul(result, 31) + this.httpMethod.hashCode() | 0;
|
|
108
|
+
result = imul(result, 31) + this.httpClientOptions.hashCode() | 0;
|
|
109
|
+
result = imul(result, 31) + (this.expectedContentType == null ? 0 : getStringHashCode(this.expectedContentType)) | 0;
|
|
110
|
+
result = imul(result, 31) + (this.walletMetadataJson == null ? 0 : getStringHashCode(this.walletMetadataJson)) | 0;
|
|
111
|
+
result = imul(result, 31) + (this.walletNonce == null ? 0 : getStringHashCode(this.walletNonce)) | 0;
|
|
112
|
+
return result;
|
|
113
|
+
}
|
|
114
|
+
equals(other) {
|
|
115
|
+
if (this === other)
|
|
116
|
+
return true;
|
|
117
|
+
if (!(other instanceof FetchRequestUriArgs))
|
|
118
|
+
return false;
|
|
119
|
+
if (!(this.requestUri === other.requestUri))
|
|
120
|
+
return false;
|
|
121
|
+
if (!this.httpMethod.equals(other.httpMethod))
|
|
122
|
+
return false;
|
|
123
|
+
if (!this.httpClientOptions.equals(other.httpClientOptions))
|
|
124
|
+
return false;
|
|
125
|
+
if (!(this.expectedContentType == other.expectedContentType))
|
|
126
|
+
return false;
|
|
127
|
+
if (!(this.walletMetadataJson == other.walletMetadataJson))
|
|
128
|
+
return false;
|
|
129
|
+
if (!(this.walletNonce == other.walletNonce))
|
|
130
|
+
return false;
|
|
131
|
+
return true;
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
class FetchedRequestUri {
|
|
135
|
+
constructor(content, contentType, requestUri) {
|
|
136
|
+
this.content = content;
|
|
137
|
+
this.contentType = contentType;
|
|
138
|
+
this.requestUri = requestUri;
|
|
139
|
+
}
|
|
140
|
+
e1l() {
|
|
141
|
+
return this.content;
|
|
142
|
+
}
|
|
143
|
+
u48() {
|
|
144
|
+
return this.contentType;
|
|
145
|
+
}
|
|
146
|
+
g5x() {
|
|
147
|
+
return this.requestUri;
|
|
148
|
+
}
|
|
149
|
+
nk() {
|
|
150
|
+
return this.content;
|
|
151
|
+
}
|
|
152
|
+
ok() {
|
|
153
|
+
return this.contentType;
|
|
154
|
+
}
|
|
155
|
+
tr() {
|
|
156
|
+
return this.requestUri;
|
|
157
|
+
}
|
|
158
|
+
n5x(content, contentType, requestUri) {
|
|
159
|
+
return new FetchedRequestUri(content, contentType, requestUri);
|
|
160
|
+
}
|
|
161
|
+
copy(content, contentType, requestUri, $super) {
|
|
162
|
+
content = content === VOID ? this.content : content;
|
|
163
|
+
contentType = contentType === VOID ? this.contentType : contentType;
|
|
164
|
+
requestUri = requestUri === VOID ? this.requestUri : requestUri;
|
|
165
|
+
return $super === VOID ? this.n5x(content, contentType, requestUri) : $super.n5x.call(this, content, contentType, requestUri);
|
|
166
|
+
}
|
|
167
|
+
toString() {
|
|
168
|
+
return 'FetchedRequestUri(content=' + this.content + ', contentType=' + this.contentType + ', requestUri=' + this.requestUri + ')';
|
|
169
|
+
}
|
|
170
|
+
hashCode() {
|
|
171
|
+
var result = getStringHashCode(this.content);
|
|
172
|
+
result = imul(result, 31) + (this.contentType == null ? 0 : getStringHashCode(this.contentType)) | 0;
|
|
173
|
+
result = imul(result, 31) + getStringHashCode(this.requestUri) | 0;
|
|
174
|
+
return result;
|
|
175
|
+
}
|
|
176
|
+
equals(other) {
|
|
177
|
+
if (this === other)
|
|
178
|
+
return true;
|
|
179
|
+
if (!(other instanceof FetchedRequestUri))
|
|
180
|
+
return false;
|
|
181
|
+
if (!(this.content === other.content))
|
|
182
|
+
return false;
|
|
183
|
+
if (!(this.contentType == other.contentType))
|
|
184
|
+
return false;
|
|
185
|
+
if (!(this.requestUri === other.requestUri))
|
|
186
|
+
return false;
|
|
187
|
+
return true;
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class Companion {
|
|
191
|
+
constructor() {
|
|
192
|
+
this.COMMAND_ID = 'http.request.fetch';
|
|
193
|
+
}
|
|
194
|
+
f5d() {
|
|
195
|
+
return this.COMMAND_ID;
|
|
196
|
+
}
|
|
197
|
+
}
|
|
198
|
+
class FetchRequestUriCommand {}
|
|
199
|
+
class ParsedUri {
|
|
200
|
+
constructor(uri, scheme, host, path, queryParameters) {
|
|
201
|
+
this.uri = uri;
|
|
202
|
+
this.scheme = scheme;
|
|
203
|
+
this.host = host;
|
|
204
|
+
this.path = path;
|
|
205
|
+
this.queryParameters = queryParameters;
|
|
206
|
+
}
|
|
207
|
+
o5x() {
|
|
208
|
+
return this.uri;
|
|
209
|
+
}
|
|
210
|
+
p5x() {
|
|
211
|
+
return this.scheme;
|
|
212
|
+
}
|
|
213
|
+
q5x() {
|
|
214
|
+
return this.host;
|
|
215
|
+
}
|
|
216
|
+
p5i() {
|
|
217
|
+
return this.path;
|
|
218
|
+
}
|
|
219
|
+
r5x() {
|
|
220
|
+
return this.queryParameters;
|
|
221
|
+
}
|
|
222
|
+
v3s() {
|
|
223
|
+
return this.queryParameters;
|
|
224
|
+
}
|
|
225
|
+
getFirst(name) {
|
|
226
|
+
return this.queryParameters.uh(name);
|
|
227
|
+
}
|
|
228
|
+
getAll(name) {
|
|
229
|
+
var tmp0_elvis_lhs = this.queryParameters.n2l(name);
|
|
230
|
+
return tmp0_elvis_lhs == null ? emptyList() : tmp0_elvis_lhs;
|
|
231
|
+
}
|
|
232
|
+
s5x(name, parameterType) {
|
|
233
|
+
var tmp0_safe_receiver = this.getFirst(name);
|
|
234
|
+
var tmp;
|
|
235
|
+
if (tmp0_safe_receiver == null) {
|
|
236
|
+
tmp = null;
|
|
237
|
+
} else {
|
|
238
|
+
// Inline function 'kotlin.takeIf' call
|
|
239
|
+
var tmp_0;
|
|
240
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
241
|
+
if (!isBlank(tmp0_safe_receiver)) {
|
|
242
|
+
tmp_0 = tmp0_safe_receiver;
|
|
243
|
+
} else {
|
|
244
|
+
tmp_0 = null;
|
|
245
|
+
}
|
|
246
|
+
tmp = tmp_0;
|
|
247
|
+
}
|
|
248
|
+
var value = tmp;
|
|
249
|
+
var tmp_1;
|
|
250
|
+
if (!(value == null)) {
|
|
251
|
+
tmp_1 = new Ok(value);
|
|
252
|
+
} else {
|
|
253
|
+
tmp_1 = new Err(Companion_instance_0.r2o(VOID, VOID, VOID, 'Missing required parameter: ' + parameterType));
|
|
254
|
+
}
|
|
255
|
+
return tmp_1;
|
|
256
|
+
}
|
|
257
|
+
getFirstRequired(name, parameterType, $super) {
|
|
258
|
+
parameterType = parameterType === VOID ? name : parameterType;
|
|
259
|
+
return $super === VOID ? this.s5x(name, parameterType) : $super.s5x.call(this, name, parameterType);
|
|
260
|
+
}
|
|
261
|
+
t5x(name, parameterType) {
|
|
262
|
+
// Inline function 'kotlin.collections.filter' call
|
|
263
|
+
var tmp0 = this.getAll(name);
|
|
264
|
+
// Inline function 'kotlin.collections.filterTo' call
|
|
265
|
+
var destination = ArrayList.s2();
|
|
266
|
+
var _iterator__ex2g4s = tmp0.j1();
|
|
267
|
+
while (_iterator__ex2g4s.k1()) {
|
|
268
|
+
var element = _iterator__ex2g4s.l1();
|
|
269
|
+
// Inline function 'kotlin.text.isNotBlank' call
|
|
270
|
+
if (!isBlank(element)) {
|
|
271
|
+
destination.k2(element);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
var values = destination;
|
|
275
|
+
var tmp;
|
|
276
|
+
// Inline function 'kotlin.collections.isNotEmpty' call
|
|
277
|
+
if (!values.h1()) {
|
|
278
|
+
tmp = new Ok(values);
|
|
279
|
+
} else {
|
|
280
|
+
tmp = new Err(Companion_instance_0.r2o(VOID, VOID, VOID, 'Missing required parameter: ' + parameterType));
|
|
281
|
+
}
|
|
282
|
+
return tmp;
|
|
283
|
+
}
|
|
284
|
+
getAllRequired(name, parameterType, $super) {
|
|
285
|
+
parameterType = parameterType === VOID ? name : parameterType;
|
|
286
|
+
return $super === VOID ? this.t5x(name, parameterType) : $super.t5x.call(this, name, parameterType);
|
|
287
|
+
}
|
|
288
|
+
nk() {
|
|
289
|
+
return this.uri;
|
|
290
|
+
}
|
|
291
|
+
ok() {
|
|
292
|
+
return this.scheme;
|
|
293
|
+
}
|
|
294
|
+
tr() {
|
|
295
|
+
return this.host;
|
|
296
|
+
}
|
|
297
|
+
a2r() {
|
|
298
|
+
return this.path;
|
|
299
|
+
}
|
|
300
|
+
b2r() {
|
|
301
|
+
return this.queryParameters;
|
|
302
|
+
}
|
|
303
|
+
u5x(uri, scheme, host, path, queryParameters) {
|
|
304
|
+
return new ParsedUri(uri, scheme, host, path, queryParameters);
|
|
305
|
+
}
|
|
306
|
+
copy(uri, scheme, host, path, queryParameters, $super) {
|
|
307
|
+
uri = uri === VOID ? this.uri : uri;
|
|
308
|
+
scheme = scheme === VOID ? this.scheme : scheme;
|
|
309
|
+
host = host === VOID ? this.host : host;
|
|
310
|
+
path = path === VOID ? this.path : path;
|
|
311
|
+
queryParameters = queryParameters === VOID ? this.queryParameters : queryParameters;
|
|
312
|
+
return $super === VOID ? this.u5x(uri, scheme, host, path, queryParameters) : $super.u5x.call(this, uri, scheme, host, path, queryParameters);
|
|
313
|
+
}
|
|
314
|
+
toString() {
|
|
315
|
+
return 'ParsedUri(uri=' + this.uri + ', scheme=' + this.scheme + ', host=' + this.host + ', path=' + this.path + ', queryParameters=' + toString(this.queryParameters) + ')';
|
|
316
|
+
}
|
|
317
|
+
hashCode() {
|
|
318
|
+
var result = getStringHashCode(this.uri);
|
|
319
|
+
result = imul(result, 31) + (this.scheme == null ? 0 : getStringHashCode(this.scheme)) | 0;
|
|
320
|
+
result = imul(result, 31) + (this.host == null ? 0 : getStringHashCode(this.host)) | 0;
|
|
321
|
+
result = imul(result, 31) + getStringHashCode(this.path) | 0;
|
|
322
|
+
result = imul(result, 31) + hashCode(this.queryParameters) | 0;
|
|
323
|
+
return result;
|
|
324
|
+
}
|
|
325
|
+
equals(other) {
|
|
326
|
+
if (this === other)
|
|
327
|
+
return true;
|
|
328
|
+
if (!(other instanceof ParsedUri))
|
|
329
|
+
return false;
|
|
330
|
+
if (!(this.uri === other.uri))
|
|
331
|
+
return false;
|
|
332
|
+
if (!(this.scheme == other.scheme))
|
|
333
|
+
return false;
|
|
334
|
+
if (!(this.host == other.host))
|
|
335
|
+
return false;
|
|
336
|
+
if (!(this.path === other.path))
|
|
337
|
+
return false;
|
|
338
|
+
if (!equals(this.queryParameters, other.queryParameters))
|
|
339
|
+
return false;
|
|
340
|
+
return true;
|
|
341
|
+
}
|
|
342
|
+
get parameters() {
|
|
343
|
+
return this.v3s();
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
class Companion_0 {
|
|
347
|
+
constructor() {
|
|
348
|
+
this.COMMAND_ID = 'http.uri.parse';
|
|
349
|
+
}
|
|
350
|
+
f5d() {
|
|
351
|
+
return this.COMMAND_ID;
|
|
352
|
+
}
|
|
353
|
+
}
|
|
354
|
+
class ParseUriQueryCommand {}
|
|
355
|
+
//endregion
|
|
356
|
+
var RequestUriMethod_GET_instance;
|
|
357
|
+
var RequestUriMethod_POST_instance;
|
|
358
|
+
function values() {
|
|
359
|
+
return [RequestUriMethod_GET_getInstance(), RequestUriMethod_POST_getInstance()];
|
|
360
|
+
}
|
|
361
|
+
function valueOf(value) {
|
|
362
|
+
switch (value) {
|
|
363
|
+
case 'GET':
|
|
364
|
+
return RequestUriMethod_GET_getInstance();
|
|
365
|
+
case 'POST':
|
|
366
|
+
return RequestUriMethod_POST_getInstance();
|
|
367
|
+
default:
|
|
368
|
+
RequestUriMethod_initEntries();
|
|
369
|
+
THROW_IAE('No enum constant com.sphereon.ktor.http.client.RequestUriMethod.' + value);
|
|
370
|
+
break;
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
var RequestUriMethod_entriesInitialized;
|
|
374
|
+
function RequestUriMethod_initEntries() {
|
|
375
|
+
if (RequestUriMethod_entriesInitialized)
|
|
376
|
+
return Unit_instance;
|
|
377
|
+
RequestUriMethod_entriesInitialized = true;
|
|
378
|
+
RequestUriMethod_GET_instance = new RequestUriMethod('GET', 0);
|
|
379
|
+
RequestUriMethod_POST_instance = new RequestUriMethod('POST', 1);
|
|
380
|
+
}
|
|
381
|
+
var Companion_instance_1;
|
|
382
|
+
function Companion_getInstance() {
|
|
383
|
+
return Companion_instance_1;
|
|
384
|
+
}
|
|
385
|
+
function RequestUriMethod_GET_getInstance() {
|
|
386
|
+
RequestUriMethod_initEntries();
|
|
387
|
+
return RequestUriMethod_GET_instance;
|
|
388
|
+
}
|
|
389
|
+
function RequestUriMethod_POST_getInstance() {
|
|
390
|
+
RequestUriMethod_initEntries();
|
|
391
|
+
return RequestUriMethod_POST_instance;
|
|
392
|
+
}
|
|
393
|
+
var Companion_instance_2;
|
|
394
|
+
function Companion_getInstance_0() {
|
|
395
|
+
return Companion_instance_2;
|
|
396
|
+
}
|
|
397
|
+
//region block: post-declaration
|
|
398
|
+
initMetadataForClass(RequestUriMethod, 'RequestUriMethod');
|
|
399
|
+
initMetadataForClass(FetchRequestUriArgs, 'FetchRequestUriArgs');
|
|
400
|
+
initMetadataForClass(FetchedRequestUri, 'FetchedRequestUri');
|
|
401
|
+
initMetadataForCompanion(Companion);
|
|
402
|
+
initMetadataForInterface(FetchRequestUriCommand, 'FetchRequestUriCommand', VOID, VOID, [Command], [1, 2]);
|
|
403
|
+
initMetadataForClass(ParsedUri, 'ParsedUri');
|
|
404
|
+
initMetadataForCompanion(Companion_0);
|
|
405
|
+
initMetadataForInterface(ParseUriQueryCommand, 'ParseUriQueryCommand', VOID, VOID, [Command], [1, 2]);
|
|
406
|
+
//endregion
|
|
407
|
+
//region block: init
|
|
408
|
+
Companion_instance_1 = new Companion();
|
|
409
|
+
Companion_instance_2 = new Companion_0();
|
|
410
|
+
//endregion
|
|
411
|
+
//region block: exports
|
|
412
|
+
RequestUriMethod.values = values;
|
|
413
|
+
RequestUriMethod.valueOf = valueOf;
|
|
414
|
+
defineProp(RequestUriMethod, 'GET', RequestUriMethod_GET_getInstance, VOID, true);
|
|
415
|
+
defineProp(RequestUriMethod, 'POST', RequestUriMethod_POST_getInstance, VOID, true);
|
|
416
|
+
var FetchRequestUriCommand_0 = {};
|
|
417
|
+
defineProp(FetchRequestUriCommand_0, 'Companion', Companion_getInstance, VOID, true);
|
|
418
|
+
var ParseUriQueryCommand_0 = {};
|
|
419
|
+
defineProp(ParseUriQueryCommand_0, 'Companion', Companion_getInstance_0, VOID, true);
|
|
420
|
+
export {
|
|
421
|
+
RequestUriMethod as RequestUriMethod,
|
|
422
|
+
FetchRequestUriArgs as FetchRequestUriArgs,
|
|
423
|
+
FetchedRequestUri as FetchedRequestUri,
|
|
424
|
+
FetchRequestUriCommand_0 as FetchRequestUriCommand,
|
|
425
|
+
ParsedUri as ParsedUri,
|
|
426
|
+
ParseUriQueryCommand_0 as ParseUriQueryCommand,
|
|
427
|
+
};
|
|
428
|
+
//endregion
|
|
429
|
+
|
|
430
|
+
//# sourceMappingURL=idk-lib-data-link-http-client-public.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../../../../../src/commonMain/kotlin/com/sphereon/ktor/http/client/FetchRequestUri.kt","../../../../../../src/commonMain/kotlin/com/sphereon/ktor/http/client/UriParsing.kt","src/kotlin/util/Standard.kt","src/kotlin/text/Strings.kt","common/src/generated/_Collections.kt","src/kotlin/collections/Collections.kt"],"sourcesContent":[null,null,null,null,null,null],"ignoreList":[],"x_google_ignoreList":[],"names":["requestUri","httpMethod","httpClientOptions","expectedContentType","walletMetadataJson","walletNonce","<get-requestUri>","<get-httpMethod>","<get-httpClientOptions>","<get-expectedContentType>","<get-walletMetadataJson>","<get-walletNonce>","result","content","contentType","<get-content>","<get-contentType>","<get-COMMAND_ID>","uri","scheme","host","path","queryParameters","<get-uri>","<get-scheme>","<get-host>","<get-path>","<get-queryParameters>","<get-parameters>","getFirst","name","getAll","getFirstRequired","parameterType","value","getFirstRequired$default","getAllRequired","element","values","getAllRequired$default","valueOf"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cA2DIA,U,EACAC,U,EACAC,iB,EACAC,mB,EACAC,kB,EACAC,W;uCAJoD,kC;qDACS,wB;yDAC1B,I;uDACD,I;yCACP,I;IAL3B,4B;IACA,4B;IACA,0C;IACA,8C;IACA,4C;IACA,8B;;KALAC,CAAAA,EAAA;A,IAAA,sB;EAAqB,C;KACrBC,CAAAA,EAAA;A,IAAA,sB;EAAsD,C;KACtDC,CAAAA,EAAA;A,IAAA,6B;EAA2E,C;KAC3EC,CAAAA,EAAA;A,IAAA,+B;EAAsC,C;KACtCC,CAAAA,EAAA;A,IAAA,8B;EAAqC,C;KACrCC,CAAAA,EAAA;A,IAAA,uB;EAA8B,C;OAhElC;A,IAAA,sB;EAAA,C;OAAA;A,IAAA,sB;EAAA,C;OAAA;A,IAAA,6B;EAAA,C;QAAA;A,IAAA,+B;EAAA,C;QAAA;A,IAAA,8B;EAAA,C;QAAA;A,IAAA,uB;EAAA,C;uGAAA;A,IAAA,+H;EAAA,C;;uCAAA,I,CAAA,U;uCAAA,I,CAAA,U;qDAAA,I,CAAA,iB;yDAAA,I,CAAA,mB;uDAAA,I,CAAA,kB;yCAAA,I,CAAA,W;;;aAAA;A,IAAA,4T;EAAA,C;aAAA;A,QAAAC,2C;IAAA,0D;IAAA,iE;IAAA,oH;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AA,0F;IAAA,sF;IAAA,4D;IAAA,8D;IAAA,a;EAAA,C;gBAAA;A,IAAA,mB;MAAA,W;IAAA,kC;MAAA,Y;IAAA,8B;MAAA,Y;IAAA,mC;MAAA,Y;IAAA,+B;MAAA,Y;IAAA,gC;MAAA,Y;IAAA,yD;MAAA,Y;IAAA,W;EAAA,C;;;;;;;IA0L+B,kC;;KAAjBK,CAAAA,EAAA;A,IAAA,sB;EAAa,C;;;;;;eD1L3BqB,CAAAA,E;;C;gBAAAE,CA+BAN,KA/BAM,E;;;;;;;;;;;C;;;;;;uDAAA,K,EAAA,C;wDAAA,M,EAAA,C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/package.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
{
|
|
2
|
+
"type": "module",
|
|
3
|
+
"exports": {
|
|
4
|
+
".": {
|
|
5
|
+
"types": "./idk-lib-data-link-http-client-public.d.mts",
|
|
6
|
+
"react-native": "./idk-lib-data-link-http-client-public.mjs",
|
|
7
|
+
"browser": "./idk-lib-data-link-http-client-public.mjs",
|
|
8
|
+
"node": "./idk-lib-data-link-http-client-public.mjs",
|
|
9
|
+
"default": "./idk-lib-data-link-http-client-public.mjs"
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/sphereon-opensource/idk",
|
|
15
|
+
"directory": "lib/"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/sphereon-opensource/idk/issues"
|
|
19
|
+
},
|
|
20
|
+
"name": "@sphereon/idk-lib-data-link-http-client-public",
|
|
21
|
+
"version": "0.25.0-SNAPSHOT-build-8529934",
|
|
22
|
+
"homepage": "https://github.com/sphereon-opensource/idk",
|
|
23
|
+
"license": "Apache-2.0",
|
|
24
|
+
"types": "./idk-lib-data-link-http-client-public.d.mts",
|
|
25
|
+
"keywords": [
|
|
26
|
+
"sphereon",
|
|
27
|
+
"idk",
|
|
28
|
+
"identity",
|
|
29
|
+
"kotlin-multiplatform",
|
|
30
|
+
"esm",
|
|
31
|
+
"typescript"
|
|
32
|
+
],
|
|
33
|
+
"main": "idk-lib-data-link-http-client-public.mjs",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"ws": "8.18.3",
|
|
36
|
+
"@js-joda/core": "5.6.3",
|
|
37
|
+
"@js-joda/timezone": "2.22.0"
|
|
38
|
+
}
|
|
39
|
+
}
|