@dynamic-labs-wallet/browser-wallet-client 0.0.111 → 0.0.112

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
@@ -210,20 +210,22 @@ class DynamicWalletClient {
210
210
  });
211
211
  const iframe = document.createElement('iframe');
212
212
  let messageListener = null;
213
+ var _this_sdkVersion1;
214
+ const context = {
215
+ iframeDomain: this.iframeDomain,
216
+ environmentId: this.environmentId,
217
+ sdkVersion: (_this_sdkVersion1 = this.sdkVersion) != null ? _this_sdkVersion1 : '',
218
+ instanceId: this.instanceId,
219
+ chainName: this.chainName,
220
+ iframeLoadTimeout: this.iframeLoadTimeout
221
+ };
213
222
  const iframeTimeoutId = setTimeout(()=>{
214
223
  if (messageListener) {
215
224
  window.removeEventListener('message', messageListener);
216
225
  }
217
226
  this.resetSharedIframe();
218
- var _this_sdkVersion;
219
- this.logger.error('Iframe load timeout...', {
220
- iframeDomain: this.iframeDomain,
221
- environmentId: this.environmentId,
222
- sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
223
- instanceId: this.instanceId,
224
- chainName: this.chainName
225
- });
226
- reject(new Error('Iframe load timeout...'));
227
+ this.logger.error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`);
228
+ reject(new Error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`));
227
229
  }, this.iframeLoadTimeout);
228
230
  // Set up message listener BEFORE creating iframe
229
231
  messageListener = (event)=>{
@@ -236,14 +238,7 @@ class DynamicWalletClient {
236
238
  this.iframe = iframe;
237
239
  DynamicWalletClient.iframeInstanceCount++;
238
240
  resolve();
239
- var _this_sdkVersion;
240
- this.logger.info('Iframe loaded successfully...', {
241
- iframeDomain: this.iframeDomain,
242
- environmentId: this.environmentId,
243
- sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
244
- instanceId: this.instanceId,
245
- chainName: this.chainName
246
- });
241
+ this.logger.info('Iframe loaded successfully...', context);
247
242
  }
248
243
  };
249
244
  window.addEventListener('message', messageListener);
@@ -259,14 +254,14 @@ class DynamicWalletClient {
259
254
  iframe.style.height = '0';
260
255
  iframe.style.border = 'none';
261
256
  iframe.style.pointerEvents = 'none';
262
- var _this_instanceId, _this_sdkVersion1;
257
+ var _this_instanceId, _this_sdkVersion2;
263
258
  const params = new URLSearchParams({
264
259
  instanceId: (_this_instanceId = this.instanceId) != null ? _this_instanceId : '',
265
260
  hostOrigin: window.location.origin,
266
261
  environmentId: this.environmentId,
267
262
  baseApiUrl: this.baseApiUrl,
268
263
  baseMPCRelayApiUrl: this.baseMPCRelayApiUrl,
269
- sdkVersion: (_this_sdkVersion1 = this.sdkVersion) != null ? _this_sdkVersion1 : ''
264
+ sdkVersion: (_this_sdkVersion2 = this.sdkVersion) != null ? _this_sdkVersion2 : ''
270
265
  });
271
266
  iframe.src = `${this.iframeDomain}/waas-v1/${this.environmentId}?${params.toString()}`;
272
267
  this.logger.debug('Creating iframe with src:', iframe.src);
@@ -294,28 +289,23 @@ class DynamicWalletClient {
294
289
  */ loadIframeForContainer(container) {
295
290
  return new Promise((resolve, reject)=>{
296
291
  var _this_sdkVersion;
297
- this.logger.info(`Loading iframe for container...`, {
292
+ const context = {
298
293
  iframeDomain: this.iframeDomain,
299
294
  environmentId: this.environmentId,
300
295
  sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
301
296
  instanceId: this.instanceId,
302
- chainName: this.chainName
303
- });
297
+ chainName: this.chainName,
298
+ iframeLoadTimeout: this.iframeLoadTimeout
299
+ };
300
+ this.logger.info(`Loading iframe for container...`, context);
304
301
  const iframe = document.createElement('iframe');
305
302
  let messageListener = null;
306
303
  const iframeTimeoutId = setTimeout(()=>{
307
304
  if (messageListener) {
308
305
  window.removeEventListener('message', messageListener);
309
306
  }
310
- var _this_sdkVersion;
311
- this.logger.error('Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message.', {
312
- iframeDomain: this.iframeDomain,
313
- environmentId: this.environmentId,
314
- sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
315
- instanceId: this.instanceId,
316
- chainName: this.chainName
317
- });
318
- reject(new Error('Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message.'));
307
+ this.logger.error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`);
308
+ reject(new Error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`));
319
309
  }, this.iframeLoadTimeout);
320
310
  iframe.style.display = 'block';
321
311
  iframe.style.width = '100%';
@@ -513,7 +503,7 @@ class DynamicWalletClient {
513
503
  authToken
514
504
  });
515
505
  }
516
- async signTypedData({ accountAddress, typedData, password = undefined, signedSessionId, authToken }) {
506
+ async signTypedData({ accountAddress, typedData, password = undefined, signedSessionId }) {
517
507
  await this.initializeMessageTransport();
518
508
  if (!this.iframeMessageHandler) {
519
509
  throw new Error('Iframe message handler not initialized');
@@ -523,8 +513,7 @@ class DynamicWalletClient {
523
513
  accountAddress,
524
514
  typedData: JSON.stringify(typedData),
525
515
  password,
526
- signedSessionId,
527
- authToken
516
+ signedSessionId
528
517
  });
529
518
  }
530
519
  async backupKeySharesToGoogleDrive({ accountAddress, password = undefined, signedSessionId, authToken }) {
package/index.esm.js CHANGED
@@ -209,20 +209,22 @@ class DynamicWalletClient {
209
209
  });
210
210
  const iframe = document.createElement('iframe');
211
211
  let messageListener = null;
212
+ var _this_sdkVersion1;
213
+ const context = {
214
+ iframeDomain: this.iframeDomain,
215
+ environmentId: this.environmentId,
216
+ sdkVersion: (_this_sdkVersion1 = this.sdkVersion) != null ? _this_sdkVersion1 : '',
217
+ instanceId: this.instanceId,
218
+ chainName: this.chainName,
219
+ iframeLoadTimeout: this.iframeLoadTimeout
220
+ };
212
221
  const iframeTimeoutId = setTimeout(()=>{
213
222
  if (messageListener) {
214
223
  window.removeEventListener('message', messageListener);
215
224
  }
216
225
  this.resetSharedIframe();
217
- var _this_sdkVersion;
218
- this.logger.error('Iframe load timeout...', {
219
- iframeDomain: this.iframeDomain,
220
- environmentId: this.environmentId,
221
- sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
222
- instanceId: this.instanceId,
223
- chainName: this.chainName
224
- });
225
- reject(new Error('Iframe load timeout...'));
226
+ this.logger.error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`);
227
+ reject(new Error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`));
226
228
  }, this.iframeLoadTimeout);
