@sprucelabs/spruce-test-fixtures 49.0.0 → 49.0.1
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.
|
@@ -359,7 +359,7 @@ function fakeListLocations(Class) {
|
|
|
359
359
|
return __awaiter(this, void 0, void 0, function* () {
|
|
360
360
|
yield eventFaker.on('list-locations::v2020_12_25', ({ target, payload }) => {
|
|
361
361
|
return {
|
|
362
|
-
locations: applyPaging(Class._fakedLocations, payload).filter((l) => l.organizationId === target.organizationId),
|
|
362
|
+
locations: applyPaging(Class._fakedLocations, payload).filter((l) => l.organizationId === (target === null || target === void 0 ? void 0 : target.organizationId)),
|
|
363
363
|
};
|
|
364
364
|
});
|
|
365
365
|
});
|
|
@@ -338,7 +338,7 @@ function getFakedRecordsByRoleBase(Class, base) {
|
|
|
338
338
|
async function fakeListLocations(Class) {
|
|
339
339
|
await eventFaker_1.default.on('list-locations::v2020_12_25', ({ target, payload }) => {
|
|
340
340
|
return {
|
|
341
|
-
locations: applyPaging(Class._fakedLocations, payload).filter((l) => l.organizationId === target.organizationId),
|
|
341
|
+
locations: applyPaging(Class._fakedLocations, payload).filter((l) => l.organizationId === (target === null || target === void 0 ? void 0 : target.organizationId)),
|
|
342
342
|
};
|
|
343
343
|
});
|
|
344
344
|
}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"@sprucelabs/spruce-test-fixtures"
|
|
14
14
|
]
|
|
15
15
|
},
|
|
16
|
-
"version": "49.0.
|
|
16
|
+
"version": "49.0.1",
|
|
17
17
|
"files": [
|
|
18
18
|
"build/**/*",
|
|
19
19
|
"!build/__tests__",
|
|
@@ -64,14 +64,14 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@sprucelabs/data-stores": "^18.1.27",
|
|
66
66
|
"@sprucelabs/error": "^5.0.503",
|
|
67
|
-
"@sprucelabs/heartwood-view-controllers": "^90.0.
|
|
68
|
-
"@sprucelabs/mercury-client": "^31.0.
|
|
69
|
-
"@sprucelabs/mercury-core-events": "^12.0.
|
|
70
|
-
"@sprucelabs/mercury-event-emitter": "^31.0.
|
|
67
|
+
"@sprucelabs/heartwood-view-controllers": "^90.0.2",
|
|
68
|
+
"@sprucelabs/mercury-client": "^31.0.174",
|
|
69
|
+
"@sprucelabs/mercury-core-events": "^12.0.176",
|
|
70
|
+
"@sprucelabs/mercury-event-emitter": "^31.0.174",
|
|
71
71
|
"@sprucelabs/schema": "^28.4.33",
|
|
72
72
|
"@sprucelabs/spruce-core-schemas": "^34.2.80",
|
|
73
73
|
"@sprucelabs/spruce-event-utils": "^27.0.152",
|
|
74
|
-
"@sprucelabs/spruce-skill-booter": "^49.0.
|
|
74
|
+
"@sprucelabs/spruce-skill-booter": "^49.0.1",
|
|
75
75
|
"@sprucelabs/spruce-skill-utils": "^26.4.55",
|
|
76
76
|
"dotenv": "^16.0.2",
|
|
77
77
|
"unique-names-generator": "^4.7.1"
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
]
|
|
132
132
|
]
|
|
133
133
|
},
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "e8e2acc3d0d5f79355bc7210abbe19f04554aa1e"
|
|
135
135
|
}
|