You can see the functions if you type the name of the variable in the console followed by a ‘.’ as in “response.” Edit: see this post for a screen capture example:
EDIT: The following issue points to an example which is successfully using safeNFS.getFile() and my posts there give details that will help you run it. I think I’m using slightly later beaker than you, so worth trying that perhaps.
New SafeBrowser RC, with refactored store and sync (debounced to reduce mutation errors), as well as with updated safe-js to get around text() and buffer() issues with getFile.
@DavidMtl this should get you going again. Please note the updated getFile docs in safejs
safejs.nfs.getFile( token, dirName + '/' + fileName, 'text' ).then( text =>
{
console.log('get new file',text)
});
“Reauthorise with SAFE Launcher” doesn’t seem to do anything, though, I guess that’s for the sync. In the console I get a “Protocol description undefined” message when I click on it.
Grand. Sorted that business and now got a final 0.4.0 release available:
Updates
Now history/favourites/sitedata and settings APIs from beaker all save to the safeNetwork (when the browser is authorised).
Should authentication fail, or you not be logged into the launcher, there’s a ‘Reauthenticate’ button on the safe status page to enable reauth without rebooting the browser.
SafeStatus page on load shows whether you are authenticated on the network or displays common error issues.
BeakerDev menu is now gone for all production builds (so to develop/enable localhost tabs etc, you’ll need to download and build the app.
safe: protocol registered on both osx and windows. windows is untested and osx has proven to be unstable previously, so I’d appreciated news on either operating system there.
safe: protocol is now the default protocol when typing in the address bar.
beaker help urls have been updated to point to the SafeBrowser/Beaker repo
package ‘unpacked’ folders are now versioned instead of simply ‘unpacked’
Notes
This is packaging using NSIS for windows, which should allow protocol registration. Should it be buggy, please report OS version and any error messages you get.
@happybeing or indeed anyone else. Can someone reiterate, (or perhaps link me to the comments if you know where they are… ) about linux keyboard shortcuts that were missing?
I know they are on one of the forums, but I can’t find the comments for the life of me
Firefox and Chrome both support it, don’t know about others.
Here’s the original list - I see I’m confused about whether it is ctrl-d or all-d! My fingers know, but I’m not at a keyboard atm so can’t ask them! :eyes_skyward: