@sendoracloud/sdk-react-native 1.23.0 → 1.23.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/app.plugin.js CHANGED
@@ -24,13 +24,21 @@
24
24
  // ESM (the package is `type: module`) — requires Expo SDK 50+ (ESM config
25
25
  // plugins). The bug-prone transforms live in ./plugin/apply.js (pure,
26
26
  // unit-tested); this file just wires them into the Expo mod pipeline.
27
- import {
27
+ // ⚠ `@expo/config-plugins` is CommonJS. A NAMED ESM import from it relies on
28
+ // Node's cjs-module-lexer statically detecting each member — under config-plugins
29
+ // 54 (Expo SDK 54) `AndroidConfig` is NOT surfaced that way, so the import throws
30
+ // `SyntaxError: does not provide an export named 'AndroidConfig'` at load time and
31
+ // aborts `expo prebuild`. Default-import the namespace + destructure at runtime
32
+ // (version-agnostic; default export = the CJS `module.exports`). Guarded by
33
+ // test/plugin.test.ts.
34
+ import configPlugins from "@expo/config-plugins";
35
+ const {
28
36
  withEntitlementsPlist,
29
37
  withAndroidManifest,
30
38
  AndroidConfig,
31
39
  createRunOncePlugin,
32
40
  WarningAggregator,
33
- } from "@expo/config-plugins";
41
+ } = configPlugins;
34
42
  import { createRequire } from "node:module";
35
43
  import {
36
44
  resolveHosts,
package/dist/index.cjs CHANGED
@@ -200,7 +200,7 @@ var Storage = class {
200
200
  // package.json
201
201
  var package_default = {
202
202
  name: "@sendoracloud/sdk-react-native",
203
- version: "1.23.0",
203
+ version: "1.23.1",
204
204
  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`).",
205
205
  type: "module",
206
206
  main: "./dist/index.cjs",
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.23.0",
160
+ version: "1.23.1",
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",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendoracloud/sdk-react-native",
3
- "version": "1.23.0",
3
+ "version": "1.23.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",