@trpc/client 10.0.0-alpha.16 → 10.0.0-alpha.17

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/client",
3
- "version": "10.0.0-alpha.16",
3
+ "version": "10.0.0-alpha.17",
4
4
  "description": "tRPC Client lib",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -18,46 +18,6 @@
18
18
  "import": "./dist/index.mjs",
19
19
  "require": "./dist/index.js",
20
20
  "default": "./dist/index.js"
21
- },
22
- "./links/httpBatchLink": {
23
- "import": "./dist/links/httpBatchLink.mjs",
24
- "require": "./dist/links/httpBatchLink.js",
25
- "default": "./dist/links/httpBatchLink.js"
26
- },
27
- "./links/httpLink": {
28
- "import": "./dist/links/httpLink.mjs",
29
- "require": "./dist/links/httpLink.js",
30
- "default": "./dist/links/httpLink.js"
31
- },
32
- "./links/loggerLink": {
33
- "import": "./dist/links/loggerLink.mjs",
34
- "require": "./dist/links/loggerLink.js",
35
- "default": "./dist/links/loggerLink.js"
36
- },
37
- "./links/splitLink": {
38
- "import": "./dist/links/splitLink.mjs",
39
- "require": "./dist/links/splitLink.js",
40
- "default": "./dist/links/splitLink.js"
41
- },
42
- "./links/transformerLink": {
43
- "import": "./dist/links/transformerLink.mjs",
44
- "require": "./dist/links/transformerLink.js",
45
- "default": "./dist/links/transformerLink.js"
46
- },
47
- "./links/wsLink": {
48
- "import": "./dist/links/wsLink.mjs",
49
- "require": "./dist/links/wsLink.js",
50
- "default": "./dist/links/wsLink.js"
51
- },
52
- "./rx": {
53
- "import": "./dist/rx/index.mjs",
54
- "require": "./dist/rx/index.js",
55
- "default": "./dist/rx/index.js"
56
- },
57
- "./rx/operators": {
58
- "import": "./dist/rx/operators/index.mjs",
59
- "require": "./dist/rx/operators/index.js",
60
- "default": "./dist/rx/operators/index.js"
61
21
  }
62
22
  },
63
23
  "files": [
@@ -74,13 +34,13 @@
74
34
  "@babel/runtime": "^7.9.0"
75
35
  },
76
36
  "peerDependencies": {
77
- "@trpc/server": "10.0.0-alpha.16"
37
+ "@trpc/server": "10.0.0-alpha.17"
78
38
  },
79
39
  "devDependencies": {
80
- "@trpc/server": "10.0.0-alpha.16"
40
+ "@trpc/server": "10.0.0-alpha.17"
81
41
  },
82
42
  "publishConfig": {
83
43
  "access": "public"
84
44
  },
85
- "gitHead": "08a4af55145d079964f6698130223ebe9b9bed6b"
45
+ "gitHead": "05c9019743087d1d43a84853762d26536d1e5184"
86
46
  }
@@ -8,7 +8,7 @@ import {
8
8
  import { TRPCResult } from '@trpc/server/rpc';
9
9
  import { CancelFn } from '..';
10
10
  import { getFetch } from '../getFetch';
11
- import { httpBatchLink } from '../links/httpBatchLink';
11
+ import { httpBatchLink } from '../links';
12
12
  import { createChain } from '../links/internals/createChain';
13
13
  import { transformOperationResult } from '../links/internals/transformOperationResult';
14
14
  import {
@@ -1,8 +1,8 @@
1
1
  /* eslint-disable @typescript-eslint/no-empty-function */
2
2
  import { AnyRouter } from '../../../server/src';
3
3
  import { createChain } from '../links/internals/createChain';
4
- import { splitLink } from '../links/splitLink';
5
- import { OperationLink, TRPCLink } from '../links/types';
4
+ import { splitLink } from '../';
5
+ import { OperationLink, TRPCLink } from '../';
6
6
  import { observable } from '../observable';
7
7
 
8
8
  test('splitLink', () => {