@rustrak/client 0.3.14 → 0.12.0

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.cjs CHANGED
@@ -340,9 +340,6 @@ var bulkUpdateIssuesSchema = zod.z.object({
340
340
  var bulkDeleteIssuesSchema = zod.z.object({
341
341
  ids: zod.z.array(uuidSchema)
342
342
  });
343
- var createDeploySchema = zod.z.object({
344
- version: zod.z.string()
345
- });
346
343
  var logSchema = zod.z.object({
347
344
  id: uuidSchema,
348
345
  trace_id: zod.z.string().nullable(),
@@ -383,7 +380,8 @@ var createProjectSchema = zod.z.object({
383
380
  slug: zod.z.string().optional()
384
381
  });
385
382
  var updateProjectSchema = zod.z.object({
386
- name: zod.z.string().min(1).optional()
383
+ name: zod.z.string().min(1).optional(),
384
+ platform: zod.z.string().min(1).optional()
387
385
  });
388
386
  var releaseHealthRowSchema = zod.z.object({
389
387
  release: zod.z.string(),
@@ -1208,17 +1206,6 @@ var IssuesResource = class extends BaseResource {
1208
1206
  }).json();
1209
1207
  return this.validate(data, userReportSchema);
1210
1208
  }
1211
- /**
1212
- * Record a deploy of a release, finalizing resolve-in-next-release issues.
1213
- */
1214
- async createDeploy(projectId, input) {
1215
- const validatedInput = this.validate(input, createDeploySchema);
1216
- const data = await this.http.post(`api/projects/${projectId}/deploys`, { json: validatedInput }).json();
1217
- return this.validate(
1218
- data,
1219
- zod.z.object({ version: zod.z.string(), finalized: zod.z.number().int() })
1220
- );
1221
- }
1222
1209
  };
1223
1210
 
1224
1211
  // src/resources/logs.ts