@icure/cardinal-sdk 2.0.0-PREVIEW-11 → 2.0.0-PREVIEW-13

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.
Files changed (41) hide show
  1. package/Kermit-kermit-core.mjs +42 -42
  2. package/Kermit-kermit.mjs +8 -8
  3. package/Kotlin-DateTime-library-kotlinx-datetime.mjs +3919 -3777
  4. package/KotlinBigInteger-bignum.mjs +1434 -1470
  5. package/cardinal-sdk-ts.d.mts +338 -100
  6. package/cardinal-sdk-ts.mjs +56589 -56241
  7. package/cardinal-sdk.mjs +120963 -100123
  8. package/kerberus.mjs +381 -381
  9. package/kotlin-kotlin-stdlib.mjs +3462 -2814
  10. package/kotlinx-atomicfu.mjs +14 -14
  11. package/kotlinx-coroutines-core.mjs +2696 -2693
  12. package/kotlinx-io-kotlinx-io-bytestring.mjs +47 -47
  13. package/kotlinx-io-kotlinx-io-core.mjs +539 -539
  14. package/kotlinx-serialization-kotlinx-serialization-core.mjs +2149 -2111
  15. package/kotlinx-serialization-kotlinx-serialization-json.mjs +2047 -2029
  16. package/kryptom-lib.mjs +2065 -2081
  17. package/ktor-ktor-client-content-negotiation.mjs +217 -217
  18. package/ktor-ktor-client-core.mjs +2997 -2993
  19. package/ktor-ktor-events.mjs +8 -8
  20. package/ktor-ktor-http-cio.mjs +538 -537
  21. package/ktor-ktor-http.mjs +799 -927
  22. package/ktor-ktor-io.mjs +1079 -1079
  23. package/ktor-ktor-serialization-kotlinx-json.mjs +10 -10
  24. package/ktor-ktor-serialization-kotlinx.mjs +270 -270
  25. package/ktor-ktor-serialization.mjs +129 -129
  26. package/ktor-ktor-utils.mjs +614 -600
  27. package/ktor-ktor-websockets.mjs +751 -750
  28. package/package.json +2 -3
  29. package/ktor-ktor-client-ktor-client-core.mjs +0 -8986
  30. package/ktor-ktor-client-ktor-client-plugins-ktor-client-content-negotiation.mjs +0 -756
  31. package/ktor-ktor-client-ktor-client-plugins-ktor-client-websockets.mjs +0 -2
  32. package/ktor-ktor-http-ktor-http-cio.mjs +0 -1996
  33. package/ktor-ktor-shared-ktor-events.mjs +0 -79
  34. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx-ktor-serialization-kotlinx-json.mjs +0 -44
  35. package/ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs +0 -857
  36. package/ktor-ktor-shared-ktor-serialization.mjs +0 -371
  37. package/ktor-ktor-shared-ktor-sse.mjs +0 -2
  38. package/ktor-ktor-shared-ktor-websocket-serialization.mjs +0 -2
  39. package/ktor-ktor-shared-ktor-websockets.mjs +0 -2334
  40. package/model/UserAndHealthcareParty.d.mts +0 -7
  41. package/model/UserAndHealthcareParty.mjs +0 -6
