@spoosh/plugin-optimistic 0.4.0 → 0.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,8 +1,5 @@
1
- import { FindMatchingKey, HasParams, ExtractParamNames, ExtractData, SpooshPlugin } from '@spoosh/core';
1
+ import { FindMatchingKey, HasParams, ExtractParamNames, Simplify, ExtractData, SpooshPlugin } from '@spoosh/core';
2
2
 
3
- type Simplify<T> = {
4
- [K in keyof T]: T[K];
5
- } & {};
6
3
  /**
7
4
  * Check if query exists in the method config.
8
5
  */
package/dist/index.d.ts CHANGED
@@ -1,8 +1,5 @@
1
- import { FindMatchingKey, HasParams, ExtractParamNames, ExtractData, SpooshPlugin } from '@spoosh/core';
1
+ import { FindMatchingKey, HasParams, ExtractParamNames, Simplify, ExtractData, SpooshPlugin } from '@spoosh/core';
2
2
 
3
- type Simplify<T> = {
4
- [K in keyof T]: T[K];
5
- } & {};
6
3
  /**
7
4
  * Check if query exists in the method config.
8
5
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spoosh/plugin-optimistic",
3
- "version": "0.4.0",
3
+ "version": "0.4.1",
4
4
  "description": "Optimistic updates plugin for Spoosh - instant UI updates with automatic rollback",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,13 +33,13 @@
33
33
  }
34
34
  },
35
35
  "peerDependencies": {
36
- "@spoosh/core": ">=0.6.0",
36
+ "@spoosh/core": ">=0.9.0",
37
37
  "@spoosh/plugin-invalidation": ">=0.4.0"
38
38
  },
39
39
  "devDependencies": {
40
- "@spoosh/core": "0.6.0",
41
- "@spoosh/plugin-invalidation": "0.4.0",
42
- "@spoosh/test-utils": "0.1.5"
40
+ "@spoosh/core": "0.9.0",
41
+ "@spoosh/test-utils": "0.1.5",
42
+ "@spoosh/plugin-invalidation": "0.5.0"
43
43
  },
44
44
  "scripts": {
45
45
  "dev": "tsup --watch",