sats-connect 2.7.0 → 2.8.0-4fbab9f
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 +2 -0
- package/dist/index.mjs +8 -8
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|

|
|
2
2
|
|
|
3
|
+
**[API Docs](https://docs.xverse.app/sats-connect) • [Example App](https://sats-connect.netlify.app/) • [Discord](https://discord.gg/tN84HhSDrz) • [Xverse](https://www.xverse.app/)**
|
|
4
|
+
|
|
3
5
|
Sats connect is a simple javascript library that connects apps to Bitcoin wallets like Xverse to retrieve user wallet addresses and sign transactions (PSBTs).
|
|
4
6
|
|
|
5
7
|
Developers building apps on the Bitcoin ecosystem can use Sats connect to interact with users' wallets:
|
package/dist/index.mjs
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
2
|
import {
|
|
3
|
+
BaseAdapter,
|
|
4
|
+
RpcErrorCode,
|
|
3
5
|
defaultAdapters,
|
|
4
|
-
getSupportedWallets,
|
|
5
|
-
setDefaultProvider,
|
|
6
6
|
getDefaultProvider,
|
|
7
|
+
getSupportedWallets,
|
|
7
8
|
removeDefaultProvider,
|
|
8
|
-
|
|
9
|
-
BaseAdapter
|
|
9
|
+
setDefaultProvider
|
|
10
10
|
} from "@sats-connect/core";
|
|
11
|
+
import { makeDefaultConfig } from "@sats-connect/make-default-provider-config";
|
|
11
12
|
import {
|
|
13
|
+
close,
|
|
12
14
|
loadSelector,
|
|
13
15
|
selectWalletProvider,
|
|
14
|
-
|
|
15
|
-
walletOpen
|
|
16
|
-
walletClose
|
|
16
|
+
walletClose,
|
|
17
|
+
walletOpen
|
|
17
18
|
} from "@sats-connect/ui";
|
|
18
|
-
import { makeDefaultConfig } from "@sats-connect/make-default-provider-config";
|
|
19
19
|
export * from "@sats-connect/core";
|
|
20
20
|
var Wallet = class {
|
|
21
21
|
providerId;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sats-connect",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.8.0-4fbab9f",
|
|
4
4
|
"main": "dist/index.mjs",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
]
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@sats-connect/core": "0.2.
|
|
27
|
+
"@sats-connect/core": "0.2.2",
|
|
28
28
|
"@sats-connect/make-default-provider-config": "0.0.5",
|
|
29
29
|
"@sats-connect/ui": "0.0.6"
|
|
30
30
|
},
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"husky": "8.0.3",
|
|
33
33
|
"lint-staged": "13.2.3",
|
|
34
34
|
"prettier": "2.8.4",
|
|
35
|
+
"prettier-plugin-organize-imports": "^4.0.0",
|
|
35
36
|
"rimraf": "3.0.2",
|
|
36
37
|
"ts-jest": "29.0.5",
|
|
37
38
|
"tsup": "8.0.2",
|