@worldware/msg 0.6.3 → 0.6.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/{chunk-7LI2M4JY.mjs → chunk-AWSZFTAJ.mjs} +6 -1
- package/dist/classes/MsgResource/MsgResource.cjs +6 -1
- package/dist/classes/MsgResource/MsgResource.mjs +1 -1
- package/dist/classes/index.cjs +6 -1
- package/dist/classes/index.mjs +1 -1
- package/dist/index.cjs +6 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -124,7 +124,12 @@ var MsgResource = class _MsgResource extends Map {
|
|
|
124
124
|
const messages = [];
|
|
125
125
|
this.forEach((msg) => {
|
|
126
126
|
if (this.hasMatchingAttributes(msg)) {
|
|
127
|
-
|
|
127
|
+
const data = {
|
|
128
|
+
key: msg.key,
|
|
129
|
+
value: msg.value,
|
|
130
|
+
notes: !stripNotes && msg.notes.length > 0 ? msg.notes : void 0
|
|
131
|
+
};
|
|
132
|
+
messages.push(data);
|
|
128
133
|
} else {
|
|
129
134
|
messages.push(msg.getData(stripNotes));
|
|
130
135
|
}
|
|
@@ -216,7 +216,12 @@ var MsgResource = class _MsgResource extends Map {
|
|
|
216
216
|
const messages = [];
|
|
217
217
|
this.forEach((msg) => {
|
|
218
218
|
if (this.hasMatchingAttributes(msg)) {
|
|
219
|
-
|
|
219
|
+
const data = {
|
|
220
|
+
key: msg.key,
|
|
221
|
+
value: msg.value,
|
|
222
|
+
notes: !stripNotes && msg.notes.length > 0 ? msg.notes : void 0
|
|
223
|
+
};
|
|
224
|
+
messages.push(data);
|
|
220
225
|
} else {
|
|
221
226
|
messages.push(msg.getData(stripNotes));
|
|
222
227
|
}
|
package/dist/classes/index.cjs
CHANGED
|
@@ -218,7 +218,12 @@ var MsgResource = class _MsgResource extends Map {
|
|
|
218
218
|
const messages = [];
|
|
219
219
|
this.forEach((msg) => {
|
|
220
220
|
if (this.hasMatchingAttributes(msg)) {
|
|
221
|
-
|
|
221
|
+
const data = {
|
|
222
|
+
key: msg.key,
|
|
223
|
+
value: msg.value,
|
|
224
|
+
notes: !stripNotes && msg.notes.length > 0 ? msg.notes : void 0
|
|
225
|
+
};
|
|
226
|
+
messages.push(data);
|
|
222
227
|
} else {
|
|
223
228
|
messages.push(msg.getData(stripNotes));
|
|
224
229
|
}
|
package/dist/classes/index.mjs
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -218,7 +218,12 @@ var MsgResource = class _MsgResource extends Map {
|
|
|
218
218
|
const messages = [];
|
|
219
219
|
this.forEach((msg) => {
|
|
220
220
|
if (this.hasMatchingAttributes(msg)) {
|
|
221
|
-
|
|
221
|
+
const data = {
|
|
222
|
+
key: msg.key,
|
|
223
|
+
value: msg.value,
|
|
224
|
+
notes: !stripNotes && msg.notes.length > 0 ? msg.notes : void 0
|
|
225
|
+
};
|
|
226
|
+
messages.push(data);
|
|
222
227
|
} else {
|
|
223
228
|
messages.push(msg.getData(stripNotes));
|
|
224
229
|
}
|
package/dist/index.mjs
CHANGED