@dynamic-labs-wallet/core 1.0.55 → 1.0.57

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/index.cjs CHANGED
@@ -437,17 +437,17 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
437
437
  // 2-of-2 -> 2-of-2: same-parties refresh — server + rootUser-client both
438
438
  // call `reshareRemainingParty`. Share-set delegation lands here too; the
439
439
  // delegated share is delivered out-of-band, not via the MPC ceremony.
440
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
440
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
441
441
  return {
442
442
  existingClientShareCount: 1,
443
443
  newClientShareCount: 0,
444
444
  existingServerShareCount: 1,
445
445
  newServerShareCount: 0
446
446
  };
447
- // 2-of-3 -> 2-of-3:
447
+ // 2-of-3 -> 2-of-3 and 2-of-2 -> 2-of-3:
448
448
  // -- dynamic server shares: 1 existing, 0 new
449
449
  // -- client shares: 1 existing, 1 new
450
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
450
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
451
451
  return {
452
452
  existingClientShareCount: 1,
453
453
  newClientShareCount: 1,
@@ -464,46 +464,16 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
464
464
  existingServerShareCount: 2,
465
465
  newServerShareCount: 0
466
466
  };
467
- // 2-of-2 -> 2-of-3:
468
- // -- dynamic server shares: 1 existing, 0 new
469
- // -- client shares: 1 existing, 1 new
470
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
471
- return {
472
- existingClientShareCount: 1,
473
- newClientShareCount: 1,
474
- existingServerShareCount: 1,
475
- newServerShareCount: 0
476
- };
477
- // 2-of-2 -> 3-of-5:
478
- // -- dynamic server shares: 1 existing, 1 new
479
- // -- client shares: 1 existing, 2 new
480
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
481
- return {
482
- existingClientShareCount: 1,
483
- newClientShareCount: 2,
484
- existingServerShareCount: 1,
485
- newServerShareCount: 1
486
- };
487
- // 2-of-3 -> 3-of-5:
467
+ // 2-of-2 -> 3-of-5 and 2-of-3 -> 3-of-5:
488
468
  // -- dynamic server shares: 1 existing, 1 new
489
469
  // -- client shares: 1 existing, 2 new
490
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
470
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
491
471
  return {
492
472
  existingClientShareCount: 1,
493
473
  newClientShareCount: 2,
494
474
  existingServerShareCount: 1,
495
475
  newServerShareCount: 1
496
476
  };
497
- // 2-of-3 -> 2-of-2:
498
- // -- dynamic server shares: 1 existing, 0 new
499
- // -- client shares: 1 existing, 0 new
500
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
501
- return {
502
- existingClientShareCount: 1,
503
- newClientShareCount: 0,
504
- existingServerShareCount: 1,
505
- newServerShareCount: 0
506
- };
507
477
  // 3-of-5 -> 2-of-3:
508
478
  // -- dynamic server shares: 1 existing, 0 new
509
479
  // -- client shares: 2 existing, 0 new
@@ -530,20 +500,20 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
530
500
  * }} The number of existing and new client and server shares needed
