@txnlab/use-wallet-solid 3.10.0 → 3.11.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.2/node_modules/solid-js/dist/solid.js
11
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js
12
12
  var sharedConfig = {
13
13
  context: void 0,
14
14
  registry: void 0,
@@ -239,7 +239,11 @@ function updateComputation(node) {
239
239
  if (!node.fn) return;
240
240
  cleanNode(node);
241
241
  const time = ExecCount;
242
- runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
242
+ runComputation(
243
+ node,
244
+ Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
245
+ time
246
+ );
243
247
  if (Transition && !Transition.running && Transition.sources.has(node)) {
244
248
  queueMicrotask(() => {
245
249
  runUpdates(() => {
@@ -470,7 +474,8 @@ function lookUpstream(node, ignore) {
470
474
  if (source.sources) {
471
475
  const state = runningTransition ? source.tState : source.state;
472
476
  if (state === STALE) {
473
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
477
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
478
+ runTop(source);
474
479
  } else if (state === PENDING) lookUpstream(source, ignore);
475
480
  }
476
481
  }
@@ -546,12 +551,13 @@ function handleError(err, owner = Owner) {
546
551
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
547
552
  const error = castError(err);
548
553
  if (!fns) throw error;
549
- if (Effects) Effects.push({
550
- fn() {
551
- runErrors(error, fns, owner);
552
- },
553
- state: STALE
554
- });
554
+ if (Effects)
555
+ Effects.push({
556
+ fn() {
557
+ runErrors(error, fns, owner);
558
+ },
559
+ state: STALE
560
+ });
555
561
  else runErrors(error, fns, owner);
556
562
  }
557
563
  function resolveChildren(children2) {
@@ -569,13 +575,16 @@ function resolveChildren(children2) {
569
575
  function createProvider(id, options) {
570
576
  return function provider(props) {
571
577
  let res;
572
- createRenderEffect(() => res = untrack(() => {
573
- Owner.context = {
574
- ...Owner.context,
575
- [id]: props.value
576
- };
577
- return children(() => props.children);
578
- }), void 0);
578
+ createRenderEffect(
579
+ () => res = untrack(() => {
580
+ Owner.context = {
581
+ ...Owner.context,
582
+ [id]: props.value
583
+ };
584
+ return children(() => props.children);
585
+ }),
586
+ void 0
587
+ );
579
588
  return res;
580
589
  };
581
590
  }
@@ -593,9 +602,44 @@ function createComponent(Comp, props) {
593
602
  return untrack(() => Comp(props || {}));
594
603
  }
595
604
 
596
- // ../../node_modules/.pnpm/solid-js@1.9.2/node_modules/solid-js/web/dist/web.js
597
- 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"];
598
- /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
605
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/web/dist/web.js
606
+ var booleans = [
607
+ "allowfullscreen",
608
+ "async",
609
+ "autofocus",
610
+ "autoplay",
611
+ "checked",
612
+ "controls",
613
+ "default",
614
+ "disabled",
615
+ "formnovalidate",
616
+ "hidden",
617
+ "indeterminate",
618
+ "inert",
619
+ "ismap",
620
+ "loop",
621
+ "multiple",
622
+ "muted",
623
+ "nomodule",
624
+ "novalidate",
625
+ "open",
626
+ "playsinline",
627
+ "readonly",
628
+ "required",
629
+ "reversed",
630
+ "seamless",
631
+ "selected"
632
+ ];
633
+ /* @__PURE__ */ new Set([
634
+ "className",
635
+ "value",
636
+ "readOnly",
637
+ "formNoValidate",
638
+ "isMap",
639
+ "noModule",
640
+ "playsInline",
641
+ ...booleans
642
+ ]);
599
643
  var WalletContext = createContext();
600
644
  exports.WalletProvider = (props) => {
601
645
  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.2/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -233,7 +233,11 @@ function updateComputation(node) {
233
233
  if (!node.fn) return;
234
234
  cleanNode(node);
235
235
  const time = ExecCount;
236
- runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
236
+ runComputation(
237
+ node,
238
+ Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
239
+ time
240
+ );
237
241
  if (Transition && !Transition.running && Transition.sources.has(node)) {
238
242
  queueMicrotask(() => {
239
243
  runUpdates(() => {
@@ -464,7 +468,8 @@ function lookUpstream(node, ignore) {
464
468
  if (source.sources) {
465
469
  const state = runningTransition ? source.tState : source.state;
466
470
  if (state === STALE) {
467
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
471
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
472
+ runTop(source);
468
473
  } else if (state === PENDING) lookUpstream(source, ignore);
469
474
  }
470
475
  }
@@ -540,12 +545,13 @@ function handleError(err, owner = Owner) {
540
545
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
541
546
  const error = castError(err);
542
547
  if (!fns) throw error;
543
- if (Effects) Effects.push({
544
- fn() {
545
- runErrors(error, fns, owner);
546
- },
547
- state: STALE
548
- });
548
+ if (Effects)
549
+ Effects.push({
550
+ fn() {
551
+ runErrors(error, fns, owner);
552
+ },
553
+ state: STALE
554
+ });
549
555
  else runErrors(error, fns, owner);
550
556
  }
551
557
  function resolveChildren(children2) {
@@ -563,13 +569,16 @@ function resolveChildren(children2) {
563
569
  function createProvider(id, options) {
564
570
  return function provider(props) {
565
571
  let res;
566
- createRenderEffect(() => res = untrack(() => {
567
- Owner.context = {
568
- ...Owner.context,
569
- [id]: props.value
570
- };
571
- return children(() => props.children);
572
- }), void 0);
572
+ createRenderEffect(
573
+ () => res = untrack(() => {
574
+ Owner.context = {
575
+ ...Owner.context,
576
+ [id]: props.value
577
+ };
578
+ return children(() => props.children);
579
+ }),
580
+ void 0
581
+ );
573
582
  return res;
574
583
  };
575
584
  }
@@ -587,9 +596,44 @@ function createComponent(Comp, props) {
587
596
  return untrack(() => Comp(props || {}));
588
597
  }
589
598
 
590
- // ../../node_modules/.pnpm/solid-js@1.9.2/node_modules/solid-js/web/dist/web.js
591
- 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"];
592
- /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
599
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/web/dist/web.js
600
+ var booleans = [
601
+ "allowfullscreen",
602
+ "async",
603
+ "autofocus",
604
+ "autoplay",
605
+ "checked",
606
+ "controls",
607
+ "default",
608
+ "disabled",
609
+ "formnovalidate",
610
+ "hidden",
611
+ "indeterminate",
612
+ "inert",
613
+ "ismap",
614
+ "loop",
615
+ "multiple",
616
+ "muted",
617
+ "nomodule",
618
+ "novalidate",
619
+ "open",
620
+ "playsinline",
621
+ "readonly",
622
+ "required",
623
+ "reversed",
624
+ "seamless",
625
+ "selected"
626
+ ];
627
+ /* @__PURE__ */ new Set([
628
+ "className",
629
+ "value",
630
+ "readOnly",
631
+ "formNoValidate",
632
+ "isMap",
633
+ "noModule",
634
+ "playsInline",
635
+ ...booleans
636
+ ]);
593
637
  var WalletContext = createContext();
594
638
  var WalletProvider = (props) => {
595
639
  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.2/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -229,7 +229,11 @@ function updateComputation(node) {
229
229
  if (!node.fn) return;
230
230
  cleanNode(node);
231
231
  const time = ExecCount;
232
- runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
232
+ runComputation(
233
+ node,
234
+ Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
235
+ time
236
+ );
233
237
  if (Transition && !Transition.running && Transition.sources.has(node)) {
234
238
  queueMicrotask(() => {
235
239
  runUpdates(() => {
@@ -460,7 +464,8 @@ function lookUpstream(node, ignore) {
460
464
  if (source.sources) {
461
465
  const state = runningTransition ? source.tState : source.state;
462
466
  if (state === STALE) {
463
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
467
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
468
+ runTop(source);
464
469
  } else if (state === PENDING) lookUpstream(source, ignore);
465
470
  }
466
471
  }
@@ -536,12 +541,13 @@ function handleError(err, owner = Owner) {
536
541
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
537
542
  const error = castError(err);
538
543
  if (!fns) throw error;
539
- if (Effects) Effects.push({
540
- fn() {
541
- runErrors(error, fns, owner);
542
- },
543
- state: STALE
544
- });
544
+ if (Effects)
545
+ Effects.push({
546
+ fn() {
547
+ runErrors(error, fns, owner);
548
+ },
549
+ state: STALE
550
+ });
545
551
  else runErrors(error, fns, owner);
546
552
  }
547
553
  function resolveChildren(children2) {
@@ -559,13 +565,16 @@ function resolveChildren(children2) {
559
565
  function createProvider(id, options) {
560
566
  return function provider(props) {
561
567
  let res;
562
- createRenderEffect(() => res = untrack(() => {
563
- Owner.context = {
564
- ...Owner.context,
565
- [id]: props.value
566
- };
567
- return children(() => props.children);
568
- }), void 0);
568
+ createRenderEffect(
569
+ () => res = untrack(() => {
570
+ Owner.context = {
571
+ ...Owner.context,
572
+ [id]: props.value
573
+ };
574
+ return children(() => props.children);
575
+ }),
576
+ void 0
577
+ );
569
578
  return res;
570
579
  };
571
580
  }
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.2/node_modules/solid-js/dist/solid.js
11
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js
12
12
  var sharedConfig = {
13
13
  context: void 0,
14
14
  registry: void 0,
@@ -239,7 +239,11 @@ function updateComputation(node) {
239
239
  if (!node.fn) return;
240
240
  cleanNode(node);
241
241
  const time = ExecCount;
242
- runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
242
+ runComputation(
243
+ node,
244
+ Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
245
+ time
246
+ );
243
247
  if (Transition && !Transition.running && Transition.sources.has(node)) {
244
248
  queueMicrotask(() => {
245
249
  runUpdates(() => {
@@ -470,7 +474,8 @@ function lookUpstream(node, ignore) {
470
474
  if (source.sources) {
471
475
  const state = runningTransition ? source.tState : source.state;
472
476
  if (state === STALE) {
473
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
477
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
478
+ runTop(source);
474
479
  } else if (state === PENDING) lookUpstream(source, ignore);
475
480
  }
476
481
  }
@@ -546,12 +551,13 @@ function handleError(err, owner = Owner) {
546
551
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
547
552
  const error = castError(err);
548
553
  if (!fns) throw error;
549
- if (Effects) Effects.push({
550
- fn() {
551
- runErrors(error, fns, owner);
552
- },
553
- state: STALE
554
- });
554
+ if (Effects)
555
+ Effects.push({
556
+ fn() {
557
+ runErrors(error, fns, owner);
558
+ },
559
+ state: STALE
560
+ });
555
561
  else runErrors(error, fns, owner);
556
562
  }
557
563
  function resolveChildren(children2) {
@@ -569,13 +575,16 @@ function resolveChildren(children2) {
569
575
  function createProvider(id, options) {
570
576
  return function provider(props) {
571
577
  let res;
572
- createRenderEffect(() => res = untrack(() => {
573
- Owner.context = {
574
- ...Owner.context,
575
- [id]: props.value
576
- };
577
- return children(() => props.children);
578
- }), void 0);
578
+ createRenderEffect(
579
+ () => res = untrack(() => {
580
+ Owner.context = {
581
+ ...Owner.context,
582
+ [id]: props.value
583
+ };
584
+ return children(() => props.children);
585
+ }),
586
+ void 0
587
+ );
579
588
  return res;
580
589
  };
581
590
  }
@@ -593,9 +602,44 @@ function createComponent(Comp, props) {
593
602
  return untrack(() => Comp(props || {}));
594
603
  }
595
604
 
596
- // ../../node_modules/.pnpm/solid-js@1.9.2/node_modules/solid-js/web/dist/web.js
597
- 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"];
598
- /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
605
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/web/dist/web.js
606
+ var booleans = [
607
+ "allowfullscreen",
608
+ "async",
609
+ "autofocus",
610
+ "autoplay",
611
+ "checked",
612
+ "controls",
613
+ "default",
614
+ "disabled",
615
+ "formnovalidate",
616
+ "hidden",
617
+ "indeterminate",
618
+ "inert",
619
+ "ismap",
620
+ "loop",
621
+ "multiple",
622
+ "muted",
623
+ "nomodule",
624
+ "novalidate",
625
+ "open",
626
+ "playsinline",
627
+ "readonly",
628
+ "required",
629
+ "reversed",
630
+ "seamless",
631
+ "selected"
632
+ ];
633
+ /* @__PURE__ */ new Set([
634
+ "className",
635
+ "value",
636
+ "readOnly",
637
+ "formNoValidate",
638
+ "isMap",
639
+ "noModule",
640
+ "playsInline",
641
+ ...booleans
642
+ ]);
599
643
  var WalletContext = createContext();
600
644
  exports.WalletProvider = (props) => {
601
645
  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.2/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -233,7 +233,11 @@ function updateComputation(node) {
233
233
  if (!node.fn) return;
234
234
  cleanNode(node);
235
235
  const time = ExecCount;
236
- runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
236
+ runComputation(
237
+ node,
238
+ Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
239
+ time
240
+ );
237
241
  if (Transition && !Transition.running && Transition.sources.has(node)) {
238
242
  queueMicrotask(() => {
239
243
  runUpdates(() => {
@@ -464,7 +468,8 @@ function lookUpstream(node, ignore) {
464
468
  if (source.sources) {
465
469
  const state = runningTransition ? source.tState : source.state;
466
470
  if (state === STALE) {
467
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
471
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
472
+ runTop(source);
468
473
  } else if (state === PENDING) lookUpstream(source, ignore);
469
474
  }
470
475
  }
@@ -540,12 +545,13 @@ function handleError(err, owner = Owner) {
540
545
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
541
546
  const error = castError(err);
542
547
  if (!fns) throw error;
543
- if (Effects) Effects.push({
544
- fn() {
545
- runErrors(error, fns, owner);
546
- },
547
- state: STALE
548
- });
548
+ if (Effects)
549
+ Effects.push({
550
+ fn() {
551
+ runErrors(error, fns, owner);
552
+ },
553
+ state: STALE
554
+ });
549
555
  else runErrors(error, fns, owner);
550
556
  }
551
557
  function resolveChildren(children2) {
@@ -563,13 +569,16 @@ function resolveChildren(children2) {
563
569
  function createProvider(id, options) {
564
570
  return function provider(props) {
565
571
  let res;
566
- createRenderEffect(() => res = untrack(() => {
567
- Owner.context = {
568
- ...Owner.context,
569
- [id]: props.value
570
- };
571
- return children(() => props.children);
572
- }), void 0);
572
+ createRenderEffect(
573
+ () => res = untrack(() => {
574
+ Owner.context = {
575
+ ...Owner.context,
576
+ [id]: props.value
577
+ };
578
+ return children(() => props.children);
579
+ }),
580
+ void 0
581
+ );
573
582
  return res;
574
583
  };
575
584
  }
@@ -587,9 +596,44 @@ function createComponent(Comp, props) {
587
596
  return untrack(() => Comp(props || {}));
588
597
  }
589
598
 
590
- // ../../node_modules/.pnpm/solid-js@1.9.2/node_modules/solid-js/web/dist/web.js
591
- 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"];
592
- /* @__PURE__ */ new Set(["className", "value", "readOnly", "formNoValidate", "isMap", "noModule", "playsInline", ...booleans]);
599
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/web/dist/web.js
600
+ var booleans = [
601
+ "allowfullscreen",
602
+ "async",
603
+ "autofocus",
604
+ "autoplay",
605
+ "checked",
606
+ "controls",
607
+ "default",
608
+ "disabled",
609
+ "formnovalidate",
610
+ "hidden",
611
+ "indeterminate",
612
+ "inert",
613
+ "ismap",
614
+ "loop",
615
+ "multiple",
616
+ "muted",
617
+ "nomodule",
618
+ "novalidate",
619
+ "open",
620
+ "playsinline",
621
+ "readonly",
622
+ "required",
623
+ "reversed",
624
+ "seamless",
625
+ "selected"
626
+ ];
627
+ /* @__PURE__ */ new Set([
628
+ "className",
629
+ "value",
630
+ "readOnly",
631
+ "formNoValidate",
632
+ "isMap",
633
+ "noModule",
634
+ "playsInline",
635
+ ...booleans
636
+ ]);
593
637
  var WalletContext = createContext();
594
638
  var WalletProvider = (props) => {
595
639
  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.2/node_modules/solid-js/dist/solid.js
5
+ // ../../node_modules/.pnpm/solid-js@1.9.3/node_modules/solid-js/dist/solid.js
6
6
  var sharedConfig = {
7
7
  context: void 0,
8
8
  registry: void 0,
@@ -229,7 +229,11 @@ function updateComputation(node) {
229
229
  if (!node.fn) return;
230
230
  cleanNode(node);
231
231
  const time = ExecCount;
232
- runComputation(node, Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value, time);
232
+ runComputation(
233
+ node,
234
+ Transition && Transition.running && Transition.sources.has(node) ? node.tValue : node.value,
235
+ time
236
+ );
233
237
  if (Transition && !Transition.running && Transition.sources.has(node)) {
234
238
  queueMicrotask(() => {
235
239
  runUpdates(() => {
@@ -460,7 +464,8 @@ function lookUpstream(node, ignore) {
460
464
  if (source.sources) {
461
465
  const state = runningTransition ? source.tState : source.state;
462
466
  if (state === STALE) {
463
- if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount)) runTop(source);
467
+ if (source !== ignore && (!source.updatedAt || source.updatedAt < ExecCount))
468
+ runTop(source);
464
469
  } else if (state === PENDING) lookUpstream(source, ignore);
465
470
  }
466
471
  }
@@ -536,12 +541,13 @@ function handleError(err, owner = Owner) {
536
541
  const fns = ERROR && owner && owner.context && owner.context[ERROR];
537
542
  const error = castError(err);
538
543
  if (!fns) throw error;
539
- if (Effects) Effects.push({
540
- fn() {
541
- runErrors(error, fns, owner);
542
- },
543
- state: STALE
544
- });
544
+ if (Effects)
545
+ Effects.push({
546
+ fn() {
547
+ runErrors(error, fns, owner);
548
+ },
549
+ state: STALE
550
+ });
545
551
  else runErrors(error, fns, owner);
546
552
  }
547
553
  function resolveChildren(children2) {
@@ -559,13 +565,16 @@ function resolveChildren(children2) {
559
565
  function createProvider(id, options) {
560
566
  return function provider(props) {
561
567
  let res;
562
- createRenderEffect(() => res = untrack(() => {
563
- Owner.context = {
564
- ...Owner.context,
565
- [id]: props.value
566
- };
567
- return children(() => props.children);
568
- }), void 0);
568
+ createRenderEffect(
569
+ () => res = untrack(() => {
570
+ Owner.context = {
571
+ ...Owner.context,
572
+ [id]: props.value
573
+ };
574
+ return children(() => props.children);
575
+ }),
576
+ void 0
577
+ );
569
578
  return res;
570
579
  };
571
580
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@txnlab/use-wallet-solid",
3
- "version": "3.10.0",
3
+ "version": "3.11.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,27 +53,27 @@
53
53
  "dist"
54
54
  ],
55
55
  "dependencies": {
56
- "@tanstack/solid-store": "0.5.5",
57
- "@txnlab/use-wallet": "3.10.0"
56
+ "@tanstack/solid-store": "0.6.0",
57
+ "@txnlab/use-wallet": "3.11.0"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@solidjs/testing-library": "0.8.10",
61
61
  "algosdk": "2.9.0",
62
- "solid-js": "1.9.2",
63
- "tsup": "8.3.0",
62
+ "solid-js": "1.9.3",
63
+ "tsup": "8.3.5",
64
64
  "tsup-preset-solid": "2.2.0",
65
65
  "typescript": "5.6.3"
66
66
  },
67
67
  "peerDependencies": {
68
68
  "@blockshake/defly-connect": "^1.1.6",
69
- "@magic-ext/algorand": "^23.13.0",
69
+ "@magic-ext/algorand": "^23.18.0",
70
70
  "@perawallet/connect": "^1.3.5",
71
71
  "@perawallet/connect-beta": "^2.0.21",
72
72
  "@walletconnect/modal": "^2.7.0",
73
- "@walletconnect/sign-client": "^2.17.1",
73
+ "@walletconnect/sign-client": "^2.17.2",
74
74
  "algosdk": "^2.7.0",
75
75
  "lute-connect": "^1.4.1",
76
- "magic-sdk": "^28.13.0"
76
+ "magic-sdk": "^28.19.0"
77
77
  },
78
78
  "peerDependenciesMeta": {
79
79
  "@blockshake/defly-connect": {