@dubsdotapp/expo 0.5.18 → 0.5.19

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.mts CHANGED
@@ -544,6 +544,15 @@ interface UiConfig {
544
544
  appUrl?: string;
545
545
  tagline?: string;
546
546
  environment?: 'sandbox' | 'production';
547
+ /**
548
+ * Whether the developer has uploaded push credentials in the dev portal.
549
+ * Consumers should gate their push opt-in UI on the relevant platform flag —
550
+ * e.g. only show the "Enable Notifications" screen if pushConfigured.android is true.
551
+ */
552
+ pushConfigured?: {
553
+ android: boolean;
554
+ ios: boolean;
555
+ };
547
556
  }
548
557
 
549
558
  interface DubsClientConfig {
package/dist/index.d.ts CHANGED
@@ -544,6 +544,15 @@ interface UiConfig {
544
544
  appUrl?: string;
545
545
  tagline?: string;
546
546
  environment?: 'sandbox' | 'production';
547
+ /**
548
+ * Whether the developer has uploaded push credentials in the dev portal.
549
+ * Consumers should gate their push opt-in UI on the relevant platform flag —
550
+ * e.g. only show the "Enable Notifications" screen if pushConfigured.android is true.
551
+ */
552
+ pushConfigured?: {
553
+ android: boolean;
554
+ ios: boolean;
555
+ };
547
556
  }
548
557
 
549
558
  interface DubsClientConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dubsdotapp/expo",
3
- "version": "0.5.18",
3
+ "version": "0.5.19",
4
4
  "description": "React Native SDK for the Dubs betting platform",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
package/src/types.ts CHANGED
@@ -650,4 +650,13 @@ export interface UiConfig {
650
650
  appUrl?: string;
651
651
  tagline?: string;
652
652
  environment?: 'sandbox' | 'production';
653
+ /**
654
+ * Whether the developer has uploaded push credentials in the dev portal.
655
+ * Consumers should gate their push opt-in UI on the relevant platform flag —
656
+ * e.g. only show the "Enable Notifications" screen if pushConfigured.android is true.
657
+ */
658
+ pushConfigured?: {
659
+ android: boolean;
660
+ ios: boolean;
661
+ };
653
662
  }