@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 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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pelican.ts/sdk",
3
- "version": "0.4.16-next.2",
3
+ "version": "0.4.16-next.3",
4
4
  "description": "Pelican panel SDK for TypeScript",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",