@bct-app/game-engine 0.1.7 → 0.1.8
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -160,7 +160,7 @@ var resolveSourceValue = (source, writableInputs, payloads, effector, snapshotSe
|
|
|
160
160
|
}
|
|
161
161
|
const characterIds = typeof payloadValue === "string" ? [payloadValue] : payloadValue;
|
|
162
162
|
return characterIds.flatMap((id) => {
|
|
163
|
-
return resolveFromCharacter ? resolveFromCharacter(id) : [];
|
|
163
|
+
return resolveFromCharacter ? resolveFromCharacter(id) : [id];
|
|
164
164
|
});
|
|
165
165
|
}
|
|
166
166
|
return castOrValidate(payloadValue);
|
package/dist/index.mjs
CHANGED
|
@@ -122,7 +122,7 @@ var resolveSourceValue = (source, writableInputs, payloads, effector, snapshotSe
|
|
|
122
122
|
}
|
|
123
123
|
const characterIds = typeof payloadValue === "string" ? [payloadValue] : payloadValue;
|
|
124
124
|
return characterIds.flatMap((id) => {
|
|
125
|
-
return resolveFromCharacter ? resolveFromCharacter(id) : [];
|
|
125
|
+
return resolveFromCharacter ? resolveFromCharacter(id) : [id];
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
128
|
return castOrValidate(payloadValue);
|