@sendoracloud/sdk-react-native 1.39.0 → 1.39.1
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 +3 -1
- package/dist/index.js +3 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -228,7 +228,7 @@ var Storage = class {
|
|
|
228
228
|
// package.json
|
|
229
229
|
var package_default = {
|
|
230
230
|
name: "@sendoracloud/sdk-react-native",
|
|
231
|
-
version: "1.39.
|
|
231
|
+
version: "1.39.1",
|
|
232
232
|
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`).",
|
|
233
233
|
type: "module",
|
|
234
234
|
main: "./dist/index.cjs",
|
|
@@ -2958,6 +2958,7 @@ var EventQueue = class {
|
|
|
2958
2958
|
this.persist();
|
|
2959
2959
|
continue;
|
|
2960
2960
|
}
|
|
2961
|
+
if (this.q.length > 1) this.q.push(this.q.shift());
|
|
2961
2962
|
this.persist();
|
|
2962
2963
|
this.failures += 1;
|
|
2963
2964
|
break;
|
|
@@ -3235,6 +3236,7 @@ var SendoraSDK = class {
|
|
|
3235
3236
|
this.anonId = uuid();
|
|
3236
3237
|
this.storage.set(ANON_KEY, this.anonId);
|
|
3237
3238
|
}
|
|
3239
|
+
if (reason === "account_deleted") this.eventQueue?.clear();
|
|
3238
3240
|
this.userId = null;
|
|
3239
3241
|
this.storage.remove(USER_ID_KEY);
|
|
3240
3242
|
}
|
package/dist/index.js
CHANGED
|
@@ -183,7 +183,7 @@ var Storage = class {
|
|
|
183
183
|
// package.json
|
|
184
184
|
var package_default = {
|
|
185
185
|
name: "@sendoracloud/sdk-react-native",
|
|
186
|
-
version: "1.39.
|
|
186
|
+
version: "1.39.1",
|
|
187
187
|
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`).",
|
|
188
188
|
type: "module",
|
|
189
189
|
main: "./dist/index.cjs",
|
|
@@ -2918,6 +2918,7 @@ var EventQueue = class {
|
|
|
2918
2918
|
this.persist();
|
|
2919
2919
|
continue;
|
|
2920
2920
|
}
|
|
2921
|
+
if (this.q.length > 1) this.q.push(this.q.shift());
|
|
2921
2922
|
this.persist();
|
|
2922
2923
|
this.failures += 1;
|
|
2923
2924
|
break;
|
|
@@ -3195,6 +3196,7 @@ var SendoraSDK = class {
|
|
|
3195
3196
|
this.anonId = uuid();
|
|
3196
3197
|
this.storage.set(ANON_KEY, this.anonId);
|
|
3197
3198
|
}
|
|
3199
|
+
if (reason === "account_deleted") this.eventQueue?.clear();
|
|
3198
3200
|
this.userId = null;
|
|
3199
3201
|
this.storage.remove(USER_ID_KEY);
|
|
3200
3202
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendoracloud/sdk-react-native",
|
|
3
|
-
"version": "1.39.
|
|
3
|
+
"version": "1.39.1",
|
|
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",
|