@sendoracloud/sdk-react-native 1.6.2 → 1.7.0
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.cjs +2 -1
- package/dist/index.d.cts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -222,7 +222,7 @@ async function request(opts, method, path, body, extraHeaders, reqOpts) {
|
|
|
222
222
|
// package.json
|
|
223
223
|
var package_default = {
|
|
224
224
|
name: "@sendoracloud/sdk-react-native",
|
|
225
|
-
version: "1.
|
|
225
|
+
version: "1.7.0",
|
|
226
226
|
description: "Sendora Cloud React Native + Expo SDK \u2014 analytics, identity, push-token registration, auth, deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push token registration requires a Dev Client (EAS Build or `npx expo prebuild`).",
|
|
227
227
|
type: "module",
|
|
228
228
|
main: "./dist/index.cjs",
|
|
@@ -1635,6 +1635,7 @@ var Links = class {
|
|
|
1635
1635
|
async doCreate(input) {
|
|
1636
1636
|
const body = { title: input.title };
|
|
1637
1637
|
if (input.fallbackUrl) body.fallbackUrl = input.fallbackUrl;
|
|
1638
|
+
if (input.noAppMode) body.noAppMode = input.noAppMode;
|
|
1638
1639
|
if (input.iosDeepLinkPath) body.iosDeepLinkPath = input.iosDeepLinkPath;
|
|
1639
1640
|
if (input.androidDeepLinkPath) body.androidDeepLinkPath = input.androidDeepLinkPath;
|
|
1640
1641
|
if (input.linkData) body.linkData = input.linkData;
|
package/dist/index.d.cts
CHANGED
|
@@ -518,6 +518,14 @@ interface LinkCreateInput<T extends LinkData = LinkData> {
|
|
|
518
518
|
* Play Store URL). Pass explicitly for per-link override.
|
|
519
519
|
*/
|
|
520
520
|
fallbackUrl?: string;
|
|
521
|
+
/**
|
|
522
|
+
* How a **mobile visitor without the app installed** is routed (Adjust /
|
|
523
|
+
* Branch parity). `"auto"` (default) = open the app store when one is
|
|
524
|
+
* registered for the platform, else the web `fallbackUrl`. `"store"` =
|
|
525
|
+
* prefer the store. `"web"` = force the web `fallbackUrl` even when a
|
|
526
|
+
* store URL exists. Omit to inherit the project default. Desktop is
|
|
527
|
+
* always web. */
|
|
528
|
+
noAppMode?: "auto" | "store" | "web";
|
|
521
529
|
/** Custom typed JSON delivered to onLinkOpened. Max 2KB serialized. */
|
|
522
530
|
linkData?: T;
|
|
523
531
|
/** Optional OG preview overrides for richer share cards. */
|
package/dist/index.d.ts
CHANGED
|
@@ -518,6 +518,14 @@ interface LinkCreateInput<T extends LinkData = LinkData> {
|
|
|
518
518
|
* Play Store URL). Pass explicitly for per-link override.
|
|
519
519
|
*/
|
|
520
520
|
fallbackUrl?: string;
|
|
521
|
+
/**
|
|
522
|
+
* How a **mobile visitor without the app installed** is routed (Adjust /
|
|
523
|
+
* Branch parity). `"auto"` (default) = open the app store when one is
|
|
524
|
+
* registered for the platform, else the web `fallbackUrl`. `"store"` =
|
|
525
|
+
* prefer the store. `"web"` = force the web `fallbackUrl` even when a
|
|
526
|
+
* store URL exists. Omit to inherit the project default. Desktop is
|
|
527
|
+
* always web. */
|
|
528
|
+
noAppMode?: "auto" | "store" | "web";
|
|
521
529
|
/** Custom typed JSON delivered to onLinkOpened. Max 2KB serialized. */
|
|
522
530
|
linkData?: T;
|
|
523
531
|
/** Optional OG preview overrides for richer share cards. */
|
package/dist/index.js
CHANGED
|
@@ -179,7 +179,7 @@ async function request(opts, method, path, body, extraHeaders, reqOpts) {
|
|
|
179
179
|
// package.json
|
|
180
180
|
var package_default = {
|
|
181
181
|
name: "@sendoracloud/sdk-react-native",
|
|
182
|
-
version: "1.
|
|
182
|
+
version: "1.7.0",
|
|
183
183
|
description: "Sendora Cloud React Native + Expo SDK \u2014 analytics, identity, push-token registration, auth, deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push token registration requires a Dev Client (EAS Build or `npx expo prebuild`).",
|
|
184
184
|
type: "module",
|
|
185
185
|
main: "./dist/index.cjs",
|
|
@@ -1597,6 +1597,7 @@ var Links = class {
|
|
|
1597
1597
|
async doCreate(input) {
|
|
1598
1598
|
const body = { title: input.title };
|
|
1599
1599
|
if (input.fallbackUrl) body.fallbackUrl = input.fallbackUrl;
|
|
1600
|
+
if (input.noAppMode) body.noAppMode = input.noAppMode;
|
|
1600
1601
|
if (input.iosDeepLinkPath) body.iosDeepLinkPath = input.iosDeepLinkPath;
|
|
1601
1602
|
if (input.androidDeepLinkPath) body.androidDeepLinkPath = input.androidDeepLinkPath;
|
|
1602
1603
|
if (input.linkData) body.linkData = input.linkData;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendoracloud/sdk-react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "Sendora Cloud React Native + Expo SDK — analytics, identity, push-token registration, auth, deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push token registration requires a Dev Client (EAS Build or `npx expo prebuild`).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|