Hi,
I have tried to use uuid npm package but it failed with following error:
There was an error invoking the function - crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported
Error: crypto.getRandomValues() not supported.
I think sandboxed environment for Forge does not support crypto package.
I want to do something like that:
const uuid = uuidv4();
await storage.set(`TABLE_NAME-${issueId}-${uuid}`, formData);
My understanding is Forge provides an eventually consistent distributed Storage API and UUIDs are used as keys in these kind of environments. If it is not supported, how am I supposed to store a value? Am I missing something here?
Thanks,