openclaw
Version:
Multi-channel AI gateway with extensible messaging integrations
60 lines (57 loc) • 2.55 kB
JavaScript
import { n as __esmMin, r as __exportAll } from "./chunk-DORXReHP.js";
//#region node_modules/@aws-sdk/core/dist-es/submodules/client/emitWarningIfUnsupportedVersion.js
var state, emitWarningIfUnsupportedVersion;
var init_emitWarningIfUnsupportedVersion = __esmMin((() => {
state = { warningEmitted: false };
emitWarningIfUnsupportedVersion = (version) => {
if (version && !state.warningEmitted && parseInt(version.substring(1, version.indexOf("."))) < 20) {
state.warningEmitted = true;
process.emitWarning(`NodeDeprecationWarning: The AWS SDK for JavaScript (v3) will
no longer support Node.js ${version} in January 2026.
To continue receiving updates to AWS services, bug fixes, and security
updates please upgrade to a supported Node.js LTS version.
More information can be found at: https://a.co/c895JFp`);
}
};
}));
//#endregion
//#region node_modules/@aws-sdk/core/dist-es/submodules/client/setCredentialFeature.js
function setCredentialFeature(credentials, feature, value) {
if (!credentials.$source) credentials.$source = {};
credentials.$source[feature] = value;
return credentials;
}
var init_setCredentialFeature = __esmMin((() => {}));
//#endregion
//#region node_modules/@aws-sdk/core/dist-es/submodules/client/setFeature.js
function setFeature(context, feature, value) {
if (!context.__aws_sdk_context) context.__aws_sdk_context = { features: {} };
else if (!context.__aws_sdk_context.features) context.__aws_sdk_context.features = {};
context.__aws_sdk_context.features[feature] = value;
}
var init_setFeature = __esmMin((() => {}));
//#endregion
//#region node_modules/@aws-sdk/core/dist-es/submodules/client/setTokenFeature.js
function setTokenFeature(token, feature, value) {
if (!token.$source) token.$source = {};
token.$source[feature] = value;
return token;
}
var init_setTokenFeature = __esmMin((() => {}));
//#endregion
//#region node_modules/@aws-sdk/core/dist-es/submodules/client/index.js
var client_exports = /* @__PURE__ */ __exportAll({
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion,
setCredentialFeature: () => setCredentialFeature,
setFeature: () => setFeature,
setTokenFeature: () => setTokenFeature,
state: () => state
});
var init_client = __esmMin((() => {
init_emitWarningIfUnsupportedVersion();
init_setCredentialFeature();
init_setFeature();
init_setTokenFeature();
}));
//#endregion
export { setCredentialFeature as a, setFeature as i, init_client as n, emitWarningIfUnsupportedVersion as o, setTokenFeature as r, state as s, client_exports as t };