-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I already have a new version "zenbase-2.1.8_2-beta-plus" with browser OK and nodejs OK! #6
Comments
Hey, I read this twice and I'm still not sure if I understand.
|
Hello Fluffy9, Sorry, but I can not do that deutsch and it must always be about Google, translated, that's why the text problems or understanding! On your GitHub Repo "Fluffy9 / ZenBase", is in your "Readme.md" Yes, M-Cut has created this version branch "Skynet-Nodejs" by (skynetLabs / gundb-relay)! In my version (parajbs/gundb-relay), I have made further corrections for the NODEJS version to your web browser version and also to skydb from Skynet compatible! Have even created a version where both versions work together in a version! ########### But now to your version !!! Info: Test-2 is your version 2.1.7 + my correction! Test-1 Test-1 instructions important!:
Important information: If you run both commands together in a test step, then the data of "gun.put()" is stored in the in-memory (graph) of Gundb and the "gun.get()" will be the data only from the In-Memory (Graph), the "store.put" Error still comes in your version and thus no data has been uploaded to Skynet! ########## Test-2: For Test 2 Instructions:
I hope my testcenter-page could glare to the problem! If you still haven't understood it, then you just have to compare your version with my cornered version, then you will find the difference! Have fun with my test center! |
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:
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!
other secure encryption!
The text was updated successfully, but these errors were encountered: