@semiont/graph 0.5.26 → 0.5.27
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-JWG64MVA.js → chunk-7BYJ5YHD.js} +3 -3
- package/dist/{chunk-JWG64MVA.js.map → chunk-7BYJ5YHD.js.map} +1 -1
- package/dist/{chunk-RKAR27K2.js → chunk-NYHKKGBV.js} +88 -10
- package/dist/chunk-NYHKKGBV.js.map +1 -0
- package/dist/{dist-es-BGEPUOPB.js → dist-es-2ZN6SLSG.js} +9 -9
- package/dist/{dist-es-BGEPUOPB.js.map → dist-es-2ZN6SLSG.js.map} +1 -1
- package/dist/{dist-es-BUTLC2YS.js → dist-es-7CR3IHJD.js} +5 -5
- package/dist/{dist-es-WS6NDSQ5.js → dist-es-J63OY2RR.js} +2 -2
- package/dist/{dist-es-TLOL2VHU.js → dist-es-RZ3HNVJG.js} +4 -4
- package/dist/{dist-es-WLYFLMD3.js → dist-es-V3UQXKNJ.js} +2 -2
- package/dist/index.js +1 -1
- package/dist/{loadSso-GOLDOL76.js → loadSso-JTXSMWFI.js} +3 -3
- package/dist/{signin-TS4P2IEW.js → signin-BM6IHIKX.js} +3 -3
- package/dist/{sso-oidc-QHNBBLAM.js → sso-oidc-IBGZ52NP.js} +3 -3
- package/dist/{sts-ZKQ7LNEG.js → sts-44HZWQDH.js} +3 -3
- package/package.json +4 -4
- package/dist/chunk-RKAR27K2.js.map +0 -1
- /package/dist/{dist-es-BUTLC2YS.js.map → dist-es-7CR3IHJD.js.map} +0 -0
- /package/dist/{dist-es-WS6NDSQ5.js.map → dist-es-J63OY2RR.js.map} +0 -0
- /package/dist/{dist-es-TLOL2VHU.js.map → dist-es-RZ3HNVJG.js.map} +0 -0
- /package/dist/{dist-es-WLYFLMD3.js.map → dist-es-V3UQXKNJ.js.map} +0 -0
- /package/dist/{loadSso-GOLDOL76.js.map → loadSso-JTXSMWFI.js.map} +0 -0
- /package/dist/{signin-TS4P2IEW.js.map → signin-BM6IHIKX.js.map} +0 -0
- /package/dist/{sso-oidc-QHNBBLAM.js.map → sso-oidc-IBGZ52NP.js.map} +0 -0
- /package/dist/{sts-ZKQ7LNEG.js.map → sts-44HZWQDH.js.map} +0 -0
|
@@ -60,7 +60,7 @@ var resolveAssumeRoleCredentials = async (profileName, profiles, options, caller
|
|
|
60
60
|
const profileData = profiles[profileName];
|
|
61
61
|
const { source_profile, region } = profileData;
|
|
62
62
|
if (!options.roleAssumer) {
|
|
63
|
-
const { getDefaultRoleAssumer } = await import("./sts-
|
|
63
|
+
const { getDefaultRoleAssumer } = await import("./sts-44HZWQDH.js");
|
|
64
64
|
options.roleAssumer = getDefaultRoleAssumer({
|
|
65
65
|
...options.clientConfig,
|
|
66
66
|
credentialProviderLogger: options.logger,
|
|
@@ -109,7 +109,7 @@ var isLoginProfile = (data) => {
|
|
|
109
109
|
return Boolean(data && data.login_session);
|
|
110
110
|
};
|
|
111
111
|
var resolveLoginCredentials = async (profileName, options, callerClientConfig) => {
|
|
112
|
-
const { fromLoginCredentials } = await import("./dist-es-
|
|
112
|
+
const { fromLoginCredentials } = await import("./dist-es-V3UQXKNJ.js");
|
|
113
113
|
const credentials = await fromLoginCredentials({
|
|
114
114
|
...options,
|
|
115
115
|
profile: profileName
|
|
@@ -130,7 +130,7 @@ var resolveProcessCredentials = async (options, profile) => {
|
|
|
130
130
|
|
|
131
131
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveSsoCredentials.js
|
|
132
132
|
var resolveSsoCredentials = async (profile, profileData, options = {}, callerClientConfig) => {
|
|
133
|
-
const { fromSSO } = await import("./dist-es-
|
|
133
|
+
const { fromSSO } = await import("./dist-es-RZ3HNVJG.js");
|
|
134
134
|
return fromSSO({
|
|
135
135
|
profile,
|
|
136
136
|
logger: options.logger,
|
|
@@ -165,7 +165,7 @@ var resolveStaticCredentials = async (profile, options) => {
|
|
|
165
165
|
// ../../node_modules/@aws-sdk/credential-provider-ini/dist-es/resolveWebIdentityCredentials.js
|
|
166
166
|
var isWebIdentityProfile = (arg) => Boolean(arg) && typeof arg === "object" && typeof arg.web_identity_token_file === "string" && typeof arg.role_arn === "string" && ["undefined", "string"].indexOf(typeof arg.role_session_name) > -1;
|
|
167
167
|
var resolveWebIdentityCredentials = async (profile, options, callerClientConfig) => {
|
|
168
|
-
const { fromTokenFile } = await import("./dist-es-
|
|
168
|
+
const { fromTokenFile } = await import("./dist-es-J63OY2RR.js");
|
|
169
169
|
const credentials = await fromTokenFile({
|
|
170
170
|
webIdentityTokenFile: profile.web_identity_token_file,
|
|
171
171
|
roleArn: profile.role_arn,
|
|
@@ -217,4 +217,4 @@ var fromIni = (init = {}) => async ({ callerClientConfig } = {}) => {
|
|
|
217
217
|
export {
|
|
218
218
|
fromIni
|
|
219
219
|
};
|
|
220
|
-
//# sourceMappingURL=dist-es-
|
|
220
|
+
//# sourceMappingURL=dist-es-7CR3IHJD.js.map
|
|
@@ -16,7 +16,7 @@ var fromWebToken = (init) => async (awsIdentityProperties) => {
|
|
|
16
16
|
const { roleArn, roleSessionName, webIdentityToken, providerId, policyArns, policy, durationSeconds } = init;
|
|
17
17
|
let { roleAssumerWithWebIdentity } = init;
|
|
18
18
|
if (!roleAssumerWithWebIdentity) {
|
|
19
|
-
const { getDefaultRoleAssumerWithWebIdentity } = await import("./sts-
|
|
19
|
+
const { getDefaultRoleAssumerWithWebIdentity } = await import("./sts-44HZWQDH.js");
|
|
20
20
|
roleAssumerWithWebIdentity = getDefaultRoleAssumerWithWebIdentity({
|
|
21
21
|
...init.clientConfig,
|
|
22
22
|
credentialProviderLogger: init.logger,
|
|
@@ -66,4 +66,4 @@ export {
|
|
|
66
66
|
fromTokenFile,
|
|
67
67
|
fromWebToken
|
|
68
68
|
};
|
|
69
|
-
//# sourceMappingURL=dist-es-
|
|
69
|
+
//# sourceMappingURL=dist-es-J63OY2RR.js.map
|
|
@@ -21,7 +21,7 @@ var REFRESH_MESSAGE = `To refresh this SSO session run 'aws sso login' with the
|
|
|
21
21
|
|
|
22
22
|
// ../../node_modules/@aws-sdk/token-providers/dist-es/getSsoOidcClient.js
|
|
23
23
|
var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
24
|
-
const { SSOOIDCClient } = await import("./sso-oidc-
|
|
24
|
+
const { SSOOIDCClient } = await import("./sso-oidc-IBGZ52NP.js");
|
|
25
25
|
const coalesce = (prop) => init.clientConfig?.[prop] ?? init.parentClientConfig?.[prop] ?? callerClientConfig?.[prop];
|
|
26
26
|
const ssoOidcClient = new SSOOIDCClient(Object.assign({}, init.clientConfig ?? {}, {
|
|
27
27
|
region: ssoRegion ?? init.clientConfig?.region,
|
|
@@ -33,7 +33,7 @@ var getSsoOidcClient = async (ssoRegion, init = {}, callerClientConfig) => {
|
|
|
33
33
|
|
|
34
34
|
// ../../node_modules/@aws-sdk/token-providers/dist-es/getNewSsoOidcToken.js
|
|
35
35
|
var getNewSsoOidcToken = async (ssoToken, ssoRegion, init = {}, callerClientConfig) => {
|
|
36
|
-
const { CreateTokenCommand } = await import("./sso-oidc-
|
|
36
|
+
const { CreateTokenCommand } = await import("./sso-oidc-IBGZ52NP.js");
|
|
37
37
|
const ssoOidcClient = await getSsoOidcClient(ssoRegion, init, callerClientConfig);
|
|
38
38
|
return ssoOidcClient.send(new CreateTokenCommand({
|
|
39
39
|
clientId: ssoToken.clientId,
|
|
@@ -181,7 +181,7 @@ var resolveSSOCredentials = async ({ ssoStartUrl, ssoSession, ssoAccountId, ssoR
|
|
|
181
181
|
});
|
|
182
182
|
}
|
|
183
183
|
const { accessToken } = token;
|
|
184
|
-
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-
|
|
184
|
+
const { SSOClient, GetRoleCredentialsCommand } = await import("./loadSso-JTXSMWFI.js");
|
|
185
185
|
const sso = ssoClient || new SSOClient(Object.assign({}, clientConfig ?? {}, {
|
|
186
186
|
logger: clientConfig?.logger ?? callerClientConfig?.logger ?? parentClientConfig?.logger,
|
|
187
187
|
region: clientConfig?.region ?? ssoRegion,
|
|
@@ -314,4 +314,4 @@ export {
|
|
|
314
314
|
isSsoProfile,
|
|
315
315
|
validateSsoProfile
|
|
316
316
|
};
|
|
317
|
-
//# sourceMappingURL=dist-es-
|
|
317
|
+
//# sourceMappingURL=dist-es-RZ3HNVJG.js.map
|
|
@@ -64,7 +64,7 @@ var LoginCredentialsFetcher = class _LoginCredentialsFetcher {
|
|
|
64
64
|
if (freshExpiry - Date.now() > _LoginCredentialsFetcher.REFRESH_THRESHOLD) {
|
|
65
65
|
return this.toCredentials(freshToken.accessToken);
|
|
66
66
|
}
|
|
67
|
-
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-
|
|
67
|
+
const { SigninClient, CreateOAuth2TokenCommand } = await import("./signin-BM6IHIKX.js");
|
|
68
68
|
const { logger, userAgentAppId } = this.callerClientConfig ?? {};
|
|
69
69
|
const isH2 = (requestHandler2) => {
|
|
70
70
|
return requestHandler2?.metadata?.handlerProtocol === "h2";
|
|
@@ -291,4 +291,4 @@ var fromLoginCredentials = (init) => async ({ callerClientConfig } = {}) => {
|
|
|
291
291
|
export {
|
|
292
292
|
fromLoginCredentials
|
|
293
293
|
};
|
|
294
|
-
//# sourceMappingURL=dist-es-
|
|
294
|
+
//# sourceMappingURL=dist-es-V3UQXKNJ.js.map
|
package/dist/index.js
CHANGED
|
@@ -69,7 +69,7 @@ var cardinality;
|
|
|
69
69
|
var __;
|
|
70
70
|
async function loadDependencies() {
|
|
71
71
|
if (!NeptuneClient) {
|
|
72
|
-
const neptuneModule = await import("./dist-es-
|
|
72
|
+
const neptuneModule = await import("./dist-es-2ZN6SLSG.js");
|
|
73
73
|
NeptuneClient = neptuneModule.NeptuneClient;
|
|
74
74
|
DescribeDBClustersCommand = neptuneModule.DescribeDBClustersCommand;
|
|
75
75
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7BYJ5YHD.js";
|
|
4
4
|
import {
|
|
5
5
|
AwsRestJsonProtocol,
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
8
8
|
resolveAwsSdkSigV4Config
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NYHKKGBV.js";
|
|
10
10
|
import {
|
|
11
11
|
Sha256Node
|
|
12
12
|
} from "./chunk-RRZDPP7Z.js";
|
|
@@ -578,4 +578,4 @@ export {
|
|
|
578
578
|
GetRoleCredentialsCommand,
|
|
579
579
|
SSOClient
|
|
580
580
|
};
|
|
581
|
-
//# sourceMappingURL=loadSso-
|
|
581
|
+
//# sourceMappingURL=loadSso-JTXSMWFI.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7BYJ5YHD.js";
|
|
4
4
|
import {
|
|
5
5
|
AwsRestJsonProtocol,
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
8
8
|
resolveAwsSdkSigV4Config
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NYHKKGBV.js";
|
|
10
10
|
import {
|
|
11
11
|
Sha256Node
|
|
12
12
|
} from "./chunk-RRZDPP7Z.js";
|
|
@@ -816,4 +816,4 @@ export {
|
|
|
816
816
|
Client as __Client,
|
|
817
817
|
errorTypeRegistries
|
|
818
818
|
};
|
|
819
|
-
//# sourceMappingURL=signin-
|
|
819
|
+
//# sourceMappingURL=signin-BM6IHIKX.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7BYJ5YHD.js";
|
|
4
4
|
import {
|
|
5
5
|
AwsRestJsonProtocol,
|
|
6
6
|
AwsSdkSigV4Signer,
|
|
7
7
|
NODE_AUTH_SCHEME_PREFERENCE_OPTIONS,
|
|
8
8
|
resolveAwsSdkSigV4Config
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NYHKKGBV.js";
|
|
10
10
|
import {
|
|
11
11
|
Sha256Node
|
|
12
12
|
} from "./chunk-RRZDPP7Z.js";
|
|
@@ -832,4 +832,4 @@ export {
|
|
|
832
832
|
Client as __Client,
|
|
833
833
|
errorTypeRegistries
|
|
834
834
|
};
|
|
835
|
-
//# sourceMappingURL=sso-oidc-
|
|
835
|
+
//# sourceMappingURL=sso-oidc-IBGZ52NP.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
package_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7BYJ5YHD.js";
|
|
4
4
|
import {
|
|
5
5
|
AwsQueryProtocol,
|
|
6
6
|
AwsSdkSigV4ASigner,
|
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
resolveAwsSdkSigV4AConfig,
|
|
12
12
|
resolveAwsSdkSigV4Config,
|
|
13
13
|
signatureV4aContainer
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-NYHKKGBV.js";
|
|
15
15
|
import {
|
|
16
16
|
Sha256Node
|
|
17
17
|
} from "./chunk-RRZDPP7Z.js";
|
|
@@ -1239,4 +1239,4 @@ export {
|
|
|
1239
1239
|
getDefaultRoleAssumer2 as getDefaultRoleAssumer,
|
|
1240
1240
|
getDefaultRoleAssumerWithWebIdentity2 as getDefaultRoleAssumerWithWebIdentity
|
|
1241
1241
|
};
|
|
1242
|
-
//# sourceMappingURL=sts-
|
|
1242
|
+
//# sourceMappingURL=sts-44HZWQDH.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semiont/graph",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.27",
|
|
4
4
|
"engines": {
|
|
5
5
|
"node": ">=24.0.0"
|
|
6
6
|
},
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"test:coverage": "vitest run --coverage"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@semiont/core": "0.5.
|
|
31
|
-
"@semiont/http-transport": "0.5.
|
|
32
|
-
"@semiont/ontology": "0.5.
|
|
30
|
+
"@semiont/core": "0.5.27",
|
|
31
|
+
"@semiont/http-transport": "0.5.27",
|
|
32
|
+
"@semiont/ontology": "0.5.27",
|
|
33
33
|
"uuid": "^14.0.0"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|