@learncard/network-plugin 2.2.2 → 2.2.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.
@@ -9988,7 +9988,7 @@ var getLearnCardNetworkPlugin = /* @__PURE__ */ __name(async (learnCard, url) =>
9988
9988
  throw new Error("Please make an account first!");
9989
9989
  return client.boost.updateBoost.mutate({
9990
9990
  uri,
9991
- updates: { credential, ...updates }
9991
+ updates: { ...credential && { credential }, ...updates }
9992
9992
  });
9993
9993
  },
9994
9994
  getBoostAdmins: async (_learnCard, uri, options = {}) => {