@smythos/sre 1.5.35 → 1.5.36
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.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/Components/FileStore.class.ts +1 -1
package/package.json
CHANGED
|
@@ -47,7 +47,7 @@ export class FileStore extends Component {
|
|
|
47
47
|
|
|
48
48
|
|
|
49
49
|
const smythFSUrl = `smythfs://${agent.id}.agent/components_data/${fileName}`;
|
|
50
|
-
SmythFS.Instance.write(smythFSUrl, buffer, null, metadata);
|
|
50
|
+
await SmythFS.Instance.write(smythFSUrl, buffer, null, metadata, ttl);
|
|
51
51
|
const url = await SmythFS.Instance.genResourceUrl(smythFSUrl, AccessCandidate.agent(agent.id));
|
|
52
52
|
Output = {
|
|
53
53
|
Url: url,
|