demplate-addons
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -7,4 +7,3 @@ import {Middleware} from '@/utils/zustand'; | ||
get, | ||
store, | ||
$$storeMutations | ||
store | ||
) => config(args => { | ||
@@ -25,2 +24,2 @@ const { | ||
}, get, store, $$storeMutations); | ||
}, get, store); |
@@ -1,4 +0,5 @@ | ||
import {applyMiddleware, StoreInterface} from '@/utils/zustand'; | ||
import {applyMiddleware} from '@/utils/zustand'; | ||
import {Map} from 'maplibre-gl'; | ||
import {mapMiddleware} from '@/middleware/map'; | ||
import {StateCreator} from 'zustand'; | ||
@@ -10,3 +11,3 @@ export interface MapStore { | ||
const store: StoreInterface<MapStore> = (set, get) => ({ | ||
const store: StateCreator<MapStore> = (set, get) => ({ | ||
setMap: (map?: Map) => set(state => ({map})), | ||
@@ -13,0 +14,0 @@ }); |
{ | ||
"name": "demplate-addons", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"author": { | ||
@@ -5,0 +5,0 @@ "email": "efim@dezh.in", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
952129