@learncard/network-brain-client 2.1.2 → 2.2.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.
@@ -4357,7 +4357,7 @@ var getClient = /* @__PURE__ */ __name(async (url, didAuthFunction) => {
4357
4357
  const getChallenges = /* @__PURE__ */ __name(async (amount = 95 + Math.round((Math.random() - 0.5) * 5)) => {
4358
4358
  return challengeRequester.utilities.getChallenges.query({ amount });
4359
4359
  }, "getChallenges");
4360
- challenges = await getChallenges();
4360
+ getChallenges().then((result) => challenges = result);
4361
4361
  const trpc = createTRPCProxyClient({
4362
4362
  transformer: {
4363
4363
  input: import_helpers.RegExpTransformer,