@trpc/client 11.0.0-alpha-tmp-issues-5851-take-two.461 → 11.0.0-alpha-tmp-issues-5851-take-two.463

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.
@@ -7,10 +7,10 @@ var TRPCClientError = require('../TRPCClientError.js');
7
7
 
8
8
  async function* abortableIterable(from, signal) {
9
9
  for await (const value of from){
10
+ yield value;
10
11
  if (signal?.throwIfAborted()) {
11
12
  return;
12
13
  }
13
- yield value;
14
14
  }
15
15
  }
16
16
  class TRPCUntypedClient {
@@ -5,10 +5,10 @@ import { TRPCClientError } from '../TRPCClientError.mjs';
5
5
 
6
6
  async function* abortableIterable(from, signal) {
7
7
  for await (const value of from){
8
+ yield value;
8
9
  if (signal?.throwIfAborted()) {
9
10
  return;
10
11
  }
11
- yield value;
12
12
  }
13
13
  }
14
14
  class TRPCUntypedClient {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trpc/client",
3
- "version": "11.0.0-alpha-tmp-issues-5851-take-two.461+40cd3d0aa",
3
+ "version": "11.0.0-alpha-tmp-issues-5851-take-two.463+cc69ca8f6",
4
4
  "description": "The tRPC client library",
5
5
  "author": "KATT",
6
6
  "license": "MIT",
@@ -76,10 +76,10 @@
76
76
  "!**/*.test.*"
77
77
  ],
78
78
  "peerDependencies": {
79
- "@trpc/server": "11.0.0-alpha-tmp-issues-5851-take-two.461+40cd3d0aa"
79
+ "@trpc/server": "11.0.0-alpha-tmp-issues-5851-take-two.463+cc69ca8f6"
80
80
  },
81
81
  "devDependencies": {
82
- "@trpc/server": "11.0.0-alpha-tmp-issues-5851-take-two.461+40cd3d0aa",
82
+ "@trpc/server": "11.0.0-alpha-tmp-issues-5851-take-two.463+cc69ca8f6",
83
83
  "@types/isomorphic-fetch": "^0.0.39",
84
84
  "@types/node": "^20.10.0",
85
85
  "eslint": "^8.56.0",
@@ -96,5 +96,5 @@
96
96
  "funding": [
97
97
  "https://trpc.io/sponsor"
98
98
  ],
99
- "gitHead": "40cd3d0aa3e88e87a5ed7093f4bed7cc7632e023"
99
+ "gitHead": "cc69ca8f621afbc7c7b26d202a4b2e25866b84de"
100
100
  }
@@ -57,10 +57,10 @@ async function* abortableIterable<T>(
57
57
  signal: AbortSignal | undefined,
58
58
  ) {
59
59
  for await (const value of from) {
60
+ yield value;
60
61
  if (signal?.throwIfAborted()) {
61
62
  return;
62
63
  }
63
- yield value;
64
64
  }
65
65
  }
66
66