filefive 1.0.0 → 1.0.2

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.
Files changed (2) hide show
  1. package/dist/Session.js +2 -1
  2. package/package.json +1 -1
package/dist/Session.js CHANGED
@@ -1,8 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ const node_crypto_1 = require("node:crypto");
3
4
  class Session {
4
5
  static create() {
5
- const sid = crypto.randomUUID();
6
+ const sid = (0, node_crypto_1.randomUUID)();
6
7
  this.sessions.set(sid, {});
7
8
  return sid;
8
9
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "filefive",
3
3
  "description": "A SFTP/FTP client and dual-panel file manager for macOS and Linux",
4
- "version": "1.0.0",
4
+ "version": "1.0.2",
5
5
  "license": "GPL-3.0",
6
6
  "author": "Max Miroshnikov",
7
7
  "bin": {