@dxos/hypercore 0.1.57-main.e87098f → 0.1.57

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.
@@ -11289,7 +11289,7 @@ import { callbackify } from "@dxos/node-std/util";
11289
11289
  import { verifySignature } from "@dxos/crypto";
11290
11290
  import { invariant } from "@dxos/invariant";
11291
11291
  import { arrayToBuffer } from "@dxos/util";
11292
- var __dxlog_file = "/home/runner/work/dxos/dxos/packages/common/hypercore/src/crypto.ts";
11292
+ var __dxlog_file = "/mnt/ramdisk/work/packages/common/hypercore/src/crypto.ts";
11293
11293
  var createCodecEncoding = (codec, opts) => ({
11294
11294
  encode: (obj) => arrayToBuffer(codec.encode(obj, opts)),
11295
11295
  decode: (buffer) => codec.decode(buffer, opts)
@@ -11366,7 +11366,7 @@ import util from "@dxos/node-std/util";
11366
11366
  var py = (obj, fn) => util.promisify(fn.bind(obj));
11367
11367
 
11368
11368
  // packages/common/hypercore/src/hypercore-factory.ts
11369
- var __dxlog_file2 = "/home/runner/work/dxos/dxos/packages/common/hypercore/src/hypercore-factory.ts";
11369
+ var __dxlog_file2 = "/mnt/ramdisk/work/packages/common/hypercore/src/hypercore-factory.ts";
11370
11370
  var HypercoreFactory = class {
11371
11371
  // prettier-ignore
11372
11372
  constructor(_root = createStorage({
@@ -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
  }