Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

hoodie-plugin-store-crypto

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hoodie-plugin-store-crypto - npm Package Compare versions

Comparing version 4.2.0 to 4.2.1

61

index.d.ts

@@ -57,2 +57,9 @@ /// <reference types="pouchdb-core" />

export declare type AddEvent = "add";
export declare type UpdateEvent = "update";
export declare type RemoteEvent = "remove";
export declare type Events = AddEvent | UpdateEvent | RemoteEvent;
export declare type ChangeEvent = "change";
export declare type AllEvents = ChangeEvent | Events;
export interface PasswordChangeResult {

@@ -243,3 +250,3 @@ /** New Salt */

on<T extends BaseType>(
eventName: "add",
eventName: AddEvent,
handler: (doc: T & HoodieDoc) => void

@@ -254,3 +261,3 @@ ): this;

on<T extends BaseType>(
eventName: "update",
eventName: UpdateEvent,
handler: (doc: T & HoodieDoc) => void

@@ -265,3 +272,3 @@ ): this;

on<T extends BaseType>(
eventName: "remove",
eventName: RemoteEvent,
handler: (doc: T & DeletedHoodieDoc) => void

@@ -276,7 +283,4 @@ ): this;

on<T extends BaseType>(
eventName: "change",
handler: (
eventName: "add" | "update" | "remove",
doc: T & HoodieDoc
) => void
eventName: ChangeEvent,
handler: (eventName: Events, doc: T & HoodieDoc) => void
): this;

@@ -290,3 +294,3 @@ /**

on<T extends BaseType>(
eventName: "add",
eventName: AddEvent,
handler: (doc: T & HoodieDoc) => void

@@ -301,3 +305,3 @@ ): this;

on<T extends BaseType>(
eventName: "update",
eventName: UpdateEvent,
handler: (doc: T & HoodieDoc) => void

@@ -312,3 +316,3 @@ ): this;

on<T extends BaseType>(
eventName: "remove",
eventName: RemoteEvent,
handler: (doc: T & DeletedHoodieDoc) => void

@@ -323,7 +327,4 @@ ): this;

on<T extends BaseType>(
eventName: "change",
handler: (
eventName: "add" | "update" | "remove",
doc: T & HoodieDoc
) => void
eventName: ChangeEvent,
handler: (eventName: Events, doc: T & HoodieDoc) => void
): this;

@@ -337,3 +338,3 @@

off<T extends BaseType>(
eventName: "add",
eventName: AddEvent,
handler: (doc: T & HoodieDoc) => void

@@ -347,3 +348,3 @@ ): this;

off<T extends BaseType>(
eventName: "update",
eventName: UpdateEvent,
handler: (doc: T & HoodieDoc) => void

@@ -357,3 +358,3 @@ ): this;

off<T extends BaseType>(
eventName: "remove",
eventName: RemoteEvent,
handler: (doc: T & DeletedHoodieDoc) => void

@@ -367,7 +368,4 @@ ): this;

off<T extends BaseType>(
eventName: "change",
handler: (
eventName: "add" | "update" | "remove",
doc: T & HoodieDoc
) => void
eventName: ChangeEvent,
handler: (eventName: Events, doc: T & HoodieDoc) => void
): this;

@@ -384,3 +382,3 @@

one<T extends BaseType>(
eventName: "add",
eventName: AddEvent,
handler: (doc: T & HoodieDoc) => void

@@ -397,3 +395,3 @@ ): this;

one<T extends BaseType>(
eventName: "update",
eventName: UpdateEvent,
handler: (doc: T & HoodieDoc) => void

@@ -410,3 +408,3 @@ ): this;

one<T extends BaseType>(
eventName: "remove",
eventName: RemoteEvent,
handler: (doc: T & DeletedHoodieDoc) => void

@@ -423,7 +421,4 @@ ): this;

one<T extends BaseType>(
eventName: "change",
handler: (
eventName: "add" | "update" | "remove",
doc: T & HoodieDoc
) => void
eventName: ChangeEvent,
handler: (eventName: Events, doc: T & HoodieDoc) => void
): this;

@@ -568,4 +563,4 @@

const CryptoStoreConstructor: CryptoStoreConstructor;
declare const CryptoStoreConstructor: CryptoStoreConstructor;
export default CryptoStoreConstructor;
{
"name": "hoodie-plugin-store-crypto",
"version": "4.2.0",
"version": "4.2.1",
"description": "End-to-end crypto plugin for the Hoodie client store.",

@@ -5,0 +5,0 @@ "main": "index.js",

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