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

@logux/actions

Package Overview
Dependencies
Maintainers
2
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@logux/actions - npm Package Compare versions

Comparing version 0.3.0 to 0.3.1

4

define-action/index.d.ts

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

import { Action, AnyAction } from '@logux/core'
import type { Action, AnyAction } from '@logux/core'

@@ -16,4 +16,4 @@ interface Fields {

> {
match: (action: AnyAction) => action is CreatedAction
type: string
match: (action: AnyAction) => action is CreatedAction
(...args: CreatorArgs): CreatedAction

@@ -20,0 +20,0 @@ }

export {
defineSyncMapActions,
AbstractActionCreator,
ActionCreator,
defineAction
} from './define-action/index.js'
export { LoguxNotFoundError } from './logux-not-found/index.js'
export {
loguxProcessed,
LoguxProcessedAction,
loguxUndo,
LoguxUndoAction
} from './processing/index.js'
export {
loguxSubscribe,
LoguxSubscribeAction,
loguxSubscribed,
LoguxSubscribedAction,
loguxUnsubscribe,
LoguxUnsubscribeAction
} from './subscriptions/index.js'
export {
defineChangedSyncMap,
defineChangeSyncMap,
defineCreatedSyncMap,
defineChangedSyncMap,
defineCreateSyncMap,
defineDeletedSyncMap,
SyncMapCreatedAction,
defineDeleteSyncMap,
defineSyncMapActions,
SyncMapChangeAction,
SyncMapChangedAction,
SyncMapDeletedAction,
SyncMapCreateAction,
SyncMapChangeAction,
SyncMapCreatedAction,
SyncMapDeleteAction,
defineCreateSyncMap,
defineChangeSyncMap,
defineDeleteSyncMap,
SyncMapValues,
SyncMapTypes
SyncMapDeletedAction,
SyncMapTypes,
SyncMapValues
} from './sync-map/index.js'
export {
LoguxUnsubscribeAction,
LoguxSubscribedAction,
LoguxSubscribeAction,
loguxUnsubscribe,
loguxSubscribed,
loguxSubscribe
} from './subscriptions/index.js'
export {
LoguxProcessedAction,
LoguxUndoAction,
loguxProcessed,
loguxUndo
} from './processing/index.js'
export {
ZeroCleanAction,
zero,
ZeroAction,
zeroClean,
zero
ZeroCleanAction
} from './zero-knowledge/index.js'
export {
AbstractActionCreator,
ActionCreator,
defineAction
} from './define-action/index.js'
export { LoguxNotFoundError } from './logux-not-found/index.js'

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

export { defineAction } from './define-action/index.js'
export { LoguxNotFoundError } from './logux-not-found/index.js'
export { loguxProcessed, loguxUndo } from './processing/index.js'
export {
defineSyncMapActions,
loguxSubscribe,
loguxSubscribed,
loguxUnsubscribe
} from './subscriptions/index.js'
export {
defineChangedSyncMap,
defineChangeSyncMap,
defineCreatedSyncMap,
defineChangedSyncMap,
defineCreateSyncMap,
defineDeletedSyncMap,
defineCreateSyncMap,
defineChangeSyncMap,
defineDeleteSyncMap
defineDeleteSyncMap,
defineSyncMapActions
} from './sync-map/index.js'
export {
loguxUnsubscribe,
loguxSubscribed,
loguxSubscribe
} from './subscriptions/index.js'
export { loguxProcessed, loguxUndo } from './processing/index.js'
export { LoguxNotFoundError } from './logux-not-found/index.js'
export { zero, zeroClean } from './zero-knowledge/index.js'
export { defineAction } from './define-action/index.js'
{
"name": "@logux/actions",
"version": "0.3.0",
"version": "0.3.1",
"description": "Types and action creators for build-in Logux actions",

@@ -12,3 +12,3 @@ "keywords": [

"license": "MIT",
"homepage": "https://logux.io/",
"homepage": "https://logux.org/",
"repository": "logux/actions",

@@ -15,0 +15,0 @@ "sideEffects": false,

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

import { Action, AnyAction } from '@logux/core'
import type { Action, AnyAction } from '@logux/core'
import { ActionCreator } from '../define-action/index.js'
import type { ActionCreator } from '../define-action/index.js'
export interface LoguxProcessedAction {
id: string
type: 'logux/processed'
id: string
}

@@ -14,6 +14,6 @@

> {
type: 'logux/undo'
action: RevertedAction
id: string
reason: Reason
action: RevertedAction
type: 'logux/undo'
}

@@ -33,5 +33,5 @@

>(fields: {
action: RevertedAction
id: string
reason: Reason
action: RevertedAction
}): LoguxUndoAction<RevertedAction, Reason>

@@ -38,0 +38,0 @@

# Logux Actions
<img align="right" width="95" height="148" title="Logux logotype"
src="https://logux.io/branding/logotype.svg">
src="https://logux.org/branding/logotype.svg">

@@ -10,7 +10,6 @@ Logux is a new way to connect client and server. Instead of sending

* **[Guide, recipes, and API](https://logux.io/)**
* **[Chat](https://gitter.im/logux/logux)** for any questions
* **[Guide, recipes, and API](https://logux.org/)**
* **[Issues](https://github.com/logux/logux/issues)**
and **[roadmap](https://github.com/orgs/logux/projects/1)**
* **[Projects](https://logux.io/guide/architecture/parts/)**
* **[Projects](https://logux.org/guide/architecture/parts/)**
inside Logux ecosystem

@@ -26,3 +25,3 @@

[logux.io]: https://logux.io/
[logux.org]: https://logux.org/

@@ -29,0 +28,0 @@

@@ -1,9 +0,8 @@

import { ActionCreator } from '../define-action/index.js'
import type { ActionCreator } from '../define-action/index.js'
export interface LoguxSubscribeAction {
type: 'logux/subscribe'
channel: string
creating?: true
filter?: {
[key: string]: string | number | boolean
[key: string]: boolean | number | string
}

@@ -14,15 +13,16 @@ since?: {

}
type: 'logux/subscribe'
}
export interface LoguxSubscribedAction {
channel: string
type: 'logux/subscribed'
channel: string
}
export interface LoguxUnsubscribeAction {
type: 'logux/unsubscribe'
channel: string
filter?: {
[key: string]: string | number | boolean
[key: string]: boolean | number | string
}
type: 'logux/unsubscribe'
}

@@ -29,0 +29,0 @@

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

import { ActionCreator } from '../define-action/index.js'
import type { ActionCreator } from '../define-action/index.js'
export type SyncMapTypes = string | number | boolean | null | undefined
export type SyncMapTypes = boolean | null | number | string | undefined

@@ -12,5 +12,5 @@ export interface SyncMapValues {

> {
fields: Omit<Value, 'id'>
id: string
type: string
id: string
fields: Omit<Value, 'id'>
}

@@ -21,5 +21,5 @@

> {
fields: Omit<Value, 'id'>
id: string
type: string
id: string
fields: Omit<Value, 'id'>
}

@@ -30,5 +30,5 @@

> {
fields: Partial<Omit<Value, 'id'>>
id: string
type: string
id: string
fields: Partial<Omit<Value, 'id'>>
}

@@ -39,15 +39,15 @@

> {
fields: Partial<Omit<Value, 'id'>>
id: string
type: string
id: string
fields: Partial<Omit<Value, 'id'>>
}
export interface SyncMapDeleteAction {
id: string
type: string
id: string
}
export interface SyncMapDeletedAction {
id: string
type: string
id: string
}

@@ -54,0 +54,0 @@

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

import { ActionCreator } from '../define-action/index.js'
import type { ActionCreator } from '../define-action/index.js'
export interface ZeroAction {
type: '0'
d: string
iv: string
type: '0'
}
export interface ZeroCleanAction {
id: string
type: '0/clean'
id: string
}

@@ -13,0 +13,0 @@

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