@@ -1,79 +0,0 @@
1
- import {
2
- protoOf180f3jzyo7rfj as protoOf,
3
- initMetadataForClassbxx6q50dy2s7 as initMetadataForClass,
4
- VOID7hggqo3abtya as VOID,
5
- THROW_CCE2g6jy02ryeudk as THROW_CCE,
6
- equals2au1ep9vhcato as equals,
7
- addSuppressedu5jwjfvsc039 as addSuppressed,
8
- Unit_instance104q5opgivhr8 as Unit_instance,
9
- } from './kotlin-kotlin-stdlib.mjs';
10
- import {
11
- LockFreeLinkedListNode1f5fxflchw0ko as LockFreeLinkedListNode,
12
- CopyOnWriteHashMap2wz01l72sexe7 as CopyOnWriteHashMap,
13
- } from './ktor-ktor-utils.mjs';
14
- //region block: imports
15
- //endregion
16
- //region block: pre-declaration
17
- initMetadataForClass(EventDefinition, 'EventDefinition', EventDefinition);
18
- initMetadataForClass(HandlerRegistration, 'HandlerRegistration', VOID, LockFreeLinkedListNode);
19
- initMetadataForClass(Events, 'Events', Events);
20
- //endregion
21
- function EventDefinition() {
22
- }
23
- function HandlerRegistration() {
24
- }
25
- function Events() {
26
- this.n3b_1 = new CopyOnWriteHashMap();
27
- }
28
- protoOf(Events).o3b = function (definition, value) {
29
- var exception = null;
30
- var tmp0_safe_receiver = this.n3b_1.g2q(definition);
31
- if (tmp0_safe_receiver == null)
32
- null;
33
- else {
34
- // Inline function 'io.ktor.util.internal.LockFreeLinkedListHead.forEach' call
35
- var tmp = tmp0_safe_receiver.h14();
36
- var cur = tmp instanceof LockFreeLinkedListNode ? tmp : THROW_CCE();
37
- while (!equals(cur, tmp0_safe_receiver)) {
38
- if (cur instanceof HandlerRegistration) {
39
- var registration = cur;
40
- try {
41
- var tmp_0 = registration.q3b_1;
42
- (typeof tmp_0 === 'function' ? tmp_0 : THROW_CCE())(value);
43
- } catch ($p) {
44
- if ($p instanceof Error) {
45
- var e = $p;
46
- var tmp0_safe_receiver_0 = exception;
47
- var tmp_1;
48
- if (tmp0_safe_receiver_0 == null) {
49
- tmp_1 = null;
50
- } else {
51
- addSuppressed(tmp0_safe_receiver_0, e);
52
- tmp_1 = Unit_instance;
53
- }
54
- if (tmp_1 == null) {
55
- // Inline function 'kotlin.run' call
56
- exception = e;
57
- }
58
- } else {
59
- throw $p;
60
- }
61
- }
62
- }
63
- cur = cur.f2r();
64
- }
65
- }
66
- var tmp1_safe_receiver = exception;
67
- if (tmp1_safe_receiver == null)
68
- null;
69
- else {
70
- // Inline function 'kotlin.let' call
71
- throw tmp1_safe_receiver;
72
- }
73
- };
74
- //region block: exports
75
- export {
76
- EventDefinition as EventDefinition1fymk8xrdelhn,
77
- Events as Events63tfxre48w4z,
78
- };
79
- //endregion
@@ -1,44 +0,0 @@
1
- import {
2
- VOID7hggqo3abtya as VOID,
3
- Unit_instance104q5opgivhr8 as Unit_instance,
4
- } from './kotlin-kotlin-stdlib.mjs';
5
- import { Application_getInstance1d4ly18wdhadx as Application_getInstance } from './ktor-ktor-http.mjs';
6
- import { serialization1fpeds7cruos4 as serialization } from './ktor-ktor-shared-ktor-serialization-ktor-serialization-kotlinx.mjs';
7
- import { Jsonsmkyu9xjl7fv as Json } from './kotlinx-serialization-kotlinx-serialization-json.mjs';
8
- //region block: imports
9
- //endregion
10
- //region block: pre-declaration
11
- //endregion
12
- function get_DefaultJson() {
13
- _init_properties_JsonSupport_kt__yf438r();
14
- return DefaultJson;
15
- }
16
- var DefaultJson;
17
- function json(_this__u8e3s4, json, contentType) {
18
- json = json === VOID ? get_DefaultJson() : json;
19
- contentType = contentType === VOID ? Application_getInstance().f2u_1 : contentType;
20
- _init_properties_JsonSupport_kt__yf438r();
21
- serialization(_this__u8e3s4, contentType, json);
22
- }
23
- function DefaultJson$lambda($this$Json) {
24
- _init_properties_JsonSupport_kt__yf438r();
25
- $this$Json.k55_1 = true;
26
- $this$Json.n55_1 = true;
27
- $this$Json.y55_1 = true;
28
- $this$Json.z55_1 = true;
29
- $this$Json.o55_1 = false;
30
- $this$Json.a56_1 = false;
31
- return Unit_instance;
32
- }
33
- var properties_initialized_JsonSupport_kt_9cgd93;
34
- function _init_properties_JsonSupport_kt__yf438r() {
35
- if (!properties_initialized_JsonSupport_kt_9cgd93) {
36
- properties_initialized_JsonSupport_kt_9cgd93 = true;
37
- DefaultJson = Json(VOID, DefaultJson$lambda);
38
- }
39
- }
40
- //region block: exports
41
- export {
42
- json as jsonu6qnfo3b405p,
43
- };
44
- //endregion