@tinycloud/sdk-services 2.11.0-beta.8 → 3.0.0-beta.10
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/encryption/index.cjs +4 -1
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.js +4 -1
- package/dist/encryption/index.js.map +1 -1
- package/dist/index.cjs +70 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +16 -1
- package/dist/index.d.ts +16 -1
- package/dist/index.js +69 -5
- package/dist/index.js.map +1 -1
- package/dist/kv/index.cjs +1 -1
- package/dist/kv/index.cjs.map +1 -1
- package/dist/kv/index.js +1 -1
- package/dist/kv/index.js.map +1 -1
- package/package.json +3 -3
package/dist/kv/index.cjs
CHANGED
|
@@ -649,7 +649,7 @@ var KVService = class extends BaseService {
|
|
|
649
649
|
*/
|
|
650
650
|
getFullPath(key, prefixOverride) {
|
|
651
651
|
const prefix = prefixOverride ?? this._config.prefix ?? "";
|
|
652
|
-
return prefix ? `${prefix}/${key}` : key;
|
|
652
|
+
return prefix ? key === "" ? prefix : `${prefix}/${key}` : key;
|
|
653
653
|
}
|
|
654
654
|
/**
|
|
655
655
|
* Get the host URL.
|