@pelican.ts/sdk 0.5.2-next.4 → 0.5.2-next.5

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
@@ -2234,7 +2234,7 @@ var Server = class {
2234
2234
  (d) => d.attributes
2235
2235
  );
2236
2236
  this.egg = server.relationships.egg?.attributes;
2237
- this.subusers = server.relationships.subusers?.data.map(
2237
+ this.subusers = server.relationships.subusers?.data?.map(
2238
2238
  (d) => new ServerUser(this.client, d.attributes)
2239
2239
  );
2240
2240
  }
package/dist/index.mjs CHANGED
@@ -2189,7 +2189,7 @@ var Server = class {
2189
2189
  (d) => d.attributes
2190
2190
  );
2191
2191
  this.egg = server.relationships.egg?.attributes;
2192
- this.subusers = server.relationships.subusers?.data.map(
2192
+ this.subusers = server.relationships.subusers?.data?.map(
2193
2193
  (d) => new ServerUser(this.client, d.attributes)
2194
2194
  );
2195
2195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pelican.ts/sdk",
3
- "version": "0.5.2-next.4",
3
+ "version": "0.5.2-next.5",
4
4
  "description": "Pelican panel SDK for TypeScript",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",