@0no-co/graphqlsp 1.15.3 → 1.15.4

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # @0no-co/graphqlsp
2
2
 
3
+ ## 1.15.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Forward all arguments from the `getQuickInfoAtPosition` proxy to the underlying TypeScript language service, so that the `verbosityLevel` argument (added in TypeScript 5.9 for expandable hovers) is no longer stripped when GraphQLSP delegates back to TypeScript
8
+ Submitted by [@JoviDeCroock](https://github.com/JoviDeCroock) (See [#384](https://github.com/0no-co/GraphQLSP/pull/384))
9
+
3
10
  ## 1.15.3
4
11
 
5
12
  ### Patch Changes
package/dist/graphqlsp.js CHANGED
@@ -3006,8 +3006,9 @@ function create(t) {
3006
3006
  return u;
3007
3007
  }
3008
3008
  };
3009
- a.getQuickInfoAtPosition = (n, r) => {
3010
- var i = function getGraphQLQuickInfo(t, n, r, i) {
3009
+ a.getQuickInfoAtPosition = (...n) => {
3010
+ var [r, i] = n;
3011
+ var a = function getGraphQLQuickInfo(t, n, r, i) {
3011
3012
  var a = i.config.templateIsCallExpression ?? !0;
3012
3013
  var o = i.languageService.getProgram()?.getTypeChecker();
3013
3014
  var s = e.getSource(i, t);
@@ -3060,11 +3061,11 @@ function create(t) {
3060
3061
  text: y
3061
3062
  } ]
3062
3063
  };
3063
- }(n, r, o, t);
3064
- if (i) {
3065
- return i;
3064
+ }(r, i, o, t);
3065
+ if (a) {
3066
+ return a;
3066
3067
  }
3067
- return t.languageService.getQuickInfoAtPosition(n, r);
3068
+ return t.languageService.getQuickInfoAtPosition(...n);
3068
3069
  };
3069
3070
  logger("proxy: " + JSON.stringify(a));
3070
3071
  return a;