sats-connect 2.4.1 → 2.5.0-165fd16

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 CHANGED
@@ -62,6 +62,7 @@ For full documentation, visit [docs.xverse.app](https://docs.xverse.app/sats-con
62
62
  ```bash
63
63
  npm run build
64
64
  ```
65
+
65
66
  ### Run example app
66
67
 
67
68
  ```bash
package/dist/index.mjs CHANGED
@@ -37,6 +37,7 @@ var Wallet = class {
37
37
  this.providerId = nextProviderId;
38
38
  }
39
39
  async disconnect() {
40
+ await this.request("wallet_renouncePermissions", void 0);
40
41
  this.providerId = void 0;
41
42
  removeDefaultProvider();
42
43
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sats-connect",
3
- "version": "2.4.1",
3
+ "version": "2.5.0-165fd16",
4
4
  "main": "dist/index.mjs",
5
5
  "files": [
6
6
  "dist"
@@ -8,11 +8,12 @@
8
8
  "scripts": {
9
9
  "test": "jest",
10
10
  "build": "npm run clean && tsup src/index.ts --format esm --dts",
11
+ "build:watch": "npm run clean && tsup src/index.ts --format esm --dts --watch",
11
12
  "dev:build": "tsup src/index.ts --format esm --dts --watch",
12
- "dev:example": "cd example && npm start",
13
+ "dev:example": "cd example && npm run dev",
13
14
  "clean": "rimraf dist",
14
15
  "lint": "prettier --write .",
15
- "prepare": "husky install"
16
+ "prepare": "husky install || true"
16
17
  },
17
18
  "lint-staged": {
18
19
  "*.{ts,tsx}": [
@@ -23,7 +24,7 @@
23
24
  ]
24
25
  },
25
26
  "dependencies": {
26
- "@sats-connect/core": "0.0.11",
27
+ "@sats-connect/core": "0.0.15-be0d447",
27
28
  "@sats-connect/make-default-provider-config": "0.0.5",
28
29
  "@sats-connect/ui": "0.0.6"
29
30
  },