@axiom-lattice/client-sdk 4.8.0 → 4.8.2

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.mjs CHANGED
@@ -3751,10 +3751,11 @@ var ProjectRoomsClient = class {
3751
3751
  };
3752
3752
  this.interrupts = {
3753
3753
  resume: async (projectId, input) => {
3754
+ const target = "ref" in input ? { ref: input.ref } : { membershipId: input.membershipId };
3754
3755
  await this.request(`/api/projects/${encode(projectId)}/room/interrupts/resume`, {
3755
3756
  method: "POST",
3756
3757
  body: {
3757
- membershipId: input.membershipId,
3758
+ ...target,
3758
3759
  ...input.answers === void 0 ? {} : { answers: input.answers }
3759
3760
  }
3760
3761
  });