@matthamlin/react-client 0.0.0-experimental-12eaef7e-20250623 → 0.0.0-experimental-b42341dd-20250625

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.
@@ -1325,6 +1325,9 @@
1325
1325
  response._chunks.forEach(function (chunk) {
1326
1326
  "pending" === chunk.status && triggerErrorOnChunk(chunk, error);
1327
1327
  });
1328
+ var debugChannel = response._debugChannel;
1329
+ void 0 !== debugChannel &&
1330
+ (debugChannel(""), (response._debugChannel = void 0));
1328
1331
  supportsUserTiming &&
1329
1332
  (console.timeStamp(
1330
1333
  "Server Requests Track",
@@ -1853,6 +1856,9 @@
1853
1856
  }
1854
1857
  case "Y":
1855
1858
  return (
1859
+ 2 < value.length &&
1860
+ (response = response._debugChannel) &&
1861
+ ((value = value.slice(2)), response("R:" + value)),
1856
1862
  Object.defineProperty(parentObject, key, {
1857
1863
  get: function () {
1858
1864
  return "This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects.";
@@ -1886,7 +1892,8 @@
1886
1892
  temporaryReferences,
1887
1893
  findSourceMapURL,
1888
1894
  replayConsole,
1889
- environmentName
1895
+ environmentName,
1896
+ debugChannel
1890
1897
  ) {
1891
1898
  var chunks = new Map();
1892
1899
  this._bundlerConfig = bundlerConfig;
@@ -1917,6 +1924,7 @@
1917
1924
  '"use ' + environmentName.toLowerCase() + '"'
1918
1925
  ));
1919
1926
  this._debugFindSourceMapURL = findSourceMapURL;
1927
+ this._debugChannel = debugChannel;
1920
1928
  this._replayConsole = replayConsole;
1921
1929
  this._rootEnvironmentName = environmentName;
1922
1930
  this._fromJSON = createFromJSONCallback(this);
@@ -2422,15 +2430,20 @@
2422
2430
  return Error("react-stack-top-frame");
2423
2431
  }
2424
2432
  function initializeFakeStack(response, debugInfo) {
2425
- void 0 === debugInfo.debugStack &&
2426
- (null != debugInfo.stack &&
2433
+ if (void 0 === debugInfo.debugStack) {
2434
+ null != debugInfo.stack &&
2427
2435
  (debugInfo.debugStack = createFakeJSXCallStackInDEV(
2428
2436
  response,
2429
2437
  debugInfo.stack,
2430
2438
  null == debugInfo.env ? "" : debugInfo.env
2431
- )),
2432
- null != debugInfo.owner &&
2433
- initializeFakeStack(response, debugInfo.owner));
2439
+ ));
2440
+ var owner = debugInfo.owner;
2441
+ null != owner &&
2442
+ (initializeFakeStack(response, owner),
2443
+ void 0 === owner.debugLocation &&
2444
+ null != debugInfo.debugStack &&
2445
+ (owner.debugLocation = debugInfo.debugStack));
2446
+ }
2434
2447
  }
2435
2448
  function resolveDebugInfo(response, id, debugInfo) {
2436
2449
  void 0 !== debugInfo.stack && initializeFakeTask(response, debugInfo);
@@ -3328,7 +3341,8 @@
3328
3341
  temporaryReferences,
3329
3342
  findSourceMapURL,
3330
3343
  replayConsole,
3331
- environmentName
3344
+ environmentName,
3345
+ debugChannel
3332
3346
  ) {
3333
3347
  return new ResponseInstance(
3334
3348
  bundlerConfig,
@@ -3340,7 +3354,8 @@
3340
3354
  temporaryReferences,
3341
3355
  findSourceMapURL,
3342
3356
  replayConsole,
3343
- environmentName
3357
+ environmentName,
3358
+ debugChannel
3344
3359
  );
3345
3360
  };
3346
3361
  exports.getRoot = function (response) {
@@ -3352,7 +3367,7 @@
3352
3367
  version: rendererVersion,
3353
3368
  rendererPackageName: rendererPackageName,
3354
3369
  currentDispatcherRef: ReactSharedInternals,
3355
- reconcilerVersion: "19.2.0-experimental-12eaef7e-20250623",
3370
+ reconcilerVersion: "19.2.0-experimental-b42341dd-20250625",
3356
3371
  getCurrentComponentInfo: getCurrentOwnerInDEV
3357
3372
  };
3358
3373
  if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
@@ -1600,7 +1600,7 @@ module.exports = function ($$$config) {
1600
1600
  version: rendererVersion,
1601
1601
  rendererPackageName: rendererPackageName,
1602
1602
  currentDispatcherRef: ReactSharedInternals,
1603
- reconcilerVersion: "19.2.0-experimental-12eaef7e-20250623",
1603
+ reconcilerVersion: "19.2.0-experimental-b42341dd-20250625",
1604
1604
  getCurrentComponentInfo: getCurrentOwnerInDEV
1605
1605
  };
1606
1606
  if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@matthamlin/react-client",
3
3
  "description": "React package for consuming streaming models.",
4
- "version": "0.0.0-experimental-12eaef7e-20250623",
4
+ "version": "0.0.0-experimental-b42341dd-20250625",
5
5
  "keywords": [
6
6
  "react"
7
7
  ],
@@ -23,6 +23,6 @@
23
23
  "node": ">=0.10.0"
24
24
  },
25
25
  "peerDependencies": {
26
- "react": "0.0.0-experimental-12eaef7e-20250623"
26
+ "react": "0.0.0-experimental-b42341dd-20250625"
27
27
  }
28
28
  }