-
I'm playing around with snaps. I've set "endowment:network-access" as initialPermission and I've granted it to the snap When I do fetch(....) inside of the main entry point - it is all fine - the fetch succeed. But if I try to call a library that on it's own calls fetch it fails. I'm doing this call:
which in terms calls this: which in terms end up with call to this: The error I get is:
is there anything special I need to do to enable network permissions to dependencies of the snap? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Oh never mind. I guess I was too tired and had a typo in the specified URL... Granting the "endowment:network-access" gives every package access to fetch. |
Beta Was this translation helpful? Give feedback.
Oh never mind. I guess I was too tired and had a typo in the specified URL... Granting the "endowment:network-access" gives every package access to fetch.