@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.
@@ -5463,7 +5463,10 @@ var callbackLink = /* @__PURE__ */ __name2((callback) => {
5463
5463
  var getClient = /* @__PURE__ */ __name2(async (url, didAuthFunction) => {
5464
5464
  let challenges = [];
5465
5465
  const challengeRequester = createTRPCProxyClient({
5466
- transformer: import_helpers.RegExpTransformer,
5466
+ transformer: {
5467
+ input: import_helpers.RegExpTransformer,
5468
+ output: { serialize: (o) => o, deserialize: (o) => o }
5469
+ },
5467
5470
  links: [
5468
5471
  httpBatchLink({
5469
5472
  url,
@@ -5477,7 +5480,10 @@ var getClient = /* @__PURE__ */ __name2(async (url, didAuthFunction) => {
5477
5480
  }, "getChallenges");
5478
5481
  challenges = await getChallenges();
5479
5482
  const trpc = createTRPCProxyClient({
5480
- transformer: import_helpers.RegExpTransformer,
5483
+ transformer: {
5484
+ input: import_helpers.RegExpTransformer,
5485
+ output: { serialize: (o) => o, deserialize: (o) => o }
5486
+ },
5481
5487
  links: [
5482
5488
  callbackLink(async () => {
5483
5489
  challenges = await getChallenges();