@dynamic-labs/solana 0.18.19 → 0.18.21
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 +15 -0
- package/package.json +6 -6
- package/src/injected/BackpackSol.cjs +1 -1
- package/src/injected/BackpackSol.js +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
|
|
2
|
+
### [0.18.21](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.20...v0.18.21) (2023-09-28)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
|
|
7
|
+
* better handling for starknet account changed event ([#3441](https://github.com/dynamic-labs/DynamicAuth/issues/3441)) ([#3452](https://github.com/dynamic-labs/DynamicAuth/issues/3452)) ([6b814ea](https://github.com/dynamic-labs/DynamicAuth/commit/6b814eaf0b4a5429a7b0e1c30ff4e5c209f185cd))
|
|
8
|
+
* wait for networks to fetch wallets ([#3425](https://github.com/dynamic-labs/DynamicAuth/issues/3425)) ([b760042](https://github.com/dynamic-labs/DynamicAuth/commit/b76004273b0c62d001e85da8f1dc0ee7a94b0437))
|
|
9
|
+
|
|
10
|
+
### [0.18.20](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.19...v0.18.20) (2023-09-25)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* signing messages with backpack ([#3399](https://github.com/dynamic-labs/DynamicAuth/issues/3399)) ([d56fb4d](https://github.com/dynamic-labs/DynamicAuth/commit/d56fb4d3f0eacec5ee9c1090da90946beb6874e1))
|
|
16
|
+
|
|
2
17
|
### [0.18.19](https://github.com/dynamic-labs/DynamicAuth/compare/v0.18.18...v0.18.19) (2023-09-22)
|
|
3
18
|
|
|
4
19
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/solana",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.21",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -27,11 +27,11 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@solana/web3.js": "1.70.1",
|
|
30
|
-
"@dynamic-labs/rpc-providers": "0.18.
|
|
31
|
-
"@dynamic-labs/types": "0.18.
|
|
32
|
-
"@dynamic-labs/utils": "0.18.
|
|
33
|
-
"@dynamic-labs/wallet-book": "0.18.
|
|
34
|
-
"@dynamic-labs/wallet-connector-core": "0.18.
|
|
30
|
+
"@dynamic-labs/rpc-providers": "0.18.21",
|
|
31
|
+
"@dynamic-labs/types": "0.18.21",
|
|
32
|
+
"@dynamic-labs/utils": "0.18.21",
|
|
33
|
+
"@dynamic-labs/wallet-book": "0.18.21",
|
|
34
|
+
"@dynamic-labs/wallet-connector-core": "0.18.21"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {}
|
|
37
37
|
}
|
|
@@ -39,7 +39,7 @@ class BackpackSol extends InjectedWalletBase.InjectedWalletBase {
|
|
|
39
39
|
if (!provider) {
|
|
40
40
|
return undefined;
|
|
41
41
|
}
|
|
42
|
-
const signedMessage = (yield provider.signMessage(Buffer.from(messageToSign, 'utf8')
|
|
42
|
+
const signedMessage = (yield provider.signMessage(Buffer.from(messageToSign, 'utf8')));
|
|
43
43
|
return utils.bufferToBase64(signedMessage);
|
|
44
44
|
});
|
|
45
45
|
}
|
|
@@ -35,7 +35,7 @@ class BackpackSol extends InjectedWalletBase {
|
|
|
35
35
|
if (!provider) {
|
|
36
36
|
return undefined;
|
|
37
37
|
}
|
|
38
|
-
const signedMessage = (yield provider.signMessage(Buffer.from(messageToSign, 'utf8')
|
|
38
|
+
const signedMessage = (yield provider.signMessage(Buffer.from(messageToSign, 'utf8')));
|
|
39
39
|
return bufferToBase64(signedMessage);
|
|
40
40
|
});
|
|
41
41
|
}
|