@codybrom/denim 2.0.1 → 2.0.2
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 +9 -0
- package/deno.json +1 -1
- package/mod_test.ts +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
- package/src/types.ts +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
|
|
|
6
6
|
and this project adheres to
|
|
7
7
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
8
8
|
|
|
9
|
+
## [2.0.2] - 2026-07-11
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `GifAttachment.provider` is now `"GIPHY"` instead of `"TENOR"`. Meta retired
|
|
14
|
+
Tenor as a GIF provider on March 31, 2026; GIPHY is now the only accepted
|
|
15
|
+
provider for `gif_attachment`. The old `"TENOR"` literal could no longer
|
|
16
|
+
produce a valid GIF post.
|
|
17
|
+
|
|
9
18
|
## [2.0.1] - 2026-04-17
|
|
10
19
|
|
|
11
20
|
### Fixed
|
package/deno.json
CHANGED
package/mod_test.ts
CHANGED
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -56,7 +56,7 @@ and usually `text`. Optional fields control the post type:
|
|
|
56
56
|
| `isSpoilerMedia` | `boolean` | Hide media behind a spoiler overlay |
|
|
57
57
|
| `textEntities` | `array` | Text spoiler ranges: `[{ entity_type, offset, length }]` |
|
|
58
58
|
| `textAttachment` | `object` | Long-form text: `{ plaintext, link_attachment_url? }` |
|
|
59
|
-
| `gifAttachment` | `object` | GIF: `{ gif_id, provider }`
|
|
59
|
+
| `gifAttachment` | `object` | GIF: `{ gif_id, provider: "GIPHY" }` |
|
|
60
60
|
| `locationId` | `string` | Location ID from `searchLocations` |
|
|
61
61
|
| `children` | `string[]` | Carousel item IDs from `createCarouselItem` |
|
|
62
62
|
| `autoPublishText` | `boolean` | Skip the publish step for text posts |
|
package/src/types.ts
CHANGED
|
@@ -84,8 +84,8 @@ export interface TextAttachmentInput {
|
|
|
84
84
|
export interface GifAttachment {
|
|
85
85
|
/** The GIF ID from the provider */
|
|
86
86
|
gif_id: string;
|
|
87
|
-
/** The GIF provider */
|
|
88
|
-
provider: "
|
|
87
|
+
/** The GIF provider. GIPHY is currently the only supported provider (Tenor was retired March 31, 2026). */
|
|
88
|
+
provider: "GIPHY";
|
|
89
89
|
}
|
|
90
90
|
|
|
91
91
|
/**
|