@aws-sdk/core
Advanced tools
Comparing version 3.662.0 to 3.664.0
@@ -24,3 +24,4 @@ "use strict"; | ||
__export(client_exports, { | ||
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion | ||
emitWarningIfUnsupportedVersion: () => emitWarningIfUnsupportedVersion, | ||
setFeature: () => setFeature | ||
}); | ||
@@ -45,5 +46,19 @@ module.exports = __toCommonJS(client_exports); | ||
}, "emitWarningIfUnsupportedVersion"); | ||
// src/submodules/client/setFeature.ts | ||
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; | ||
} | ||
__name(setFeature, "setFeature"); | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
emitWarningIfUnsupportedVersion | ||
emitWarningIfUnsupportedVersion, | ||
setFeature | ||
}); |
export * from "./emitWarningIfUnsupportedVersion"; | ||
export * from "./setFeature"; |
export * from "./emitWarningIfUnsupportedVersion"; | ||
export * from "./setFeature"; |
export * from "./emitWarningIfUnsupportedVersion"; | ||
export * from "./setFeature"; |
{ | ||
"name": "@aws-sdk/core", | ||
"version": "3.662.0", | ||
"version": "3.664.0", | ||
"description": "Core functions & classes shared by multiple AWS SDK clients.", | ||
@@ -82,2 +82,3 @@ "scripts": { | ||
"dependencies": { | ||
"@aws-sdk/types": "3.664.0", | ||
"@smithy/core": "^2.4.7", | ||
@@ -84,0 +85,0 @@ "@smithy/node-config-provider": "^3.1.8", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76047
90
1776
11
+ Added@aws-sdk/types@3.664.0
+ Added@aws-sdk/types@3.664.0(transitive)