@dynamic-labs/multi-wallet 0.17.30 → 0.17.32

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,18 @@
1
1
 
2
+ ### [0.17.32](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.31...v0.17.32) (2023-08-09)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * css variables are being ignored for ConnectButton component ([#2900](https://github.com/dynamic-labs/DynamicAuth/issues/2900)) ([2dc20ac](https://github.com/dynamic-labs/DynamicAuth/commit/2dc20acd3be7615913fa273f45330e28b9434d56))
8
+
9
+ ### [0.17.31](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.30...v0.17.31) (2023-08-03)
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * **wcv2:** simulate chain change event in switchNetwork ([#2828](https://github.com/dynamic-labs/DynamicAuth/issues/2828)) ([bfce880](https://github.com/dynamic-labs/DynamicAuth/commit/bfce880a7a280c5545145a41dc155e44a609cccd)), closes [#2809](https://github.com/dynamic-labs/DynamicAuth/issues/2809)
15
+
2
16
  ### [0.17.30](https://github.com/dynamic-labs/DynamicAuth/compare/v0.17.29...v0.17.30) (2023-08-01)
3
17
 
4
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/multi-wallet",
3
- "version": "0.17.30",
3
+ "version": "0.17.32",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -10,11 +10,11 @@
10
10
  "@dynamic-labs/sdk-api": "0.0.198",
11
11
  "ethers": "5.7.2",
12
12
  "tslib": "2.4.1",
13
- "@dynamic-labs/rpc-providers": "0.17.30",
14
- "@dynamic-labs/types": "0.17.30",
15
- "@dynamic-labs/utils": "0.17.30",
16
- "@dynamic-labs/wallet-book": "0.17.30",
17
- "@dynamic-labs/wallet-connector-core": "0.17.30"
13
+ "@dynamic-labs/rpc-providers": "0.17.32",
14
+ "@dynamic-labs/types": "0.17.32",
15
+ "@dynamic-labs/utils": "0.17.32",
16
+ "@dynamic-labs/wallet-book": "0.17.32",
17
+ "@dynamic-labs/wallet-connector-core": "0.17.32"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@walletconnect/types": "2.4.2"
@@ -14,4 +14,6 @@ export declare const getApiProviders: (providers: Provider[]) => {
14
14
  microsoft?: Provider | undefined;
15
15
  twitch?: Provider | undefined;
16
16
  twitter?: Provider | undefined;
17
+ blocto?: Provider | undefined;
18
+ banxa?: Provider | undefined;
17
19
  };
@@ -19,7 +19,10 @@ const generateMessageToSign = ({ blockchain, domain, chainId, nonce, uri, public
19
19
  // This is only required for Ethereum-based wallets
20
20
  const messageAddress = getEip55Address(publicKey, chainId);
21
21
  const prefix = [header, messageAddress].join('\n');
22
- const prefixWithStatement = `${[prefix, statement].join('\n\n')}\n`;
22
+ // If there is a statement, we want to add a gap between the prefix and the statement
23
+ // two times '\n', first to move statement to next line and second to add a gap between prefix and statement
24
+ const prefixWithStatementGap = statement ? '\n\n' : '\n';
25
+ const prefixWithStatement = `${[prefix, statement].join(prefixWithStatementGap)}\n`;
23
26
  const suffixFields = [];
24
27
  suffixFields.push(`URI: ${uri}`);
25
28
  suffixFields.push('Version: 1');
@@ -15,7 +15,10 @@ const generateMessageToSign = ({ blockchain, domain, chainId, nonce, uri, public
15
15
  // This is only required for Ethereum-based wallets
16
16
  const messageAddress = getEip55Address(publicKey, chainId);
17
17
  const prefix = [header, messageAddress].join('\n');
18
- const prefixWithStatement = `${[prefix, statement].join('\n\n')}\n`;
18
+ // If there is a statement, we want to add a gap between the prefix and the statement
19
+ // two times '\n', first to move statement to next line and second to add a gap between prefix and statement
20
+ const prefixWithStatementGap = statement ? '\n\n' : '\n';
21
+ const prefixWithStatement = `${[prefix, statement].join(prefixWithStatementGap)}\n`;
19
22
  const suffixFields = [];
20
23
  suffixFields.push(`URI: ${uri}`);
21
24
  suffixFields.push('Version: 1');