applesauce-wallet 6.0.0 → 6.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.
@@ -11,7 +11,7 @@ export declare class Nutzap extends EventCast<NutzapEvent> {
11
11
  get sender(): import("applesauce-core/casts").User;
12
12
  get comment(): string | undefined;
13
13
  /** The pointer to the event that was zapped */
14
- get pointer(): import("nostr-tools/nip19").EventPointer | import("nostr-tools/nip19").AddressPointer | undefined;
14
+ get zapPointer(): import("nostr-tools/nip19").EventPointer | import("nostr-tools/nip19").AddressPointer | undefined;
15
15
  /** The event that was zapped */
16
16
  get zapped$(): import("applesauce-core").ChainableObservable<NostrEvent | undefined>;
17
17
  }
@@ -28,11 +28,11 @@ export class Nutzap extends EventCast {
28
28
  return getNutzapComment(this.event);
29
29
  }
30
30
  /** The pointer to the event that was zapped */
31
- get pointer() {
31
+ get zapPointer() {
32
32
  return getNutzapAddressPointer(this.event) ?? getNutzapEventPointer(this.event);
33
33
  }
34
34
  /** The event that was zapped */
35
35
  get zapped$() {
36
- return this.$$ref("zapped$", (store) => (this.pointer ? store.event(this.pointer) : of(undefined)));
36
+ return this.$$ref("zapped$", (store) => (this.zapPointer ? store.event(this.zapPointer) : of(undefined)));
37
37
  }
38
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applesauce-wallet",
3
- "version": "6.0.0",
3
+ "version": "6.1.0",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -84,9 +84,9 @@
84
84
  "dependencies": {
85
85
  "@cashu/cashu-ts": "^3.1.1",
86
86
  "@gandlaf21/bc-ur": "^1.1.12",
87
- "applesauce-actions": "^6.0.0",
88
- "applesauce-common": "^6.0.0",
89
- "applesauce-core": "^6.0.0",
87
+ "applesauce-actions": "^6.1.0",
88
+ "applesauce-common": "^6.1.0",
89
+ "applesauce-core": "^6.1.0",
90
90
  "rxjs": "^7.8.1"
91
91
  },
92
92
  "devDependencies": {