graphql-modules 2.4.1-alpha-20250121000735-e31ab18957348b67494d67da03e16c9721cc9ec1 → 2.4.1-alpha-20250121001220-bd7da0627db99e95836828ee1a780b28277ab4e9

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/index.js CHANGED
@@ -749,9 +749,6 @@ function tapAsyncIterator(iterable, doneCallback) {
749
749
  [Symbol.asyncIterator]() {
750
750
  return this;
751
751
  },
752
- [Symbol.asyncDispose]() {
753
- return iterator[Symbol.asyncDispose]();
754
- },
755
752
  };
756
753
  }
757
754
  function once(cb) {
package/index.mjs CHANGED
@@ -746,9 +746,6 @@ function tapAsyncIterator(iterable, doneCallback) {
746
746
  [Symbol.asyncIterator]() {
747
747
  return this;
748
748
  },
749
- [Symbol.asyncDispose]() {
750
- return iterator[Symbol.asyncDispose]();
751
- },
752
749
  };
753
750
  }
754
751
  function once(cb) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "graphql-modules",
3
- "version": "2.4.1-alpha-20250121000735-e31ab18957348b67494d67da03e16c9721cc9ec1",
3
+ "version": "2.4.1-alpha-20250121001220-bd7da0627db99e95836828ee1a780b28277ab4e9",
4
4
  "description": "Create reusable, maintainable, testable and extendable GraphQL modules",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
package/shared/utils.d.ts CHANGED
@@ -4,7 +4,7 @@ export declare function isNil<T>(val: T | null | undefined): val is null | undef
4
4
  export declare function isObject(val: any): boolean;
5
5
  export declare function isPrimitive(val: any): val is number | string | boolean | symbol | bigint;
6
6
  export declare function isAsyncIterable(obj: any): obj is AsyncIterableIterator<any>;
7
- export declare function tapAsyncIterator<T>(iterable: AsyncGenerator<T>, doneCallback: () => void): AsyncGenerator<T>;
7
+ export declare function tapAsyncIterator<T, TAsyncIterableIterator extends AsyncIterableIterator<T>>(iterable: TAsyncIterableIterator, doneCallback: () => void): TAsyncIterableIterator;
8
8
  export declare function once(cb: () => void): () => void;
9
9
  export declare function share<T, A>(factory: (arg?: A) => T): (arg?: A) => T;
10
10
  export declare function uniqueId(isNotUsed: (id: string) => boolean): string;