@dynamic-labs/embedded-wallet 4.0.0-alpha.2 → 4.0.0-alpha.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/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,25 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.0.0-alpha.4](https://github.com/dynamic-labs/DynamicAuth/compare/v4.0.0-alpha.3...v4.0.0-alpha.4) (2024-09-23)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* issue where builtin stream module was a dependency ([#6968](https://github.com/dynamic-labs/DynamicAuth/issues/6968)) ([0661129](https://github.com/dynamic-labs/DynamicAuth/commit/0661129920ba70ebbcd4d17ee5aa988c51d1b477))
|
|
8
|
+
* update in memory secure storage ([#6955](https://github.com/dynamic-labs/DynamicAuth/issues/6955)) ([697fc20](https://github.com/dynamic-labs/DynamicAuth/commit/697fc20740b243fa31ecf06e8b2ed9d09932a544))
|
|
9
|
+
|
|
10
|
+
## [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)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* 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))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
### Bug Fixes
|
|
19
|
+
|
|
20
|
+
* 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))
|
|
21
|
+
* 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))
|
|
22
|
+
|
|
2
23
|
## [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
24
|
|
|
4
25
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/embedded-wallet",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
3
|
+
"version": "4.0.0-alpha.4",
|
|
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.
|
|
29
|
+
"@dynamic-labs/sdk-api-core": "0.0.535",
|
|
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.
|
|
35
|
-
"@dynamic-labs/utils": "4.0.0-alpha.
|
|
36
|
-
"@dynamic-labs/wallet-book": "4.0.0-alpha.
|
|
37
|
-
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.
|
|
38
|
-
"@dynamic-labs/webauthn": "4.0.0-alpha.
|
|
34
|
+
"@dynamic-labs/logger": "4.0.0-alpha.4",
|
|
35
|
+
"@dynamic-labs/utils": "4.0.0-alpha.4",
|
|
36
|
+
"@dynamic-labs/wallet-book": "4.0.0-alpha.4",
|
|
37
|
+
"@dynamic-labs/wallet-connector-core": "4.0.0-alpha.4",
|
|
38
|
+
"@dynamic-labs/webauthn": "4.0.0-alpha.4"
|
|
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.
|
|
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.
|
|
223
|
-
logger.logger.
|
|
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.
|
|
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.
|
|
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.
|
|
219
|
-
logger.
|
|
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.
|
|
230
|
+
logger.metaData.set('authMethod', authMethod);
|
|
231
231
|
}
|
|
232
232
|
}
|
|
233
233
|
TurnkeyWalletConnectorBase.isLoadingSession = false;
|