New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

applesauce-accounts

Package Overview
Dependencies
Maintainers
0
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applesauce-accounts - npm Package Compare versions

Comparing version 0.0.0-next-20250128190416 to 0.0.0-next-20250128204825

2

dist/manager.d.ts

@@ -41,3 +41,3 @@ import { Nip07Interface } from "applesauce-signers";

/** Returns an array of serialized accounts */
toJSON(): SerializedAccount<any, Metadata>[];
toJSON(quite?: boolean): SerializedAccount<any, Metadata>[];
/**

@@ -44,0 +44,0 @@ * Restores all accounts from an array of serialized accounts

@@ -111,4 +111,14 @@ import { BehaviorSubject } from "rxjs";

/** Returns an array of serialized accounts */
toJSON() {
return Array.from(this.accounts$.value).map((account) => account.toJSON());
toJSON(quite = false) {
const accounts = [];
for (const account of this.accounts) {
try {
accounts.push(account.toJSON());
}
catch (error) {
if (!quite)
throw error;
}
}
return accounts;
}

@@ -115,0 +125,0 @@ /**

{
"name": "applesauce-accounts",
"version": "0.0.0-next-20250128190416",
"version": "0.0.0-next-20250128204825",
"description": "A simple nostr account management system",

@@ -36,3 +36,3 @@ "type": "module",

"@noble/hashes": "^1.5.0",
"applesauce-signers": "0.0.0-next-20250128190416",
"applesauce-signers": "0.0.0-next-20250128204825",
"nanoid": "^5.0.9",

@@ -39,0 +39,0 @@ "nostr-tools": "^2.10.3",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc