coreum-js 2.12.0 → 2.13.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.
|
@@ -17,6 +17,7 @@ var Feature;
|
|
|
17
17
|
Feature[Feature["whitelisting"] = 3] = "whitelisting";
|
|
18
18
|
Feature[Feature["ibc"] = 4] = "ibc";
|
|
19
19
|
Feature[Feature["block_smart_contracts"] = 5] = "block_smart_contracts";
|
|
20
|
+
Feature[Feature["clawback"] = 6] = "clawback";
|
|
20
21
|
Feature[Feature["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
21
22
|
})(Feature || (exports.Feature = Feature = {}));
|
|
22
23
|
function featureFromJSON(object) {
|
|
@@ -39,6 +40,9 @@ function featureFromJSON(object) {
|
|
|
39
40
|
case 5:
|
|
40
41
|
case "block_smart_contracts":
|
|
41
42
|
return Feature.block_smart_contracts;
|
|
43
|
+
case 6:
|
|
44
|
+
case "clawback":
|
|
45
|
+
return Feature.clawback;
|
|
42
46
|
case -1:
|
|
43
47
|
case "UNRECOGNIZED":
|
|
44
48
|
default:
|
|
@@ -60,6 +64,8 @@ function featureToJSON(object) {
|
|
|
60
64
|
return "ibc";
|
|
61
65
|
case Feature.block_smart_contracts:
|
|
62
66
|
return "block_smart_contracts";
|
|
67
|
+
case Feature.clawback:
|
|
68
|
+
return "clawback";
|
|
63
69
|
case Feature.UNRECOGNIZED:
|
|
64
70
|
default:
|
|
65
71
|
return "UNRECOGNIZED";
|
|
@@ -11,6 +11,7 @@ export var Feature;
|
|
|
11
11
|
Feature[Feature["whitelisting"] = 3] = "whitelisting";
|
|
12
12
|
Feature[Feature["ibc"] = 4] = "ibc";
|
|
13
13
|
Feature[Feature["block_smart_contracts"] = 5] = "block_smart_contracts";
|
|
14
|
+
Feature[Feature["clawback"] = 6] = "clawback";
|
|
14
15
|
Feature[Feature["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
15
16
|
})(Feature || (Feature = {}));
|
|
16
17
|
export function featureFromJSON(object) {
|
|
@@ -33,6 +34,9 @@ export function featureFromJSON(object) {
|
|
|
33
34
|
case 5:
|
|
34
35
|
case "block_smart_contracts":
|
|
35
36
|
return Feature.block_smart_contracts;
|
|
37
|
+
case 6:
|
|
38
|
+
case "clawback":
|
|
39
|
+
return Feature.clawback;
|
|
36
40
|
case -1:
|
|
37
41
|
case "UNRECOGNIZED":
|
|
38
42
|
default:
|
|
@@ -53,6 +57,8 @@ export function featureToJSON(object) {
|
|
|
53
57
|
return "ibc";
|
|
54
58
|
case Feature.block_smart_contracts:
|
|
55
59
|
return "block_smart_contracts";
|
|
60
|
+
case Feature.clawback:
|
|
61
|
+
return "clawback";
|
|
56
62
|
case Feature.UNRECOGNIZED:
|
|
57
63
|
default:
|
|
58
64
|
return "UNRECOGNIZED";
|