@digipair/skill-common 0.10.5 → 0.10.7
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/index.cjs.js +5 -1
- package/index.esm.js +5 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
|
@@ -26,7 +26,11 @@ let CommonService = class CommonService {
|
|
|
26
26
|
const buffer = await fs.promises.readFile(`${path}/${digipair}/avatar.png`);
|
|
27
27
|
const avatar = buffer.toString('base64');
|
|
28
28
|
return _extends({}, config.metadata, {
|
|
29
|
-
avatar: `data:image/png;base64,${avatar}
|
|
29
|
+
avatar: `data:image/png;base64,${avatar}`,
|
|
30
|
+
config: {
|
|
31
|
+
VERSIONS: config.libraries
|
|
32
|
+
},
|
|
33
|
+
variables: config.variables
|
|
30
34
|
});
|
|
31
35
|
}
|
|
32
36
|
async boosts(params, _pinsSettingsList, context) {
|
package/index.esm.js
CHANGED
|
@@ -22,7 +22,11 @@ let CommonService = class CommonService {
|
|
|
22
22
|
const buffer = await promises.readFile(`${path}/${digipair}/avatar.png`);
|
|
23
23
|
const avatar = buffer.toString('base64');
|
|
24
24
|
return _extends({}, config.metadata, {
|
|
25
|
-
avatar: `data:image/png;base64,${avatar}
|
|
25
|
+
avatar: `data:image/png;base64,${avatar}`,
|
|
26
|
+
config: {
|
|
27
|
+
VERSIONS: config.libraries
|
|
28
|
+
},
|
|
29
|
+
variables: config.variables
|
|
26
30
|
});
|
|
27
31
|
}
|
|
28
32
|
async boosts(params, _pinsSettingsList, context) {
|