Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "toast-me", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Creates toast messages", | ||
"main": "src/index.js", | ||
"main": "lib/toast-me.js", | ||
"scripts": { | ||
@@ -7,0 +7,0 @@ "build": "webpack --env dev && webpack --env build && npm run test", |
// @flow | ||
import ToastMe from './toastMe'; | ||
import getOptions from './optionsLib'; | ||
import ToastOptions from './optionsLib'; | ||
import type { ToastActionType, ToastOptionsType } from './types'; | ||
// export { | ||
// getOptions, | ||
// }; | ||
export { | ||
ToastOptions, | ||
}; | ||
@@ -11,0 +11,0 @@ export default function ( |
@@ -23,2 +23,2 @@ // @flow | ||
export default () => ToastOptions; | ||
export default ToastOptions; |
// @flow | ||
import getOptions from './optionsLib'; | ||
import ToastOptions from './optionsLib'; | ||
import { | ||
@@ -26,3 +26,3 @@ setClass, | ||
const options = typeof receivedOptions === 'string' | ||
? getOptions()[receivedOptions] | ||
? ToastOptions()[receivedOptions] | ||
: receivedOptions; | ||
@@ -29,0 +29,0 @@ |
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
426738