According to docs,
1- Pear.updates should send a version object with a key that takes the format <String(hex)>link to docs
2- Pear.versions should send a key with format <Buffer>link to docs
3- Pear.config should send a key as an object with format { z32: <String>, hex: <String>},link to docs
At the moment,
1- Pear.updates sends a key with different format depending on if it's an App update or a Platform update:
Platform updates: <String(z32)>
App updates: <String(hex)>
2- Pear.versions sends an object that contains a key with format:
Platform updates: <String(z32)> or String(path_to_repo) if we are in localdev
According to docs, 1-
Pear.updates
should send a version object with a key that takes the format<String(hex)>
link to docs 2-Pear.versions
should send a key with format<Buffer>
link to docs 3-Pear.config
should send a key as an object with format{ z32: <String>, hex: <String>},
link to docsAt the moment, 1-
Pear.updates
sends a key with different format depending on if it's an App update or a Platform update:<String(z32)>
<String(hex)>
2-
Pear.versions
sends an object that contains a key with format:<String(z32)>
orString(path_to_repo)
if we are in localdev<String(z32)>