@dynamic-labs-wallet/browser-wallet-client 0.0.0-beta.164.2 → 0.0.0-beta.164.4

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 CHANGED
@@ -307,7 +307,7 @@ class DynamicWalletClient {
307
307
  });
308
308
  }
309
309
  async getWallet({ accountAddress, walletOperation = core.WalletOperation.NO_OPERATION }) {
310
- await this.initializeIframeCommunication();
310
+ await this.initializeMessageTransport();
311
311
  if (!this.iframeMessageHandler) {
312
312
  throw new Error('Iframe message handler not initialized');
313
313
  }
@@ -318,7 +318,7 @@ class DynamicWalletClient {
318
318
  });
319
319
  }
320
320
  async createWalletAccount({ thresholdSignatureScheme, password = undefined }) {
321
- await this.initializeIframeCommunication();
321
+ await this.initializeMessageTransport();
322
322
  if (!this.iframeMessageHandler) {
323
323
  throw new Error('Iframe message handler not initialized');
324
324
  }
@@ -329,7 +329,7 @@ class DynamicWalletClient {
329
329
  });
330
330
  }
331
331
  async requiresPasswordForOperation({ accountAddress, walletOperation = core.WalletOperation.REACH_THRESHOLD }) {
332
- await this.initializeIframeCommunication();
332
+ await this.initializeMessageTransport();
333
333
  if (!this.iframeMessageHandler) {
334
334
  throw new Error('Iframe message handler not initialized');
335
335
  }
@@ -340,7 +340,7 @@ class DynamicWalletClient {
340
340
  });
341
341
  }
342
342
  async isPasswordEncrypted({ accountAddress }) {
343
- await this.initializeIframeCommunication();
343
+ await this.initializeMessageTransport();
344
344
  if (!this.iframeMessageHandler) {
345
345
  throw new Error('Iframe message handler not initialized');
346
346
  }
@@ -350,7 +350,7 @@ class DynamicWalletClient {
350
350
  });
351
351
  }
352
352
  async signMessage({ message, accountAddress, password = undefined }) {
353
- await this.initializeIframeCommunication();
353
+ await this.initializeMessageTransport();
354
354
  if (!this.iframeMessageHandler) {
355
355
  throw new Error('Iframe message handler not initialized');
356
356
  }
@@ -362,7 +362,7 @@ class DynamicWalletClient {
362
362
  });
363
363
  }
364
364
  async signRawMessage({ message, accountAddress, password = undefined }) {
365
- await this.initializeIframeCommunication();
365
+ await this.initializeMessageTransport();
366
366
  if (!this.iframeMessageHandler) {
367
367
  throw new Error('Iframe message handler not initialized');
368
368
  }
@@ -384,7 +384,7 @@ class DynamicWalletClient {
384
384
  * const txBytes = await txb.build({ client });
385
385
  * const txString = Buffer.from(txBytes).toString("hex");
386
386
  */ async signTransaction({ senderAddress, transaction, password = undefined }) {
387
- await this.initializeIframeCommunication();
387
+ await this.initializeMessageTransport();
388
388
  if (!this.iframeMessageHandler) {
389
389
  throw new Error('Iframe message handler not initialized');
390
390
  }
@@ -396,7 +396,7 @@ class DynamicWalletClient {
396
396
  });
397
397
  }
398
398
  async backupKeySharesToGoogleDrive(request) {
399
- await this.initializeIframeCommunication();
399
+ await this.initializeMessageTransport();
400
400
  if (!this.iframeMessageHandler) {
401
401
  throw new Error('Iframe message handler not initialized');
402
402
  }
@@ -415,23 +415,29 @@ class DynamicWalletClient {
415
415
  password
416
416
  });
417
417
  }
