@514labs/moose-lib 0.6.295-ci-16-gad4ec11a → 0.6.295-ci-17-gc22400d0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browserCompatible.js.map +1 -1
- package/dist/browserCompatible.mjs.map +1 -1
- package/dist/dmv2/index.js.map +1 -1
- package/dist/dmv2/index.mjs.map +1 -1
- package/dist/index.d.mts +1 -4
- package/dist/index.d.ts +1 -4
- package/dist/index.js +2 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -6
- package/dist/index.mjs.map +1 -1
- package/dist/moose-runner.js.map +1 -1
- package/dist/moose-runner.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3149,12 +3149,6 @@ function getMooseUtilsFromRequest(req) {
|
|
|
3149
3149
|
);
|
|
3150
3150
|
return req.moose;
|
|
3151
3151
|
}
|
|
3152
|
-
function getLegacyMooseUtils(req) {
|
|
3153
|
-
console.warn(
|
|
3154
|
-
"[DEPRECATED] getLegacyMooseUtils(req) is deprecated. The new getMooseUtils() is async and does not require a request parameter: const { client, sql } = await getMooseUtils();"
|
|
3155
|
-
);
|
|
3156
|
-
return req.moose;
|
|
3157
|
-
}
|
|
3158
3152
|
function expressMiddleware() {
|
|
3159
3153
|
console.warn(
|
|
3160
3154
|
"[DEPRECATED] expressMiddleware() is deprecated. Use getMooseUtils() directly or rely on injectMooseUtils config."
|
|
@@ -3166,9 +3160,11 @@ function expressMiddleware() {
|
|
|
3166
3160
|
next();
|
|
3167
3161
|
};
|
|
3168
3162
|
}
|
|
3163
|
+
var getLegacyMooseUtils;
|
|
3169
3164
|
var init_webAppHelpers = __esm({
|
|
3170
3165
|
"src/consumption-apis/webAppHelpers.ts"() {
|
|
3171
3166
|
"use strict";
|
|
3167
|
+
getLegacyMooseUtils = getMooseUtilsFromRequest;
|
|
3172
3168
|
}
|
|
3173
3169
|
});
|
|
3174
3170
|
|