@tinycloud/operations 0.3.3-beta.5 → 0.3.3-beta.7

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/coverage.json CHANGED
@@ -47,7 +47,6 @@
47
47
  { "command": "delegation revoke <cid>", "status": "legacy" },
48
48
  { "command": "share", "status": "legacy" },
49
49
  { "command": "share inspect [url]", "status": "legacy" },
50
- { "command": "share migrate [url]", "status": "legacy" },
51
50
  { "command": "share notify <id>", "status": "legacy" },
52
51
  { "command": "share publish <files>", "status": "legacy" },
53
52
  { "command": "share receive [url]", "status": "legacy" },
@@ -1717,7 +1717,7 @@ var KVService = class extends BaseService {
1717
1717
  */
1718
1718
  getFullPath(key, prefixOverride) {
1719
1719
  const prefix = prefixOverride ?? this._config.prefix ?? "";
1720
- return prefix ? `${prefix}/${key}` : key;
1720
+ return prefix ? key === "" ? prefix : `${prefix}/${key}` : key;
1721
1721
  }
1722
1722
  /**
1723
1723
  * Get the host URL.