418
- async refreshWalletAccountShares(request) {
419
- await this.initializeIframeCommunication();
418
+ async refreshWalletAccountShares({ accountAddress, password }) {
419
+ await this.initializeMessageTransport();
420
420
  if (!this.iframeMessageHandler) {
421
421
  throw new Error('Iframe message handler not initialized');
422
422
  }
423
423
  return this.iframeMessageHandler.refreshWalletAccountShares({
424
424
  chainName: this.chainName,
425
- accountAddress: request.accountAddress,
426
- password: request.password
425
+ accountAddress: accountAddress,
426
+ password: password
427
427
  });
428
428
  }
429
- async reshare(request) {
430
- await this.initializeIframeCommunication();
429
+ async reshare({ accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password }) {
430
+ await this.initializeMessageTransport();
431
431
  if (!this.iframeMessageHandler) {
432
432
  throw new Error('Iframe message handler not initialized');
433
433
  }
434
- return this.iframeMessageHandler.reshare(request);
434
+ return this.iframeMessageHandler.reshare({
435
+ chainName: this.chainName,
436
+ accountAddress,
437
+ oldThresholdSignatureScheme,
438
+ newThresholdSignatureScheme,
439
+ password
440
+ });
435
441
  }
436
442
  async exportPrivateKey({ accountAddress, displayContainer, password }) {
437
443
  const { iframeDisplay } = await this.initializeIframeDisplayForContainer({
@@ -447,7 +453,7 @@ class DynamicWalletClient {
447
453
  });
448
454
  }
449
455
  async verifyPassword({ accountAddress, password, walletOperation = core.WalletOperation.NO_OPERATION }) {
450
- await this.initializeIframeCommunication();
456
+ await this.initializeMessageTransport();
451
457
  if (!this.iframeMessageHandler) {
452
458
  throw new Error('Iframe message handler not initialized');
453
459
  }
@@ -459,7 +465,7 @@ class DynamicWalletClient {
459
465
  });
460
466
  }
461
467
  async updatePassword({ accountAddress, existingPassword, newPassword }) {
462
- await this.initializeIframeCommunication();
468
+ await this.initializeMessageTransport();
463
469
  if (!this.iframeMessageHandler) {
464
470
  throw new Error('Iframe message handler not initialized');
465
471
  }
@@ -471,7 +477,7 @@ class DynamicWalletClient {
471
477
  });
472
478
  }
473
479
  async importPrivateKey({ privateKey, chainName, thresholdSignatureScheme }) {
474
- await this.initializeIframeCommunication();
480
+ await this.initializeMessageTransport();
475
481
  if (!this.iframeMessageHandler) {
476
482
  throw new Error('Iframe message handler not initialized');
477
483
  }
@@ -482,7 +488,7 @@ class DynamicWalletClient {
482
488
  });
483
489
  }
484
490
  async exportClientKeyshares({ accountAddress, password }) {
485
- await this.initializeIframeCommunication();
491
+ await this.initializeMessageTransport();
486
492
  if (!this.iframeMessageHandler) {
487
493
  throw new Error('Iframe message handler not initialized');
488
494
  }
@@ -493,7 +499,7 @@ class DynamicWalletClient {
493
499
  });
494
500
  }
