@better-auth/expo 1.2.9 → 1.2.10

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 CHANGED
@@ -6,7 +6,7 @@ const expo = (options) => {
6
6
  return {
7
7
  id: "expo",
8
8
  init: (ctx) => {
9
- const trustedOrigins = process.env.NODE_ENV === "development" ? [...ctx.trustedOrigins || [], "exp://"] : ctx.trustedOrigins;
9
+ const trustedOrigins = process.env.NODE_ENV === "development" ? ["exp://"] : [];
10
10
  return {
11
11
  options: {
12
12
  trustedOrigins
package/dist/index.mjs CHANGED
@@ -4,7 +4,7 @@ const expo = (options) => {
4
4
  return {
5
5
  id: "expo",
6
6
  init: (ctx) => {
7
- const trustedOrigins = process.env.NODE_ENV === "development" ? [...ctx.trustedOrigins || [], "exp://"] : ctx.trustedOrigins;
7
+ const trustedOrigins = process.env.NODE_ENV === "development" ? ["exp://"] : [];
8
8
  return {
9
9
  options: {
10
10
  trustedOrigins
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/expo",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
@@ -39,10 +39,10 @@
39
39
  "expo-web-browser": "~14.0.2",
40
40
  "unbuild": "^3.5.0",
41
41
  "vitest": "^1.6.0",
42
- "better-auth": "1.2.9"
42
+ "better-auth": "1.2.10"
43
43
  },
44
44
  "peerDependencies": {
45
- "better-auth": "1.2.9"
45
+ "better-auth": "1.2.10"
46
46
  },
47
47
  "dependencies": {
48
48
  "@better-fetch/fetch": "^1.1.18",