@solana/compat 2.0.0-experimental.c42ccfd → 2.0.0-experimental.c588817
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/README.md +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -32,7 +32,7 @@ const address = fromLegacyPublicKey(new PublicKey('49XBVQsvSW44ULKL9qufS9YqQPbdc
|
|
|
32
32
|
This can be used to convert a legacy `Keypair` object to a native Ed25519 `CryptoKeyPair` object
|
|
33
33
|
|
|
34
34
|
```ts
|
|
35
|
-
import {
|
|
35
|
+
import { fromLegacyKeypair } from '@solana/compat';
|
|
36
36
|
const { privateKey, publicKey } = await fromLegacyKeypair(Keypair.generate());
|
|
37
37
|
```
|
|
38
38
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@solana/compat",
|
|
3
|
-
"version": "2.0.0-experimental.
|
|
3
|
+
"version": "2.0.0-experimental.c588817",
|
|
4
4
|
"description": "Helpers for converting from legacy web3js classes",
|
|
5
5
|
"exports": {
|
|
6
6
|
"browser": {
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"node": ">=17.4"
|
|
50
50
|
},
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@solana/functional": "2.0.0-experimental.
|
|
53
|
-
"@solana/keys": "2.0.0-experimental.
|
|
54
|
-
"@solana/instructions": "2.0.0-experimental.
|
|
55
|
-
"@solana/transactions": "2.0.0-experimental.
|
|
52
|
+
"@solana/functional": "2.0.0-experimental.c588817",
|
|
53
|
+
"@solana/keys": "2.0.0-experimental.c588817",
|
|
54
|
+
"@solana/instructions": "2.0.0-experimental.c588817",
|
|
55
|
+
"@solana/transactions": "2.0.0-experimental.c588817"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@solana/eslint-config-solana": "^1.0.2",
|
|
@@ -72,8 +72,8 @@
|
|
|
72
72
|
"tsup": "^8.0.1",
|
|
73
73
|
"typescript": "^5.2.2",
|
|
74
74
|
"version-from-git": "^1.1.1",
|
|
75
|
-
"@solana/addresses": "2.0.0-experimental.
|
|
76
|
-
"@solana/keys": "2.0.0-experimental.
|
|
75
|
+
"@solana/addresses": "2.0.0-experimental.c588817",
|
|
76
|
+
"@solana/keys": "2.0.0-experimental.c588817",
|
|
77
77
|
"@solana/web3.js": "0.0.0-development",
|
|
78
78
|
"build-scripts": "0.0.0",
|
|
79
79
|
"test-config": "0.0.0",
|