@learncard/network-plugin 2.2.0 → 2.2.1

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.
@@ -5488,7 +5488,10 @@ var callbackLink = /* @__PURE__ */ __name2((callback) => {
5488
5488
  var getClient = /* @__PURE__ */ __name2(async (url, didAuthFunction) => {
5489
5489
  let challenges = [];
5490
5490
  const challengeRequester = createTRPCProxyClient({
5491
- transformer: import_helpers.RegExpTransformer,
5491
+ transformer: {
5492
+ input: import_helpers.RegExpTransformer,
5493
+ output: { serialize: (o) => o, deserialize: (o) => o }
5494
+ },
5492
5495
  links: [
5493
5496
  httpBatchLink({
5494
5497
  url,
@@ -5502,7 +5505,10 @@ var getClient = /* @__PURE__ */ __name2(async (url, didAuthFunction) => {
5502
5505
  }, "getChallenges");
5503
5506
  challenges = await getChallenges();
5504
5507
  const trpc = createTRPCProxyClient({
5505
- transformer: import_helpers.RegExpTransformer,
5508
+ transformer: {
5509
+ input: import_helpers.RegExpTransformer,
5510
+ output: { serialize: (o) => o, deserialize: (o) => o }
5511
+ },
5506
5512
  links: [
5507
5513
  callbackLink(async () => {
5508
5514
  challenges = await getChallenges();