227
229
  // Set up message listener BEFORE creating iframe
228
230
  messageListener = (event)=>{
@@ -235,14 +237,7 @@ class DynamicWalletClient {
235
237
  this.iframe = iframe;
236
238
  DynamicWalletClient.iframeInstanceCount++;
237
239
  resolve();
238
- var _this_sdkVersion;
239
- this.logger.info('Iframe loaded successfully...', {
240
- iframeDomain: this.iframeDomain,
241
- environmentId: this.environmentId,
242
- sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
243
- instanceId: this.instanceId,
244
- chainName: this.chainName
245
- });
240
+ this.logger.info('Iframe loaded successfully...', context);
246
241
  }
247
242
  };
248
243
  window.addEventListener('message', messageListener);
@@ -258,14 +253,14 @@ class DynamicWalletClient {
258
253
  iframe.style.height = '0';
259
254
  iframe.style.border = 'none';
260
255
  iframe.style.pointerEvents = 'none';
261
- var _this_instanceId, _this_sdkVersion1;
256
+ var _this_instanceId, _this_sdkVersion2;
262
257
  const params = new URLSearchParams({
263
258
  instanceId: (_this_instanceId = this.instanceId) != null ? _this_instanceId : '',
264
259
  hostOrigin: window.location.origin,
265
260
  environmentId: this.environmentId,
266
261
  baseApiUrl: this.baseApiUrl,
267
262
  baseMPCRelayApiUrl: this.baseMPCRelayApiUrl,
268
- sdkVersion: (_this_sdkVersion1 = this.sdkVersion) != null ? _this_sdkVersion1 : ''
263
+ sdkVersion: (_this_sdkVersion2 = this.sdkVersion) != null ? _this_sdkVersion2 : ''
269
264
  });
270
265
  iframe.src = `${this.iframeDomain}/waas-v1/${this.environmentId}?${params.toString()}`;
271
266
  this.logger.debug('Creating iframe with src:', iframe.src);
@@ -293,28 +288,23 @@ class DynamicWalletClient {
293
288
  */ loadIframeForContainer(container) {
294
289
  return new Promise((resolve, reject)=>{
295
290
  var _this_sdkVersion;
296
- this.logger.info(`Loading iframe for container...`, {
291
+ const context = {
297
292
  iframeDomain: this.iframeDomain,
298
293
  environmentId: this.environmentId,
299
294
  sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
300
295
  instanceId: this.instanceId,
301
- chainName: this.chainName
302
- });
296
+ chainName: this.chainName,
297
+ iframeLoadTimeout: this.iframeLoadTimeout
298
+ };
299
+ this.logger.info(`Loading iframe for container...`, context);
303
300
  const iframe = document.createElement('iframe');
304
301
  let messageListener = null;
305
302
  const iframeTimeoutId = setTimeout(()=>{
306
303
  if (messageListener) {
307
304
  window.removeEventListener('message', messageListener);
308
305
  }
309
- var _this_sdkVersion;
310
- this.logger.error('Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message.', {
311
- iframeDomain: this.iframeDomain,
312
- environmentId: this.environmentId,
313
- sdkVersion: (_this_sdkVersion = this.sdkVersion) != null ? _this_sdkVersion : '',
314
- instanceId: this.instanceId,
315
- chainName: this.chainName
316
- });
317
- reject(new Error('Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message.'));
306
+ this.logger.error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`);
307
+ reject(new Error(`(loadIframeForContainer) Iframe load timeout due to no handshake message from iframe, this could be network issues, incorrect iframe domain, or CORS errors that prevents iframe from being loaded or sending handshake message, context: ${JSON.stringify(context)}`));
318
308
  }, this.iframeLoadTimeout);
319
309
  iframe.style.display = 'block';
320
310
  iframe.style.width = '100%';
@@ -512,7 +502,7 @@ class DynamicWalletClient {
512
502
  authToken
513
503
  });
514
504
  }
515
- async signTypedData({ accountAddress, typedData, password = undefined, signedSessionId, authToken }) {
505
+ async signTypedData({ accountAddress, typedData, password = undefined, signedSessionId }) {
516
506
  await this.initializeMessageTransport();
517
507
  if (!this.iframeMessageHandler) {
518
508
  throw new Error('Iframe message handler not initialized');
@@ -522,8 +512,7 @@ class DynamicWalletClient {
522
512
  accountAddress,
523
513
  typedData: JSON.stringify(typedData),
524
514
  password,
525
- signedSessionId,
526
- authToken
515
+ signedSessionId
527
516
  });
528
517
  }
529
518
  async backupKeySharesToGoogleDrive({ accountAddress, password = undefined, signedSessionId, authToken }) {
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@dynamic-labs-wallet/browser-wallet-client",
3
- "version": "0.0.111",
3
+ "version": "0.0.112",
4
4
  "license": "MIT",
5
+ "type": "module",
5
6
  "dependencies": {
6
- "@dynamic-labs-wallet/core": "0.0.111",
7
+ "@dynamic-labs-wallet/core": "0.0.112",
7
8
  "@dynamic-labs/message-transport": "^4.9.9",
8
9
  "@dynamic-labs/logger": "^4.9.9"
9
10
  },
@@ -18,13 +19,13 @@
18
19
  "main": "./index.cjs.js",
19
20
  "module": "./index.esm.js",
20
21
  "types": "./index.esm.d.ts",
21
- "type": "module",
22
22
  "exports": {
23
23
  "./package.json": "./package.json",
24
24
  ".": {
25
25
  "types": "./index.esm.d.ts",
26
26
  "import": "./index.esm.js",
27
- "require": "./index.cjs.js"
27
+ "require": "./index.cjs.js",
28
+ "default": "./index.esm.js"
28
29
  }
29
30
  }
30
31
  }
@@ -99,7 +99,7 @@ export declare class DynamicWalletClient {
99
99
  * const txString = Buffer.from(txBytes).toString("hex");
100
100
  */
101
101
  signTransaction({ senderAddress, transaction, password, signedSessionId, authToken, }: Omit<SignTransactionRequest, 'chainName'>): Promise<string>;
102
- signTypedData({ accountAddress, typedData, password, signedSessionId, authToken, }: Omit<SignTypedDataRequest, 'chainName'>): Promise<string>;
102
+ signTypedData({ accountAddress, typedData, password, signedSessionId, }: Omit<SignTypedDataRequest, 'chainName'>): Promise<string>;
103
103
  backupKeySharesToGoogleDrive({ accountAddress, password, signedSessionId, authToken, }: Omit<BackupKeySharesToGoogleDriveRequest, 'chainName'>): Promise<void>;
104
104
  restoreBackupFromGoogleDrive({ accountAddress, displayContainer, password, signedSessionId, authToken, }: {
105
105
  accountAddress: string;
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/client/client.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mCAAmC,EACnC,0BAA0B,EAC1B,2BAA2B,EAC3B,4BAA4B,EAC5B,iBAAiB,EACjB,uBAAuB,EACvB,0BAA0B,EAC1B,+BAA+B,EAC/B,iCAAiC,EACjC,mCAAmC,EACnC,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,sBAAsB,EACtB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAGL,eAAe,EAChB,MAAM,2BAA2B,CA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