@walletconnect/cli-sdk 0.1.0 → 0.1.1
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/dist/cli.js +4 -2
- package/package.json +1 -1
package/dist/cli.js
CHANGED
|
@@ -551,7 +551,8 @@ async function cmdConnect(browser) {
|
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
553
|
async function cmdWhoami() {
|
|
554
|
-
const
|
|
554
|
+
const projectId = getProjectId();
|
|
555
|
+
const sdk = createSDK({ projectId });
|
|
555
556
|
try {
|
|
556
557
|
const result = await sdk.tryRestore();
|
|
557
558
|
if (!result) {
|
|
@@ -597,7 +598,8 @@ async function cmdSign(message, browser) {
|
|
|
597
598
|
}
|
|
598
599
|
}
|
|
599
600
|
async function cmdDisconnect() {
|
|
600
|
-
const
|
|
601
|
+
const projectId = getProjectId();
|
|
602
|
+
const sdk = createSDK({ projectId });
|
|
601
603
|
try {
|
|
602
604
|
const result = await sdk.tryRestore();
|
|
603
605
|
if (!result) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walletconnect/cli-sdk",
|
|
3
3
|
"description": "WalletConnect CLI SDK — wallet connection and signing for terminal applications",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.1",
|
|
5
5
|
"private": false,
|
|
6
6
|
"author": "WalletConnect, Inc. <walletconnect.com>",
|
|
7
7
|
"license": "SEE LICENSE IN LICENSE.md",
|