@estiva-app/protocol 0.37.0 → 0.39.0
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/CHANGELOG.md +36 -0
- package/dist/embeds.d.ts +124 -3
- package/dist/embeds.d.ts.map +1 -1
- package/dist/embeds.js +195 -37
- package/dist/embeds.js.map +1 -1
- package/dist/events.d.ts +10 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +3 -0
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/render.d.ts +5 -5
- package/dist/render.js +5 -5
- package/package.json +1 -1
- package/src/embeds.ts +217 -34
- package/src/events.ts +12 -0
- package/src/index.ts +23 -2
- package/src/render.ts +5 -5
package/src/render.ts
CHANGED
|
@@ -349,11 +349,11 @@ export function renderTreeText(blocks: readonly RenderBlock[]): string {
|
|
|
349
349
|
* on its line is alone on its line whether or not somebody left a space after
|
|
350
350
|
* it.
|
|
351
351
|
*
|
|
352
|
-
* @deprecated
|
|
353
|
-
*
|
|
354
|
-
*
|
|
355
|
-
* document
|
|
356
|
-
*
|
|
352
|
+
* @deprecated A whole paragraph is not the unit: since 0.38.0 a message's line
|
|
353
|
+
* that is only a reference draws its row (§13.2, §13.6.2), which
|
|
354
|
+
* `isOnlyReferenceLine` decides per line, list items and app URLs included. A
|
|
355
|
+
* block document reads a reference as its chip (§13.3); use {@link blockCards}
|
|
356
|
+
* for its cards.
|
|
357
357
|
*/
|
|
358
358
|
export function standaloneReference(block: RenderBlock): string | undefined {
|
|
359
359
|
if (block.type !== 'paragraph' || block.children?.length) return undefined
|