@startupjs/backend
Advanced tools
Comparing version 0.23.11 to 0.23.21
@@ -84,2 +84,8 @@ const isPlainObject = require('lodash/isPlainObject') | ||
// Monkey patch racer's model creation | ||
const oldCreateModel = backend.createModel | ||
backend.createModel = function (options = {}, req) { | ||
return oldCreateModel.call(backend, { fetchOnly: true, ...options }, req) | ||
} | ||
shareDbHooks(backend) | ||
@@ -86,0 +92,0 @@ |
{ | ||
"name": "@startupjs/backend", | ||
"version": "0.23.11", | ||
"version": "0.23.21", | ||
"description": "Create new ShareDB backend instance", | ||
@@ -29,3 +29,3 @@ "main": "index.js", | ||
}, | ||
"gitHead": "4e4826fd9a933638c73215d9a4f8acade1f5d163" | ||
"gitHead": "2f61c976c6774c9858806e6273904b28196df4ad" | ||
} |
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
5856
140