531
501
  */ const getServerWalletReshareConfig = ({ oldThresholdSignatureScheme, newThresholdSignatureScheme })=>{
532
502
  switch(true){
533
- // 2-of-2 -> 2-of-2:
534
- // -- dyanmic server shares: 1 existing, 0 new
503
+ // 2-of-2 -> 2-of-2 and 2-of-3 -> 2-of-2:
504
+ // -- dynamic server shares: 1 existing, 0 new
535
505
  // -- external server shares: 1 existing, 0 new
536
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
506
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
537
507
  return {
538
508
  existingExternalServerShareCount: 1,
539
509
  newExternalServerShareCount: 0,
540
510
  existingDynamicServerShareCount: 1,
541
511
  newDynamicServerShareCount: 0
542
512
  };
543
- // 2-of-3 -> 2-of-3:
544
- // -- dyanmic server shares: 1 existing, 0 new
513
+ // 2-of-3 -> 2-of-3 and 2-of-2 -> 2-of-3:
514
+ // -- dynamic server shares: 1 existing, 0 new
545
515
  // -- external server shares: 1 existing, 1 new
546
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
516
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
547
517
  return {
548
518
  existingExternalServerShareCount: 1,
549
519
  newExternalServerShareCount: 1,
@@ -551,7 +521,7 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
551
521
  newDynamicServerShareCount: 0
552
522
  };
553
523
  // 3-of-5 -> 3-of-5:
554
- // -- dyanmic server shares: 2 existing, 0 new
524
+ // -- dynamic server shares: 2 existing, 0 new
555
525
  // -- external server shares: 1 existing, 2 new
556
526
  case oldThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
557
527
  return {
@@ -560,46 +530,16 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
560
530
  existingDynamicServerShareCount: 2,
561
531
  newDynamicServerShareCount: 0
562
532
  };
563
- // 2-of-2 -> 2-of-3:
564
- // -- dyanmic server shares: 1 existing, 0 new
565
- // -- external server shares: 1 existing, 1 new
566
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
567
- return {
568
- existingExternalServerShareCount: 1,
569
- newExternalServerShareCount: 1,
570
- existingDynamicServerShareCount: 1,
571
- newDynamicServerShareCount: 0
572
- };
573
- // 2-of-2 -> 3-of-5:
574
- // -- dyanmic server shares: 1 existing, 1 new
575
- // -- external server shares: 1 existing, 2 new
576
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
577
- return {
578
- existingExternalServerShareCount: 1,
579
- newExternalServerShareCount: 2,
580
- existingDynamicServerShareCount: 1,
581
- newDynamicServerShareCount: 1
582
- };
583
- // 2-of-3 -> 3-of-5:
584
- // -- dyanmic server shares: 1 existing, 1 new
533
+ // 2-of-2 -> 3-of-5 and 2-of-3 -> 3-of-5:
534
+ // -- dynamic server shares: 1 existing, 1 new
585
535
  // -- external server shares: 1 existing, 2 new
586
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
536
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
587
537
  return {
588
538
  existingExternalServerShareCount: 1,
589
539
  newExternalServerShareCount: 2,
590
540
  existingDynamicServerShareCount: 1,
591
541
  newDynamicServerShareCount: 1
592
542
  };
593
- // 2-of-3 -> 2-of-2:
594
- // -- dyanmic server shares: 1 existing, 0 new
595
- // -- external server shares: 1 existing, 0 new
596
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
597
- return {
598
- existingExternalServerShareCount: 1,
599
- newExternalServerShareCount: 0,
600
- existingDynamicServerShareCount: 1,
601
- newDynamicServerShareCount: 0
602
- };
603
543
  // 3-of-5 -> 2-of-3:
604
544
  // -- dyanmic server shares: 1 existing, 0 new
605
545
  // -- external server shares: 2 existing, 0 new
@@ -982,7 +922,7 @@ const getRequiredExternalKeyShareId = (ks)=>{
982
922
  * before it is posted and surfaces in Datadog exactly as the recovery path does.
983
923
  */ const assertDynamicLocationsHaveExternalKeyShareId = (locations)=>locations.filter((location)=>location.location === BackupLocation.DYNAMIC).forEach((location)=>getRequiredExternalKeyShareId(location));
984
924
 
985
- var version = "1.0.55";
925
+ var version = "1.0.57";
986
926
 
987
927
  class BaseClient {
988
928
  /**
package/index.esm.js CHANGED
@@ -437,17 +437,17 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
437
437
  // 2-of-2 -> 2-of-2: same-parties refresh — server + rootUser-client both
438
438
  // call `reshareRemainingParty`. Share-set delegation lands here too; the
439
439
  // delegated share is delivered out-of-band, not via the MPC ceremony.
440
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
440
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
441
441
  return {
442
442
  existingClientShareCount: 1,
443
443
  newClientShareCount: 0,
444
444
  existingServerShareCount: 1,
445
445
  newServerShareCount: 0
446
446
  };
447
- // 2-of-3 -> 2-of-3:
447
+ // 2-of-3 -> 2-of-3 and 2-of-2 -> 2-of-3:
448
448
  // -- dynamic server shares: 1 existing, 0 new
449
449
  // -- client shares: 1 existing, 1 new
450
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
450
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
451
451
  return {
452
452
  existingClientShareCount: 1,
453
453
  newClientShareCount: 1,
@@ -464,46 +464,16 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
464
464
  existingServerShareCount: 2,
465
465
  newServerShareCount: 0
466
466
  };
467
- // 2-of-2 -> 2-of-3:
468
- // -- dynamic server shares: 1 existing, 0 new
469
- // -- client shares: 1 existing, 1 new
470
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
471
- return {
472
- existingClientShareCount: 1,
473
- newClientShareCount: 1,
474
- existingServerShareCount: 1,
475
- newServerShareCount: 0
476
- };
477
- // 2-of-2 -> 3-of-5:
478
- // -- dynamic server shares: 1 existing, 1 new
479
- // -- client shares: 1 existing, 2 new
480
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
481
- return {
482
- existingClientShareCount: 1,
483
- newClientShareCount: 2,
484
- existingServerShareCount: 1,
485
- newServerShareCount: 1
486
- };
487
- // 2-of-3 -> 3-of-5:
467
+ // 2-of-2 -> 3-of-5 and 2-of-3 -> 3-of-5:
488
468
  // -- dynamic server shares: 1 existing, 1 new
489
469
  // -- client shares: 1 existing, 2 new
490
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
470
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
491
471
  return {
492
472
  existingClientShareCount: 1,
493
473
  newClientShareCount: 2,
494
474
  existingServerShareCount: 1,
495
475
  newServerShareCount: 1
496
476
  };
497
- // 2-of-3 -> 2-of-2:
498
- // -- dynamic server shares: 1 existing, 0 new
499
- // -- client shares: 1 existing, 0 new
500
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
501
- return {
502
- existingClientShareCount: 1,
503
- newClientShareCount: 0,
504
- existingServerShareCount: 1,
505
- newServerShareCount: 0
506
- };
507
477
  // 3-of-5 -> 2-of-3:
508
478
  // -- dynamic server shares: 1 existing, 0 new
509
479
  // -- client shares: 2 existing, 0 new
@@ -530,20 +500,20 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
530
500
  * }} The number of existing and new client and server shares needed
531
501
  */ const getServerWalletReshareConfig = ({ oldThresholdSignatureScheme, newThresholdSignatureScheme })=>{
532
502
  switch(true){
533
- // 2-of-2 -> 2-of-2:
534
- // -- dyanmic server shares: 1 existing, 0 new
503
+ // 2-of-2 -> 2-of-2 and 2-of-3 -> 2-of-2:
504
+ // -- dynamic server shares: 1 existing, 0 new
535
505
  // -- external server shares: 1 existing, 0 new
536
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
506
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
537
507
  return {
538
508
  existingExternalServerShareCount: 1,
539
509
  newExternalServerShareCount: 0,
540
510
  existingDynamicServerShareCount: 1,
541
511
  newDynamicServerShareCount: 0
542
512
  };
543
- // 2-of-3 -> 2-of-3:
544
- // -- dyanmic server shares: 1 existing, 0 new
513
+ // 2-of-3 -> 2-of-3 and 2-of-2 -> 2-of-3:
514
+ // -- dynamic server shares: 1 existing, 0 new
545
515
  // -- external server shares: 1 existing, 1 new
546
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
516
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
547
517
  return {
548
518
  existingExternalServerShareCount: 1,
549
519
  newExternalServerShareCount: 1,
@@ -551,7 +521,7 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
551
521
  newDynamicServerShareCount: 0
552
522
  };
553
523
  // 3-of-5 -> 3-of-5:
554
- // -- dyanmic server shares: 2 existing, 0 new
524
+ // -- dynamic server shares: 2 existing, 0 new
555
525
  // -- external server shares: 1 existing, 2 new
556
526
  case oldThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
557
527
  return {
@@ -560,46 +530,16 @@ const getDynamicServerThreshold = (thresholdSignatureScheme)=>{
560
530
  existingDynamicServerShareCount: 2,
561
531
  newDynamicServerShareCount: 0
562
532
  };
563
- // 2-of-2 -> 2-of-3:
564
- // -- dyanmic server shares: 1 existing, 0 new
565
- // -- external server shares: 1 existing, 1 new
566
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE:
567
- return {
568
- existingExternalServerShareCount: 1,
569
- newExternalServerShareCount: 1,
570
- existingDynamicServerShareCount: 1,
571
- newDynamicServerShareCount: 0
572
- };
573
- // 2-of-2 -> 3-of-5:
574
- // -- dyanmic server shares: 1 existing, 1 new
575
- // -- external server shares: 1 existing, 2 new
576
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
577
- return {
578
- existingExternalServerShareCount: 1,
579
- newExternalServerShareCount: 2,
580
- existingDynamicServerShareCount: 1,
581
- newDynamicServerShareCount: 1
582
- };
583
- // 2-of-3 -> 3-of-5:
584
- // -- dyanmic server shares: 1 existing, 1 new
533
+ // 2-of-2 -> 3-of-5 and 2-of-3 -> 3-of-5:
534
+ // -- dynamic server shares: 1 existing, 1 new
585
535
  // -- external server shares: 1 existing, 2 new
586
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
536
+ case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE || oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.THREE_OF_FIVE:
587
537
  return {
588
538
  existingExternalServerShareCount: 1,
589
539
  newExternalServerShareCount: 2,
590
540
  existingDynamicServerShareCount: 1,
591
541
  newDynamicServerShareCount: 1
592
542
  };
593
- // 2-of-3 -> 2-of-2:
594
- // -- dyanmic server shares: 1 existing, 0 new
595
- // -- external server shares: 1 existing, 0 new
596
- case oldThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_THREE && newThresholdSignatureScheme === ThresholdSignatureScheme.TWO_OF_TWO:
597
- return {
598
- existingExternalServerShareCount: 1,
599
- newExternalServerShareCount: 0,
600
- existingDynamicServerShareCount: 1,
601
- newDynamicServerShareCount: 0
602
- };
603
543
  // 3-of-5 -> 2-of-3:
604
544
  // -- dyanmic server shares: 1 existing, 0 new
605
545
  // -- external server shares: 2 existing, 0 new
@@ -982,7 +922,7 @@ const getRequiredExternalKeyShareId = (ks)=>{
982
922
  * before it is posted and surfaces in Datadog exactly as the recovery path does.
983
923
  */ const assertDynamicLocationsHaveExternalKeyShareId = (locations)=>locations.filter((location)=>location.location === BackupLocation.DYNAMIC).forEach((location)=>getRequiredExternalKeyShareId(location));
984
924
 
985
- var version = "1.0.55";
925
+ var version = "1.0.57";
986
926
 
987
927
  class BaseClient {
988
928
  /**
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/core",
3
- "version": "1.0.55",
3
+ "version": "1.0.57",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "@dynamic-labs/sdk-api-core": "^0.0.984",
8
- "@dynamic-labs-wallet/primitives": "1.0.55",
8
+ "@dynamic-labs-wallet/primitives": "1.0.57",
9
9
  "axios": "1.16.0",
10
10
  "uuid": "11.1.0"
11
11
  },
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../src/mpc/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAgC,wBAAwB,EAA+B,MAAM,gBAAgB,CAAC;AACrH,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAErE;;;;GAIG;AACH,eAAO,MAAM,qBAAqB,gBACnB,kBAAkB,KAC9B;IAAE,cAAc,EAAE,MAAM,EAAE,CAAC;IAAC,gBAAgB,EAAE,gBAAgB,CAAA;CAQhE,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,iBAAiB,cAAe,MAAM,kBAAkB,aAAa;oBAhB7D,MAAM,EAAE;sBAAoB,gBAAgB;CA+BhE,CAAC;AAEF,eAAO,MAAM,YAAY,6BAA8B,wBAAwB;;;CAG9E,CAAC;AAEF,eAAO,MAAM,kBAAkB,6BAA8B,wBAAwB,WAEpF,CAAC;AAEF,eAAO,MAAM,yBAAyB,6BAA8B,wBAAwB,WAE3F,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,gBAAgB,kEAG1B;IACD,2BAA2B,EAAE,wBAAwB,CAAC;IACtD,2BAA2B,EAAE,wBAAwB,CAAC;IAGtD,4BAA4B,CAAC,EAAE,OAAO,CAAC;CACxC,KAAG;IACF,wBAAwB,EAAE,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,CAAC;IAC5B,wBAAwB,EAAE,MAAM,CAAC;IACjC,mBAAmB,EAAE,MAAM,CAAC;CAsG7B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eA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