applesauce-wallet-connect 0.0.0-next-20250916120818 → 3.1.0
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/package.json +4 -4
- package/dist/types.d.ts +0 -11
- package/dist/types.js +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "applesauce-wallet-connect",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.1.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"applesauce-core": "
|
|
62
|
-
"applesauce-factory": "
|
|
61
|
+
"applesauce-core": "^3.1.0",
|
|
62
|
+
"applesauce-factory": "^3.1.0",
|
|
63
63
|
"nostr-tools": "~2.15",
|
|
64
64
|
"@noble/hashes": "^1.7.1",
|
|
65
65
|
"rxjs": "^7.8.1"
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@hirez_io/observer-spy": "^2.2.0",
|
|
69
69
|
"@types/debug": "^4.1.12",
|
|
70
70
|
"typescript": "^5.8.3",
|
|
71
|
-
"vitest": "^3.2.
|
|
71
|
+
"vitest": "^3.2.3"
|
|
72
72
|
},
|
|
73
73
|
"funding": {
|
|
74
74
|
"type": "lightning",
|
package/dist/types.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { Filter, NostrEvent } from "nostr-tools";
|
|
2
|
-
import { Observable } from "rxjs";
|
|
3
|
-
/** A method used to subscribe to events on a set of relays */
|
|
4
|
-
export type NostrSubscriptionMethod = (relays: string[], filters: Filter[]) => Observable<NostrEvent | string>;
|
|
5
|
-
/** A method used for publishing an event, can return a Promise that completes when published or an Observable that completes when published*/
|
|
6
|
-
export type NostrPublishMethod = (relays: string[], event: NostrEvent) => Promise<any> | Observable<any>;
|
|
7
|
-
/** A simple pool type that combines the subscription and publish methods */
|
|
8
|
-
export type NostrPool = {
|
|
9
|
-
subscription: NostrSubscriptionMethod;
|
|
10
|
-
publish: NostrPublishMethod;
|
|
11
|
-
};
|
package/dist/types.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|