hikkaku 0.3.2 → 0.3.3

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.
Files changed (2) hide show
  1. package/blocks/index.mjs +5 -1
  2. package/package.json +1 -1
package/blocks/index.mjs CHANGED
@@ -974,7 +974,11 @@ const broadcast = (message) => {
974
974
  * ```
975
975
  */
976
976
  const broadcastAndWait = (message) => {
977
- return block("event_broadcastandwait", { inputs: { BROADCAST_INPUT: fromPrimitiveSource(message) } });
977
+ return block("event_broadcastandwait", { inputs: { BROADCAST_INPUT: typeof message === "string" ? [Shadow.SameBlockShadow, [
978
+ InputType.Broadcast,
979
+ message,
980
+ message
981
+ ]] : fromPrimitiveSource(message) } });
978
982
  };
979
983
 
980
984
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hikkaku",
3
- "version": "0.3.2",
3
+ "version": "0.3.3",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "exports": {