@stripchatdev/ext-helper 0.1.29 → 0.1.31
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/dist/index.d.ts +5 -2
- package/package.json +1 -2
package/dist/index.d.ts
CHANGED
|
@@ -686,9 +686,12 @@ declare type TV1SystemMethods = {
|
|
|
686
686
|
};
|
|
687
687
|
};
|
|
688
688
|
|
|
689
|
+
/** Tokens spend tip data */
|
|
689
690
|
export declare type TV1TipData = {
|
|
690
691
|
/** Amount of tokens spent */
|
|
691
692
|
amount: number;
|
|
693
|
+
/** Tip id */
|
|
694
|
+
id: string;
|
|
692
695
|
/** Is anonymous tip or not */
|
|
693
696
|
isAnonymous: boolean;
|
|
694
697
|
/** Is tip sent from the current user or not */
|
|
@@ -712,7 +715,7 @@ export declare type TV1TipData = {
|
|
|
712
715
|
* `feed` - tip was sent from the feed
|
|
713
716
|
* */
|
|
714
717
|
source: TV1TipSource;
|
|
715
|
-
/**
|
|
718
|
+
/** Determines whether tip was sent in public or private chat */
|
|
716
719
|
type: 'private' | 'public';
|
|
717
720
|
/** User who sent the tip. Can be null in case of anonymous tip */
|
|
718
721
|
user?: TV1ExtUser | null;
|
|
@@ -743,7 +746,7 @@ export declare type TV1TipMenuItem = {
|
|
|
743
746
|
/** Activity name */
|
|
744
747
|
activity: string;
|
|
745
748
|
/** Price of the activity for the current user applying all discounts.
|
|
746
|
-
*
|
|
749
|
+
* Discounts can be applied based on the user's fan club memberhip.
|
|
747
750
|
* */
|
|
748
751
|
price: number;
|
|
749
752
|
};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stripchatdev/ext-helper",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.31",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"module": "./dist/ext-helper.js",
|
|
@@ -19,7 +19,6 @@
|
|
|
19
19
|
"NOTICE"
|
|
20
20
|
],
|
|
21
21
|
"publishConfig": {
|
|
22
|
-
"registry": "https://gitlab.stripchat.dev/api/v4/projects/1902/packages/npm/",
|
|
23
22
|
"access": "public"
|
|
24
23
|
},
|
|
25
24
|
"sideEffects": false,
|