@semiont/graph 0.5.16 → 0.5.17
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/dist/{chunk-M3YVDWQK.js → chunk-IZRDH6ZA.js} +3 -3
- package/dist/{chunk-SX5XXPRX.js → chunk-J2GNAAZA.js} +3 -1
- package/dist/{chunk-FV6N2ZQI.js → chunk-JJUYBZ5C.js} +3 -3
- package/dist/{chunk-RJ46AKA2.js → chunk-L7UMT7TC.js} +2 -2
- package/dist/{chunk-EO5YYBCM.js → chunk-QVMXXFG5.js} +33 -12
- package/dist/chunk-QVMXXFG5.js.map +1 -0
- package/dist/{dist-es-HWQ4GJOQ.js → dist-es-47I7P7S4.js} +6 -6
- package/dist/{dist-es-ASGI2C6R.js → dist-es-6D223V5J.js} +4 -4
- package/dist/{dist-es-OBFSDNLB.js → dist-es-7RLYMBW4.js} +4 -4
- package/dist/{dist-es-HX7MOA43.js → dist-es-EFSR5RHO.js} +12 -12
- package/dist/{dist-es-DGC37ODU.js → dist-es-GCAGX4FB.js} +2 -2
- package/dist/{dist-es-2SVEJ7AN.js → dist-es-JMQZFACH.js} +4 -4
- package/dist/{dist-es-FCPK4BBG.js → dist-es-RUJYXWW7.js} +4 -4
- package/dist/{dist-es-577L5EMM.js → dist-es-TFVAFKJ5.js} +3 -3
- package/dist/{dist-es-MMOSHTZN.js → dist-es-YSRYRFUR.js} +52 -52
- package/dist/{dist-es-MMOSHTZN.js.map → dist-es-YSRYRFUR.js.map} +1 -1
- package/dist/index.js +1 -1
- package/dist/{loadSso-MCQYL2N5.js → loadSso-UZJSAOIR.js} +5 -5
- package/dist/{signin-QWDJI452.js → signin-LCNGXJL6.js} +5 -5
- package/dist/{sso-oidc-HI5YSOSX.js → sso-oidc-JCP5LKPR.js} +5 -5
- package/dist/{sts-ANPHBENU.js → sts-EM5BP3PD.js} +5 -5
- package/package.json +5 -5
- package/dist/chunk-EO5YYBCM.js.map +0 -1
- /package/dist/{chunk-M3YVDWQK.js.map → chunk-IZRDH6ZA.js.map} +0 -0
- /package/dist/{chunk-SX5XXPRX.js.map → chunk-J2GNAAZA.js.map} +0 -0
- /package/dist/{chunk-FV6N2ZQI.js.map → chunk-JJUYBZ5C.js.map} +0 -0
- /package/dist/{chunk-RJ46AKA2.js.map → chunk-L7UMT7TC.js.map} +0 -0
- /package/dist/{dist-es-HWQ4GJOQ.js.map → dist-es-47I7P7S4.js.map} +0 -0
- /package/dist/{dist-es-ASGI2C6R.js.map → dist-es-6D223V5J.js.map} +0 -0
- /package/dist/{dist-es-OBFSDNLB.js.map → dist-es-7RLYMBW4.js.map} +0 -0
- /package/dist/{dist-es-HX7MOA43.js.map → dist-es-EFSR5RHO.js.map} +0 -0
- /package/dist/{dist-es-DGC37ODU.js.map → dist-es-GCAGX4FB.js.map} +0 -0
- /package/dist/{dist-es-2SVEJ7AN.js.map → dist-es-JMQZFACH.js.map} +0 -0
- /package/dist/{dist-es-FCPK4BBG.js.map → dist-es-RUJYXWW7.js.map} +0 -0
- /package/dist/{dist-es-577L5EMM.js.map → dist-es-TFVAFKJ5.js.map} +0 -0
- /package/dist/{loadSso-MCQYL2N5.js.map → loadSso-UZJSAOIR.js.map} +0 -0
- /package/dist/{signin-QWDJI452.js.map → signin-LCNGXJL6.js.map} +0 -0
- /package/dist/{sso-oidc-HI5YSOSX.js.map → sso-oidc-JCP5LKPR.js.map} +0 -0
- /package/dist/{sts-ANPHBENU.js.map → sts-EM5BP3PD.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
memoizeIdentityProvider,
|
|
7
7
|
normalizeProvider as normalizeProvider2,
|
|
8
8
|
setCredentialFeature
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-QVMXXFG5.js";
|
|
10
10
|
import {
|
|
11
11
|
FromStringShapeDeserializer,
|
|
12
12
|
HttpBindingProtocol,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
escapeUri,
|
|
25
25
|
extendedEncodeURIComponent,
|
|
26
26
|
normalizeProvider
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-J2GNAAZA.js";
|
|
28
28
|
import {
|
|
29
29
|
LazyJsonString,
|
|
30
30
|
NumericValue,
|
|
@@ -2235,4 +2235,4 @@ export {
|
|
|
2235
2235
|
AwsRestJsonProtocol,
|
|
2236
2236
|
AwsQueryProtocol
|
|
2237
2237
|
};
|
|
2238
|
-
//# sourceMappingURL=chunk-
|
|
2238
|
+
//# sourceMappingURL=chunk-IZRDH6ZA.js.map
|
|
@@ -2249,6 +2249,8 @@ export {
|
|
|
2249
2249
|
CredentialsProviderError,
|
|
2250
2250
|
TokenProviderError,
|
|
2251
2251
|
chain,
|
|
2252
|
+
booleanSelector,
|
|
2253
|
+
SelectorType,
|
|
2252
2254
|
ENV_PROFILE,
|
|
2253
2255
|
getProfileName,
|
|
2254
2256
|
getSSOTokenFilepath,
|
|
@@ -2279,4 +2281,4 @@ export {
|
|
|
2279
2281
|
escapeUri,
|
|
2280
2282
|
buildQueryString
|
|
2281
2283
|
};
|
|
2282
|
-
//# sourceMappingURL=chunk-
|
|
2284
|
+
//# sourceMappingURL=chunk-J2GNAAZA.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
setCredentialFeature
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QVMXXFG5.js";
|
|
4
4
|
import {
|
|
5
5
|
CredentialsProviderError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-J2GNAAZA.js";
|
|
7
7
|
|
|
8
8
|
// ../../node_modules/@aws-sdk/credential-provider-env/dist-es/fromEnv.js
|
|
9
9
|
var ENV_KEY = "AWS_ACCESS_KEY_ID";
|
|
@@ -44,4 +44,4 @@ export {
|
|
|
44
44
|
ENV_ACCOUNT_ID,
|
|
45
45
|
fromEnv
|
|
46
46
|
};
|
|
47
|
-
//# sourceMappingURL=chunk-
|
|
47
|
+
//# sourceMappingURL=chunk-JJUYBZ5C.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HttpResponse,
|
|
3
3
|
buildQueryString
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-J2GNAAZA.js";
|
|
5
5
|
|
|
6
6
|
// ../../node_modules/@smithy/node-http-handler/dist-es/build-abort-error.js
|
|
7
7
|
function buildAbortError(abortSignal) {
|
|
@@ -433,4 +433,4 @@ or increase socketAcquisitionWarningTimeout=(millis) in the NodeHttpHandler conf
|
|
|
433
433
|
export {
|
|
434
434
|
NodeHttpHandler
|
|
435
435
|
};
|
|
436
|
-
//# sourceMappingURL=chunk-
|
|
436
|
+
//# sourceMappingURL=chunk-L7UMT7TC.js.map
|
|
@@ -8,12 +8,14 @@ import {
|
|
|
8
8
|
NODE_REGION_CONFIG_OPTIONS,
|
|
9
9
|
NormalizedSchema,
|
|
10
10
|
SMITHY_CONTEXT_KEY,
|
|
11
|
+
SelectorType,
|
|
12
|
+
booleanSelector,
|
|
11
13
|
getSmithyContext,
|
|
12
14
|
isValidHostLabel,
|
|
13
15
|
loadConfig,
|
|
14
16
|
normalizeProvider,
|
|
15
17
|
toEndpointV1
|
|
16
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-J2GNAAZA.js";
|
|
17
19
|
import {
|
|
18
20
|
parseRfc7231DateTime,
|
|
19
21
|
v4
|
|
@@ -960,14 +962,16 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
960
962
|
return void 0;
|
|
961
963
|
},
|
|
962
964
|
configFileSelector: (profile, config) => {
|
|
963
|
-
if (
|
|
964
|
-
const
|
|
965
|
-
if (
|
|
966
|
-
|
|
967
|
-
const endpointUrl2 = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
968
|
-
if (endpointUrl2)
|
|
969
|
-
return endpointUrl2;
|
|
965
|
+
if (profile.services) {
|
|
966
|
+
const servicesSectionKey = ["services", profile.services].join(CONFIG_PREFIX_SEPARATOR);
|
|
967
|
+
if (!config || !config[servicesSectionKey]) {
|
|
968
|
+
throw new Error(`The services section "${profile.services}" specified in the profile is not present in the shared configuration file.`);
|
|
970
969
|
}
|
|
970
|
+
const servicesSection = config[servicesSectionKey];
|
|
971
|
+
const servicePrefixParts = serviceId.split(" ").map((w) => w.toLowerCase());
|
|
972
|
+
const endpointUrl2 = servicesSection[[servicePrefixParts.join("_"), CONFIG_ENDPOINT_URL].join(CONFIG_PREFIX_SEPARATOR)];
|
|
973
|
+
if (endpointUrl2)
|
|
974
|
+
return endpointUrl2;
|
|
971
975
|
}
|
|
972
976
|
const endpointUrl = profile[CONFIG_ENDPOINT_URL];
|
|
973
977
|
if (endpointUrl)
|
|
@@ -977,8 +981,23 @@ var getEndpointUrlConfig = (serviceId) => ({
|
|
|
977
981
|
default: void 0
|
|
978
982
|
});
|
|
979
983
|
|
|
984
|
+
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getIgnoreConfiguredEndpointUrls.js
|
|
985
|
+
var ENV_IGNORE_CONFIGURED_ENDPOINT_URLS = "AWS_IGNORE_CONFIGURED_ENDPOINT_URLS";
|
|
986
|
+
var CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS = "ignore_configured_endpoint_urls";
|
|
987
|
+
var ignoreConfiguredEndpointUrlsConfigSelectors = {
|
|
988
|
+
environmentVariableSelector: (env2) => booleanSelector(env2, ENV_IGNORE_CONFIGURED_ENDPOINT_URLS, SelectorType.ENV),
|
|
989
|
+
configFileSelector: (profile) => booleanSelector(profile, CONFIG_IGNORE_CONFIGURED_ENDPOINT_URLS, SelectorType.CONFIG),
|
|
990
|
+
default: false
|
|
991
|
+
};
|
|
992
|
+
|
|
980
993
|
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromConfig.js
|
|
981
|
-
var getEndpointFromConfig = async (serviceId) =>
|
|
994
|
+
var getEndpointFromConfig = async (serviceId) => {
|
|
995
|
+
const ignore = await loadConfig(ignoreConfiguredEndpointUrlsConfigSelectors)();
|
|
996
|
+
if (ignore) {
|
|
997
|
+
return void 0;
|
|
998
|
+
}
|
|
999
|
+
return loadConfig(getEndpointUrlConfig(serviceId ?? ""))();
|
|
1000
|
+
};
|
|
982
1001
|
|
|
983
1002
|
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/service-customizations/s3.js
|
|
984
1003
|
var resolveParamsForS3 = async (endpointParams) => {
|
|
@@ -1067,7 +1086,7 @@ var createConfigValueProvider = (configKey, canonicalEndpointParamKey, config, i
|
|
|
1067
1086
|
// ../../node_modules/@smithy/core/dist-es/submodules/endpoints/middleware-endpoint/adaptors/getEndpointFromInstructions.js
|
|
1068
1087
|
function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
1069
1088
|
return async (commandInput, instructionsSupplier, clientConfig, context) => {
|
|
1070
|
-
if (!clientConfig.isCustomEndpoint) {
|
|
1089
|
+
if (!clientConfig.isCustomEndpoint && !clientConfig.ignoreConfiguredEndpointUrls) {
|
|
1071
1090
|
let endpointFromConfig;
|
|
1072
1091
|
if (clientConfig.serviceConfiguredEndpoint) {
|
|
1073
1092
|
endpointFromConfig = await clientConfig.serviceConfiguredEndpoint();
|
|
@@ -1077,6 +1096,7 @@ function bindGetEndpointFromInstructions(getEndpointFromConfig2) {
|
|
|
1077
1096
|
if (endpointFromConfig) {
|
|
1078
1097
|
clientConfig.endpoint = () => Promise.resolve(toEndpointV1(endpointFromConfig));
|
|
1079
1098
|
clientConfig.isCustomEndpoint = true;
|
|
1099
|
+
context?.logger?.debug?.(`@smithy/core/endpoints - resolved endpoint from config: ${endpointFromConfig}`);
|
|
1080
1100
|
}
|
|
1081
1101
|
}
|
|
1082
1102
|
const endpointParams = await resolveParams(commandInput, instructionsSupplier, clientConfig);
|
|
@@ -1212,7 +1232,8 @@ function bindResolveEndpointConfig(getEndpointFromConfig2) {
|
|
|
1212
1232
|
tls,
|
|
1213
1233
|
isCustomEndpoint,
|
|
1214
1234
|
useDualstackEndpoint: normalizeProvider(useDualstackEndpoint ?? false),
|
|
1215
|
-
useFipsEndpoint: normalizeProvider(useFipsEndpoint ?? false)
|
|
1235
|
+
useFipsEndpoint: normalizeProvider(useFipsEndpoint ?? false),
|
|
1236
|
+
ignoreConfiguredEndpointUrls: !!input.ignoreConfiguredEndpointUrls
|
|
1216
1237
|
});
|
|
1217
1238
|
let configuredEndpointPromise = void 0;
|
|
1218
1239
|
resolvedConfig.serviceConfiguredEndpoint = async () => {
|
|
@@ -3508,4 +3529,4 @@ export {
|
|
|
3508
3529
|
getAwsRegionExtensionConfiguration,
|
|
3509
3530
|
resolveAwsRegionExtensionConfiguration
|
|
3510
3531
|
};
|
|
3511
|
-
//# sourceMappingURL=chunk-
|
|
3532
|
+
//# sourceMappingURL=chunk-QVMXXFG5.js.map
|