Compare commits

...

2 Commits

Author SHA1 Message Date
e55818ab44 1.2.3 2024-10-23 00:01:39 +02:00
5f5f7508e2 Added agency property. 2024-10-23 00:01:34 +02:00
3 changed files with 5 additions and 3 deletions

View File

@@ -99,6 +99,7 @@ function curateProfileEntry(profile) {
has_piercings: profile.hasPiercings, has_piercings: profile.hasPiercings,
piercings: profile.piercings, piercings: profile.piercings,
tattoos: profile.tattoos, tattoos: profile.tattoos,
agency: profile.agency,
blood_type: profile.bloodType, blood_type: profile.bloodType,
avatar_media_id: profile.avatarMediaId || null, avatar_media_id: profile.avatarMediaId || null,
}; };
@@ -202,6 +203,7 @@ export async function interpolateProfiles(actorIdsOrNames, context) {
'eyes', 'eyes',
'has_tattoos', 'has_tattoos',
'has_piercings', 'has_piercings',
'agency',
'blood_type', 'blood_type',
].reduce((acc, property) => ({ ].reduce((acc, property) => ({
...acc, ...acc,

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{ {
"name": "traxxx-utils", "name": "traxxx-utils",
"version": "1.2.2", "version": "1.2.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "traxxx-utils", "name": "traxxx-utils",
"version": "1.2.2", "version": "1.2.3",
"license": "ISC", "license": "ISC",
"devDependencies": { "devDependencies": {
"@babel/cli": "^7.25.7", "@babel/cli": "^7.25.7",

View File

@@ -1,6 +1,6 @@
{ {
"name": "traxxx-common", "name": "traxxx-common",
"version": "1.2.2", "version": "1.2.3",
"description": "Common utilities for traxxx core and web.", "description": "Common utilities for traxxx core and web.",
"main": "src/app.js", "main": "src/app.js",
"scripts": { "scripts": {