495
501
  async offlineExportPrivateKey({ keyShares, derivationPath }) {
496
- await this.initializeIframeCommunication();
502
+ await this.initializeMessageTransport();
497
503
  if (!this.iframeMessageHandler) {
498
504
  throw new Error('Iframe message handler not initialized');
499
505
  }
@@ -513,7 +519,7 @@ class DynamicWalletClient {
513
519
  cleanup() {
514
520
  if (this.iframe) {
515
521
  DynamicWalletClient.iframeInstanceCount--;
516
- if (DynamicWalletClient.iframeInstanceCount === 0) {
522
+ if (DynamicWalletClient.sharedIframe && DynamicWalletClient.iframeInstanceCount === 0) {
517
523
  document.body.removeChild(DynamicWalletClient.sharedIframe);
518
524
  DynamicWalletClient.sharedIframe = null;
519
525
  DynamicWalletClient.iframeLoadPromise = null;
package/index.esm.js CHANGED
@@ -306,7 +306,7 @@ class DynamicWalletClient {
306
306
  });
307
307
  }
308
308
  async getWallet({ accountAddress, walletOperation = WalletOperation.NO_OPERATION }) {
309
- await this.initializeIframeCommunication();
309
+ await this.initializeMessageTransport();
310
310
  if (!this.iframeMessageHandler) {
311
311
  throw new Error('Iframe message handler not initialized');
312
312
  }
@@ -317,7 +317,7 @@ class DynamicWalletClient {
317
317
  });
318
318
  }
319
319
  async createWalletAccount({ thresholdSignatureScheme, password = undefined }) {
320
- await this.initializeIframeCommunication();
320
+ await this.initializeMessageTransport();
321
321
  if (!this.iframeMessageHandler) {
322
322
  throw new Error('Iframe message handler not initialized');
323
323
  }
@@ -328,7 +328,7 @@ class DynamicWalletClient {
328
328
  });
329
329
  }
330
330
  async requiresPasswordForOperation({ accountAddress, walletOperation = WalletOperation.REACH_THRESHOLD }) {
331
- await this.initializeIframeCommunication();
331
+ await this.initializeMessageTransport();
332
332
  if (!this.iframeMessageHandler) {
333
333
  throw new Error('Iframe message handler not initialized');
334
334
  }
@@ -339,7 +339,7 @@ class DynamicWalletClient {
339
339
  });
340
340
  }
341
341
  async isPasswordEncrypted({ accountAddress }) {
342
- await this.initializeIframeCommunication();
342
+ await this.initializeMessageTransport();
343
343
  if (!this.iframeMessageHandler) {
344
344
  throw new Error('Iframe message handler not initialized');
345
345
  }
@@ -349,7 +349,7 @@ class DynamicWalletClient {
349
349
  });
350
350
  }
351
351
  async signMessage({ message, accountAddress, password = undefined }) {
352
- await this.initializeIframeCommunication();
352
+ await this.initializeMessageTransport();
353
353
  if (!this.iframeMessageHandler) {
354
354
  throw new Error('Iframe message handler not initialized');
355
355
  }
@@ -361,7 +361,7 @@ class DynamicWalletClient {
361
361
  });
362
362
  }
363
363
  async signRawMessage({ message, accountAddress, password = undefined }) {
364
- await this.initializeIframeCommunication();
364
+ await this.initializeMessageTransport();
365
365
  if (!this.iframeMessageHandler) {
366
366
  throw new Error('Iframe message handler not initialized');
367
367
  }
@@ -383,7 +383,7 @@ class DynamicWalletClient {
383
383
  * const txBytes = await txb.build({ client });
384
384
  * const txString = Buffer.from(txBytes).toString("hex");
385
385
  */ async signTransaction({ senderAddress, transaction, password = undefined }) {
386
- await this.initializeIframeCommunication();
386
+ await this.initializeMessageTransport();
387
387
  if (!this.iframeMessageHandler) {
388
388
  throw new Error('Iframe message handler not initialized');
389
389
  }
@@ -395,7 +395,7 @@ class DynamicWalletClient {
395
395
  });
396
396
  }
397
397
  async backupKeySharesToGoogleDrive(request) {
398
- await this.initializeIframeCommunication();
398
+ await this.initializeMessageTransport();
399
399
  if (!this.iframeMessageHandler) {
400
400
  throw new Error('Iframe message handler not initialized');
401
401
  }
@@ -414,23 +414,29 @@ class DynamicWalletClient {
414
414
  password
415
415
  });
416
416
  }
