@valbuild/shared 0.60.19 → 0.60.20
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.
@@ -2106,14 +2106,23 @@ var ValStore = /*#__PURE__*/function () {
|
|
2106
2106
|
message: "Could not fetch data. Verify that the module exists."
|
2107
2107
|
}));
|
2108
2108
|
case 20:
|
2109
|
-
_context.next =
|
2109
|
+
_context.next = 29;
|
2110
2110
|
break;
|
2111
2111
|
case 22:
|
2112
|
+
if (!(data.error.statusCode === 504)) {
|
2113
|
+
_context.next = 27;
|
2114
|
+
break;
|
2115
|
+
}
|
2116
|
+
console.error("Val: timeout", data.error);
|
2117
|
+
return _context.abrupt("return", fp.result.err({
|
2118
|
+
message: "Timed out while fetching data. Try again later."
|
2119
|
+
}));
|
2120
|
+
case 27:
|
2112
2121
|
console.error("Val: failed to get module", data.error);
|
2113
2122
|
return _context.abrupt("return", fp.result.err({
|
2114
2123
|
message: "Could not fetch data. Verify that Val is correctly configured."
|
2115
2124
|
}));
|
2116
|
-
case
|
2125
|
+
case 29:
|
2117
2126
|
case "end":
|
2118
2127
|
return _context.stop();
|
2119
2128
|
}
|
@@ -2106,14 +2106,23 @@ var ValStore = /*#__PURE__*/function () {
|
|
2106
2106
|
message: "Could not fetch data. Verify that the module exists."
|
2107
2107
|
}));
|
2108
2108
|
case 20:
|
2109
|
-
_context.next =
|
2109
|
+
_context.next = 29;
|
2110
2110
|
break;
|
2111
2111
|
case 22:
|
2112
|
+
if (!(data.error.statusCode === 504)) {
|
2113
|
+
_context.next = 27;
|
2114
|
+
break;
|
2115
|
+
}
|
2116
|
+
console.error("Val: timeout", data.error);
|
2117
|
+
return _context.abrupt("return", fp.result.err({
|
2118
|
+
message: "Timed out while fetching data. Try again later."
|
2119
|
+
}));
|
2120
|
+
case 27:
|
2112
2121
|
console.error("Val: failed to get module", data.error);
|
2113
2122
|
return _context.abrupt("return", fp.result.err({
|
2114
2123
|
message: "Could not fetch data. Verify that Val is correctly configured."
|
2115
2124
|
}));
|
2116
|
-
case
|
2125
|
+
case 29:
|
2117
2126
|
case "end":
|
2118
2127
|
return _context.stop();
|
2119
2128
|
}
|
@@ -2082,14 +2082,23 @@ var ValStore = /*#__PURE__*/function () {
|
|
2082
2082
|
message: "Could not fetch data. Verify that the module exists."
|
2083
2083
|
}));
|
2084
2084
|
case 20:
|
2085
|
-
_context.next =
|
2085
|
+
_context.next = 29;
|
2086
2086
|
break;
|
2087
2087
|
case 22:
|
2088
|
+
if (!(data.error.statusCode === 504)) {
|
2089
|
+
_context.next = 27;
|
2090
|
+
break;
|
2091
|
+
}
|
2092
|
+
console.error("Val: timeout", data.error);
|
2093
|
+
return _context.abrupt("return", result.err({
|
2094
|
+
message: "Timed out while fetching data. Try again later."
|
2095
|
+
}));
|
2096
|
+
case 27:
|
2088
2097
|
console.error("Val: failed to get module", data.error);
|
2089
2098
|
return _context.abrupt("return", result.err({
|
2090
2099
|
message: "Could not fetch data. Verify that Val is correctly configured."
|
2091
2100
|
}));
|
2092
|
-
case
|
2101
|
+
case 29:
|
2093
2102
|
case "end":
|
2094
2103
|
return _context.stop();
|
2095
2104
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@valbuild/shared",
|
3
|
-
"version": "0.60.
|
3
|
+
"version": "0.60.20",
|
4
4
|
"private": false,
|
5
5
|
"description": "Val shared types and utilities",
|
6
6
|
"scripts": {
|
@@ -29,7 +29,7 @@
|
|
29
29
|
"exports": true
|
30
30
|
},
|
31
31
|
"dependencies": {
|
32
|
-
"@valbuild/core": "~0.60.
|
32
|
+
"@valbuild/core": "~0.60.20",
|
33
33
|
"marked": "^9.0.3",
|
34
34
|
"zod": "^3.22.4"
|
35
35
|
},
|