@dynamic-labs-wallet/node 0.0.82 → 0.0.83
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.js +38 -24
- package/index.esm.js +38 -24
- package/package.json +2 -2
- package/src/client.d.ts +11 -6
- package/src/client.d.ts.map +1 -1
package/index.cjs.js
CHANGED
|
@@ -435,16 +435,18 @@ class DynamicWalletClient {
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
//todo: need to modify with imported flag
|
|
438
|
-
async sign({ accountAddress, message, chainName, password = undefined }) {
|
|
438
|
+
async sign({ accountAddress, message, chainName, password = undefined, signedSessionId }) {
|
|
439
439
|
await this.verifyPassword({
|
|
440
440
|
accountAddress,
|
|
441
441
|
password,
|
|
442
|
-
walletOperation: core.WalletOperation.SIGN_MESSAGE
|
|
442
|
+
walletOperation: core.WalletOperation.SIGN_MESSAGE,
|
|
443
|
+
signedSessionId
|
|
443
444
|
});
|
|
444
445
|
const wallet = await this.getWallet({
|
|
445
446
|
accountAddress,
|
|
446
447
|
walletOperation: core.WalletOperation.SIGN_MESSAGE,
|
|
447
|
-
password
|
|
448
|
+
password,
|
|
449
|
+
signedSessionId
|
|
448
450
|
});
|
|
449
451
|
// Perform the dynamic server sign
|
|
450
452
|
const data = await this.dynamicServerSign({
|
|
@@ -462,17 +464,19 @@ class DynamicWalletClient {
|
|
|
462
464
|
});
|
|
463
465
|
return signature;
|
|
464
466
|
}
|
|
465
|
-
async refreshWalletAccountShares({ accountAddress, chainName, password = undefined }) {
|
|
467
|
+
async refreshWalletAccountShares({ accountAddress, chainName, password = undefined, signedSessionId }) {
|
|
466
468
|
this.ensureApiClientAuthenticated();
|
|
467
469
|
await this.verifyPassword({
|
|
468
470
|
accountAddress,
|
|
469
471
|
password,
|
|
470
|
-
walletOperation: core.WalletOperation.REFRESH
|
|
472
|
+
walletOperation: core.WalletOperation.REFRESH,
|
|
473
|
+
signedSessionId
|
|
471
474
|
});
|
|
472
475
|
const wallet = await this.getWallet({
|
|
473
476
|
accountAddress,
|
|
474
477
|
walletOperation: core.WalletOperation.REFRESH,
|
|
475
|
-
password
|
|
478
|
+
password,
|
|
479
|
+
signedSessionId
|
|
476
480
|
});
|
|
477
481
|
const mpcSigner = getMPCSigner({
|
|
478
482
|
chainName,
|
|
@@ -490,7 +494,8 @@ class DynamicWalletClient {
|
|
|
490
494
|
});
|
|
491
495
|
await this.storeEncryptedBackupByWallet({
|
|
492
496
|
accountAddress,
|
|
493
|
-
password: password != null ? password : this.environmentId
|
|
497
|
+
password: password != null ? password : this.environmentId,
|
|
498
|
+
signedSessionId
|
|
494
499
|
});
|
|
495
500
|
return refreshResults;
|
|
496
501
|
}
|
|
@@ -543,7 +548,7 @@ class DynamicWalletClient {
|
|
|
543
548
|
existingExternalServerKeyShares
|
|
544
549
|
};
|
|
545
550
|
}
|
|
546
|
-
async reshare({ chainName, accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password = undefined, signedSessionId
|
|
551
|
+
async reshare({ chainName, accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password = undefined, signedSessionId }) {
|
|
547
552
|
this.ensureApiClientAuthenticated();
|
|
548
553
|
await this.verifyPassword({
|
|
549
554
|
accountAddress,
|
|
@@ -559,7 +564,8 @@ class DynamicWalletClient {
|
|
|
559
564
|
accountAddress,
|
|
560
565
|
walletOperation: core.WalletOperation.RESHARE,
|
|
561
566
|
shareCount: existingExternalServerShareCount,
|
|
562
|
-
password
|
|
567
|
+
password,
|
|
568
|
+
signedSessionId
|
|
563
569
|
});
|
|
564
570
|
const { newExternalServerInitKeygenResults, newExternalServerKeygenIds, existingExternalServerKeygenIds, existingExternalServerKeyShares } = await this.reshareStrategy({
|
|
565
571
|
chainName,
|
|
@@ -601,11 +607,12 @@ class DynamicWalletClient {
|
|
|
601
607
|
});
|
|
602
608
|
await this.storeEncryptedBackupByWallet({
|
|
603
609
|
accountAddress,
|
|
604
|
-
password
|
|
610
|
+
password,
|
|
611
|
+
signedSessionId
|
|
605
612
|
});
|
|
606
613
|
return reshareResults;
|
|
607
614
|
}
|
|
608
|
-
async exportKey({ accountAddress, chainName, password = undefined, signedSessionId
|
|
615
|
+
async exportKey({ accountAddress, chainName, password = undefined, signedSessionId }) {
|
|
609
616
|
this.ensureApiClientAuthenticated();
|
|
610
617
|
await this.verifyPassword({
|
|
611
618
|
accountAddress,
|
|
@@ -616,7 +623,8 @@ class DynamicWalletClient {
|
|
|
616
623
|
const wallet = await this.getWallet({
|
|
617
624
|
accountAddress,
|
|
618
625
|
password,
|
|
619
|
-
walletOperation: core.WalletOperation.EXPORT_PRIVATE_KEY
|
|
626
|
+
walletOperation: core.WalletOperation.EXPORT_PRIVATE_KEY,
|
|
627
|
+
signedSessionId
|
|
620
628
|
});
|
|
621
629
|
const mpcSigner = getMPCSigner({
|
|
622
630
|
chainName,
|
|
@@ -702,7 +710,7 @@ class DynamicWalletClient {
|
|
|
702
710
|
throw new Error('Ceremony completion timeout');
|
|
703
711
|
}
|
|
704
712
|
}
|
|
705
|
-
async storeEncryptedBackupByWallet({ accountAddress, externalServerKeyShares = undefined, password = undefined, signedSessionId
|
|
713
|
+
async storeEncryptedBackupByWallet({ accountAddress, externalServerKeyShares = undefined, password = undefined, signedSessionId }) {
|
|
706
714
|
this.ensureApiClientAuthenticated();
|
|
707
715
|
//add retry logic for ceremony completion to prevent race condition
|
|
708
716
|
await this.ensureCeremonyCompletionBeforeBackup({
|
|
@@ -710,7 +718,8 @@ class DynamicWalletClient {
|
|
|
710
718
|
});
|
|
711
719
|
try {
|
|
712
720
|
const keySharesToBackup = externalServerKeyShares != null ? externalServerKeyShares : await this.getExternalServerKeyShares({
|
|
713
|
-
accountAddress
|
|
721
|
+
accountAddress,
|
|
722
|
+
signedSessionId
|
|
714
723
|
});
|
|
715
724
|
if (!keySharesToBackup || keySharesToBackup.length === 0) {
|
|
716
725
|
throw new Error(`Key shares not found for accountAddress: ${accountAddress}`);
|
|
@@ -744,11 +753,12 @@ class DynamicWalletClient {
|
|
|
744
753
|
throw error;
|
|
745
754
|
}
|
|
746
755
|
}
|
|
747
|
-
async storeEncryptedBackupByWalletWithRetry({ accountAddress, externalServerKeyShares, password }) {
|
|
756
|
+
async storeEncryptedBackupByWalletWithRetry({ accountAddress, externalServerKeyShares, password, signedSessionId }) {
|
|
748
757
|
await retryPromise(()=>this.storeEncryptedBackupByWallet({
|
|
749
758
|
accountAddress,
|
|
750
759
|
externalServerKeyShares,
|
|
751
|
-
password
|
|
760
|
+
password,
|
|
761
|
+
signedSessionId
|
|
752
762
|
}), {
|
|
753
763
|
operationName: 'store encrypted backup',
|
|
754
764
|
logContext: {
|
|
@@ -760,23 +770,26 @@ class DynamicWalletClient {
|
|
|
760
770
|
}
|
|
761
771
|
});
|
|
762
772
|
}
|
|
763
|
-
async getExternalServerKeyShares({ accountAddress, password }) {
|
|
773
|
+
async getExternalServerKeyShares({ accountAddress, password, signedSessionId }) {
|
|
764
774
|
const wallet = await this.getWallet({
|
|
765
775
|
accountAddress,
|
|
766
776
|
password,
|
|
767
|
-
walletOperation: core.WalletOperation.REACH_THRESHOLD
|
|
777
|
+
walletOperation: core.WalletOperation.REACH_THRESHOLD,
|
|
778
|
+
signedSessionId
|
|
768
779
|
});
|
|
769
780
|
return wallet.externalServerKeyShares;
|
|
770
781
|
}
|
|
771
|
-
async updatePassword({ accountAddress, existingPassword, newPassword }) {
|
|
782
|
+
async updatePassword({ accountAddress, existingPassword, newPassword, signedSessionId }) {
|
|
772
783
|
await this.getWallet({
|
|
773
784
|
accountAddress,
|
|
774
785
|
password: existingPassword,
|
|
775
|
-
walletOperation: core.WalletOperation.REACH_ALL_PARTIES
|
|
786
|
+
walletOperation: core.WalletOperation.REACH_ALL_PARTIES,
|
|
787
|
+
signedSessionId
|
|
776
788
|
});
|
|
777
789
|
await this.storeEncryptedBackupByWallet({
|
|
778
790
|
accountAddress,
|
|
779
|
-
password: newPassword
|
|
791
|
+
password: newPassword,
|
|
792
|
+
signedSessionId
|
|
780
793
|
});
|
|
781
794
|
}
|
|
782
795
|
async decryptKeyShare({ keyShare, password }) {
|
|
@@ -852,7 +865,8 @@ class DynamicWalletClient {
|
|
|
852
865
|
});
|
|
853
866
|
const externalServerKeyShares = await this.getExternalServerKeyShares({
|
|
854
867
|
accountAddress,
|
|
855
|
-
password
|
|
868
|
+
password,
|
|
869
|
+
signedSessionId
|
|
856
870
|
});
|
|
857
871
|
return externalServerKeyShares;
|
|
858
872
|
}
|
|
@@ -901,7 +915,7 @@ class DynamicWalletClient {
|
|
|
901
915
|
* verifyPassword attempts to recover and decrypt a single client key share using the provided password.
|
|
902
916
|
* If successful, the key share is encrypted with the new password. This method solely performs the recovery
|
|
903
917
|
* and decryption without storing the restored key shares. If unsuccessful, it throws an error.
|
|
904
|
-
*/ async verifyPassword({ accountAddress, password = undefined, walletOperation = core.WalletOperation.NO_OPERATION, signedSessionId
|
|
918
|
+
*/ async verifyPassword({ accountAddress, password = undefined, walletOperation = core.WalletOperation.NO_OPERATION, signedSessionId }) {
|
|
905
919
|
await this.getWallet({
|
|
906
920
|
accountAddress,
|
|
907
921
|
password,
|
|
@@ -994,7 +1008,7 @@ class DynamicWalletClient {
|
|
|
994
1008
|
walletProperties: wallet == null ? void 0 : wallet.walletProperties
|
|
995
1009
|
});
|
|
996
1010
|
}
|
|
997
|
-
async getWallet({ accountAddress, walletOperation = core.WalletOperation.NO_OPERATION, signedSessionId
|
|
1011
|
+
async getWallet({ accountAddress, walletOperation = core.WalletOperation.NO_OPERATION, signedSessionId, shareCount = undefined, password = undefined }) {
|
|
998
1012
|
var _user_verifiedCredentials;
|
|
999
1013
|
this.ensureApiClientAuthenticated();
|
|
1000
1014
|
const existingWalletCheck = await this.checkWalletFields({
|
package/index.esm.js
CHANGED
|
@@ -435,16 +435,18 @@ class DynamicWalletClient {
|
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
//todo: need to modify with imported flag
|
|
438
|
-
async sign({ accountAddress, message, chainName, password = undefined }) {
|
|
438
|
+
async sign({ accountAddress, message, chainName, password = undefined, signedSessionId }) {
|
|
439
439
|
await this.verifyPassword({
|
|
440
440
|
accountAddress,
|
|
441
441
|
password,
|
|
442
|
-
walletOperation: WalletOperation.SIGN_MESSAGE
|
|
442
|
+
walletOperation: WalletOperation.SIGN_MESSAGE,
|
|
443
|
+
signedSessionId
|
|
443
444
|
});
|
|
444
445
|
const wallet = await this.getWallet({
|
|
445
446
|
accountAddress,
|
|
446
447
|
walletOperation: WalletOperation.SIGN_MESSAGE,
|
|
447
|
-
password
|
|
448
|
+
password,
|
|
449
|
+
signedSessionId
|
|
448
450
|
});
|
|
449
451
|
// Perform the dynamic server sign
|
|
450
452
|
const data = await this.dynamicServerSign({
|
|
@@ -462,17 +464,19 @@ class DynamicWalletClient {
|
|
|
462
464
|
});
|
|
463
465
|
return signature;
|
|
464
466
|
}
|
|
465
|
-
async refreshWalletAccountShares({ accountAddress, chainName, password = undefined }) {
|
|
467
|
+
async refreshWalletAccountShares({ accountAddress, chainName, password = undefined, signedSessionId }) {
|
|
466
468
|
this.ensureApiClientAuthenticated();
|
|
467
469
|
await this.verifyPassword({
|
|
468
470
|
accountAddress,
|
|
469
471
|
password,
|
|
470
|
-
walletOperation: WalletOperation.REFRESH
|
|
472
|
+
walletOperation: WalletOperation.REFRESH,
|
|
473
|
+
signedSessionId
|
|
471
474
|
});
|
|
472
475
|
const wallet = await this.getWallet({
|
|
473
476
|
accountAddress,
|
|
474
477
|
walletOperation: WalletOperation.REFRESH,
|
|
475
|
-
password
|
|
478
|
+
password,
|
|
479
|
+
signedSessionId
|
|
476
480
|
});
|
|
477
481
|
const mpcSigner = getMPCSigner({
|
|
478
482
|
chainName,
|
|
@@ -490,7 +494,8 @@ class DynamicWalletClient {
|
|
|
490
494
|
});
|
|
491
495
|
await this.storeEncryptedBackupByWallet({
|
|
492
496
|
accountAddress,
|
|
493
|
-
password: password != null ? password : this.environmentId
|
|
497
|
+
password: password != null ? password : this.environmentId,
|
|
498
|
+
signedSessionId
|
|
494
499
|
});
|
|
495
500
|
return refreshResults;
|
|
496
501
|
}
|
|
@@ -543,7 +548,7 @@ class DynamicWalletClient {
|
|
|
543
548
|
existingExternalServerKeyShares
|
|
544
549
|
};
|
|
545
550
|
}
|
|
546
|
-
async reshare({ chainName, accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password = undefined, signedSessionId
|
|
551
|
+
async reshare({ chainName, accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password = undefined, signedSessionId }) {
|
|
547
552
|
this.ensureApiClientAuthenticated();
|
|
548
553
|
await this.verifyPassword({
|
|
549
554
|
accountAddress,
|
|
@@ -559,7 +564,8 @@ class DynamicWalletClient {
|
|
|
559
564
|
accountAddress,
|
|
560
565
|
walletOperation: WalletOperation.RESHARE,
|
|
561
566
|
shareCount: existingExternalServerShareCount,
|
|
562
|
-
password
|
|
567
|
+
password,
|
|
568
|
+
signedSessionId
|
|
563
569
|
});
|
|
564
570
|
const { newExternalServerInitKeygenResults, newExternalServerKeygenIds, existingExternalServerKeygenIds, existingExternalServerKeyShares } = await this.reshareStrategy({
|
|
565
571
|
chainName,
|
|
@@ -601,11 +607,12 @@ class DynamicWalletClient {
|
|
|
601
607
|
});
|
|
602
608
|
await this.storeEncryptedBackupByWallet({
|
|
603
609
|
accountAddress,
|
|
604
|
-
password
|
|
610
|
+
password,
|
|
611
|
+
signedSessionId
|
|
605
612
|
});
|
|
606
613
|
return reshareResults;
|
|
607
614
|
}
|
|
608
|
-
async exportKey({ accountAddress, chainName, password = undefined, signedSessionId
|
|
615
|
+
async exportKey({ accountAddress, chainName, password = undefined, signedSessionId }) {
|
|
609
616
|
this.ensureApiClientAuthenticated();
|
|
610
617
|
await this.verifyPassword({
|
|
611
618
|
accountAddress,
|
|
@@ -616,7 +623,8 @@ class DynamicWalletClient {
|
|
|
616
623
|
const wallet = await this.getWallet({
|
|
617
624
|
accountAddress,
|
|
618
625
|
password,
|
|
619
|
-
walletOperation: WalletOperation.EXPORT_PRIVATE_KEY
|
|
626
|
+
walletOperation: WalletOperation.EXPORT_PRIVATE_KEY,
|
|
627
|
+
signedSessionId
|
|
620
628
|
});
|
|
621
629
|
const mpcSigner = getMPCSigner({
|
|
622
630
|
chainName,
|
|
@@ -702,7 +710,7 @@ class DynamicWalletClient {
|
|
|
702
710
|
throw new Error('Ceremony completion timeout');
|
|
703
711
|
}
|
|
704
712
|
}
|
|
705
|
-
async storeEncryptedBackupByWallet({ accountAddress, externalServerKeyShares = undefined, password = undefined, signedSessionId
|
|
713
|
+
async storeEncryptedBackupByWallet({ accountAddress, externalServerKeyShares = undefined, password = undefined, signedSessionId }) {
|
|
706
714
|
this.ensureApiClientAuthenticated();
|
|
707
715
|
//add retry logic for ceremony completion to prevent race condition
|
|
708
716
|
await this.ensureCeremonyCompletionBeforeBackup({
|
|
@@ -710,7 +718,8 @@ class DynamicWalletClient {
|
|
|
710
718
|
});
|
|
711
719
|
try {
|
|
712
720
|
const keySharesToBackup = externalServerKeyShares != null ? externalServerKeyShares : await this.getExternalServerKeyShares({
|
|
713
|
-
accountAddress
|
|
721
|
+
accountAddress,
|
|
722
|
+
signedSessionId
|
|
714
723
|
});
|
|
715
724
|
if (!keySharesToBackup || keySharesToBackup.length === 0) {
|
|
716
725
|
throw new Error(`Key shares not found for accountAddress: ${accountAddress}`);
|
|
@@ -744,11 +753,12 @@ class DynamicWalletClient {
|
|
|
744
753
|
throw error;
|
|
745
754
|
}
|
|
746
755
|
}
|
|
747
|
-
async storeEncryptedBackupByWalletWithRetry({ accountAddress, externalServerKeyShares, password }) {
|
|
756
|
+
async storeEncryptedBackupByWalletWithRetry({ accountAddress, externalServerKeyShares, password, signedSessionId }) {
|
|
748
757
|
await retryPromise(()=>this.storeEncryptedBackupByWallet({
|
|
749
758
|
accountAddress,
|
|
750
759
|
externalServerKeyShares,
|
|
751
|
-
password
|
|
760
|
+
password,
|
|
761
|
+
signedSessionId
|
|
752
762
|
}), {
|
|
753
763
|
operationName: 'store encrypted backup',
|
|
754
764
|
logContext: {
|
|
@@ -760,23 +770,26 @@ class DynamicWalletClient {
|
|
|
760
770
|
}
|
|
761
771
|
});
|
|
762
772
|
}
|
|
763
|
-
async getExternalServerKeyShares({ accountAddress, password }) {
|
|
773
|
+
async getExternalServerKeyShares({ accountAddress, password, signedSessionId }) {
|
|
764
774
|
const wallet = await this.getWallet({
|
|
765
775
|
accountAddress,
|
|
766
776
|
password,
|
|
767
|
-
walletOperation: WalletOperation.REACH_THRESHOLD
|
|
777
|
+
walletOperation: WalletOperation.REACH_THRESHOLD,
|
|
778
|
+
signedSessionId
|
|
768
779
|
});
|
|
769
780
|
return wallet.externalServerKeyShares;
|
|
770
781
|
}
|
|
771
|
-
async updatePassword({ accountAddress, existingPassword, newPassword }) {
|
|
782
|
+
async updatePassword({ accountAddress, existingPassword, newPassword, signedSessionId }) {
|
|
772
783
|
await this.getWallet({
|
|
773
784
|
accountAddress,
|
|
774
785
|
password: existingPassword,
|
|
775
|
-
walletOperation: WalletOperation.REACH_ALL_PARTIES
|
|
786
|
+
walletOperation: WalletOperation.REACH_ALL_PARTIES,
|
|
787
|
+
signedSessionId
|
|
776
788
|
});
|
|
777
789
|
await this.storeEncryptedBackupByWallet({
|
|
778
790
|
accountAddress,
|
|
779
|
-
password: newPassword
|
|
791
|
+
password: newPassword,
|
|
792
|
+
signedSessionId
|
|
780
793
|
});
|
|
781
794
|
}
|
|
782
795
|
async decryptKeyShare({ keyShare, password }) {
|
|
@@ -852,7 +865,8 @@ class DynamicWalletClient {
|
|
|
852
865
|
});
|
|
853
866
|
const externalServerKeyShares = await this.getExternalServerKeyShares({
|
|
854
867
|
accountAddress,
|
|
855
|
-
password
|
|
868
|
+
password,
|
|
869
|
+
signedSessionId
|
|
856
870
|
});
|
|
857
871
|
return externalServerKeyShares;
|
|
858
872
|
}
|
|
@@ -901,7 +915,7 @@ class DynamicWalletClient {
|
|
|
901
915
|
* verifyPassword attempts to recover and decrypt a single client key share using the provided password.
|
|
902
916
|
* If successful, the key share is encrypted with the new password. This method solely performs the recovery
|
|
903
917
|
* and decryption without storing the restored key shares. If unsuccessful, it throws an error.
|
|
904
|
-
*/ async verifyPassword({ accountAddress, password = undefined, walletOperation = WalletOperation.NO_OPERATION, signedSessionId
|
|
918
|
+
*/ async verifyPassword({ accountAddress, password = undefined, walletOperation = WalletOperation.NO_OPERATION, signedSessionId }) {
|
|
905
919
|
await this.getWallet({
|
|
906
920
|
accountAddress,
|
|
907
921
|
password,
|
|
@@ -994,7 +1008,7 @@ class DynamicWalletClient {
|
|
|
994
1008
|
walletProperties: wallet == null ? void 0 : wallet.walletProperties
|
|
995
1009
|
});
|
|
996
1010
|
}
|
|
997
|
-
async getWallet({ accountAddress, walletOperation = WalletOperation.NO_OPERATION, signedSessionId
|
|
1011
|
+
async getWallet({ accountAddress, walletOperation = WalletOperation.NO_OPERATION, signedSessionId, shareCount = undefined, password = undefined }) {
|
|
998
1012
|
var _user_verifiedCredentials;
|
|
999
1013
|
this.ensureApiClientAuthenticated();
|
|
1000
1014
|
const existingWalletCheck = await this.checkWalletFields({
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs-wallet/node",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.83",
|
|
4
4
|
"license": "Licensed under the Dynamic Labs, Inc. Terms Of Service (https://www.dynamic.xyz/terms-conditions)",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@dynamic-labs-wallet/core": "0.0.
|
|
6
|
+
"@dynamic-labs-wallet/core": "0.0.83",
|
|
7
7
|
"@dynamic-labs/logger": "^4.5.1",
|
|
8
8
|
"@noble/hashes": "1.7.1"
|
|
9
9
|
},
|
package/src/client.d.ts
CHANGED
|
@@ -77,16 +77,18 @@ export declare class DynamicWalletClient {
|
|
|
77
77
|
keyShare: ServerKeyShare;
|
|
78
78
|
derivationPath: Uint32Array | undefined;
|
|
79
79
|
}): Promise<Uint8Array | EcdsaSignature>;
|
|
80
|
-
sign({ accountAddress, message, chainName, password, }: {
|
|
80
|
+
sign({ accountAddress, message, chainName, password, signedSessionId, }: {
|
|
81
81
|
accountAddress: string;
|
|
82
82
|
message: string | Uint8Array;
|
|
83
83
|
chainName: string;
|
|
84
84
|
password?: string;
|
|
85
|
+
signedSessionId?: string;
|
|
85
86
|
}): Promise<Uint8Array | EcdsaSignature>;
|
|
86
|
-
refreshWalletAccountShares({ accountAddress, chainName, password, }: {
|
|
87
|
+
refreshWalletAccountShares({ accountAddress, chainName, password, signedSessionId, }: {
|
|
87
88
|
accountAddress: string;
|
|
88
89
|
chainName: string;
|
|
89
90
|
password?: string;
|
|
91
|
+
signedSessionId?: string;
|
|
90
92
|
}): Promise<(EcdsaKeygenResult | BIP340KeygenResult)[]>;
|
|
91
93
|
getExportId({ chainName, serverKeyShare, }: {
|
|
92
94
|
chainName: string;
|
|
@@ -153,19 +155,22 @@ export declare class DynamicWalletClient {
|
|
|
153
155
|
password?: string;
|
|
154
156
|
signedSessionId?: string;
|
|
155
157
|
}): Promise<any>;
|
|
156
|
-
storeEncryptedBackupByWalletWithRetry({ accountAddress, externalServerKeyShares, password, }: {
|
|
158
|
+
storeEncryptedBackupByWalletWithRetry({ accountAddress, externalServerKeyShares, password, signedSessionId, }: {
|
|
157
159
|
accountAddress: string;
|
|
158
160
|
externalServerKeyShares?: ServerKeyShare[];
|
|
159
161
|
password?: string;
|
|
162
|
+
signedSessionId?: string;
|
|
160
163
|
}): Promise<void>;
|
|
161
|
-
getExternalServerKeyShares({ accountAddress, password, }: {
|
|
164
|
+
getExternalServerKeyShares({ accountAddress, password, signedSessionId, }: {
|
|
162
165
|
accountAddress: string;
|
|
163
166
|
password?: string;
|
|
167
|
+
signedSessionId?: string;
|
|
164
168
|
}): Promise<import("./mpc").ServerKeyShare[]>;
|
|
165
|
-
updatePassword({ accountAddress, existingPassword, newPassword, }: {
|
|
169
|
+
updatePassword({ accountAddress, existingPassword, newPassword, signedSessionId, }: {
|
|
166
170
|
accountAddress: string;
|
|
167
171
|
existingPassword?: string;
|
|
168
172
|
newPassword?: string;
|
|
173
|
+
signedSessionId?: string;
|
|
169
174
|
}): Promise<void>;
|
|
170
175
|
decryptKeyShare({ keyShare, password, }: {
|
|
171
176
|
keyShare: string;
|
|
@@ -203,7 +208,7 @@ export declare class DynamicWalletClient {
|
|
|
203
208
|
exportExternalServerKeyShares({ accountAddress, password, signedSessionId, }: {
|
|
204
209
|
accountAddress: string;
|
|
205
210
|
password?: string;
|
|
206
|
-
signedSessionId
|
|
211
|
+
signedSessionId?: string;
|
|
207
212
|
}): Promise<import("./mpc").ServerKeyShare[]>;
|
|
208
213
|
/**
|
|
209
214
|
* Helper function to check if the required wallet fields are present and valid
|
package/src/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../packages/src/client.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,cAAc,EAGd,cAAc,EAIf,MAAM,gBAAgB,CAAC;AAExB,OAAO,EACL,wBAAwB,EACxB,gBAAgB,EAIhB,eAAe,EACf,kBAAkB,EAClB,cAAc,EAGf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAU3C,KAAK,cAAc,GAAG,iBAAiB,GAAG,kBAAkB,CAAC;AAE7D,qBAAa,mBAAmB;IACvB,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,OAAO,CAAC;IAEtB,SAAS,CAAC,MAAM,wCAAU;IAE1B,SAAS,CAAC,SAAS,EAAG,gBAAgB,CAAC;IACvC,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,gBAAgB,CAAC,CAAM;IAC3D,SAAS,CAAC,kBAAkB,C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