@contentstorage/core 0.3.44 → 0.3.45
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.
|
@@ -138,10 +138,12 @@ export function getImage(contentKey) {
|
|
|
138
138
|
type: 'image',
|
|
139
139
|
});
|
|
140
140
|
}
|
|
141
|
-
currentData.url = `https://di0fmnnsdfsl2.cloudfront.net/${currentData.url}`;
|
|
142
141
|
return {
|
|
143
142
|
contentKey,
|
|
144
|
-
data:
|
|
143
|
+
data: {
|
|
144
|
+
...currentData,
|
|
145
|
+
url: `https://di0fmnnsdfsl2.cloudfront.net/${currentData.url}`,
|
|
146
|
+
},
|
|
145
147
|
};
|
|
146
148
|
}
|
|
147
149
|
else {
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@contentstorage/core",
|
|
3
3
|
"author": "Kaido Hussar <kaidohus@gmail.com>",
|
|
4
4
|
"homepage": "https://contentstorage.app",
|
|
5
|
-
"version": "0.3.
|
|
5
|
+
"version": "0.3.45",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"description": "Fetch content from contentstorage and generate TypeScript types",
|
|
8
8
|
"module": "dist/index.js",
|