@dxos/hypercore 0.1.57-main.c28f37d → 0.1.57-next.9496927
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/dist/lib/browser/index.mjs +1 -1
- package/dist/lib/browser/index.mjs.map +2 -2
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node/index.cjs +1 -1
- package/dist/lib/node/index.cjs.map +2 -2
- package/dist/lib/node/meta.json +1 -1
- package/package.json +14 -13
- package/src/hypercore-factory.ts +1 -1
- package/src/replicate.test.ts +191 -11
|
@@ -11390,7 +11390,7 @@ var HypercoreFactory = class {
|
|
|
11390
11390
|
* do not behave uniformly across platforms.
|
|
11391
11391
|
*/
|
|
11392
11392
|
createFeed(publicKey, options) {
|
|
11393
|
-
const directory = this._root.createDirectory(publicKey.toString());
|
|
11393
|
+
const directory = this._root.createDirectory(publicKey.toString("hex"));
|
|
11394
11394
|
const storage = (filename) => directory.getOrCreateFile(filename).native;
|
|
11395
11395
|
return (0, import_hypercore.default)(storage, publicKey, Object.assign({}, this._options, options));
|
|
11396
11396
|
}
|