@factor/app
Advanced tools
Comparing version 1.6.1 to 1.6.3
@@ -9,3 +9,3 @@ import "@factor/app" | ||
import { emitEvent } from "@factor/api/events" | ||
import { getStore } from "@factor/app/store" | ||
import { createStore } from "@factor/app/store" | ||
import { runCallbacks } from "@factor/api/hooks" | ||
@@ -29,3 +29,3 @@ import { setting } from "@factor/api/settings" | ||
const store = getStore() | ||
const store = createStore() | ||
const router = createRouter() | ||
@@ -32,0 +32,0 @@ |
@@ -12,3 +12,3 @@ /* eslint-disable import/no-unresolved */ | ||
icon: (): string => require("__FIND__/static/icon.svg"), | ||
blankUser: "https://fiction-com.s3-us-west-1.amazonaws.com/user-blank.png", | ||
blankUser: "https://fiction-com.s3-us-west-1.amazonaws.com/user-blank-2.png", | ||
templatePath: "__FIND__/index.html", | ||
@@ -15,0 +15,0 @@ faviconPath: "__FIND__/static/favicon.png", |
{ | ||
"name": "@factor/app", | ||
"version": "1.6.1", | ||
"version": "1.6.3", | ||
"license": "GPL-2.0", | ||
@@ -15,3 +15,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "414b1b90fb9b35b3b25039bd17d7983782bc3abb" | ||
"gitHead": "0bd0a815aba84ec7976de3ab9c6cd8f6e97ce6cb" | ||
} |
@@ -15,3 +15,3 @@ import Vuex from "vuex" | ||
export const getStore = (): Store<object> => { | ||
export const createStore = (): Store<object> => { | ||
__store = new Vuex.Store({ | ||
@@ -43,2 +43,6 @@ strict: false, | ||
export const getStore = (): Store<object> | undefined => { | ||
return __store | ||
} | ||
export const storeItem = (item: string, value: any): void => { | ||
@@ -45,0 +49,0 @@ if (!__store) { |
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
63882
804