Currently, when trying to instantiate the CPK class via for example
const cpk = await CPK.create({ ethLibAdapter });
it instantiates here a non-optional SafeAppsSdkConnector which depends on having access to the window object .
It could be cool being able to have this as optional, in order to use the package in non-browser environments, like on CLI Node applications
Currently, when trying to instantiate the CPK class via for example
it instantiates here a non-optional
SafeAppsSdkConnector
which depends on having access to thewindow
object . It could be cool being able to have this as optional, in order to use the package in non-browser environments, like on CLI Node applications