@graphql-hive/gateway 1.16.2-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04 → 1.16.2-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +43 -11
  2. package/package.json +12 -12
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @graphql-hive/gateway
2
2
 
3
- ## 1.16.2-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
3
+ ## 1.16.2-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
4
4
 
5
5
  ### Patch Changes
6
6
 
@@ -11,16 +11,48 @@
11
11
  - Updated dependency [`@graphql-tools/utils@^10.9.1` ↗︎](https://www.npmjs.com/package/@graphql-tools/utils/v/10.9.1) (from `^10.9.0`, in `dependencies`)
12
12
  - Updated dependency [`dotenv@^17.2.1` ↗︎](https://www.npmjs.com/package/dotenv/v/17.2.1) (from `^17.2.0`, in `dependencies`)
13
13
 
14
- - Updated dependencies [[`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`24888bb`](https://github.com/graphql-hive/gateway/commit/24888bb76d6996d56a681fae866b5ca420bf8a04), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`6cedc05`](https://github.com/graphql-hive/gateway/commit/6cedc056ef4070bc1719fbe222d60c0d48af5a71)]:
15
- - @graphql-hive/gateway-runtime@1.10.2-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
16
- - @graphql-hive/plugin-aws-sigv4@1.0.17-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
17
- - @graphql-hive/plugin-deduplicate-request@1.0.3-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
18
- - @graphql-mesh/hmac-upstream-signature@1.2.30-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
19
- - @graphql-mesh/plugin-opentelemetry@1.3.65-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
20
- - @graphql-mesh/plugin-prometheus@1.3.53-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
21
- - @graphql-mesh/transport-http@0.7.1-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
22
- - @graphql-mesh/transport-http-callback@0.7.1-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
23
- - @graphql-mesh/transport-ws@1.1.1-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04
14
+ - [#1368](https://github.com/graphql-hive/gateway/pull/1368) [`e12689d`](https://github.com/graphql-hive/gateway/commit/e12689d7f61b423aaa35f958f9563e7026ca6829) Thanks [@ardatan](https://github.com/ardatan)! - Support `Promise` as a result of `outgoing`;
15
+
16
+ So you can use credentials providers from `@aws-sdk/credential-providers` package.
17
+ [See more](https://www.npmjs.com/package/@aws-sdk/credential-providers#fromnodeproviderchain).
18
+
19
+ ```ts
20
+ import { fromNodeProviderChain } from '@aws-sdk/credential-providers';
21
+ import { defineConfig } from '@graphql-hive/gateway';
22
+
23
+ const config = defineConfig({
24
+ plugins: [
25
+ useAWSSigv4({
26
+ outgoing: fromNodeProviderChain({
27
+ // This provider accepts any input of fromEnv(), fromSSO(), fromTokenFile(),
28
+ // fromIni(), fromProcess(), fromInstanceMetadata(), fromContainerMetadata()
29
+ // that exist in the default credential chain.
30
+
31
+ // Optional client overrides. This is passed to an inner credentials client
32
+ // that may be STS, SSO, or other instantiated to resolve the credentials.
33
+ // Region and profile are inherited from the upper client if present
34
+ // unless overridden, so it should not be necessary to set those.
35
+ //
36
+ // Warning: setting a region here may override the region set in
37
+ // the config file for the selected profile if profile-based
38
+ // credentials are used.
39
+ clientConfig: {},
40
+ }),
41
+ }),
42
+ ],
43
+ });
44
+ ```
45
+
46
+ - Updated dependencies [[`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`8e37851`](https://github.com/graphql-hive/gateway/commit/8e3785194d97edbe82c7fce316104b81bb0362f1), [`6cedc05`](https://github.com/graphql-hive/gateway/commit/6cedc056ef4070bc1719fbe222d60c0d48af5a71), [`e12689d`](https://github.com/graphql-hive/gateway/commit/e12689d7f61b423aaa35f958f9563e7026ca6829)]:
47
+ - @graphql-hive/gateway-runtime@1.10.2-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
48
+ - @graphql-hive/plugin-deduplicate-request@1.0.3-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
49
+ - @graphql-mesh/hmac-upstream-signature@1.2.30-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
50
+ - @graphql-mesh/plugin-opentelemetry@1.3.65-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
51
+ - @graphql-mesh/plugin-prometheus@1.3.53-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
52
+ - @graphql-mesh/transport-http@0.7.1-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
53
+ - @graphql-mesh/transport-http-callback@0.7.1-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
54
+ - @graphql-mesh/transport-ws@1.1.1-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
55
+ - @graphql-hive/plugin-aws-sigv4@1.0.17-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829
24
56
 
25
57
  ## 1.16.1
26
58
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-hive/gateway",
3
- "version": "1.16.2-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
3
+ "version": "1.16.2-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -53,28 +53,28 @@
53
53
  "@escape.tech/graphql-armor-block-field-suggestions": "^3.0.0",
54
54
  "@escape.tech/graphql-armor-max-depth": "^2.4.0",
55
55
  "@escape.tech/graphql-armor-max-tokens": "^2.5.0",
56
- "@graphql-hive/gateway-runtime": "1.10.2-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
56
+ "@graphql-hive/gateway-runtime": "1.10.2-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
57
57
  "@graphql-hive/importer": "^1.1.0",
58
- "@graphql-hive/plugin-aws-sigv4": "1.0.17-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
59
- "@graphql-hive/plugin-deduplicate-request": "1.0.3-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
58
+ "@graphql-hive/plugin-aws-sigv4": "1.0.17-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
59
+ "@graphql-hive/plugin-deduplicate-request": "1.0.3-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
60
60
  "@graphql-hive/pubsub": "^1.0.0",
61
61
  "@graphql-mesh/cache-cfw-kv": "^0.105.5",
62
62
  "@graphql-mesh/cache-localforage": "^0.105.6",
63
63
  "@graphql-mesh/cache-redis": "^0.104.5",
64
64
  "@graphql-mesh/cache-upstash-redis": "^0.1.5",
65
65
  "@graphql-mesh/cross-helpers": "^0.4.10",
66
- "@graphql-mesh/hmac-upstream-signature": "1.2.30-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
66
+ "@graphql-mesh/hmac-upstream-signature": "1.2.30-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
67
67
  "@graphql-mesh/plugin-http-cache": "^0.105.6",
68
68
  "@graphql-mesh/plugin-jit": "^0.2.5",
69
69
  "@graphql-mesh/plugin-jwt-auth": "^1.5.7",
70
70
  "@graphql-mesh/plugin-mock": "^0.105.6",
71
- "@graphql-mesh/plugin-opentelemetry": "1.3.65-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
72
- "@graphql-mesh/plugin-prometheus": "1.3.53-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
71
+ "@graphql-mesh/plugin-opentelemetry": "1.3.65-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
72
+ "@graphql-mesh/plugin-prometheus": "1.3.53-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
73
73
  "@graphql-mesh/plugin-rate-limit": "^0.104.5",
74
74
  "@graphql-mesh/plugin-snapshot": "^0.104.5",
75
- "@graphql-mesh/transport-http": "0.7.1-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
76
- "@graphql-mesh/transport-http-callback": "0.7.1-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
77
- "@graphql-mesh/transport-ws": "1.1.1-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
75
+ "@graphql-mesh/transport-http": "0.7.1-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
76
+ "@graphql-mesh/transport-http-callback": "0.7.1-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
77
+ "@graphql-mesh/transport-ws": "1.1.1-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
78
78
  "@graphql-mesh/types": "^0.104.5",
79
79
  "@graphql-mesh/utils": "^0.104.5",
80
80
  "@graphql-tools/code-file-loader": "^8.1.22",
@@ -90,7 +90,7 @@
90
90
  "ws": "^8.18.3"
91
91
  },
92
92
  "devDependencies": {
93
- "@graphql-mesh/transport-common": "0.7.37-alpha-24888bb76d6996d56a681fae866b5ca420bf8a04",
93
+ "@graphql-mesh/transport-common": "0.7.37-alpha-e12689d7f61b423aaa35f958f9563e7026ca6829",
94
94
  "@graphql-mesh/transport-soap": "^0.10.6",
95
95
  "@graphql-tools/executor": "^1.4.9",
96
96
  "@rollup/plugin-commonjs": "^28.0.0",
@@ -106,7 +106,7 @@
106
106
  "bun": "^1.2.18",
107
107
  "graphql": "^16.9.0",
108
108
  "parse-duration": "^2.0.0",
109
- "pkgroll": "2.15.0",
109
+ "pkgroll": "2.14.5",
110
110
  "postject": "^1.0.0-alpha.6",
111
111
  "rimraf": "^6.0.1",
112
112
  "rollup": "4.44.0",