corestore 7.12.5 → 7.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -1
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -667,7 +667,7 @@ class Corestore extends ReadyResource {
|
|
|
667
667
|
result.manifest = opts.manifest
|
|
668
668
|
} else if (result.keyPair && !result.discoveryKey) {
|
|
669
669
|
result.manifest = {
|
|
670
|
-
version: this.manifestVersion,
|
|
670
|
+
version: opts.manifestVersion || this.manifestVersion,
|
|
671
671
|
signers: [{ publicKey: result.keyPair.publicKey }]
|
|
672
672
|
}
|
|
673
673
|
}
|