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

everstorage

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

everstorage - npm Package Compare versions

Comparing version 0.9.4 to 1.0.0

10

dist/typings/src/classes/BrowserHistoryStorage/AbstractBrowserHistoryStorage.d.ts

@@ -1,2 +0,2 @@

import { Observable } from 'rxjs';
import { BehaviorSubject } from 'rxjs';
import { IDestroyable } from '../../interfaces/IDestroyable';

@@ -14,6 +14,4 @@ import { IObservableStorage } from '../../interfaces/IObservableStorage';

destroyed: boolean;
values: Observable<TValue>;
private lastValue;
private valuesToSaveObserver?;
private valuesObserver?;
values: BehaviorSubject<TValue>;
private valuesToSave;
private options;

@@ -25,3 +23,3 @@ private uniqueIdentifier;

get value(): TValue;
pushValue(partialValue: Partial<TValue>): Promise<void>;
set value(partialValue: TValue);
destroy(): void;

@@ -28,0 +26,0 @@ createLink(value: TValue, baseUrl?: URL | string): URL;

11

dist/typings/src/interfaces/IObservableStorage.d.ts

@@ -1,2 +0,2 @@

import { Observable } from 'rxjs';
import { BehaviorSubject } from 'rxjs';
import { IDestroyable } from './IDestroyable';

@@ -6,5 +6,10 @@ import { ISerializable } from './ISerializable';

export interface IObservableStorage<TValue extends ISerializable> extends IDestroyable {
/**
* Just a shorthand to get/set last/next value in values
*/
value: TValue;
values: Observable<TValue>;
pushValue(value: TValue): void;
/**
* Set values through value not value.next() (TODO: Maybe change?)
*/
values: Omit<BehaviorSubject<TValue>, 'next'>;
}
{
"name": "everstorage",
"version": "0.9.4",
"version": "1.0.0",
"author": "Pavol Hejný <me@pavolhejny.com> (https://pavolhejny.com)",

@@ -5,0 +5,0 @@ "description": "A vector manipulation class",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

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