@cocreate/crud-client
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -0,1 +1,8 @@ | ||
## [1.0.1](https://github.com/CoCreate-app/CoCreate-crud-client/compare/v1.0.0...v1.0.1) (2021-04-07) | ||
### Bug Fixes | ||
* resolved bugs related to compiler. Currently in a good working state ([44b5d68](https://github.com/CoCreate-app/CoCreate-crud-client/commit/44b5d682eeaf3db6a9677613f5e4cb22b8928446)) | ||
# 1.0.0 (2021-04-03) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "@cocreate/crud-client", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "A simple test component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -17,3 +17,7 @@ // import {getCommonParams, getCommonParamsExtend, generateSocketClient} from "@cocreate/socket-client/src/common-fun.js" | ||
const utils = require("./utils.crud.js") | ||
module.exports = factory(wnd, commonFunc, utils); | ||
if (window) { | ||
module.exports = factory(window, commonFunc, utils); | ||
} else { | ||
module.exports = factory(wnd, commonFunc, utils); | ||
} | ||
} else { | ||
@@ -20,0 +24,0 @@ root.returnExports = factory(window, root["@cocreate/socket-client/src/common-fun.js"], root["./utils.crud.js"]); |
@@ -13,3 +13,7 @@ (function (root, factory) { | ||
const CoCreateSocket = require("@cocreate/socket-client") | ||
module.exports = factory(false, CoCreateSocket, CoCreateCRUD); | ||
let isBrowser = false; | ||
if (window && window.config) { | ||
isBrowser = true; | ||
} | ||
module.exports = factory(isBrowser, CoCreateSocket, CoCreateCRUD); | ||
} else { | ||
@@ -16,0 +20,0 @@ root.returnExports = factory(true, root["@cocreate/socket-client"], root["@cocreate/crud-client/src/crud.js"]); |
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
56297
20
1171