@sendoracloud/sdk-react-native 1.30.0 → 1.31.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 +16 -4
- package/dist/index.d.cts +15 -3
- package/dist/index.d.ts +15 -3
- package/dist/index.js +16 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -202,7 +202,7 @@ var Storage = class {
|
|
|
202
202
|
// package.json
|
|
203
203
|
var package_default = {
|
|
204
204
|
name: "@sendoracloud/sdk-react-native",
|
|
205
|
-
version: "1.
|
|
205
|
+
version: "1.31.0",
|
|
206
206
|
description: "Sendora Cloud React Native + Expo SDK \u2014 analytics, identity, push-token registration, auth (incl. Game Center / Play Games), deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push-token registration and the no-arg Game Center / Play Games sign-in require a Dev Client (EAS Build or `npx expo prebuild`).",
|
|
207
207
|
type: "module",
|
|
208
208
|
main: "./dist/index.cjs",
|
|
@@ -697,9 +697,21 @@ var Auth = class {
|
|
|
697
697
|
* keyed by the anonymous id — your own users table, an analytics
|
|
698
698
|
* cache, an audience filter — without needing a webhook receiver.
|
|
699
699
|
*
|
|
700
|
-
*
|
|
701
|
-
* `
|
|
702
|
-
*
|
|
700
|
+
* Fires on EVERY identified sign-in path — `signIn`, `loginSocial`,
|
|
701
|
+
* `signInWithGameCenter`, `signInWithPlayGames`, `challengeMfa`,
|
|
702
|
+
* `verifyMagicLink`, `verifyEmailOtp`, passkey authentication, and SSO
|
|
703
|
+
* completion (`consumeSsoFragment`) — because it is fired centrally from
|
|
704
|
+
* `persist()` whenever the response carries `retiredAnonUserId`.
|
|
705
|
+
*
|
|
706
|
+
* ⚠ The two gaming paths are the ones that matter most here, and were
|
|
707
|
+
* missing from this list before 1.31.0. When the presented player identity
|
|
708
|
+
* already belongs to another account, the sign-in ADOPTS that account and
|
|
709
|
+
* the anonymous account on this device is retired — its row is DELETED
|
|
710
|
+
* server-side. This listener is the only client-side signal that happened;
|
|
711
|
+
* the call itself resolves successfully. If you would rather it not happen
|
|
712
|
+
* at all, pass `onCredentialInUse: "reject"`.
|
|
713
|
+
*
|
|
714
|
+
* Returns an unsubscribe function.
|
|
703
715
|
*
|
|
704
716
|
* Listeners are best-effort: errors thrown inside them are swallowed
|
|
705
717
|
* + logged in dev mode. Auth state never depends on listener success.
|
package/dist/index.d.cts
CHANGED
|
@@ -583,9 +583,21 @@ declare class Auth {
|
|
|
583
583
|
* keyed by the anonymous id — your own users table, an analytics
|
|
584
584
|
* cache, an audience filter — without needing a webhook receiver.
|
|
585
585
|
*
|
|
586
|
-
*
|
|
587
|
-
* `
|
|
588
|
-
*
|
|
586
|
+
* Fires on EVERY identified sign-in path — `signIn`, `loginSocial`,
|
|
587
|
+
* `signInWithGameCenter`, `signInWithPlayGames`, `challengeMfa`,
|
|
588
|
+
* `verifyMagicLink`, `verifyEmailOtp`, passkey authentication, and SSO
|
|
589
|
+
* completion (`consumeSsoFragment`) — because it is fired centrally from
|
|
590
|
+
* `persist()` whenever the response carries `retiredAnonUserId`.
|
|
591
|
+
*
|
|
592
|
+
* ⚠ The two gaming paths are the ones that matter most here, and were
|
|
593
|
+
* missing from this list before 1.31.0. When the presented player identity
|
|
594
|
+
* already belongs to another account, the sign-in ADOPTS that account and
|
|
595
|
+
* the anonymous account on this device is retired — its row is DELETED
|
|
596
|
+
* server-side. This listener is the only client-side signal that happened;
|
|
597
|
+
* the call itself resolves successfully. If you would rather it not happen
|
|
598
|
+
* at all, pass `onCredentialInUse: "reject"`.
|
|
599
|
+
*
|
|
600
|
+
* Returns an unsubscribe function.
|
|
589
601
|
*
|
|
590
602
|
* Listeners are best-effort: errors thrown inside them are swallowed
|
|
591
603
|
* + logged in dev mode. Auth state never depends on listener success.
|
package/dist/index.d.ts
CHANGED
|
@@ -583,9 +583,21 @@ declare class Auth {
|
|
|
583
583
|
* keyed by the anonymous id — your own users table, an analytics
|
|
584
584
|
* cache, an audience filter — without needing a webhook receiver.
|
|
585
585
|
*
|
|
586
|
-
*
|
|
587
|
-
* `
|
|
588
|
-
*
|
|
586
|
+
* Fires on EVERY identified sign-in path — `signIn`, `loginSocial`,
|
|
587
|
+
* `signInWithGameCenter`, `signInWithPlayGames`, `challengeMfa`,
|
|
588
|
+
* `verifyMagicLink`, `verifyEmailOtp`, passkey authentication, and SSO
|
|
589
|
+
* completion (`consumeSsoFragment`) — because it is fired centrally from
|
|
590
|
+
* `persist()` whenever the response carries `retiredAnonUserId`.
|
|
591
|
+
*
|
|
592
|
+
* ⚠ The two gaming paths are the ones that matter most here, and were
|
|
593
|
+
* missing from this list before 1.31.0. When the presented player identity
|
|
594
|
+
* already belongs to another account, the sign-in ADOPTS that account and
|
|
595
|
+
* the anonymous account on this device is retired — its row is DELETED
|
|
596
|
+
* server-side. This listener is the only client-side signal that happened;
|
|
597
|
+
* the call itself resolves successfully. If you would rather it not happen
|
|
598
|
+
* at all, pass `onCredentialInUse: "reject"`.
|
|
599
|
+
*
|
|
600
|
+
* Returns an unsubscribe function.
|
|
589
601
|
*
|
|
590
602
|
* Listeners are best-effort: errors thrown inside them are swallowed
|
|
591
603
|
* + logged in dev mode. Auth state never depends on listener success.
|
package/dist/index.js
CHANGED
|
@@ -157,7 +157,7 @@ var Storage = class {
|
|
|
157
157
|
// package.json
|
|
158
158
|
var package_default = {
|
|
159
159
|
name: "@sendoracloud/sdk-react-native",
|
|
160
|
-
version: "1.
|
|
160
|
+
version: "1.31.0",
|
|
161
161
|
description: "Sendora Cloud React Native + Expo SDK \u2014 analytics, identity, push-token registration, auth (incl. Game Center / Play Games), deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push-token registration and the no-arg Game Center / Play Games sign-in require a Dev Client (EAS Build or `npx expo prebuild`).",
|
|
162
162
|
type: "module",
|
|
163
163
|
main: "./dist/index.cjs",
|
|
@@ -652,9 +652,21 @@ var Auth = class {
|
|
|
652
652
|
* keyed by the anonymous id — your own users table, an analytics
|
|
653
653
|
* cache, an audience filter — without needing a webhook receiver.
|
|
654
654
|
*
|
|
655
|
-
*
|
|
656
|
-
* `
|
|
657
|
-
*
|
|
655
|
+
* Fires on EVERY identified sign-in path — `signIn`, `loginSocial`,
|
|
656
|
+
* `signInWithGameCenter`, `signInWithPlayGames`, `challengeMfa`,
|
|
657
|
+
* `verifyMagicLink`, `verifyEmailOtp`, passkey authentication, and SSO
|
|
658
|
+
* completion (`consumeSsoFragment`) — because it is fired centrally from
|
|
659
|
+
* `persist()` whenever the response carries `retiredAnonUserId`.
|
|
660
|
+
*
|
|
661
|
+
* ⚠ The two gaming paths are the ones that matter most here, and were
|
|
662
|
+
* missing from this list before 1.31.0. When the presented player identity
|
|
663
|
+
* already belongs to another account, the sign-in ADOPTS that account and
|
|
664
|
+
* the anonymous account on this device is retired — its row is DELETED
|
|
665
|
+
* server-side. This listener is the only client-side signal that happened;
|
|
666
|
+
* the call itself resolves successfully. If you would rather it not happen
|
|
667
|
+
* at all, pass `onCredentialInUse: "reject"`.
|
|
668
|
+
*
|
|
669
|
+
* Returns an unsubscribe function.
|
|
658
670
|
*
|
|
659
671
|
* Listeners are best-effort: errors thrown inside them are swallowed
|
|
660
672
|
* + logged in dev mode. Auth state never depends on listener success.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendoracloud/sdk-react-native",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.31.0",
|
|
4
4
|
"description": "Sendora Cloud React Native + Expo SDK — analytics, identity, push-token registration, auth (incl. Game Center / Play Games), deep links (Branch / Firebase Dynamic Links parity). Auth + analytics + deep links work in Expo Go; push-token registration and the no-arg Game Center / Play Games sign-in require a Dev Client (EAS Build or `npx expo prebuild`).",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|