seedcord 0.10.2 → 0.10.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/index.cjs +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +22 -6
- package/dist/index.d.ts +22 -6
- package/dist/index.mjs +3 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1460,7 +1460,9 @@ var decide = /* @__PURE__ */ __name(async (opts, i) => {
|
|
|
1460
1460
|
var shouldDefer = /* @__PURE__ */ __name((ix, opts, isSlash, isContext) => {
|
|
1461
1461
|
if (ix.deferred) return false;
|
|
1462
1462
|
if (opts.defer === false) return false;
|
|
1463
|
-
|
|
1463
|
+
if (isSlash || isContext) return true;
|
|
1464
|
+
if (isMessageComponentIx(ix)) return true;
|
|
1465
|
+
return false;
|
|
1464
1466
|
}, "shouldDefer");
|
|
1465
1467
|
var maybeDefer = /* @__PURE__ */ __name(async (ix, opts, isSlash, isContext) => {
|
|
1466
1468
|
if (!shouldDefer(ix, opts, isSlash, isContext)) return;
|