applesauce-core 0.0.0-next-20250610194602 → 0.0.0-next-20250616165757

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.
@@ -6,4 +6,4 @@ export declare function getArticleImage(article: NostrEvent): string | undefined
6
6
  /** Returns an articles summary, if it exists */
7
7
  export declare function getArticleSummary(article: NostrEvent): string | undefined;
8
8
  /** Returns an articles published date, if it exists */
9
- export declare function getArticlePublishd(article: NostrEvent): number;
9
+ export declare function getArticlePublished(article: NostrEvent): number;
@@ -12,7 +12,7 @@ export function getArticleSummary(article) {
12
12
  return getTagValue(article, "summary");
13
13
  }
14
14
  /** Returns an articles published date, if it exists */
15
- export function getArticlePublishd(article) {
15
+ export function getArticlePublished(article) {
16
16
  const ts = getTagValue(article, "published_at");
17
17
  if (ts && !Number.isNaN(parseInt(ts)))
18
18
  return parseInt(ts);
@@ -1,5 +1,5 @@
1
1
  import { defer, distinctUntilChanged, EMPTY, endWith, filter, finalize, from, map, merge, mergeWith, of, repeat, scan, takeUntil, tap, } from "rxjs";
2
- import { createReplaceableAddress, getEventUID, getReplaceableIdentifier, isReplaceable, matchFilters } from "../helpers/index.js";
2
+ import { createReplaceableAddress, getEventUID, getReplaceableIdentifier, isReplaceable, matchFilters, } from "../helpers/index.js";
3
3
  import { claimEvents } from "../observable/claim-events.js";
4
4
  import { claimLatest } from "../observable/claim-latest.js";
5
5
  import { insertEventIntoDescendingList } from "nostr-tools/utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "applesauce-core",
3
- "version": "0.0.0-next-20250610194602",
3
+ "version": "0.0.0-next-20250616165757",
4
4
  "description": "",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",