Compare commits

...
3 Commits
Author SHA1 Message Date
DebaucheryLibrarian 40011a62da Added actors module to repo. 2024-10-22 03:09:17 +02:00
DebaucheryLibrarian 43db15e017 1.2.2 2024-10-22 03:07:25 +02:00
DebaucheryLibrarian 697cd5d5c2 Changed back to ESM. 2024-10-22 03:07:23 +02:00
3 changed files with 4 additions and 8 deletions
+1 -5
View File
@@ -134,7 +134,7 @@ function mergeMainProfile(profile, mainProfile) {
return mergedProfile;
}
async function interpolateProfiles(actorIdsOrNames, context) {
export async function interpolateProfiles(actorIdsOrNames, context) {
const profiles = await fetchProfiles(actorIdsOrNames, context);
const profilesByActorId = profiles.reduce((acc, profile) => ({
@@ -295,7 +295,3 @@ async function interpolateProfiles(actorIdsOrNames, context) {
await context.knex.schema.refreshMaterializedView('actors_meta');
}
module.exports = {
interpolateProfiles,
};
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "traxxx-utils",
"version": "1.2.1",
"version": "1.2.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "traxxx-utils",
"version": "1.2.1",
"version": "1.2.2",
"license": "ISC",
"devDependencies": {
"@babel/cli": "^7.25.7",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "traxxx-common",
"version": "1.2.1",
"version": "1.2.2",
"description": "Common utilities for traxxx core and web.",
"main": "src/app.js",
"scripts": {