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

@ngneat/elf-devtools

Package Overview
Dependencies
Maintainers
3
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ngneat/elf-devtools - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

9

CHANGELOG.md

@@ -5,2 +5,11 @@ # Changelog

# [1.2.0](https://github.com/ngneat/elf/compare/devtools-1.1.0...devtools-1.2.0) (2021-12-19)
### Features
* **devtools:** expose send function ([#95](https://github.com/ngneat/elf/issues/95)) ([5c56a21](https://github.com/ngneat/elf/commit/5c56a213cf94fab755042bfec923054bd8053981))
# [1.1.0](https://github.com/ngneat/elf/compare/devtools-1.0.2...devtools-1.1.0) (2021-12-01)

@@ -7,0 +16,0 @@

11

devtools.esm.js

@@ -0,4 +1,9 @@

import { getRegistry, registry$, capitalize, getStoresSnapshot, getStore } from '@ngneat/elf';
import { Subject } from 'rxjs';
import { skip } from 'rxjs/operators';
import { getRegistry, registry$, capitalize, getStoresSnapshot, getStore } from '@ngneat/elf';
const externalEvents$ = new Subject();
function send(action) {
externalEvents$.next(action);
}
function devTools(options = {}) {

@@ -16,2 +21,4 @@ if (!window.__REDUX_DEVTOOLS_EXTENSION__) return;

subscriptions.set('externalSend', externalEvents$.subscribe(send));
const addStore = store => {

@@ -101,2 +108,2 @@ const name = store.name;

export { devTools };
export { devTools, send };

15

devtools.umd.js
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('rxjs/operators'), require('@ngneat/elf')) :
typeof define === 'function' && define.amd ? define(['exports', 'rxjs/operators', '@ngneat/elf'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Devtools = {}, global.Rx, global.elf));
})(this, (function (exports, operators, elf) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@ngneat/elf'), require('rxjs'), require('rxjs/operators')) :
typeof define === 'function' && define.amd ? define(['exports', '@ngneat/elf', 'rxjs', 'rxjs/operators'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.Devtools = {}, global.elf, global.Rx, global.Rx));
})(this, (function (exports, elf, rxjs, operators) { 'use strict';
var externalEvents$ = new rxjs.Subject();
function send(action) {
externalEvents$.next(action);
}
function devTools(options) {

@@ -23,2 +27,4 @@ if (options === void 0) {

subscriptions.set('externalSend', externalEvents$.subscribe(send));
var addStore = function addStore(store) {

@@ -121,2 +127,3 @@ var name = store.name;

exports.devTools = devTools;
exports.send = send;

@@ -123,0 +130,0 @@ Object.defineProperty(exports, '__esModule', { value: true });

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

export { devTools } from './lib/devtools';
export { devTools, send } from './lib/devtools';

@@ -33,2 +33,3 @@ import { Observable } from 'rxjs';

}
export declare function send(action: Action): void;
export declare function devTools(options?: DevtoolsOptions): {

@@ -35,0 +36,0 @@ unsubscribe(): void;

{
"name": "@ngneat/elf-devtools",
"version": "1.1.0",
"version": "1.2.0",
"description": "Redux devtools for elf store",

@@ -5,0 +5,0 @@ "publishConfig": {

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