@dynamic-labs/wallet-connector-core 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/wallet-connector-core",
|
|
3
|
-
"version": "4.0.0-alpha.
|
|
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,14 +26,14 @@
|
|
|
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.534"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
|
-
"@dynamic-labs/logger": "4.0.0-alpha.
|
|
33
|
-
"@dynamic-labs/rpc-providers": "4.0.0-alpha.
|
|
34
|
-
"@dynamic-labs/types": "4.0.0-alpha.
|
|
35
|
-
"@dynamic-labs/utils": "4.0.0-alpha.
|
|
36
|
-
"@dynamic-labs/wallet-book": "4.0.0-alpha.
|
|
32
|
+
"@dynamic-labs/logger": "4.0.0-alpha.3",
|
|
33
|
+
"@dynamic-labs/rpc-providers": "4.0.0-alpha.3",
|
|
34
|
+
"@dynamic-labs/types": "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
37
|
"eventemitter3": "5.0.1"
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -130,7 +130,7 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
130
130
|
throw new Error('WalletConnectorBase was not called with super(props) and is missing wallet-book');
|
|
131
131
|
}
|
|
132
132
|
}
|
|
133
|
-
extend(extension) {
|
|
133
|
+
extend(extension, settings) {
|
|
134
134
|
if (_tslib.__classPrivateFieldGet(this, _WalletConnectorBase_registeredExtensions, "f").includes(extension.name)) {
|
|
135
135
|
throw new Error(`You can only register a single extension of: ${extension.name}`);
|
|
136
136
|
}
|
|
@@ -140,7 +140,7 @@ class WalletConnectorBase extends EventEmitter__default["default"] {
|
|
|
140
140
|
return;
|
|
141
141
|
}
|
|
142
142
|
_tslib.__classPrivateFieldGet(this, _WalletConnectorBase_registeredExtensions, "f").push(extension.name);
|
|
143
|
-
extension.extend(this);
|
|
143
|
+
extension.extend(this, settings !== null && settings !== void 0 ? settings : {});
|
|
144
144
|
}
|
|
145
145
|
/**
|
|
146
146
|
* Add the event listeners for the wallet and connect
|
|
@@ -67,7 +67,9 @@ export declare abstract class WalletConnectorBase<C extends WalletConstructor<an
|
|
|
67
67
|
constructor(props: {
|
|
68
68
|
walletBook: WalletBookSchema;
|
|
69
69
|
});
|
|
70
|
-
extend(extension: WalletConnectorExtension
|
|
70
|
+
extend(extension: WalletConnectorExtension, settings?: {
|
|
71
|
+
walletConnectDappProjectId?: string;
|
|
72
|
+
}): void;
|
|
71
73
|
didSetup: boolean;
|
|
72
74
|
/**
|
|
73
75
|
* Add the event listeners for the wallet and connect
|
|
@@ -122,7 +122,7 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
122
122
|
throw new Error('WalletConnectorBase was not called with super(props) and is missing wallet-book');
|
|
123
123
|
}
|
|
124
124
|
}
|
|
125
|
-
extend(extension) {
|
|
125
|
+
extend(extension, settings) {
|
|
126
126
|
if (__classPrivateFieldGet(this, _WalletConnectorBase_registeredExtensions, "f").includes(extension.name)) {
|
|
127
127
|
throw new Error(`You can only register a single extension of: ${extension.name}`);
|
|
128
128
|
}
|
|
@@ -132,7 +132,7 @@ class WalletConnectorBase extends EventEmitter {
|
|
|
132
132
|
return;
|
|
133
133
|
}
|
|
134
134
|
__classPrivateFieldGet(this, _WalletConnectorBase_registeredExtensions, "f").push(extension.name);
|
|
135
|
-
extension.extend(this);
|
|
135
|
+
extension.extend(this, settings !== null && settings !== void 0 ? settings : {});
|
|
136
136
|
}
|
|
137
137
|
/**
|
|
138
138
|
* Add the event listeners for the wallet and connect
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { InternalWalletConnector } from '.';
|
|
2
2
|
export interface WalletConnectorExtension {
|
|
3
|
-
extend(connector: InternalWalletConnector
|
|
3
|
+
extend(connector: InternalWalletConnector, settings?: {
|
|
4
|
+
walletConnectDappProjectId?: string;
|
|
5
|
+
}): void;
|
|
4
6
|
name: string;
|
|
5
7
|
}
|