@dynamic-labs/embedded-wallet 4.0.0-alpha.2 → 4.0.0-alpha.3

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/CHANGELOG.md CHANGED
@@ -1,4 +1,17 @@
1
1
 
2
+ ## [4.0.0-alpha.3](https://github.com/dynamic-labs/DynamicAuth/compare/v4.0.0-alpha.2...v4.0.0-alpha.3) (2024-09-20)
3
+
4
+
5
+ ### Features
6
+
7
+ * developers provide global connectivity appkit project id ([#6941](https://github.com/dynamic-labs/DynamicAuth/issues/6941)) ([83760ea](https://github.com/dynamic-labs/DynamicAuth/commit/83760ea57591685b12caee945f173f6a7f9312d1))
8
+
9
+
10
+ ### Bug Fixes
11
+
12
+ * don't try to set up event listeners if wallet provider doesn't support it ([#6943](https://github.com/dynamic-labs/DynamicAuth/issues/6943)) ([439f1bb](https://github.com/dynamic-labs/DynamicAuth/commit/439f1bbb3c765959756cfc6eeb8429e4018e0379))
13
+ * dont verify all signatures for solana embedded multisig tx ([#6953](https://github.com/dynamic-labs/DynamicAuth/issues/6953)) ([7a7973e](https://github.com/dynamic-labs/DynamicAuth/commit/7a7973e05f0960421b348a55c6a00c9fd873b0b7))
14
+
2
15
  ## [4.0.0-alpha.2](https://github.com/dynamic-labs/DynamicAuth/compare/v4.0.0-alpha.1...v4.0.0-alpha.2) (2024-09-18)
3
16
 
4
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/embedded-wallet",
3
- "version": "4.0.0-alpha.2",
3
+ "version": "4.0.0-alpha.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
@@ -26,16 +26,16 @@
26
26
  "./package.json": "./package.json"
27
27
  },
28
28
  "dependencies": {
29
- "@dynamic-labs/sdk-api-core": "0.0.530",
29
+ "@dynamic-labs/sdk-api-core": "0.0.534",
30
30
  "@turnkey/api-key-stamper": "0.4.1",
31
31
  "@turnkey/http": "2.12.2",
32
32
  "@turnkey/iframe-stamper": "2.0.0",
33
33
  "@turnkey/webauthn-stamper": "0.5.0",
34
- "@dynamic-labs/logger": "4.0.0-alpha.2",
35
- "@dynamic-labs/utils": "4.0.0-alpha.2",
36
- "@dynamic-labs/wallet-book": "4.0.0-alpha.2",
37
- "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.2",
38
- "@dynamic-labs/webauthn": "4.0.0-alpha.2"
34
+ "@dynamic-labs/logger": "4.0.0-alpha.3",
35
+ "@dynamic-labs/utils": "4.0.0-alpha.3",
36
+ "@dynamic-labs/wallet-book": "4.0.0-alpha.3",
37
+ "@dynamic-labs/wallet-connector-core": "4.0.0-alpha.3",
38
+ "@dynamic-labs/webauthn": "4.0.0-alpha.3"
39
39
  },
40
40
  "peerDependencies": {}
41
41
  }
@@ -189,7 +189,7 @@ class TurnkeyWalletConnectorBase extends walletConnectorCore.WalletConnectorBase
189
189
  apiPublicKey: sessionKeys.publicKey,
190
190
  });
191
191
  ExportHandler.ExportHandler.apiKeyStamper = TurnkeyWalletConnectorBase.apiKeyStamper;
192
- logger.logger.setMetaData('sessionApiPublicKey', sessionKeys.publicKey);
192
+ logger.logger.metaData.set('sessionApiPublicKey', sessionKeys.publicKey);
193
193
  return sessionKeys.publicKey;
194
194
  }
195
195
  catch (error) {
@@ -219,8 +219,8 @@ class TurnkeyWalletConnectorBase extends walletConnectorCore.WalletConnectorBase
219
219
  }
220
220
  setLoggerMetadata() {
221
221
  var _a, _b, _c;
222
- logger.logger.setMetaData('turnkeySubOrganizationId', (_b = (_a = this._verifiedCredential) === null || _a === void 0 ? void 0 : _a.walletProperties) === null || _b === void 0 ? void 0 : _b.turnkeySubOrganizationId);
223
- logger.logger.setMetaData('walletId', (_c = this._verifiedCredential) === null || _c === void 0 ? void 0 : _c.id);
222
+ logger.logger.metaData.set('turnkeySubOrganizationId', (_b = (_a = this._verifiedCredential) === null || _a === void 0 ? void 0 : _a.walletProperties) === null || _b === void 0 ? void 0 : _b.turnkeySubOrganizationId);
223
+ logger.logger.metaData.set('walletId', (_c = this._verifiedCredential) === null || _c === void 0 ? void 0 : _c.id);
224
224
  let authMethod = 'Unknown';
225
225
  if (this.isSessionKeyCompatible()) {
226
226
  authMethod = 'SessionKeys';
@@ -231,7 +231,7 @@ class TurnkeyWalletConnectorBase extends walletConnectorCore.WalletConnectorBase
231
231
  else if (this.__authenticatorMethodHandler.recoveryType === 'email') {
232
232
  authMethod = 'EmailAuth';
233
233
  }
234
- logger.logger.setMetaData('authMethod', authMethod);
234
+ logger.logger.metaData.set('authMethod', authMethod);
235
235
  }
236
236
  }
237
237
  TurnkeyWalletConnectorBase.isLoadingSession = false;
@@ -185,7 +185,7 @@ class TurnkeyWalletConnectorBase extends WalletConnectorBase {
185
185
  apiPublicKey: sessionKeys.publicKey,
186
186
  });
