arrow-resilience-kit 0.0.0-stage → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/Kotlin-DateTime-library-kotlinx-datetime.js +15 -0
  2. package/Kotlin-DateTime-library-kotlinx-datetime.js.map +1 -0
  3. package/arrow-arrow-annotations.js +15 -0
  4. package/arrow-arrow-annotations.js.map +1 -0
  5. package/arrow-arrow-atomic.js +52 -0
  6. package/arrow-arrow-atomic.js.map +1 -0
  7. package/arrow-arrow-autoclose.js +15 -0
  8. package/arrow-arrow-autoclose.js.map +1 -0
  9. package/arrow-arrow-core.js +143 -0
  10. package/arrow-arrow-core.js.map +1 -0
  11. package/arrow-arrow-exception-utils.js +35 -0
  12. package/arrow-arrow-exception-utils.js.map +1 -0
  13. package/arrow-arrow-fx-coroutines.js +15 -0
  14. package/arrow-arrow-fx-coroutines.js.map +1 -0
  15. package/arrow-arrow-fx-stm.js +529 -0
  16. package/arrow-arrow-fx-stm.js.map +1 -0
  17. package/arrow-arrow-resilience.js +1415 -0
  18. package/arrow-arrow-resilience.js.map +1 -0
  19. package/arrow-resilience-kit.d.ts +451 -0
  20. package/arrow-resilience-kit.js +15938 -0
  21. package/arrow-resilience-kit.js.map +1 -0
  22. package/kotlin-js-core.js +15 -0
  23. package/kotlin-js-core.js.map +1 -0
  24. package/kotlin-js-plain-object.js +15 -0
  25. package/kotlin-js-plain-object.js.map +1 -0
  26. package/kotlin-js.js +15 -0
  27. package/kotlin-js.js.map +1 -0
  28. package/kotlin-kotlin-stdlib.js +8771 -0
  29. package/kotlin-kotlin-stdlib.js.map +1 -0
  30. package/kotlin-logging.js +494 -0
  31. package/kotlin-logging.js.map +1 -0
  32. package/kotlin-plugins-js-plain-objects-runtime.js +15 -0
  33. package/kotlin-plugins-js-plain-objects-runtime.js.map +1 -0
  34. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js +15 -0
  35. package/kotlin_org_jetbrains_kotlin_kotlin_dom_api_compat.js.map +1 -0
  36. package/kotlinx-atomicfu.js +263 -0
  37. package/kotlinx-atomicfu.js.map +1 -0
  38. package/kotlinx-coroutines-core.js +5762 -0
  39. package/kotlinx-coroutines-core.js.map +1 -0
  40. package/kotlinx-serialization-kotlinx-serialization-core.js +784 -0
  41. package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -0
  42. package/kotlinx-serialization-kotlinx-serialization-json.js +15 -0
  43. package/kotlinx-serialization-kotlinx-serialization-json.js.map +1 -0
  44. package/package.json +32 -3
  45. package/seskar-core.js +15 -0
  46. package/seskar-core.js.map +1 -0
  47. package/README.md +0 -3
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['Kotlin-DateTime-library-kotlinx-datetime'] = factory(typeof globalThis['Kotlin-DateTime-library-kotlinx-datetime'] === 'undefined' ? {} : globalThis['Kotlin-DateTime-library-kotlinx-datetime']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=Kotlin-DateTime-library-kotlinx-datetime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt"],"sourcesContent":[null],"ignoreList":[0],"x_google_ignoreList":[0],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['arrow-arrow-annotations'] = factory(typeof globalThis['arrow-arrow-annotations'] === 'undefined' ? {} : globalThis['arrow-arrow-annotations']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=arrow-arrow-annotations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt"],"sourcesContent":[null],"ignoreList":[0],"x_google_ignoreList":[0],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,52 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'arrow-arrow-atomic'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'arrow-arrow-atomic'.");
9
+ }
10
+ globalThis['arrow-arrow-atomic'] = factory(typeof globalThis['arrow-arrow-atomic'] === 'undefined' ? {} : globalThis['arrow-arrow-atomic'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var AtomicReference = kotlin_kotlin.$_$.j3;
16
+ var protoOf = kotlin_kotlin.$_$.r5;
17
+ var initMetadataForClass = kotlin_kotlin.$_$.f5;
18
+ //endregion
19
+ //region block: pre-declaration
20
+ initMetadataForClass(Atomic, 'Atomic');
21
+ //endregion
22
+ function set_value(_this__u8e3s4, value) {
23
+ _this__u8e3s4.set_inogor_k$(value);
24
+ }
25
+ function get_value(_this__u8e3s4) {
26
+ return _this__u8e3s4.get_26vq_k$();
27
+ }
28
+ function Atomic(initialValue) {
29
+ this.inner_1 = new AtomicReference(initialValue);
30
+ }
31
+ protoOf(Atomic).get_26vq_k$ = function () {
32
+ return this.inner_1.load_1zbae_k$();
33
+ };
34
+ protoOf(Atomic).set_inogor_k$ = function (value) {
35
+ this.inner_1.store_2l8a0y_k$(value);
36
+ };
37
+ protoOf(Atomic).getAndSet_6mmyt0_k$ = function (value) {
38
+ return this.inner_1.exchange_fma250_k$(value);
39
+ };
40
+ protoOf(Atomic).compareAndSet_10iwom_k$ = function (expected, new_0) {
41
+ return this.inner_1.compareAndSet_l3595a_k$(expected, new_0);
42
+ };
43
+ //region block: exports
44
+ _.$_$ = _.$_$ || {};
45
+ _.$_$.a = Atomic;
46
+ _.$_$.b = get_value;
47
+ _.$_$.c = set_value;
48
+ //endregion
49
+ return _;
50
+ }));
51
+
52
+ //# sourceMappingURL=arrow-arrow-atomic.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sourceRoot":"../../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-atomic/src/","sources":["NATIVE_IMPLEMENTATIONS.kt","commonMain/kotlin/arrow/atomic/Atomic.kt","nonJvmMain/kotlin/arrow/atomic/Atomic.kt"],"sourcesContent":[null,null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["<set-value>","<this>","value","<get-value>","<init>","initialValue","get","set","getAndSet","compareAndSet","expected","new"],"mappings":";;;;;;;;;;;;;;;;;;;;;EC6CEA,mBAFaC,a,EAETC,KAAJF,EAAW;A,IACT,4BAAI,KAAJ,C;EACF,C;EAHAG,mBADaF,aACbE,EAAQ;A,IAAK,OAAL,2B;EAAI,C;ECrCuBC,gBAAYC,YAAZD,EAAA;A,IACf,mCAAkB,YAAlB,C;EADe,C;gCAGrBE,UAAAA,EAAe;A,IAAY,OAAZ,IAAM,CAAN,OAAM,gB;EAAK,C;kCAC1BC,UAAQL,KAARK,EAAkB;A,IAAE,IAAM,CAAN,OAAM,iBAAM,KAAN,C;EAAa,C;wCACvCC,UAAcN,KAAdM,EAA6B;A,IAAqB,OAArB,IAAM,CAAN,OAAM,oBAAS,KAAT,C;EAAc,C;4CAMjDC,UAAkBC,Q,EAAaC,KAA/BF,EAAkD;A,IAAkC,OAAlC,IAAM,CAAN,OAAM,yBAAc,QAAd,EAAwB,KAAxB,C;EAA2B,C;;;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['arrow-arrow-autoclose'] = factory(typeof globalThis['arrow-arrow-autoclose'] === 'undefined' ? {} : globalThis['arrow-arrow-autoclose']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=arrow-arrow-autoclose.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt"],"sourcesContent":[null],"ignoreList":[0],"x_google_ignoreList":[0],"names":[],"mappings":";;;;;;;;;;;;;"}
@@ -0,0 +1,143 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'arrow-arrow-core'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'arrow-arrow-core'.");
9
+ }
10
+ globalThis['arrow-arrow-core'] = factory(typeof globalThis['arrow-arrow-core'] === 'undefined' ? {} : globalThis['arrow-arrow-core'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var noWhenBranchMatchedException = kotlin_kotlin.$_$.b7;
16
+ var protoOf = kotlin_kotlin.$_$.r5;
17
+ var initMetadataForCompanion = kotlin_kotlin.$_$.g5;
18
+ var Unit_instance = kotlin_kotlin.$_$.b1;
19
+ var toString = kotlin_kotlin.$_$.e7;
20
+ var hashCode = kotlin_kotlin.$_$.e5;
21
+ var equals = kotlin_kotlin.$_$.z4;
22
+ var initMetadataForClass = kotlin_kotlin.$_$.f5;
23
+ var VOID = kotlin_kotlin.$_$.a;
24
+ //endregion
25
+ //region block: pre-declaration
26
+ initMetadataForCompanion(Companion);
27
+ initMetadataForCompanion(Companion_0);
28
+ initMetadataForClass(Either, 'Either');
29
+ initMetadataForClass(Left, 'Left', VOID, Either);
30
+ initMetadataForClass(Right, 'Right', VOID, Either);
31
+ initMetadataForCompanion(Companion_1);
32
+ //endregion
33
+ function merge(_this__u8e3s4) {
34
+ // Inline function 'arrow.core.Either.fold' call
35
+ var tmp;
36
+ if (_this__u8e3s4 instanceof Right) {
37
+ // Inline function 'arrow.core.identity' call
38
+ tmp = _this__u8e3s4.value_1;
39
+ } else {
40
+ if (_this__u8e3s4 instanceof Left) {
41
+ // Inline function 'arrow.core.identity' call
42
+ tmp = _this__u8e3s4.value_1;
43
+ } else {
44
+ noWhenBranchMatchedException();
45
+ }
46
+ }
47
+ return tmp;
48
+ }
49
+ function Companion() {
50
+ }
51
+ var Companion_instance;
52
+ function Companion_getInstance() {
53
+ return Companion_instance;
54
+ }
55
+ function Companion_0() {
56
+ Companion_instance_0 = this;
57
+ this.unit_1 = new Right(Unit_instance);
58
+ }
59
+ var Companion_instance_0;
60
+ function Companion_getInstance_0() {
61
+ if (Companion_instance_0 == null) {
62
+ Companion_instance_1;
63
+ new Companion_0();
64
+ }
65
+ return Companion_instance_0;
66
+ }
67
+ function Left(value) {
68
+ Either.call(this);
69
+ this.value_1 = value;
70
+ }
71
+ protoOf(Left).toString = function () {
72
+ return 'Either.Left(' + toString(this.value_1) + ')';
73
+ };
74
+ protoOf(Left).hashCode = function () {
75
+ return this.value_1 == null ? 0 : hashCode(this.value_1);
76
+ };
77
+ protoOf(Left).equals = function (other) {
78
+ if (this === other)
79
+ return true;
80
+ if (!(other instanceof Left))
81
+ return false;
82
+ if (!equals(this.value_1, other.value_1))
83
+ return false;
84
+ return true;
85
+ };
86
+ function Right(value) {
87
+ Companion_getInstance_0();
88
+ Either.call(this);
89
+ this.value_1 = value;
90
+ }
91
+ protoOf(Right).toString = function () {
92
+ return 'Either.Right(' + toString(this.value_1) + ')';
93
+ };
94
+ protoOf(Right).hashCode = function () {
95
+ return this.value_1 == null ? 0 : hashCode(this.value_1);
96
+ };
97
+ protoOf(Right).equals = function (other) {
98
+ if (this === other)
99
+ return true;
100
+ if (!(other instanceof Right))
101
+ return false;
102
+ if (!equals(this.value_1, other.value_1))
103
+ return false;
104
+ return true;
105
+ };
106
+ function Companion_1() {
107
+ }
108
+ var Companion_instance_1;
109
+ function Companion_getInstance_1() {
110
+ return Companion_instance_1;
111
+ }
112
+ function Either() {
113
+ }
114
+ protoOf(Either).toString = function () {
115
+ // Inline function 'arrow.core.Either.fold' call
116
+ var tmp;
117
+ if (this instanceof Right) {
118
+ var it = this.value_1;
119
+ tmp = 'Either.Right(' + toString(it) + ')';
120
+ } else {
121
+ if (this instanceof Left) {
122
+ var it_0 = this.value_1;
123
+ tmp = 'Either.Left(' + toString(it_0) + ')';
124
+ } else {
125
+ noWhenBranchMatchedException();
126
+ }
127
+ }
128
+ return tmp;
129
+ };
130
+ //region block: init
131
+ Companion_instance = new Companion();
132
+ Companion_instance_1 = new Companion_1();
133
+ //endregion
134
+ //region block: exports
135
+ _.$_$ = _.$_$ || {};
136
+ _.$_$.a = Left;
137
+ _.$_$.b = Right;
138
+ _.$_$.c = merge;
139
+ //endregion
140
+ return _;
141
+ }));
142
+
143
+ //# sourceMappingURL=arrow-arrow-core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","../../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-core/src/commonMain/kotlin/arrow/core/Either.kt"],"sourcesContent":[null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["merge","<this>","<init>","toString"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EC88COA,eAAQC,aAARD,EACL;A;QD/8CF,G;IC2lBM,IAo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A;AAAA,IAAA,IAAA,IAAA,KAAA,KAAA,CAAA;AAAA,MAAA,OAAA,IAAA;IAAA,MAAA,KAAA,mBAAA;AAAA,MAAA,OAAA,KAAA;IAAA,IAAA,CAAA,OAAA,IAAA,CAAA,OAAA,EAAA,KAAA,CAAA,OAAA,CAAA,CAAA;AAAA,MAAA,OAAA,KAAA;IAAA,OAAA,IAAA;AAAA,EAAA,CAAA;A,EC40BED,qBAAAA,EAAA;A,EAAA,C;;ED50BF,iCAAA,EAAA;AAAA;AAAA,GAAA;A,ECueAA,gBAAAA,EAAA;A,EAAA,C;6BA6VWC,UAAAA,EAAyB;A;QDp0BpC,G;IC2lBM,IAyO8B,IAzO9B,kB;UD3lBN,KCo0BoC,IDp0BpC,CC2lB0B,O;YA2OnB,eAAD,YAAe,EAAf,IAAiB,G;;MA1OjB,IAwO8B,IAxO9B,iB;YD5lBN,OCo0BoC,IDp0BpC,CC4lBwB,O;cAyOjB,cAAD,YAAc,IAAd,IAAgB,G;;QA3OX,8B;;;IA6OR,OA7OQ,G;EA6OT,C;;;;;;;;;;;;;"}
@@ -0,0 +1,35 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports', './kotlin-kotlin-stdlib.js'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports, require('./kotlin-kotlin-stdlib.js'));
6
+ else {
7
+ if (typeof globalThis['kotlin-kotlin-stdlib'] === 'undefined') {
8
+ throw new Error("Error loading module 'arrow-arrow-exception-utils'. Its dependency 'kotlin-kotlin-stdlib' was not found. Please, check whether 'kotlin-kotlin-stdlib' is loaded prior to 'arrow-arrow-exception-utils'.");
9
+ }
10
+ globalThis['arrow-arrow-exception-utils'] = factory(typeof globalThis['arrow-arrow-exception-utils'] === 'undefined' ? {} : globalThis['arrow-arrow-exception-utils'], globalThis['kotlin-kotlin-stdlib']);
11
+ }
12
+ }(function (_, kotlin_kotlin) {
13
+ 'use strict';
14
+ //region block: imports
15
+ var CancellationException = kotlin_kotlin.$_$.k3;
16
+ //endregion
17
+ //region block: pre-declaration
18
+ //endregion
19
+ function NonFatal(t) {
20
+ var tmp;
21
+ if (t instanceof CancellationException) {
22
+ tmp = false;
23
+ } else {
24
+ tmp = true;
25
+ }
26
+ return tmp;
27
+ }
28
+ //region block: exports
29
+ _.$_$ = _.$_$ || {};
30
+ _.$_$.a = NonFatal;
31
+ //endregion
32
+ return _;
33
+ }));
34
+
35
+ //# sourceMappingURL=arrow-arrow-exception-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","../../../../../../../../../../../Users/runner/work/arrow/arrow/arrow-libs/core/arrow-exception-utils/src/nonJvmMain/kotlin/arrow/core/NonFatal.kt"],"sourcesContent":[null,null],"ignoreList":[0],"x_google_ignoreList":[0],"names":["NonFatal","t"],"mappings":";;;;;;;;;;;;;;;;;;ECIcA,kBAAaC,CAAbD,EACZ;A,QDLF,G;ICMI,IADI,CACJ,kC;YAA4B,K;;YACpB,I;;IACT,U;EAAD,C;;;;;;;"}
@@ -0,0 +1,15 @@
1
+ (function (factory) {
2
+ if (typeof define === 'function' && define.amd)
3
+ define(['exports'], factory);
4
+ else if (typeof exports === 'object')
5
+ factory(module.exports);
6
+ else
7
+ globalThis['arrow-arrow-fx-coroutines'] = factory(typeof globalThis['arrow-arrow-fx-coroutines'] === 'undefined' ? {} : globalThis['arrow-arrow-fx-coroutines']);
8
+ }(function (_) {
9
+ 'use strict';
10
+ //region block: pre-declaration
11
+ //endregion
12
+ return _;
13
+ }));
14
+
15
+ //# sourceMappingURL=arrow-arrow-fx-coroutines.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt"],"sourcesContent":[null],"ignoreList":[0],"x_google_ignoreList":[0],"names":[],"mappings":";;;;;;;;;;;;;"}