@azuro-org/images-generator 1.1.0 → 1.1.2
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/README.md +2 -2
- package/dist/templates/combo-bet-og/index.d.ts +1 -1
- package/dist/templates/combo-bet-og/index.html +1 -1
- package/dist/templates/combo-bet-og/index.js +2 -1
- package/lib/templates/combo-bet-og/index.d.ts +1 -1
- package/lib/templates/combo-bet-og/index.html +1 -1
- package/lib/templates/combo-bet-og/index.js +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -79,7 +79,7 @@ generateImage({
|
|
|
79
79
|
|
|
80
80
|
### Result
|
|
81
81
|
|
|
82
|
-
<img src="https://github.com/Azuro-protocol/images-generator/raw/main/src/templates/
|
|
82
|
+
<img src="https://github.com/Azuro-protocol/images-generator/raw/main/src/templates/bet-og/example.jpeg" width="600" />
|
|
83
83
|
</p>
|
|
84
84
|
</details>
|
|
85
85
|
|
|
@@ -120,7 +120,7 @@ generateImage({
|
|
|
120
120
|
|
|
121
121
|
### Result
|
|
122
122
|
|
|
123
|
-
<img src="https://github.com/Azuro-protocol/images-generator/raw/main/src/templates/bet-og/example.jpeg" width="600" />
|
|
123
|
+
<img src="https://github.com/Azuro-protocol/images-generator/raw/main/src/templates/combo-bet-og/example.jpeg" width="600" />
|
|
124
124
|
</p>
|
|
125
125
|
</details>
|
|
126
126
|
|
|
@@ -3,7 +3,7 @@ type OnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>
|
|
|
3
3
|
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
4
4
|
}[Keys];
|
|
5
5
|
export type Props = {
|
|
6
|
-
title:
|
|
6
|
+
title: string;
|
|
7
7
|
data: {
|
|
8
8
|
totalOdds: string | number;
|
|
9
9
|
asset: string;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<div class="item">
|
|
158
158
|
<div class="value">
|
|
159
159
|
<div>{payoutValue} {asset}</div>
|
|
160
|
-
<div class="assetIcon assetIcon-{
|
|
160
|
+
<div class="assetIcon assetIcon-{assetIcon}"></div>
|
|
161
161
|
</div>
|
|
162
162
|
<div class="label">{payoutLabel}</div>
|
|
163
163
|
</div>
|
|
@@ -18,7 +18,8 @@ import {_ as __awaiter,a as __generator,g as getFile,b as getBase64Image}from'..
|
|
|
18
18
|
.replace('{totalOdds}', String(totalOdds))
|
|
19
19
|
.replace('{payoutValue}', String(payout || possiblePayout))
|
|
20
20
|
.replace('{payoutLabel}', payout ? 'Winning' : 'Possible win')
|
|
21
|
-
.replace(
|
|
21
|
+
.replace('{asset}', asset)
|
|
22
|
+
.replace('{assetIcon}', asset.toUpperCase())];
|
|
22
23
|
});
|
|
23
24
|
}); }
|
|
24
25
|
};export{template as default};
|
|
@@ -3,7 +3,7 @@ type OnlyOne<T, Keys extends keyof T = keyof T> = Pick<T, Exclude<keyof T, Keys>
|
|
|
3
3
|
[K in Keys]-?: Required<Pick<T, K>> & Partial<Pick<T, Exclude<Keys, K>>>;
|
|
4
4
|
}[Keys];
|
|
5
5
|
export type Props = {
|
|
6
|
-
title:
|
|
6
|
+
title: string;
|
|
7
7
|
data: {
|
|
8
8
|
totalOdds: string | number;
|
|
9
9
|
asset: string;
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
<div class="item">
|
|
158
158
|
<div class="value">
|
|
159
159
|
<div>{payoutValue} {asset}</div>
|
|
160
|
-
<div class="assetIcon assetIcon-{
|
|
160
|
+
<div class="assetIcon assetIcon-{assetIcon}"></div>
|
|
161
161
|
</div>
|
|
162
162
|
<div class="label">{payoutLabel}</div>
|
|
163
163
|
</div>
|
|
@@ -18,7 +18,8 @@
|
|
|
18
18
|
.replace('{totalOdds}', String(totalOdds))
|
|
19
19
|
.replace('{payoutValue}', String(payout || possiblePayout))
|
|
20
20
|
.replace('{payoutLabel}', payout ? 'Winning' : 'Possible win')
|
|
21
|
-
.replace(
|
|
21
|
+
.replace('{asset}', asset)
|
|
22
|
+
.replace('{assetIcon}', asset.toUpperCase())];
|
|
22
23
|
});
|
|
23
24
|
}); }
|
|
24
25
|
};module.exports=template;
|