@txnlab/use-wallet-solid 4.1.0 → 4.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/dist/dev.cjs CHANGED
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
 
9
9
  var algosdk__default = /*#__PURE__*/_interopDefault(algosdk);
10
10
 
11
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
11
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
12
12
  var sharedConfig = {
13
13
  context: void 0,
14
14
  registry: void 0,
@@ -236,11 +236,7 @@ function updateComputation(node) {
236
236
  if (!node.fn) return;
237
237
  cleanNode(node);
238
238
  const time = ExecCount;
239
- runComputation(
240
- node,
241
- Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
242
- time
243
- );
239
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
244
240
  if (Transition && !Transition.running && Transition.sources.has(node)) {
245
241
  queueMicrotask(() => {
246
242
  runUpdates(() => {
@@ -471,8 +467,7 @@ function lookUpstream(node, ignore) {
471
467
  if (source.sources) {
472
468
  const state = runningTransition ? source.tState : source.state;
473
469
  if (state === STALE) {
474
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
475
- runTop(source);
470
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
476
471
  } else if (state === PENDING) lookUpstream(source, ignore);
477
472
  }
478
473
  }
@@ -548,13 +543,12 @@ function handleError(err, owner = Owner) {
548
543
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
549
544
  const error = castError(err);
550
545
  if (!fns) throw error;
551
- if (Effects)
552
- Effects.push({
553
- fn() {
554
- runErrors(error, fns, owner);
555
- },
556
- state: STALE
557
- });
546
+ if (Effects) Effects.push({
547
+ fn() {
548
+ runErrors(error, fns, owner);
549
+ },
550
+ state: STALE
551
+ });
558
552
  else runErrors(error, fns, owner);
559
553
  }
560
554
  function resolveChildren(children2) {
@@ -572,16 +566,13 @@ function resolveChildren(children2) {
572
566
  function createProvider(id, options) {
573
567
  return function provider(props) {
574
568
  let res;
575
- createRenderEffect(
576
- () => res = untrack(() => {
577
- Owner.context = {
578
- ...Owner.context,
579
- [id]: props.value
580
- };
581
- return children(() => props.children);
582
- }),
583
- void 0
584
- );
569
+ createRenderEffect(() => res = untrack(() => {
570
+ Owner.context = {
571
+ ...Owner.context,
572
+ [id]: props.value
573
+ };
574
+ return children(() => props.children);
575
+ }), void 0);
585
576
  return res;
586
577
  };
587
578
  }
@@ -599,44 +590,9 @@ function createComponent(Comp, props) {
599
590
  return untrack(() => Comp(props || {}));
600
591
  }
601
592
 
602
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
603
- var booleans = [
604
- "allowfullscreen",
605
- "async",
606
- "autofocus",
607
- "autoplay",
608
- "checked",
609
- "controls",
610
- "default",
611
- "disabled",
612
- "formnovalidate",
613
- "hidden",
614
- "indeterminate",
615
- "inert",
616
- "ismap",
617
- "loop",
618
- "multiple",
619
- "muted",
620
- "nomodule",
621
- "novalidate",
622
- "open",
623
- "playsinline",
624
- "readonly",
625
- "required",
626
- "reversed",
627
- "seamless",
628
- "selected"
629
- ];
630
- /* @__PURE__ */ new Set([
631
- "className",
632
- "value",
633
- "readOnly",
634
- "formNoValidate",
635
- "isMap",
636
- "noModule",
637
- "playsInline",
638
- ...booleans
639
- ]);
593
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/web.js
594
+ var booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
595
+ /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
640
596
  var WalletContext = createContext();
641
597
  exports.WalletProvider = (props) => {
642
598
  const store = () => props.manager;
package/dist/dev.js CHANGED
@@ -2,7 +2,7 @@ import { useStore } from '@tanstack/solid-store';
2
2
  import algosdk from 'algosdk';
3
3
  export * from '@txnlab/use-wallet';
4
4
 
5
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -230,11 +230,7 @@ function updateComputation(node) {
230
230
  if (!node.fn) return;
231
231
  cleanNode(node);
232
232
  const time = ExecCount;
233
- runComputation(
234
- node,
235
- Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
236
- time
237
- );
233
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
238
234
  if (Transition && !Transition.running && Transition.sources.has(node)) {
239
235
  queueMicrotask(() => {
240
236
  runUpdates(() => {
@@ -465,8 +461,7 @@ function lookUpstream(node, ignore) {
465
461
  if (source.sources) {
466
462
  const state = runningTransition ? source.tState : source.state;
467
463
  if (state === STALE) {
468
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
469
- runTop(source);
464
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
470
465
  } else if (state === PENDING) lookUpstream(source, ignore);
471
466
  }
472
467
  }
@@ -542,13 +537,12 @@ function handleError(err, owner = Owner) {
542
537
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
543
538
  const error = castError(err);
544
539
  if (!fns) throw error;
545
- if (Effects)
546
- Effects.push({
547
- fn() {
548
- runErrors(error, fns, owner);
549
- },
550
- state: STALE
551
- });
540
+ if (Effects) Effects.push({
541
+ fn() {
542
+ runErrors(error, fns, owner);
543
+ },
544
+ state: STALE
545
+ });
552
546
  else runErrors(error, fns, owner);
553
547
  }
554
548
  function resolveChildren(children2) {
@@ -566,16 +560,13 @@ function resolveChildren(children2) {
566
560
  function createProvider(id, options) {
567
561
  return function provider(props) {
568
562
  let res;
569
- createRenderEffect(
570
- () => res = untrack(() => {
571
- Owner.context = {
572
- ...Owner.context,
573
- [id]: props.value
574
- };
575
- return children(() => props.children);
576
- }),
577
- void 0
578
- );
563
+ createRenderEffect(() => res = untrack(() => {
564
+ Owner.context = {
565
+ ...Owner.context,
566
+ [id]: props.value
567
+ };
568
+ return children(() => props.children);
569
+ }), void 0);
579
570
  return res;
580
571
  };
581
572
  }
@@ -593,44 +584,9 @@ function createComponent(Comp, props) {
593
584
  return untrack(() => Comp(props || {}));
594
585
  }
595
586
 
596
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
597
- var booleans = [
598
- "allowfullscreen",
599
- "async",
600
- "autofocus",
601
- "autoplay",
602
- "checked",
603
- "controls",
604
- "default",
605
- "disabled",
606
- "formnovalidate",
607
- "hidden",
608
- "indeterminate",
609
- "inert",
610
- "ismap",
611
- "loop",
612
- "multiple",
613
- "muted",
614
- "nomodule",
615
- "novalidate",
616
- "open",
617
- "playsinline",
618
- "readonly",
619
- "required",
620
- "reversed",
621
- "seamless",
622
- "selected"
623
- ];
624
- /* @__PURE__ */ new Set([
625
- "className",
626
- "value",
627
- "readOnly",
628
- "formNoValidate",
629
- "isMap",
630
- "noModule",
631
- "playsInline",
632
- ...booleans
633
- ]);
587
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/web.js
588
+ var booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
589
+ /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
634
590
  var WalletContext = createContext();
635
591
  var WalletProvider = (props) => {
636
592
  const store = () => props.manager;
package/dist/dev.jsx CHANGED
@@ -2,7 +2,7 @@
2
2
  import { useStore } from "@tanstack/solid-store";
3
3
  import algosdk from "algosdk";
4
4
 
5
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -230,11 +230,7 @@ function updateComputation(node) {
230
230
  if (!node.fn) return;
231
231
  cleanNode(node);
232
232
  const time = ExecCount;
233
- runComputation(
234
- node,
235
- Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
236
- time
237
- );
233
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
238
234
  if (Transition && !Transition.running && Transition.sources.has(node)) {
239
235
  queueMicrotask(() => {
240
236
  runUpdates(() => {
@@ -465,8 +461,7 @@ function lookUpstream(node, ignore) {
465
461
  if (source.sources) {
466
462
  const state = runningTransition ? source.tState : source.state;
467
463
  if (state === STALE) {
468
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
469
- runTop(source);
464
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
470
465
  } else if (state === PENDING) lookUpstream(source, ignore);
471
466
  }
472
467
  }
@@ -542,13 +537,12 @@ function handleError(err, owner = Owner) {
542
537
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
543
538
  const error = castError(err);
544
539
  if (!fns) throw error;
545
- if (Effects)
546
- Effects.push({
547
- fn() {
548
- runErrors(error, fns, owner);
549
- },
550
- state: STALE
551
- });
540
+ if (Effects) Effects.push({
541
+ fn() {
542
+ runErrors(error, fns, owner);
543
+ },
544
+ state: STALE
545
+ });
552
546
  else runErrors(error, fns, owner);
553
547
  }
554
548
  function resolveChildren(children2) {
@@ -566,16 +560,13 @@ function resolveChildren(children2) {
566
560
  function createProvider(id, options) {
567
561
  return function provider(props) {
568
562
  let res;
569
- createRenderEffect(
570
- () => res = untrack(() => {
571
- Owner.context = {
572
- ...Owner.context,
573
- [id]: props.value
574
- };
575
- return children(() => props.children);
576
- }),
577
- void 0
578
- );
563
+ createRenderEffect(() => res = untrack(() => {
564
+ Owner.context = {
565
+ ...Owner.context,
566
+ [id]: props.value
567
+ };
568
+ return children(() => props.children);
569
+ }), void 0);
579
570
  return res;
580
571
  };
581
572
  }
package/dist/index.cjs CHANGED
@@ -8,7 +8,7 @@ function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
8
8
 
9
9
  var algosdk__default = /*#__PURE__*/_interopDefault(algosdk);
10
10
 
11
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
11
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
12
12
  var sharedConfig = {
13
13
  context: void 0,
14
14
  registry: void 0,
@@ -236,11 +236,7 @@ function updateComputation(node) {
236
236
  if (!node.fn) return;
237
237
  cleanNode(node);
238
238
  const time = ExecCount;
239
- runComputation(
240
- node,
241
- Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
242
- time
243
- );
239
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
244
240
  if (Transition && !Transition.running && Transition.sources.has(node)) {
245
241
  queueMicrotask(() => {
246
242
  runUpdates(() => {
@@ -471,8 +467,7 @@ function lookUpstream(node, ignore) {
471
467
  if (source.sources) {
472
468
  const state = runningTransition ? source.tState : source.state;
473
469
  if (state === STALE) {
474
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
475
- runTop(source);
470
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
476
471
  } else if (state === PENDING) lookUpstream(source, ignore);
477
472
  }
478
473
  }
@@ -548,13 +543,12 @@ function handleError(err, owner = Owner) {
548
543
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
549
544
  const error = castError(err);
550
545
  if (!fns) throw error;
551
- if (Effects)
552
- Effects.push({
553
- fn() {
554
- runErrors(error, fns, owner);
555
- },
556
- state: STALE
557
- });
546
+ if (Effects) Effects.push({
547
+ fn() {
548
+ runErrors(error, fns, owner);
549
+ },
550
+ state: STALE
551
+ });
558
552
  else runErrors(error, fns, owner);
559
553
  }
560
554
  function resolveChildren(children2) {
@@ -572,16 +566,13 @@ function resolveChildren(children2) {
572
566
  function createProvider(id, options) {
573
567
  return function provider(props) {
574
568
  let res;
575
- createRenderEffect(
576
- () => res = untrack(() => {
577
- Owner.context = {
578
- ...Owner.context,
579
- [id]: props.value
580
- };
581
- return children(() => props.children);
582
- }),
583
- void 0
584
- );
569
+ createRenderEffect(() => res = untrack(() => {
570
+ Owner.context = {
571
+ ...Owner.context,
572
+ [id]: props.value
573
+ };
574
+ return children(() => props.children);
575
+ }), void 0);
585
576
  return res;
586
577
  };
587
578
  }
@@ -599,44 +590,9 @@ function createComponent(Comp, props) {
599
590
  return untrack(() => Comp(props || {}));
600
591
  }
601
592
 
602
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
603
- var booleans = [
604
- "allowfullscreen",
605
- "async",
606
- "autofocus",
607
- "autoplay",
608
- "checked",
609
- "controls",
610
- "default",
611
- "disabled",
612
- "formnovalidate",
613
- "hidden",
614
- "indeterminate",
615
- "inert",
616
- "ismap",
617
- "loop",
618
- "multiple",
619
- "muted",
620
- "nomodule",
621
- "novalidate",
622
- "open",
623
- "playsinline",
624
- "readonly",
625
- "required",
626
- "reversed",
627
- "seamless",
628
- "selected"
629
- ];
630
- /* @__PURE__ */ new Set([
631
- "className",
632
- "value",
633
- "readOnly",
634
- "formNoValidate",
635
- "isMap",
636
- "noModule",
637
- "playsInline",
638
- ...booleans
639
- ]);
593
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/web.js
594
+ var booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
595
+ /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
640
596
  var WalletContext = createContext();
641
597
  exports.WalletProvider = (props) => {
642
598
  const store = () => props.manager;
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { useStore } from '@tanstack/solid-store';
2
2
  import algosdk from 'algosdk';
3
3
  export * from '@txnlab/use-wallet';
4
4
 
5
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -230,11 +230,7 @@ function updateComputation(node) {
230
230
  if (!node.fn) return;
231
231
  cleanNode(node);
232
232
  const time = ExecCount;
233
- runComputation(
234
- node,
235
- Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
236
- time
237
- );
233
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
238
234
  if (Transition && !Transition.running && Transition.sources.has(node)) {
239
235
  queueMicrotask(() => {
240
236
  runUpdates(() => {
@@ -465,8 +461,7 @@ function lookUpstream(node, ignore) {
465
461
  if (source.sources) {
466
462
  const state = runningTransition ? source.tState : source.state;
467
463
  if (state === STALE) {
468
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
469
- runTop(source);
464
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
470
465
  } else if (state === PENDING) lookUpstream(source, ignore);
471
466
  }
472
467
  }
@@ -542,13 +537,12 @@ function handleError(err, owner = Owner) {
542
537
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
543
538
  const error = castError(err);
544
539
  if (!fns) throw error;
545
- if (Effects)
546
- Effects.push({
547
- fn() {
548
- runErrors(error, fns, owner);
549
- },
550
- state: STALE
551
- });
540
+ if (Effects) Effects.push({
541
+ fn() {
542
+ runErrors(error, fns, owner);
543
+ },
544
+ state: STALE
545
+ });
552
546
  else runErrors(error, fns, owner);
553
547
  }
554
548
  function resolveChildren(children2) {
@@ -566,16 +560,13 @@ function resolveChildren(children2) {
566
560
  function createProvider(id, options) {
567
561
  return function provider(props) {
568
562
  let res;
569
- createRenderEffect(
570
- () => res = untrack(() => {
571
- Owner.context = {
572
- ...Owner.context,
573
- [id]: props.value
574
- };
575
- return children(() => props.children);
576
- }),
577
- void 0
578
- );
563
+ createRenderEffect(() => res = untrack(() => {
564
+ Owner.context = {
565
+ ...Owner.context,
566
+ [id]: props.value
567
+ };
568
+ return children(() => props.children);
569
+ }), void 0);
579
570
  return res;
580
571
  };
581
572
  }
@@ -593,44 +584,9 @@ function createComponent(Comp, props) {
593
584
  return untrack(() => Comp(props || {}));
594
585
  }
595
586
 
596
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/web/dist/web.js
597
- var booleans = [
598
- "allowfullscreen",
599
- "async",
600
- "autofocus",
601
- "autoplay",
602
- "checked",
603
- "controls",
604
- "default",
605
- "disabled",
606
- "formnovalidate",
607
- "hidden",
608
- "indeterminate",
609
- "inert",
610
- "ismap",
611
- "loop",
612
- "multiple",
613
- "muted",
614
- "nomodule",
615
- "novalidate",
616
- "open",
617
- "playsinline",
618
- "readonly",
619
- "required",
620
- "reversed",
621
- "seamless",
622
- "selected"
623
- ];
624
- /* @__PURE__ */ new Set([
625
- "className",
626
- "value",
627
- "readOnly",
628
- "formNoValidate",
629
- "isMap",
630
- "noModule",
631
- "playsInline",
632
- ...booleans
633
- ]);
587
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/web/dist/web.js
588
+ var booleans = ["allowfullscreen", "async", "autofocus", "autoplay", "checked", "controls", "default", "disabled", "formnovalidate", "hidden", "indeterminate", "inert", "ismap", "loop", "multiple", "muted", "nomodule", "novalidate", "open", "playsinline", "readonly", "required", "reversed", "seamless", "selected"];
589
+ /* @__PURE__ */ new Set(["className", "value", "readOnly", "noValidate", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
634
590
  var WalletContext = createContext();
635
591
  var WalletProvider = (props) => {
636
592
  const store = () => props.manager;
package/dist/index.jsx CHANGED
@@ -2,7 +2,7 @@
2
2
  import { useStore } from "@tanstack/solid-store";
3
3
  import algosdk from "algosdk";
4
4
 
5
- // ../../node_modules/.pnpm/solid-js@1.9.5/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.7/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -230,11 +230,7 @@ function updateComputation(node) {
230
230
  if (!node.fn) return;
231
231
  cleanNode(node);
232
232
  const time = ExecCount;
233
- runComputation(
234
- node,
235
- Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
236
- time
237
- );
233
+ runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
238
234
  if (Transition && !Transition.running && Transition.sources.has(node)) {
239
235
  queueMicrotask(() => {
240
236
  runUpdates(() => {
@@ -465,8 +461,7 @@ function lookUpstream(node, ignore) {
465
461
  if (source.sources) {
466
462
  const state = runningTransition ? source.tState : source.state;
467
463
  if (state === STALE) {
468
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
469
- runTop(source);
464
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
470
465
  } else if (state === PENDING) lookUpstream(source, ignore);
471
466
  }
472
467
  }
@@ -542,13 +537,12 @@ function handleError(err, owner = Owner) {
542
537
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
543
538
  const error = castError(err);
544
539
  if (!fns) throw error;
545
- if (Effects)
546
- Effects.push({
547
- fn() {
548
- runErrors(error, fns, owner);
549
- },
550
- state: STALE
551
- });
540
+ if (Effects) Effects.push({
541
+ fn() {
542
+ runErrors(error, fns, owner);
543
+ },
544
+ state: STALE
545
+ });
552
546
  else runErrors(error, fns, owner);
553
547
  }
554
548
  function resolveChildren(children2) {
@@ -566,16 +560,13 @@ function resolveChildren(children2) {
566
560
  function createProvider(id, options) {
567
561
  return function provider(props) {
568
562
  let res;
569
- createRenderEffect(
570
- () => res = untrack(() => {
571
- Owner.context = {
572
- ...Owner.context,
573
- [id]: props.value
574
- };
575
- return children(() => props.children);
576
- }),
577
- void 0
578
- );
563
+ createRenderEffect(() => res = untrack(() => {
564
+ Owner.context = {
565
+ ...Owner.context,
566
+ [id]: props.value
567
+ };
568
+ return children(() => props.children);
569
+ }), void 0);
579
570
  return res;
580
571
  };
581
572
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@txnlab/use-wallet-solid",
3
- "version": "4.1.0",
3
+ "version": "4.2.0",
4
4
  "description": "Solid.js library for integrating Algorand wallets into decentralized applications",
5
5
  "author": "Doug Richar <drichar@gmail.com>",
6
6
  "license": "MIT",
@@ -53,26 +53,26 @@
53
53
  "dist"
54
54
  ],
55
55
  "dependencies": {
56
- "@tanstack/solid-store": "0.7.0",
57
- "@txnlab/use-wallet": "4.1.0"
56
+ "@tanstack/solid-store": "0.7.1",
57
+ "@txnlab/use-wallet": "4.2.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@solidjs/testing-library": "0.8.10",
61
- "algosdk": "3.2.0",
62
- "solid-js": "1.9.5",
63
- "tsup": "8.4.0",
61
+ "algosdk": "3.3.1",
62
+ "solid-js": "1.9.7",
63
+ "tsup": "8.5.0",
64
64
  "tsup-preset-solid": "2.2.0",
65
- "typescript": "5.8.2"
65
+ "typescript": "5.8.3"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@blockshake/defly-connect": "^1.2.1",
69
- "@magic-ext/algorand": "^23.20.0",
69
+ "@magic-ext/algorand": "^24.1.0",
70
70
  "@perawallet/connect": "^1.4.1",
71
71
  "@walletconnect/modal": "^2.7.0",
72
- "@walletconnect/sign-client": "^2.19.2",
72
+ "@walletconnect/sign-client": "^2.21.3",
73
73
  "algosdk": "^3.0.0",
74
74
  "lute-connect": "^1.6.1",
75
- "magic-sdk": "^28.21.1"
75
+ "magic-sdk": "^29.1.0"
76
76
  },
77
77
  "peerDependenciesMeta": {
78
78
  "@blockshake/defly-connect": {