@astralform/js 5.0.0 → 5.1.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/dist/index.cjs +5 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +5 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -723,6 +723,11 @@ var AstralformClient = class {
|
|
|
723
723
|
// undefined so it matches the `url?: string` type and consumers that
|
|
724
724
|
// check `!== undefined` never receive a null.
|
|
725
725
|
url: raw.url ?? void 0,
|
|
726
|
+
// This mapping is an ALLOWLIST — a field the API returns and this
|
|
727
|
+
// function does not name is dropped silently, and no type error says so.
|
|
728
|
+
// `content_url` shipped that way and was invisible to every consumer.
|
|
729
|
+
contentUrl: raw.content_url ?? void 0,
|
|
730
|
+
posterUrl: raw.poster_url ?? void 0,
|
|
726
731
|
createdAt: raw.created_at
|
|
727
732
|
};
|
|
728
733
|
}
|