arrow-resilience-kit 0.9.2 → 0.10.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.
- package/arrow-arrow-atomic.js +13 -13
- package/arrow-arrow-atomic.js.map +1 -1
- package/arrow-arrow-core.js +20 -20
- package/arrow-arrow-core.js.map +1 -1
- package/arrow-arrow-exception-utils.js.map +1 -1
- package/arrow-arrow-fx-stm.js +172 -172
- package/arrow-arrow-fx-stm.js.map +1 -1
- package/arrow-arrow-resilience.js +529 -529
- package/arrow-arrow-resilience.js.map +1 -1
- package/arrow-resilience-kit.d.ts +61 -31
- package/arrow-resilience-kit.js +6345 -5607
- package/arrow-resilience-kit.js.map +1 -1
- package/index.cjs +10 -0
- package/index.mjs +4 -0
- package/kotlin-kotlin-stdlib.js +1834 -1758
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlin-logging.js +172 -135
- package/kotlin-logging.js.map +1 -1
- package/kotlinx-atomicfu.js +22 -22
- package/kotlinx-atomicfu.js.map +1 -1
- package/kotlinx-coroutines-core.js +1316 -1378
- package/kotlinx-coroutines-core.js.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core.js +249 -249
- package/kotlinx-serialization-kotlinx-serialization-core.js.map +1 -1
- package/package.json +14 -6
- package/Kotlin-DateTime-library-kotlinx-datetime.js +0 -15
- package/Kotlin-DateTime-library-kotlinx-datetime.js.map +0 -1
package/arrow-arrow-atomic.js
CHANGED
|
@@ -13,32 +13,32 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var AtomicReference = kotlin_kotlin.$_$.j3;
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.s5;
|
|
17
|
+
var initMetadataForClass = kotlin_kotlin.$_$.g5;
|
|
18
18
|
//endregion
|
|
19
19
|
//region block: pre-declaration
|
|
20
20
|
initMetadataForClass(Atomic, 'Atomic');
|
|
21
21
|
//endregion
|
|
22
22
|
function set_value(_this__u8e3s4, value) {
|
|
23
|
-
_this__u8e3s4.
|
|
23
|
+
_this__u8e3s4.df(value);
|
|
24
24
|
}
|
|
25
25
|
function get_value(_this__u8e3s4) {
|
|
26
|
-
return _this__u8e3s4.
|
|
26
|
+
return _this__u8e3s4.ef();
|
|
27
27
|
}
|
|
28
28
|
function Atomic(initialValue) {
|
|
29
|
-
this.
|
|
29
|
+
this.cf_1 = new AtomicReference(initialValue);
|
|
30
30
|
}
|
|
31
|
-
protoOf(Atomic).
|
|
32
|
-
return this.
|
|
31
|
+
protoOf(Atomic).ef = function () {
|
|
32
|
+
return this.cf_1.c6();
|
|
33
33
|
};
|
|
34
|
-
protoOf(Atomic).
|
|
35
|
-
this.
|
|
34
|
+
protoOf(Atomic).df = function (value) {
|
|
35
|
+
this.cf_1.d6(value);
|
|
36
36
|
};
|
|
37
|
-
protoOf(Atomic).
|
|
38
|
-
return this.
|
|
37
|
+
protoOf(Atomic).ff = function (value) {
|
|
38
|
+
return this.cf_1.e6(value);
|
|
39
39
|
};
|
|
40
|
-
protoOf(Atomic).
|
|
41
|
-
return this.
|
|
40
|
+
protoOf(Atomic).gf = function (expected, new_0) {
|
|
41
|
+
return this.cf_1.f6(expected, new_0);
|
|
42
42
|
};
|
|
43
43
|
//region block: exports
|
|
44
44
|
_.$_$ = _.$_$ || {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"
|
|
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,iBAAI,KAAJ,C;EACF,C;EAHAG,mBADaF,aACbE,EAAQ;A,IAAK,OAAL,kB;EAAI,C;ECrCuBC,gBAAYC,YAAZD,EAAA;A,IACf,gCAAkB,YAAlB,C;EADe,C;uBAGrBE,UAAAA,EAAe;A,IAAY,OAAZ,IAAM,CAAN,IAAM,K;EAAK,C;uBAC1BC,UAAQL,KAARK,EAAkB;A,IAAE,IAAM,CAAN,IAAM,IAAM,KAAN,C;EAAa,C;uBACvCC,UAAcN,KAAdM,EAA6B;A,IAAqB,OAArB,IAAM,CAAN,IAAM,IAAS,KAAT,C;EAAc,C;uBAMjDC,UAAkBC,Q,EAAaC,KAA/BF,EAAkD;A,IAAkC,OAAlC,IAAM,CAAN,IAAM,IAAc,QAAd,EAAwB,KAAxB,C;EAA2B,C;;;;;;;;;"}
|
package/arrow-arrow-core.js
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
}(function (_, kotlin_kotlin) {
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var initMetadataForCompanion = kotlin_kotlin.$_$.
|
|
15
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.d7;
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.s5;
|
|
17
|
+
var initMetadataForCompanion = kotlin_kotlin.$_$.h5;
|
|
18
18
|
var Unit_instance = kotlin_kotlin.$_$.b1;
|
|
19
|
-
var toString = kotlin_kotlin.$_$.
|
|
20
|
-
var hashCode = kotlin_kotlin.$_$.
|
|
21
|
-
var equals = kotlin_kotlin.$_$.
|
|
22
|
-
var initMetadataForClass = kotlin_kotlin.$_$.
|
|
19
|
+
var toString = kotlin_kotlin.$_$.g7;
|
|
20
|
+
var hashCode = kotlin_kotlin.$_$.f5;
|
|
21
|
+
var equals = kotlin_kotlin.$_$.a5;
|
|
22
|
+
var initMetadataForClass = kotlin_kotlin.$_$.g5;
|
|
23
23
|
var VOID = kotlin_kotlin.$_$.a;
|
|
24
24
|
//endregion
|
|
25
25
|
//region block: pre-declaration
|
|
@@ -35,11 +35,11 @@
|
|
|
35
35
|
var tmp;
|
|
36
36
|
if (_this__u8e3s4 instanceof Right) {
|
|
37
37
|
// Inline function 'arrow.core.identity' call
|
|
38
|
-
tmp = _this__u8e3s4.
|
|
38
|
+
tmp = _this__u8e3s4.if_1;
|
|
39
39
|
} else {
|
|
40
40
|
if (_this__u8e3s4 instanceof Left) {
|
|
41
41
|
// Inline function 'arrow.core.identity' call
|
|
42
|
-
tmp = _this__u8e3s4.
|
|
42
|
+
tmp = _this__u8e3s4.hf_1;
|
|
43
43
|
} else {
|
|
44
44
|
noWhenBranchMatchedException();
|
|
45
45
|
}
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
}
|
|
55
55
|
function Companion_0() {
|
|
56
56
|
Companion_instance_0 = this;
|
|
57
|
-
this.
|
|
57
|
+
this.jf_1 = new Right(Unit_instance);
|
|
58
58
|
}
|
|
59
59
|
var Companion_instance_0;
|
|
60
60
|
function Companion_getInstance_0() {
|
|
@@ -66,40 +66,40 @@
|
|
|
66
66
|
}
|
|
67
67
|
function Left(value) {
|
|
68
68
|
Either.call(this);
|
|
69
|
-
this.
|
|
69
|
+
this.hf_1 = value;
|
|
70
70
|
}
|
|
71
71
|
protoOf(Left).toString = function () {
|
|
72
|
-
return 'Either.Left(' + toString(this.
|
|
72
|
+
return 'Either.Left(' + toString(this.hf_1) + ')';
|
|
73
73
|
};
|
|
74
74
|
protoOf(Left).hashCode = function () {
|
|
75
|
-
return this.
|
|
75
|
+
return this.hf_1 == null ? 0 : hashCode(this.hf_1);
|
|
76
76
|
};
|
|
77
77
|
protoOf(Left).equals = function (other) {
|
|
78
78
|
if (this === other)
|
|
79
79
|
return true;
|
|
80
80
|
if (!(other instanceof Left))
|
|
81
81
|
return false;
|
|
82
|
-
if (!equals(this.
|
|
82
|
+
if (!equals(this.hf_1, other.hf_1))
|
|
83
83
|
return false;
|
|
84
84
|
return true;
|
|
85
85
|
};
|
|
86
86
|
function Right(value) {
|
|
87
87
|
Companion_getInstance_0();
|
|
88
88
|
Either.call(this);
|
|
89
|
-
this.
|
|
89
|
+
this.if_1 = value;
|
|
90
90
|
}
|
|
91
91
|
protoOf(Right).toString = function () {
|
|
92
|
-
return 'Either.Right(' + toString(this.
|
|
92
|
+
return 'Either.Right(' + toString(this.if_1) + ')';
|
|
93
93
|
};
|
|
94
94
|
protoOf(Right).hashCode = function () {
|
|
95
|
-
return this.
|
|
95
|
+
return this.if_1 == null ? 0 : hashCode(this.if_1);
|
|
96
96
|
};
|
|
97
97
|
protoOf(Right).equals = function (other) {
|
|
98
98
|
if (this === other)
|
|
99
99
|
return true;
|
|
100
100
|
if (!(other instanceof Right))
|
|
101
101
|
return false;
|
|
102
|
-
if (!equals(this.
|
|
102
|
+
if (!equals(this.if_1, other.if_1))
|
|
103
103
|
return false;
|
|
104
104
|
return true;
|
|
105
105
|
};
|
|
@@ -115,11 +115,11 @@
|
|
|
115
115
|
// Inline function 'arrow.core.Either.fold' call
|
|
116
116
|
var tmp;
|
|
117
117
|
if (this instanceof Right) {
|
|
118
|
-
var it = this.
|
|
118
|
+
var it = this.if_1;
|
|
119
119
|
tmp = 'Either.Right(' + toString(it) + ')';
|
|
120
120
|
} else {
|
|
121
121
|
if (this instanceof Left) {
|
|
122
|
-
var it_0 = this.
|
|
122
|
+
var it_0 = this.hf_1;
|
|
123
123
|
tmp = 'Either.Left(' + toString(it_0) + ')';
|
|
124
124
|
} else {
|
|
125
125
|
noWhenBranchMatchedException();
|
package/arrow-arrow-core.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","
|
|
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,IAo3BJ,aAp3BI,kB;;YAo3BJ,a,CAp3BwB,I;;MACpB,IAm3BJ,aAn3BI,iB;;cAm3BJ,a,CAn3BsB,I;;QAFb,8B;;;IAq3BmB,OAr3BnB,G;EAq3BkB,C;EA1pBzBE,mBAAAA,EAAA;A,EAAA,C;;EDrzBJ,+BAAA,EAAA;AAAA;AAAA,GAAA;A,EC8zBIA,qBAAAA,EAAA;A;IAE6C,oC;EAF7C,C;;ED9zBJ,iCAAA,EAAA;AAAA,sCAAA;AAAA;;AAAA;AAAA;AAAA,GAAA;A,ECkzBgCA,cAAY,KAAZA,EAAA;A,IAA9B,iB;IAA0C,iB;EAAZ,C;2BACnBC,UAAAA,EAAyB;A,IAAqB,OAApB,cAAoB,YAAP,IAAO,CAAP,IAAO,IAAF,G;EAAC,C;2BDnzB1D,UAAA,EAAA;AAAA,IAAA,OAAA,IAAA,CAAA,IAAA,IAAA,IAAA,GAAA,CAAA,GAAA,SAAA,IAAA,CAAA,IAAA,CAAA;AAAA,EAAA,CAAA;yBAAA,UAAA,KAAA,EAAA;AAAA,IAAA,IAAA,IAAA,KAAA,KAAA,CAAA;AAAA,MAAA,OAAA,IAAA;IAAA,MAAA,KAAA,kBAAA;AAAA,MAAA,OAAA,KAAA;IAAA,IAAA,CAAA,OAAA,IAAA,CAAA,IAAA,EAAA,KAAA,CAAA,IAAA,CAAA,CAAA;AAAA,MAAA,OAAA,KAAA;IAAA,OAAA,IAAA;AAAA,EAAA,CAAA;A,EC2zBiCD,eAAY,KAAZA,EAAA;A,IAA/B,yB;IAAA,iB;IAA2C,iB;EAAZ,C;4BACpBC,UAAAA,EAAyB;A,IAAsB,OAArB,eAAqB,YAAP,IAAO,CAAP,IAAO,IAAF,G;EAAC,C;4BD5zB3D,UAAA,EAAA;AAAA,IAAA,OAAA,IAAA,CAAA,IAAA,IAAA,IAAA,GAAA,CAAA,GAAA,SAAA,IAAA,CAAA,IAAA,CAAA;AAAA,EAAA,CAAA;0BAAA,UAAA,KAAA,EAAA;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,IAAA,EAAA,KAAA,CAAA,IAAA,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,I;YA2OnB,eAAD,YAAe,EAAf,IAAiB,G;;MA1OjB,IAwO8B,IAxO9B,iB;YD5lBN,OCo0BoC,IDp0BpC,CC4lBwB,I;cAyOjB,cAAD,YAAc,IAAd,IAAgB,G;;QA3OX,8B;;;IA6OR,OA7OQ,G;EA6OT,C;;;;;;;;;;;;;"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["NATIVE_IMPLEMENTATIONS.kt","
|
|
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;;;;;;;"}
|