@gravity-ui/gateway 4.2.1 → 4.3.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/build/index.d.ts +1 -0
- package/build/index.js +3 -1
- package/package.json +1 -1
package/build/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { ApiWithRoot, GatewayConfig, GatewayRequest, GatewayResponse, SchemasByS
|
|
|
2
2
|
import { GatewayContext } from './models/context';
|
|
3
3
|
export * from './utils/typed-api';
|
|
4
4
|
export * from './utils/grpc-reflection';
|
|
5
|
+
export { isRetryableError as isRetryableGrpcError } from './utils/grpc';
|
|
5
6
|
export * from './models/common';
|
|
6
7
|
export * from './models/context';
|
|
7
8
|
export * from './models/error';
|
package/build/index.js
CHANGED
|
@@ -29,7 +29,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
29
29
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
30
30
|
};
|
|
31
31
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
32
|
-
exports.getGatewayControllers = void 0;
|
|
32
|
+
exports.getGatewayControllers = exports.isRetryableGrpcError = void 0;
|
|
33
33
|
const lodash_1 = __importDefault(require("lodash"));
|
|
34
34
|
const grpc_1 = __importStar(require("./components/grpc"));
|
|
35
35
|
const mixed_1 = require("./components/mixed");
|
|
@@ -39,6 +39,8 @@ const common_1 = require("./utils/common");
|
|
|
39
39
|
const overrideEndpoints_1 = __importDefault(require("./utils/overrideEndpoints"));
|
|
40
40
|
__exportStar(require("./utils/typed-api"), exports);
|
|
41
41
|
__exportStar(require("./utils/grpc-reflection"), exports);
|
|
42
|
+
var grpc_2 = require("./utils/grpc");
|
|
43
|
+
Object.defineProperty(exports, "isRetryableGrpcError", { enumerable: true, get: function () { return grpc_2.isRetryableError; } });
|
|
42
44
|
__exportStar(require("./models/common"), exports);
|
|
43
45
|
__exportStar(require("./models/context"), exports);
|
|
44
46
|
__exportStar(require("./models/error"), exports);
|