417
- async refreshWalletAccountShares(request) {
418
- await this.initializeIframeCommunication();
417
+ async refreshWalletAccountShares({ accountAddress, password }) {
418
+ await this.initializeMessageTransport();
419
419
  if (!this.iframeMessageHandler) {
420
420
  throw new Error('Iframe message handler not initialized');
421
421
  }
422
422
  return this.iframeMessageHandler.refreshWalletAccountShares({
423
423
  chainName: this.chainName,
424
- accountAddress: request.accountAddress,
425
- password: request.password
424
+ accountAddress: accountAddress,
425
+ password: password
426
426
  });
427
427
  }
428
- async reshare(request) {
429
- await this.initializeIframeCommunication();
428
+ async reshare({ accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password }) {
429
+ await this.initializeMessageTransport();
430
430
  if (!this.iframeMessageHandler) {
431
431
  throw new Error('Iframe message handler not initialized');
432
432
  }
433
- return this.iframeMessageHandler.reshare(request);
433
+ return this.iframeMessageHandler.reshare({
434
+ chainName: this.chainName,
435
+ accountAddress,
436
+ oldThresholdSignatureScheme,
437
+ newThresholdSignatureScheme,
438
+ password
439
+ });
434
440
  }
435
441
  async exportPrivateKey({ accountAddress, displayContainer, password }) {
436
442
  const { iframeDisplay } = await this.initializeIframeDisplayForContainer({
@@ -446,7 +452,7 @@ class DynamicWalletClient {
446
452
  });
447
453
  }
448
454
  async verifyPassword({ accountAddress, password, walletOperation = WalletOperation.NO_OPERATION }) {
449
- await this.initializeIframeCommunication();
455
+ await this.initializeMessageTransport();
450
456
  if (!this.iframeMessageHandler) {
451
457
  throw new Error('Iframe message handler not initialized');
452
458
  }
@@ -458,7 +464,7 @@ class DynamicWalletClient {
458
464
  });
459
465
  }
460
466
  async updatePassword({ accountAddress, existingPassword, newPassword }) {
461
- await this.initializeIframeCommunication();
467
+ await this.initializeMessageTransport();
462
468
  if (!this.iframeMessageHandler) {
463
469
  throw new Error('Iframe message handler not initialized');
464
470
  }
@@ -470,7 +476,7 @@ class DynamicWalletClient {
470
476
  });
471
477
  }
472
478
  async importPrivateKey({ privateKey, chainName, thresholdSignatureScheme }) {
473
- await this.initializeIframeCommunication();
479
+ await this.initializeMessageTransport();
474
480
  if (!this.iframeMessageHandler) {
475
481
  throw new Error('Iframe message handler not initialized');
476
482
  }
@@ -481,7 +487,7 @@ class DynamicWalletClient {
481
487
  });
482
488
  }
483
489
  async exportClientKeyshares({ accountAddress, password }) {
484
- await this.initializeIframeCommunication();
490
+ await this.initializeMessageTransport();
485
491
  if (!this.iframeMessageHandler) {
486
492
  throw new Error('Iframe message handler not initialized');
487
493
  }
@@ -492,7 +498,7 @@ class DynamicWalletClient {
492
498
  });
493
499
  }
