@graphql-yoga/subscription 2.0.0 → 2.1.0-canary-fe62207.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.
Files changed (2) hide show
  1. package/index.js +1 -3
  2. package/package.json +25 -5
package/index.js CHANGED
@@ -130,9 +130,7 @@ function pipe(a, ab, bc, cd, de, ef, fg, gh, hi) {
130
130
 
131
131
  Object.defineProperty(exports, 'Repeater', {
132
132
  enumerable: true,
133
- get: function () {
134
- return repeater.Repeater;
135
- }
133
+ get: function () { return repeater.Repeater; }
136
134
  });
137
135
  exports.createPubSub = createPubSub;
138
136
  exports.filter = filter;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@graphql-yoga/subscription",
3
- "version": "2.0.0",
3
+ "version": "2.1.0-canary-fe62207.0",
4
4
  "description": "",
5
5
  "dependencies": {
6
6
  "@repeaterjs/repeater": "^3.0.4",
@@ -27,12 +27,32 @@
27
27
  },
28
28
  "exports": {
29
29
  ".": {
30
- "require": "./index.js",
31
- "import": "./index.mjs"
30
+ "require": {
31
+ "types": "./index.d.ts",
32
+ "default": "./index.js"
33
+ },
34
+ "import": {
35
+ "types": "./index.d.ts",
36
+ "default": "./index.mjs"
37
+ },
38
+ "default": {
39
+ "types": "./index.d.ts",
40
+ "default": "./index.mjs"
41
+ }
32
42
  },
33
43
  "./*": {
34
- "require": "./*.js",
35
- "import": "./*.mjs"
44
+ "require": {
45
+ "types": "./*.d.ts",
46
+ "default": "./*.js"
47
+ },
48
+ "import": {
49
+ "types": "./*.d.ts",
50
+ "default": "./*.mjs"
51
+ },
52
+ "default": {
53
+ "types": "./*.d.ts",
54
+ "default": "./*.mjs"
55
+ }
36
56
  },
37
57
  "./package.json": "./package.json"
38
58
  }