statebus 7.0.24 → 7.0.25
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/package.json +1 -1
- package/statebus.js +2 -2
package/package.json
CHANGED
package/statebus.js
CHANGED
|
@@ -1757,8 +1757,8 @@
|
|
|
1757
1757
|
//
|
|
1758
1758
|
var escape_field_to_bus = (field) => field.replace(/^(_*)key$/, '$1_key'),
|
|
1759
1759
|
unescape_field_from_bus = (field) => field.replace(/^(_*)_key$/, '$1key'),
|
|
1760
|
-
escape_field_to_nelson = (field) => field.replace(/^(_*)link$/, '$
|
|
1761
|
-
unescape_field_from_nelson = (field) => field.replace(/^(_*)link$/, '$
|
|
1760
|
+
escape_field_to_nelson = (field) => field.replace(/^(_*)link$/, '$1_link'),
|
|
1761
|
+
unescape_field_from_nelson = (field) => field.replace(/^(_*)link$/, '$1_link')
|
|
1762
1762
|
|
|
1763
1763
|
var escape_to_bus = (obj) => translate_fields(obj, escape_field_to_bus)
|
|
1764
1764
|
unescape_from_bus = (obj) => translate_fields(obj, unescape_field_from_bus)
|