@php-wasm/web 3.1.36 → 3.1.39

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/index.js CHANGED
@@ -1386,8 +1386,8 @@ class D {
1386
1386
  * +------------------------------------+
1387
1387
  */
1388
1388
  static serverHello(e, t, n) {
1389
- const r = e.extensions.map((_) => {
1390
- switch (_.type) {
1389
+ const r = e.extensions.map((o) => {
1390
+ switch (o.type) {
1391
1391
  case "server_name":
1392
1392
  return ue.encodeForClient();
1393
1393
  case "ec_point_formats":
@@ -1397,12 +1397,12 @@ class D {
1397
1397
  case "renegotiation_info":
1398
1398
  return de.encodeForClient();
1399
1399
  }
1400
- }).filter((_) => _ !== void 0), i = H(r), a = new Uint8Array([
1400
+ }).filter((o) => o !== void 0), i = H(r), a = new Uint8Array(), _ = new Uint8Array([
1401
1401
  // Version field – 0x03, 0x03 means TLS 1.2
1402
1402
  ...M,
1403
1403
  ...t,
1404
- e.session_id.length,
1405
- ...e.session_id,
1404
+ a.length,
1405
+ ...a,
1406
1406
  ...W(fe.TLS1_CK_ECDHE_RSA_WITH_AES_128_GCM_SHA256),
1407
1407
  n,
1408
1408
  // Extensions length (2 bytes)
@@ -1411,8 +1411,8 @@ class D {
1411
1411
  ]);
1412
1412
  return new Uint8Array([
1413
1413
  E.ServerHello,
1414
- ...L(a.length),
1415
- ...a
1414
+ ...L(_.length),
1415
+ ..._
1416
1416
  ]);
1417
1417
  }
1418
1418
  static serverHelloDone() {