@1sat/connect 0.0.27 → 0.0.29
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/connectWallet.d.ts.map +1 -1
- package/dist/index.js +2713 -3277
- package/dist/sigma-oauth.d.ts +1 -1
- package/dist/sigma-oauth.d.ts.map +1 -1
- package/package.json +42 -33
package/dist/sigma-oauth.d.ts
CHANGED
|
@@ -697,8 +697,8 @@ declare const baseAuthClient: {
|
|
|
697
697
|
onResponse: ((context: import("better-auth/client").ResponseContext) => Promise<Response | void | import("better-auth/client").ResponseContext> | Response | import("better-auth/client").ResponseContext | void) | undefined;
|
|
698
698
|
};
|
|
699
699
|
})[];
|
|
700
|
-
cache?: RequestCache | undefined;
|
|
701
700
|
priority?: RequestPriority | undefined;
|
|
701
|
+
cache?: RequestCache | undefined;
|
|
702
702
|
credentials?: RequestCredentials;
|
|
703
703
|
headers?: (HeadersInit & (HeadersInit | {
|
|
704
704
|
accept: "application/json" | "text/plain" | "application/octet-stream";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sigma-oauth.d.ts","sourceRoot":"","sources":["../src/sigma-oauth.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;
|
|
1
|
+
{"version":3,"file":"sigma-oauth.d.ts","sourceRoot":"","sources":["../src/sigma-oauth.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAGH,OAAO,EACN,KAAK,kBAAkB,EACvB,WAAW,EACX,MAAM,uCAAuC,CAAA;AAE9C,OAAO,KAAK,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAA;AAEhF,eAAO,MAAM,SAAS,mCAAmC,CAAA;AAEzD,MAAM,WAAW,gBAAgB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACpB;AAED,MAAM,WAAW,gBAAgB;IAChC,KAAK,EAAE,MAAM,CAAA;IACb,MAAM,EAAE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AK,EAAE,MAAM,GAAG,IAAI,CAEpD;AAED;;;;GAIG;AACH,wBAAsB,kBAAkB,CACvC,KAAK,EAAE,MAAM,GACX,OAAO,CAAC,mBAAmB,CAAC,CAgB9B"}
|
package/package.json
CHANGED
|
@@ -1,34 +1,43 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
2
|
+
"name": "@1sat/connect",
|
|
3
|
+
"version": "0.0.29",
|
|
4
|
+
"description": "Connection layer for 1Sat wallet - popup flow, events, session management",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.js",
|
|
7
|
+
"types": "./dist/index.d.ts",
|
|
8
|
+
"exports": {
|
|
9
|
+
".": {
|
|
10
|
+
"types": "./dist/index.d.ts",
|
|
11
|
+
"import": "./dist/index.js"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"files": [
|
|
15
|
+
"dist"
|
|
16
|
+
],
|
|
17
|
+
"scripts": {
|
|
18
|
+
"build": "bun build ./src/index.ts --outdir ./dist --target browser && tsc --emitDeclarationOnly",
|
|
19
|
+
"dev": "tsc --watch"
|
|
20
|
+
},
|
|
21
|
+
"keywords": [
|
|
22
|
+
"1sat",
|
|
23
|
+
"bsv",
|
|
24
|
+
"ordinals",
|
|
25
|
+
"wallet",
|
|
26
|
+
"sdk",
|
|
27
|
+
"connect"
|
|
28
|
+
],
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"dependencies": {
|
|
31
|
+
"@1sat/wallet": "0.0.40",
|
|
32
|
+
"@sigma-auth/better-auth-plugin": "^0.0.84",
|
|
33
|
+
"better-auth": "^1.5.4",
|
|
34
|
+
"eventemitter3": "^5.0.1"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@bsv/sdk": "^2.0.6"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@bsv/sdk": "^2.0.6",
|
|
41
|
+
"typescript": "^5.9.3"
|
|
42
|
+
}
|
|
43
|
+
}
|