@24i/bigscreen-sdk 1.0.54-alpha.2834 → 1.0.54-alpha.2836

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@24i/bigscreen-sdk",
3
- "version": "1.0.54-alpha.2834",
3
+ "version": "1.0.54-alpha.2836",
4
4
  "description": "SmartApps BIGscreen SDK monorepo",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -250,12 +250,9 @@ export class DeviceSmartCast extends DeviceBase {
250
250
  }
251
251
 
252
252
  async getUserMetadata() {
253
- try {
254
- const result = await this.API!.Account.getUserMetadata();
255
- return result?.data || null;
256
- } catch {
257
- return null;
258
- }
253
+ await this.checkAndLinkTv();
254
+ const result = await this.API!.Account.getUserMetadata();
255
+ return result?.data || null;
259
256
  }
260
257
 
261
258
  async getManufacturerName() {
@@ -106,6 +106,12 @@ export class Input extends Component<Props> implements IFocusable {
106
106
 
107
107
  setValue(value: string) {
108
108
  this.nativeInput.current!.value = value;
109
+ setText(this.text, this.filterText(value));
110
+ if (value.length === 0) {
111
+ this.showPlaceholder();
112
+ } else {
113
+ this.hidePlaceholder();
114
+ }
109
115
  }
110
116
 
111
117
  setType(type: Props['type']) {