Skip to content

I already have a new version "zenbase-2.1.8_2-beta-plus" with browser OK and nodejs OK! #6

@parajbs

Description

@parajbs

Hello Fluffy9,

Yesterday I installed "SkynetLabs/gundb-relay(branch "skynet-nodejs")" on my dev server and fixed errors while doing so
I have now created a super working new version of "zenbase-2.1.8_2-beta-plus" that works both in the browser and in nodejs!
But I think there is still a problem with the gun in the relay!

I haven't published the version "zenbase-2.1.8_2-beta-plus" on github yet because I also use "SkynetLabs/nodejs-skynet" and there in the "src/client.js" the line:

  getJSON: browserClient.db.getJSON.bind(browserClient),

added so that "getJSON" also works in nodejs!
I'm still waiting for the line to be included in the original repo!
Although I also have a version that works without the correction of "SkynetLabs/nodejs-skynet", but the version is extremely big, and double functions for browser and nodejs!

"SkynetLabs/nodejs-skynet" without correction:
// SkyDB
this.db = {
setDataLink: browserClient.db.setDataLink.bind(browserClient),
};

"SkynetLabs/nodejs-skynet" with correction:
// SkyDB
this.db = {
setDataLink: browserClient.db.setDataLink.bind(browserClient),
getJSON: browserClient.db.getJSON.bind(browserClient),
};

If you want to help with the problems then I'll try to upload both versions of my dev server to my githab repo today or tomorrow!

You can contact the developers of "SkynetLabs/nodejs-skynet" to include this line:
getJSON: browserClient.db.getJSON.bind(browserClient),
see above!!!
"db.getJSON" can then also be used in the nodejs version!
Danger! IMPORTANT! "setJSON" is not meant because this doesn't work, only "getJSON"! This is why "getJSON" is compatible with skydb data!

  • How about a cool WebUI?
  • And as an option encryption and decryption of the data by Gun or by skynet (there is no such thing for skydb at the moment!) or
    other secure encryption!
  • Or user DB, via skynet-mysky or Gun SEC?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions