@hipnation-truth/sdk 0.7.3 → 0.7.5

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
@@ -440,6 +440,18 @@ interface RegisterDeviceInput {
440
440
  osVersion?: string;
441
441
  locale?: string;
442
442
  timezone?: string;
443
+ /**
444
+ * iOS only — which APNs endpoint the `nativeToken` was issued
445
+ * against. The token bytes don't carry this; it's determined by
446
+ * the build's `aps-environment` entitlement
447
+ * (`development` ⇒ sandbox, `production` ⇒ production). When the
448
+ * consumer is an Expo app, detect via
449
+ * `Application.getIosPushNotificationServiceEnvironmentAsync()`
450
+ * from `expo-application` and pass the normalised value here.
451
+ * Omitting this falls back to the application's default
452
+ * `pushConfig.ios.environment` server-side.
453
+ */
454
+ apnsEnvironment?: "sandbox" | "production";
443
455
  }
444
456
  interface RegisterDeviceResult {
445
457
  deviceId: string;
package/dist/index.d.ts CHANGED
@@ -440,6 +440,18 @@ interface RegisterDeviceInput {
440
440
  osVersion?: string;
441
441
  locale?: string;
442
442
  timezone?: string;
443
+ /**
444
+ * iOS only — which APNs endpoint the `nativeToken` was issued
445
+ * against. The token bytes don't carry this; it's determined by
446
+ * the build's `aps-environment` entitlement
447
+ * (`development` ⇒ sandbox, `production` ⇒ production). When the
448
+ * consumer is an Expo app, detect via
449
+ * `Application.getIosPushNotificationServiceEnvironmentAsync()`
450
+ * from `expo-application` and pass the normalised value here.
451
+ * Omitting this falls back to the application's default
452
+ * `pushConfig.ios.environment` server-side.
453
+ */
454
+ apnsEnvironment?: "sandbox" | "production";
443
455
  }
444
456
  interface RegisterDeviceResult {
445
457
  deviceId: string;