@pelican.ts/sdk 0.4.16-next.2 → 0.4.16-next.3
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/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1884,7 +1884,7 @@ var ServerFile = class _ServerFile {
|
|
|
1884
1884
|
size;
|
|
1885
1885
|
constructor(client, file, dir = "/") {
|
|
1886
1886
|
this.client = client;
|
|
1887
|
-
this.dir = dir;
|
|
1887
|
+
this.dir = dir || "/";
|
|
1888
1888
|
this.createdAt = new Date(file.created_at);
|
|
1889
1889
|
this.isFile = file.is_file;
|
|
1890
1890
|
this.isSymlink = file.is_symlink;
|
package/dist/index.mjs
CHANGED
|
@@ -1839,7 +1839,7 @@ var ServerFile = class _ServerFile {
|
|
|
1839
1839
|
size;
|
|
1840
1840
|
constructor(client, file, dir = "/") {
|
|
1841
1841
|
this.client = client;
|
|
1842
|
-
this.dir = dir;
|
|
1842
|
+
this.dir = dir || "/";
|
|
1843
1843
|
this.createdAt = new Date(file.created_at);
|
|
1844
1844
|
this.isFile = file.is_file;
|
|
1845
1845
|
this.isSymlink = file.is_symlink;
|