Skip to content

Commit 39368ce

Browse files
committed
Fourth parameter to registerClientReference
1 parent 8a6280e commit 39368ce

6 files changed

+18
-12
lines changed

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3511,12 +3511,13 @@
35113511
exports.registerClientReference = function (
35123512
proxyImplementation,
35133513
id,
3514-
exportName
3514+
exportName,
3515+
async
35153516
) {
35163517
return registerClientReferenceImpl(
35173518
proxyImplementation,
35183519
id + "#" + exportName,
3519-
!1
3520+
async || false
35203521
);
35213522
};
35223523
exports.registerServerReference = function (reference, id, exportName) {

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.browser.production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2681,12 +2681,13 @@ exports.decodeReply = function (body, turbopackMap, options) {
26812681
exports.registerClientReference = function (
26822682
proxyImplementation,
26832683
id,
2684-
exportName
2684+
exportName,
2685+
async
26852686
) {
26862687
return registerClientReferenceImpl(
26872688
proxyImplementation,
26882689
id + "#" + exportName,
2689-
!1
2690+
async || false
26902691
);
26912692
};
26922693
exports.registerServerReference = function (reference, id, exportName) {

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3551,12 +3551,13 @@
35513551
exports.registerClientReference = function (
35523552
proxyImplementation,
35533553
id,
3554-
exportName
3554+
exportName,
3555+
async
35553556
) {
35563557
return registerClientReferenceImpl(
35573558
proxyImplementation,
35583559
id + "#" + exportName,
3559-
!1
3560+
async || false
35603561
);
35613562
};
35623563
exports.registerServerReference = function (reference, id, exportName) {

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.edge.production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2696,12 +2696,13 @@ exports.decodeReply = function (body, turbopackMap, options) {
26962696
exports.registerClientReference = function (
26972697
proxyImplementation,
26982698
id,
2699-
exportName
2699+
exportName,
2700+
async
27002701
) {
27012702
return registerClientReferenceImpl(
27022703
proxyImplementation,
27032704
id + "#" + exportName,
2704-
!1
2705+
async || false
27052706
);
27062707
};
27072708
exports.registerServerReference = function (reference, id, exportName) {

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.development.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3618,12 +3618,13 @@
36183618
exports.registerClientReference = function (
36193619
proxyImplementation,
36203620
id,
3621-
exportName
3621+
exportName,
3622+
async
36223623
) {
36233624
return registerClientReferenceImpl(
36243625
proxyImplementation,
36253626
id + "#" + exportName,
3626-
!1
3627+
async || false
36273628
);
36283629
};
36293630
exports.registerServerReference = function (reference, id, exportName) {

packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-server.node.production.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2793,12 +2793,13 @@ exports.decodeReplyFromBusboy = function (busboyStream, turbopackMap, options) {
27932793
exports.registerClientReference = function (
27942794
proxyImplementation,
27952795
id,
2796-
exportName
2796+
exportName,
2797+
async
27972798
) {
27982799
return registerClientReferenceImpl(
27992800
proxyImplementation,
28002801
id + "#" + exportName,
2801-
!1
2802+
async || false
28022803
);
28032804
};
28042805
exports.registerServerReference = function (reference, id, exportName) {

0 commit comments

Comments
 (0)