working rss feed to nostr publish
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.getEndpointPlugin = exports.endpointMiddlewareOptions = void 0;
|
||||
const middleware_serde_1 = require("@smithy/middleware-serde");
|
||||
const endpointMiddleware_1 = require("./endpointMiddleware");
|
||||
exports.endpointMiddlewareOptions = {
|
||||
step: "serialize",
|
||||
tags: ["ENDPOINT_PARAMETERS", "ENDPOINT_V2", "ENDPOINT"],
|
||||
name: "endpointV2Middleware",
|
||||
override: true,
|
||||
relation: "before",
|
||||
toMiddleware: middleware_serde_1.serializerMiddlewareOption.name,
|
||||
};
|
||||
const getEndpointPlugin = (config, instructions) => ({
|
||||
applyToStack: (clientStack) => {
|
||||
clientStack.addRelativeTo((0, endpointMiddleware_1.endpointMiddleware)({
|
||||
config,
|
||||
instructions,
|
||||
}), exports.endpointMiddlewareOptions);
|
||||
},
|
||||
});
|
||||
exports.getEndpointPlugin = getEndpointPlugin;
|
||||
Reference in New Issue
Block a user