Can someone update the tutorial to be compatible with @maidsafe/safe-node-app 0.9.0 API please?


#21

Is this Peruse v0.6 api documented anywhere?
Would you happen to have a link?


#22

safe-node-app 0.9.0 api
https://docs.maidsafe.net/safe_app_nodejs/

Peruse v0.7-rc2

Download the tar.gz file and if you use Linux type these commands:

tar zxvf safe_browser-peruse-0.7.0-rc.2.tar.gz
cd safe_browser-peruse-0.7.0-rc.2
yarn package
mv release/safe_browser-peruse-0.7.0-rc.2 /opt/Maidsafe/Peruse

Then create two launcher files for Peruse

peruse.desktop

[Desktop Entry]
Name=Peruse
Version=0.7.0-rc2
GenericName=SAFE Network Browser
Comment=Browse the SAFE Network
Encoding=UTF-8
Type=Application
Icon=safeicon
Terminal=false
Path=/opt/Maidsafe/Peruse
Exec=/opt/Maidsafe/Peruse/peruse --live %U
StartupNotify=false
Categories=Network;Browser;P2P;
MimeType=x-scheme-handler/safe;x-scheme-handler/safe-auth;

peruse-dev.desktop

[Desktop Entry]
Name=Peruse Mock
Version=0.7.0-rc2
GenericName=SAFE Network Browser Mock
Comment=Mock version of the SAFE Browser
Encoding=UTF-8
Type=Application
Icon=safeicon-dev
Terminal=false
Path=/opt/Maidsafe/Peruse/peruse
Exec=/opt/Maidsafe/Peruse/peruse --args --mock --preload %U
StartupNotify=false
Categories=Development;Network;Browser;P2P
MimeType=x-scheme-handler/safe;x-scheme-handler/safe-auth;

And move them to your local applications menu folder.

mv peruse*.desktop ~/.local/share/applications/

#23

The changes are to bring the DOM API into line with the nodejs API, so you can use the docs for that:

https://docs.maidsafe.net/safe_app_nodejs


#24

And beware there’s an extra function authorise:


#25

We’ll be adding such information to Peruse README file in the next couple of days: https://github.com/maidsafe/safe_browser/issues/358, until we define another place to publish API documentation.


#26

@tmark, FYI, Peruse v0.7.0 API docs published here: https://github.com/maidsafe/safe_browser#safe-network-api


#27

This topic was automatically closed after 60 days. New replies are no longer allowed.