@suprsend/web-sdk 4.1.1 → 4.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.
@@ -39,7 +39,9 @@ export default class Preferences {
39
39
  /**
40
40
  * Used to get user's all channel level preference.
41
41
  */
42
- getOverallChannelPreferences(): Promise<import('./interface').ApiResponse>;
42
+ getOverallChannelPreferences(args?: {
43
+ tenantId?: string;
44
+ }): Promise<import('./interface').ApiResponse>;
43
45
  private _updateCategoryPreferences;
44
46
  private _updateChannelPreferences;
45
47
  /**
@@ -53,5 +55,7 @@ export default class Preferences {
53
55
  /**
54
56
  * Used to update user's channel level preference.
55
57
  */
56
- updateOverallChannelPreference(channel: string, preference: ChannelLevelPreferenceOptions): Promise<import('./interface').ApiResponse>;
58
+ updateOverallChannelPreference(channel: string, preference: ChannelLevelPreferenceOptions, args?: {
59
+ tenantId?: string;
60
+ }): Promise<import('./interface').ApiResponse>;
57
61
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@suprsend/web-sdk",
3
- "version": "4.1.1",
3
+ "version": "4.1.2",
4
4
  "description": "The client side javascript library for interacting with SuprSend",
5
5
  "author": "SuprSend Developers",
6
6
  "type": "module",