@pelican.ts/sdk 0.4.12 → 0.4.13

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.
@@ -1373,7 +1373,7 @@ declare class Servers {
1373
1373
  suspend: () => Promise<void>;
1374
1374
  unsuspend: () => Promise<void>;
1375
1375
  reinstall: () => Promise<void>;
1376
- transferStart: (node_id: number, allocation_id: number, allocation_additional?: string[]) => Promise<void>;
1376
+ transferStart: (node_id: number, allocation_id: number, allocation_additional?: number[]) => Promise<void>;
1377
1377
  transferCancel: () => Promise<void>;
1378
1378
  }
1379
1379
  declare const CreateServerSchema: z.ZodObject<{
@@ -1373,7 +1373,7 @@ declare class Servers {
1373
1373
  suspend: () => Promise<void>;
1374
1374
  unsuspend: () => Promise<void>;
1375
1375
  reinstall: () => Promise<void>;
1376
- transferStart: (node_id: number, allocation_id: number, allocation_additional?: string[]) => Promise<void>;
1376
+ transferStart: (node_id: number, allocation_id: number, allocation_additional?: number[]) => Promise<void>;
1377
1377
  transferCancel: () => Promise<void>;
1378
1378
  }
1379
1379
  declare const CreateServerSchema: z.ZodObject<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pelican.ts/sdk",
3
- "version": "0.4.12",
3
+ "version": "0.4.13",
4
4
  "description": "Pelican panel SDK for TypeScript",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -65,7 +65,7 @@ export class Servers {
65
65
  transferStart = async (
66
66
  node_id: number,
67
67
  allocation_id: number,
68
- allocation_additional?: string[]
68
+ allocation_additional?: number[]
69
69
  ): Promise<void> => {
70
70
  await this.r.post(`/servers/${this.id}/transfer`, {
71
71
  node_id,