unetjs 3.2.3 → 3.2.4

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/dist/cjs/unet.cjs CHANGED
@@ -1,8 +1,8 @@
1
- /* unet.js v3.2.3 2025-04-15T06:27:19.683Z */
1
+ /* unet.js v3.2.4 2025-04-15T06:38:29.796Z */
2
2
 
3
3
  'use strict';
4
4
 
5
- /* fjage.js v1.13.8 */
5
+ /* fjage.js v1.13.9 */
6
6
 
7
7
  const isBrowser =
8
8
  typeof window !== "undefined" && typeof window.document !== "undefined";
@@ -561,9 +561,10 @@ class AgentID {
561
561
  } else if (Array.isArray(params)) {
562
562
  if (!rsp.values) rsp.values = {};
563
563
  if (rsp.param) rsp.values[rsp.param] = rsp.value;
564
- const rvals = Object.keys(rsp.values);
565
- return params.map(p => {
566
- let f = rvals.find(rv => rv.endsWith(p));
564
+ const rkeys = Object.keys(rsp.values);
565
+ return params.map( p => {
566
+ if (p.includes('.')) p = p.split('.').pop();
567
+ let f = rkeys.find(k => (k.includes('.') ? k.split('.').pop() : k) == p);
567
568
  return f ? rsp.values[f] : undefined;
568
569
  });
569
570
  } else {
package/dist/esm/unet.js CHANGED
@@ -1,6 +1,6 @@
1
- /* unet.js v3.2.3 2025-04-15T06:27:19.682Z */
1
+ /* unet.js v3.2.4 2025-04-15T06:38:29.796Z */
2
2
 
3
- /* fjage.js v1.13.8 */
3
+ /* fjage.js v1.13.9 */
4
4
 
5
5
  const isBrowser =
6
6
  typeof window !== "undefined" && typeof window.document !== "undefined";
@@ -559,9 +559,10 @@ class AgentID {
559
559
  } else if (Array.isArray(params)) {
560
560
  if (!rsp.values) rsp.values = {};
561
561
  if (rsp.param) rsp.values[rsp.param] = rsp.value;
562
- const rvals = Object.keys(rsp.values);
563
- return params.map(p => {
564
- let f = rvals.find(rv => rv.endsWith(p));
562
+ const rkeys = Object.keys(rsp.values);
563
+ return params.map( p => {
564
+ if (p.includes('.')) p = p.split('.').pop();
565
+ let f = rkeys.find(k => (k.includes('.') ? k.split('.').pop() : k) == p);
565
566
  return f ? rsp.values[f] : undefined;
566
567
  });
567
568
  } else {
package/dist/unetjs.js CHANGED
@@ -4,7 +4,7 @@
4
4
  (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.unet = {}));
5
5
  })(this, (function (exports) { 'use strict';
6
6
 
7
- /* fjage.js v1.13.8 */
7
+ /* fjage.js v1.13.9 */
8
8
 
9
9
  const isBrowser =
10
10
  typeof window !== "undefined" && typeof window.document !== "undefined";
@@ -563,9 +563,10 @@
563
563
  } else if (Array.isArray(params)) {
564
564
  if (!rsp.values) rsp.values = {};
565
565
  if (rsp.param) rsp.values[rsp.param] = rsp.value;
566
- const rvals = Object.keys(rsp.values);
567
- return params.map(p => {
568
- let f = rvals.find(rv => rv.endsWith(p));
566
+ const rkeys = Object.keys(rsp.values);
567
+ return params.map( p => {
568
+ if (p.includes('.')) p = p.split('.').pop();
569
+ let f = rkeys.find(k => (k.includes('.') ? k.split('.').pop() : k) == p);
569
570
  return f ? rsp.values[f] : undefined;
570
571
  });
571
572
  } else {