soccer-jersey-fork 1.0.106 → 1.0.107

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.
@@ -28,8 +28,8 @@ export const Default = {
28
28
  y: 45,
29
29
  color: "#fff",
30
30
  fontFamily: "Impact",
31
- weight: 900,
32
- style: "normal",
31
+ fontWeight: 400,
32
+ fontStyle: "normal",
33
33
  },
34
34
  ],
35
35
  shortsColor: "#DA000C",
@@ -158,8 +158,8 @@ export default function drawSoccerJersey({ shirtColor = "plain", shirtStyle, shi
158
158
  .font({
159
159
  family: fontFamily,
160
160
  size,
161
- fontWeight,
162
- fontStyle,
161
+ weight: fontWeight,
162
+ style: fontStyle,
163
163
  anchor: "middle",
164
164
  })
165
165
  .stroke({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soccer-jersey-fork",
3
- "version": "1.0.106",
3
+ "version": "1.0.107",
4
4
  "description": "Generate soccer jerseys in SVG format",
5
5
  "main": "lib/index.js",
6
6
  "author": "nadchif (https://github.com/nadchif)",