494
500
  async offlineExportPrivateKey({ keyShares, derivationPath }) {
495
- await this.initializeIframeCommunication();
501
+ await this.initializeMessageTransport();
496
502
  if (!this.iframeMessageHandler) {
497
503
  throw new Error('Iframe message handler not initialized');
498
504
  }
@@ -512,7 +518,7 @@ class DynamicWalletClient {
512
518
  cleanup() {
513
519
  if (this.iframe) {
514
520
  DynamicWalletClient.iframeInstanceCount--;
515
- if (DynamicWalletClient.iframeInstanceCount === 0) {
521
+ if (DynamicWalletClient.sharedIframe && DynamicWalletClient.iframeInstanceCount === 0) {
516
522
  document.body.removeChild(DynamicWalletClient.sharedIframe);
517
523
  DynamicWalletClient.sharedIframe = null;
518
524
  DynamicWalletClient.iframeLoadPromise = null;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/browser-wallet-client",
3
- "version": "0.0.0-beta.164.2",
3
+ "version": "0.0.0-beta.164.4",
4
4
  "license": "MIT",
5
5
  "dependencies": {
6
- "@dynamic-labs-wallet/core": "0.0.0-beta.164.2",
6
+ "@dynamic-labs-wallet/core": "0.0.0-beta.164.4",
7
7
  "@dynamic-labs/message-transport": "^4.9.9",
8
8
  "@dynamic-labs/logger": "^4.9.9",
9
9
  "@noble/hashes": "1.7.1"
@@ -1,6 +1,6 @@
1
1
  import { type MessageTransportWithDefaultOrigin } from '@dynamic-labs/message-transport';
2
2
  import { iframeMessageHandler } from '../services/iframeMessageHandler';
3
- import type { ThresholdSignatureScheme, GetWalletResponse, CreateWalletAccountResponse, RequiresPasswordForOperationRequest, SignMessageRequest, IsPasswordEncryptedRequest, BackupKeySharesToGoogleDriveRequest, RefreshWalletAccountSharesRequest, ReshareRequest, VerifyPasswordRequest, UpdatePasswordRequest, ImportPrivateKeyRequest, ExportClientKeysharesRequest, OfflineExportPrivateKeyResponse, SignRawMessageRequest } from '@dynamic-labs-wallet/core';
3
+ import type { ThresholdSignatureScheme, GetWalletResponse, CreateWalletAccountResponse, RequiresPasswordForOperationRequest, SignMessageRequest, IsPasswordEncryptedRequest, BackupKeySharesToGoogleDriveRequest, VerifyPasswordRequest, UpdatePasswordRequest, ImportPrivateKeyRequest, ExportClientKeysharesRequest, OfflineExportPrivateKeyResponse, SignRawMessageRequest } from '@dynamic-labs-wallet/core';
4
4
  import { WalletOperation } from '@dynamic-labs-wallet/core';
5
5
  import { EcdsaKeygenResult, Ed25519KeygenResult } from '../../../internal/web';
6
6
  export declare class DynamicWalletClient {
@@ -104,8 +104,16 @@ export declare class DynamicWalletClient {
104
104
  displayContainer: HTMLElement;
105
105
  password?: string;
106
106
  }): Promise<void>;
107
- refreshWalletAccountShares(request: RefreshWalletAccountSharesRequest): Promise<void>;
108
- reshare(request: ReshareRequest): Promise<void>;
107
+ refreshWalletAccountShares({ accountAddress, password, }: {
108
+ accountAddress: string;
109
+ password?: string;
110
+ }): Promise<void>;
111
+ reshare({ accountAddress, oldThresholdSignatureScheme, newThresholdSignatureScheme, password, }: {
112
+ accountAddress: string;
113
+ oldThresholdSignatureScheme: ThresholdSignatureScheme;
114
+ newThresholdSignatureScheme: ThresholdSignatureScheme;
115
+ password?: string;
116
+ }): Promise<void>;
109
117
  exportPrivateKey({ accountAddress, displayContainer, password, }: {
110
118
  accountAddress: string;
111
119
  displayContainer: HTMLElement;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,iCAAiC,EACvC,MAAM,iCAAiC,CAAC;AAEzC,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AAExE,OAAO,KAAK,EACV,wBAAwB,EACxB,iBAAiB,EACjB,2BAA2B,EAC3B,mCAAmC,EACnC,kBAAkB,EAClB,0BAA0B,EAC1B,mCAAmC,EACnC,iCAAiC,EACjC,cAAc,EACd,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,EACvB,4BAA4B,EAC5B,+BAA+B,EAC/B,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,eAAe,EAChB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,eAAe,CAAC;AAEvE,qBAAa,mBAAmB;IAC9B,SAAS,CAAC,SAAS,EAAE,MAAM,CAAC;IAC5B,SAAS,CAAC,M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