@envelop/execute-subscription-event 0.0.4 → 0.0.5-alpha-52fc7d2.0
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 +1 -1
- package/index.mjs +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
|
|
6
6
|
|
|
7
7
|
const graphql = require('graphql');
|
|
8
|
-
const mapAsyncIterator = _interopDefault(require('graphql/subscription/mapAsyncIterator'));
|
|
8
|
+
const mapAsyncIterator = _interopDefault(require('graphql/subscription/mapAsyncIterator.js'));
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* Returns true if the provided object implements the AsyncIterator protocol via
|
package/index.mjs
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { createSourceEventStream, execute } from 'graphql';
|
|
2
|
-
import mapAsyncIterator from 'graphql/subscription/mapAsyncIterator';
|
|
2
|
+
import mapAsyncIterator from 'graphql/subscription/mapAsyncIterator.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Returns true if the provided object implements the AsyncIterator protocol via
|