187
187
  ExportHandler.apiKeyStamper = TurnkeyWalletConnectorBase.apiKeyStamper;
188
- logger.setMetaData('sessionApiPublicKey', sessionKeys.publicKey);
188
+ logger.metaData.set('sessionApiPublicKey', sessionKeys.publicKey);
189
189
  return sessionKeys.publicKey;
190
190
  }
191
191
  catch (error) {
@@ -215,8 +215,8 @@ class TurnkeyWalletConnectorBase extends WalletConnectorBase {
215
215
  }
216
216
  setLoggerMetadata() {
217
217
  var _a, _b, _c;
218
- logger.setMetaData('turnkeySubOrganizationId', (_b = (_a = this._verifiedCredential) === null || _a === void 0 ? void 0 : _a.walletProperties) === null || _b === void 0 ? void 0 : _b.turnkeySubOrganizationId);
219
- logger.setMetaData('walletId', (_c = this._verifiedCredential) === null || _c === void 0 ? void 0 : _c.id);
218
+ logger.metaData.set('turnkeySubOrganizationId', (_b = (_a = this._verifiedCredential) === null || _a === void 0 ? void 0 : _a.walletProperties) === null || _b === void 0 ? void 0 : _b.turnkeySubOrganizationId);
219
+ logger.metaData.set('walletId', (_c = this._verifiedCredential) === null || _c === void 0 ? void 0 : _c.id);
220
220
  let authMethod = 'Unknown';
221
221
  if (this.isSessionKeyCompatible()) {
222
222
  authMethod = 'SessionKeys';
@@ -227,7 +227,7 @@ class TurnkeyWalletConnectorBase extends WalletConnectorBase {
227
227
  else if (this.__authenticatorMethodHandler.recoveryType === 'email') {
228
228
  authMethod = 'EmailAuth';
229
229
  }
230
- logger.setMetaData('authMethod', authMethod);
230
+ logger.metaData.set('authMethod', authMethod);
231
231
  }
232
232
  }
233
233
  TurnkeyWalletConnectorBase.isLoadingSession = false;