react-markup 0.0.0-experimental-e03ac20f-20250305 → 0.0.0-experimental-f9d78089-20250306

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.
@@ -8919,5 +8919,5 @@
8919
8919
  });
8920
8920
  });
8921
8921
  };
8922
- exports.version = "19.1.0-experimental-e03ac20f-20250305";
8922
+ exports.version = "19.1.0-experimental-f9d78089-20250306";
8923
8923
  })();
@@ -5988,4 +5988,4 @@ exports.experimental_renderToHTML = function (children, options) {
5988
5988
  });
5989
5989
  });
5990
5990
  };
5991
- exports.version = "19.1.0-experimental-e03ac20f-20250305";
5991
+ exports.version = "19.1.0-experimental-f9d78089-20250306";
@@ -3329,12 +3329,13 @@
3329
3329
  return innerFunction;
3330
3330
  }
3331
3331
  }
3332
- function registerServerReference(
3333
- proxy,
3332
+ function registerBoundServerReference(
3334
3333
  reference$jscomp$0,
3334
+ id,
3335
+ bound,
3335
3336
  encodeFormAction
3336
3337
  ) {
3337
- Object.defineProperties(proxy, {
3338
+ Object.defineProperties(reference$jscomp$0, {
3338
3339
  $$FORM_ACTION: {
3339
3340
  value:
3340
3341
  void 0 === encodeFormAction
@@ -3353,7 +3354,7 @@
3353
3354
  $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },
3354
3355
  bind: { value: bind }
3355
3356
  });
3356
- knownServerReferences.set(proxy, reference$jscomp$0);
3357
+ knownServerReferences.set(reference$jscomp$0, { id: id, bound: bound });
3357
3358
  }
3358
3359
  function bind() {
3359
3360
  var newFn = FunctionBind.apply(this, arguments),
@@ -3422,11 +3423,7 @@
3422
3423
  action
3423
3424
  );
3424
3425
  }
3425
- registerServerReference(
3426
- action,
3427
- { id: id, bound: bound },
3428
- encodeFormAction
3429
- );
3426
+ registerBoundServerReference(action, id, bound, encodeFormAction);
3430
3427
  return action;
3431
3428
  }
3432
3429
  function getComponentNameFromType(type) {
@@ -13646,5 +13643,5 @@
13646
13643
  });
13647
13644
  });
13648
13645
  };
13649
- exports.version = "19.1.0-experimental-e03ac20f-20250305";
13646
+ exports.version = "19.1.0-experimental-f9d78089-20250306";
13650
13647
  })();
@@ -2214,8 +2214,13 @@ function isSignatureEqual(referenceId, numberOfBoundArgs) {
2214
2214
  );
2215
2215
  }
2216
2216
  }
2217
- function registerServerReference(proxy, reference$jscomp$0, encodeFormAction) {
2218
- Object.defineProperties(proxy, {
2217
+ function registerBoundServerReference(
2218
+ reference$jscomp$0,
2219
+ id,
2220
+ bound,
2221
+ encodeFormAction
2222
+ ) {
2223
+ Object.defineProperties(reference$jscomp$0, {
2219
2224
  $$FORM_ACTION: {
2220
2225
  value:
2221
2226
  void 0 === encodeFormAction
@@ -2234,7 +2239,7 @@ function registerServerReference(proxy, reference$jscomp$0, encodeFormAction) {
2234
2239
  $$IS_SIGNATURE_EQUAL: { value: isSignatureEqual },
2235
2240
  bind: { value: bind }
2236
2241
  });
2237
- knownServerReferences.set(proxy, reference$jscomp$0);
2242
+ knownServerReferences.set(reference$jscomp$0, { id: id, bound: bound });
2238
2243
  }
2239
2244
  var FunctionBind = Function.prototype.bind,
2240
2245
  ArraySlice = Array.prototype.slice;
@@ -2272,7 +2277,7 @@ function createBoundServerReference(metaData, callServer, encodeFormAction) {
2272
2277
  }
2273
2278
  var id = metaData.id,
2274
2279
  bound = metaData.bound;
2275
- registerServerReference(action, { id: id, bound: bound }, encodeFormAction);
2280
+ registerBoundServerReference(action, id, bound, encodeFormAction);
2276
2281
  return action;
2277
2282
  }
2278
2283
  var REACT_CLIENT_REFERENCE = Symbol.for("react.client.reference");
@@ -8911,4 +8916,4 @@ exports.experimental_renderToHTML = function (children, options) {
8911
8916
  });
8912
8917
  });
8913
8918
  };
8914
- exports.version = "19.1.0-experimental-e03ac20f-20250305";
8919
+ exports.version = "19.1.0-experimental-f9d78089-20250306";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-markup",
3
- "version": "0.0.0-experimental-e03ac20f-20250305",
3
+ "version": "0.0.0-experimental-f9d78089-20250306",
4
4
  "description": "React package generating embedded markup such as e-mails with support for Server Components.",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "homepage": "https://react.dev/",
19
19
  "peerDependencies": {
20
- "react": "0.0.0-experimental-e03ac20f-20250305"
20
+ "react": "0.0.0-experimental-f9d78089-20250306"
21
21
  },
22
22
  "files": [
23
23
  "LICENSE",