@learncard/network-brain-client 2.1.0 → 2.1.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.
- package/CHANGELOG.md +9 -0
- package/dist/brain-client.cjs.development.js +8 -2
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +1 -1
- package/dist/brain-client.cjs.production.min.js.map +3 -3
- package/dist/brain-client.esm.js +8 -2
- package/dist/brain-client.esm.js.map +2 -2
- package/dist/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +8 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @learncard/network-brain-client
|
|
2
2
|
|
|
3
|
+
## 2.1.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`33237e836c52df41b491e570c437943a30189216`](https://github.com/learningeconomy/LearnCard/commit/33237e836c52df41b491e570c437943a30189216) Thanks [@TaylorBeeston](https://github.com/TaylorBeeston)! - Fix backwards compat for real
|
|
8
|
+
|
|
9
|
+
- Updated dependencies [[`33237e836c52df41b491e570c437943a30189216`](https://github.com/learningeconomy/LearnCard/commit/33237e836c52df41b491e570c437943a30189216)]:
|
|
10
|
+
- @learncard/network-brain-service@3.2.1
|
|
11
|
+
|
|
3
12
|
## 2.1.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -4338,7 +4338,10 @@ var callbackLink = /* @__PURE__ */ __name((callback) => {
|
|
|
4338
4338
|
var getClient = /* @__PURE__ */ __name(async (url, didAuthFunction) => {
|
|
4339
4339
|
let challenges = [];
|
|
4340
4340
|
const challengeRequester = (0, import_client.createTRPCProxyClient)({
|
|
4341
|
-
transformer:
|
|
4341
|
+
transformer: {
|
|
4342
|
+
input: import_helpers.RegExpTransformer,
|
|
4343
|
+
output: { serialize: (o) => o, deserialize: (o) => o }
|
|
4344
|
+
},
|
|
4342
4345
|
links: [
|
|
4343
4346
|
(0, import_client.httpBatchLink)({
|
|
4344
4347
|
url,
|
|
@@ -4352,7 +4355,10 @@ var getClient = /* @__PURE__ */ __name(async (url, didAuthFunction) => {
|
|
|
4352
4355
|
}, "getChallenges");
|
|
4353
4356
|
challenges = await getChallenges();
|
|
4354
4357
|
const trpc = (0, import_client.createTRPCProxyClient)({
|
|
4355
|
-
transformer:
|
|
4358
|
+
transformer: {
|
|
4359
|
+
input: import_helpers.RegExpTransformer,
|
|
4360
|
+
output: { serialize: (o) => o, deserialize: (o) => o }
|
|
4361
|
+
},
|
|
4356
4362
|
links: [
|
|
4357
4363
|
callbackLink(async () => {
|
|
4358
4364
|
challenges = await getChallenges();
|