@hipnation-truth/sdk 0.7.4 → 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 +12 -0
- package/dist/index.d.ts +12 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/react.d.ts +11 -0
- package/dist/react.js +16 -2
- package/dist/react.js.map +1 -1
- package/package.json +1 -1
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;
|