# @acoustic-content-sdk/redux-feature-auth-asset

> > TODO: description

Latest version **9.0.10076** (published 2020-03-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install @acoustic-content-sdk/redux-feature-auth-asset
pnpm add @acoustic-content-sdk/redux-feature-auth-asset
yarn add @acoustic-content-sdk/redux-feature-auth-asset
bun add @acoustic-content-sdk/redux-feature-auth-asset
```

## Health

**Score 25/100 (F)** — status: abandoned.

Positive: has types; esm support; no vulnerabilities.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 9.0.10076 |
| Published | 2020-03-26 |
| First published | 2019-11-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 8 |
| Unpacked size | 154.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Carsten Leue |
| Maintainers | carstenleue, daherbst, jim.patrick, joe.john, kevintap, mburati, neelkanthpatel, orenaksakal |
| Keywords | acoustic, acoustic-content, redux, sdk |

## Links

- npm: https://www.npmjs.com/package/@acoustic-content-sdk/redux-feature-auth-asset
- npm.io page: https://npm.io/package/@acoustic-content-sdk/redux-feature-auth-asset

## Dependencies (8)

- [@acoustic-content-sdk/api](https://npm.io/package/@acoustic-content-sdk/api.md) 9.0.10076
- [@acoustic-content-sdk/utils](https://npm.io/package/@acoustic-content-sdk/utils.md) 9.0.10076
- [@acoustic-content-sdk/rest-api](https://npm.io/package/@acoustic-content-sdk/rest-api.md) 9.0.10076
- [@acoustic-content-sdk/redux-store](https://npm.io/package/@acoustic-content-sdk/redux-store.md) 9.0.10076
- [@acoustic-content-sdk/redux-utils](https://npm.io/package/@acoustic-content-sdk/redux-utils.md) 9.0.10076
- [@acoustic-content-sdk/redux-feature-load](https://npm.io/package/@acoustic-content-sdk/redux-feature-load.md) 9.0.10076
- [@acoustic-content-sdk/redux-feature-login](https://npm.io/package/@acoustic-content-sdk/redux-feature-login.md) 9.0.10076
- [@acoustic-content-sdk/redux-feature-upload](https://npm.io/package/@acoustic-content-sdk/redux-feature-upload.md) 9.0.10076

## Recent versions

- 9.0.10076 (latest) — 2020-03-26
- 9.0.29 (beta) — 2020-01-09
- 9.0.10067 — 2020-03-25
- 9.0.10040 — 2020-03-20
- 9.0.10034 — 2020-03-20
- 9.0.495 — 2020-03-09
- 9.0.493 — 2020-03-08
- 9.0.462 — 2020-03-05
- 9.0.407 — 2020-02-28
- 9.0.384 — 2020-02-25
- 9.0.361 — 2020-02-21
- 9.0.360 — 2020-02-21
- 9.0.271 — 2020-02-11
- 9.0.251 — 2020-02-07
- 9.0.242 — 2020-02-06
- … 8 more at https://npm.io/package/@acoustic-content-sdk/redux-feature-auth-asset/versions

## README

<a name="_372e7934233ed88681bd3e69df6e57ef6d9c63ed8903656c849ba9577e09a47e"></a>
# @acoustic-content-sdk/redux-utils

Implementation of utility functions that help working with redux state.

## Immutability

One of the [core principals](https://redux.js.org/introduction/three-principles) of the redux pattern is to keep all state immutable. This implies that when updating a value we need to make a copy of the affected objects. The following functions help to limit the size of these copies.

### Updater

The `createUpdater` creates an wrapper around an object. This wrapper allows to set or remove (deep) properties of the wrapped object without mutating it. The updater makes sure to only create the minimum set of shallow copies.

Example:

```typescript
const myObject={...};
const updater = createUpdater(myObject);

updater.set('elements.text.value', 'newValue');

const newObject = updater.get();
```

The updater works similar to [immer](https://www.npmjs.com/package/immer) but without the overhead.

### Invariance Checks

During development it is important to verify that objects are not getting mutated. Use the invariance checker to test this, but make sure to not include these checks in production builds for performance reasons.

Example:

```typescript
const inv = invarianceChecker(myObject);
// do some operations

// validate that myObject has not been mutated
assert(inv());
```

---
_Source: https://npm.io/package/@acoustic-content-sdk/redux-feature-auth-asset · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
