@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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @learncard/network-brain-client
2
2
 
3
+ ## 2.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#577](https://github.com/learningeconomy/LearnCard/pull/577) [`afd8472f65b27383f426e630e021a65d237e9044`](https://github.com/learningeconomy/LearnCard/commit/afd8472f65b27383f426e630e021a65d237e9044) Thanks [@TaylorBeeston](https://github.com/TaylorBeeston)! - Don't await network calls during init
8
+
3
9
  ## 2.1.2
4
10
 
5
11
  ### Patch Changes
@@ -4368,7 +4368,7 @@ var getClient = /* @__PURE__ */ __name(async (url, didAuthFunction) => {
4368
4368
  const getChallenges = /* @__PURE__ */ __name(async (amount = 95 + Math.round((Math.random() - 0.5) * 5)) => {
4369
4369
  return challengeRequester.utilities.getChallenges.query({ amount });
4370
4370
  }, "getChallenges");
4371
- challenges = await getChallenges();
4371
+ getChallenges().then((result) => challenges = result);
4372
4372
  const trpc = (0, import_client.createTRPCProxyClient)({
4373
4373
  transformer: {
4374
4374
  input: import_helpers.RegExpTransformer,