@better-auth/expo 1.6.15 → 1.6.16

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/client.d.ts CHANGED
@@ -132,11 +132,6 @@ declare const expoClient: (opts: ExpoClientOptions) => {
132
132
  init(url: string, options: ({
133
133
  priority?: RequestPriority | undefined;
134
134
  method?: string | undefined;
135
- headers?: (HeadersInit & (HeadersInit | {
136
- accept: "application/json" | "text/plain" | "application/octet-stream";
137
- "content-type": "application/json" | "text/plain" | "application/x-www-form-urlencoded" | "multipart/form-data" | "application/octet-stream";
138
- authorization: "Bearer" | "Basic";
139
- })) | undefined;
140
135
  redirect?: RequestRedirect | undefined;
141
136
  window?: null | undefined;
142
137
  cache?: RequestCache | undefined;
@@ -172,6 +167,12 @@ declare const expoClient: (opts: ExpoClientOptions) => {
172
167
  prefix: string | (() => string | undefined) | undefined;
173
168
  value: string | (() => string | undefined) | undefined;
174
169
  }) | undefined;
170
+ headers?: {} | {
171
+ [x: string]: string | undefined;
172
+ accept?: ((string & {}) | "application/json" | "text/plain" | "application/octet-stream") | undefined;
173
+ "content-type"?: ((string & {}) | "application/json" | "text/plain" | "application/octet-stream" | "application/x-www-form-urlencoded" | "multipart/form-data") | undefined;
174
+ authorization?: ((string & {}) | `Bearer ${string}` | `Basic ${string}`) | undefined;
175
+ } | undefined;
175
176
  body?: any;
176
177
  query?: any;
177
178
  params?: any;
package/dist/client.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-CdUF4nQi.js";
1
+ import { t as PACKAGE_VERSION } from "./version-BIUhGoMi.js";
2
2
  import { safeJSONParse } from "@better-auth/core/utils/json";
3
3
  import { SECURE_COOKIE_PREFIX, parseSetCookieHeader, parseSetCookieHeader as parseSetCookieHeader$1, stripSecureCookiePrefix } from "better-auth/cookies";
4
4
  import Constants from "expo-constants";
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "./version-CdUF4nQi.js";
1
+ import { t as PACKAGE_VERSION } from "./version-BIUhGoMi.js";
2
2
  import { createAuthMiddleware } from "@better-auth/core/api";
3
3
  import { HIDE_METADATA } from "better-auth";
4
4
  import { APIError, createAuthEndpoint } from "better-auth/api";
@@ -1,4 +1,4 @@
1
- import { t as PACKAGE_VERSION } from "../version-CdUF4nQi.js";
1
+ import { t as PACKAGE_VERSION } from "../version-BIUhGoMi.js";
2
2
  //#region src/plugins/last-login-method.ts
3
3
  const paths = [
4
4
  "/callback/",
@@ -1,5 +1,5 @@
1
1
  //#endregion
2
2
  //#region src/version.ts
3
- const PACKAGE_VERSION = "1.6.15";
3
+ const PACKAGE_VERSION = "1.6.16";
4
4
  //#endregion
5
5
  export { PACKAGE_VERSION as t };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better-auth/expo",
3
- "version": "1.6.15",
3
+ "version": "1.6.16",
4
4
  "description": "Better Auth integration for Expo and React Native applications.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -58,28 +58,28 @@
58
58
  }
59
59
  },
60
60
  "dependencies": {
61
- "@better-fetch/fetch": "1.1.21",
62
- "better-call": "1.3.5",
61
+ "@better-fetch/fetch": "1.2.2",
62
+ "better-call": "1.3.6",
63
63
  "zod": "^4.3.6"
64
64
  },
65
65
  "devDependencies": {
66
- "@better-fetch/fetch": "1.1.21",
66
+ "@better-fetch/fetch": "1.2.2",
67
67
  "expo-constants": "~55.0.7",
68
68
  "expo-linking": "~55.0.7",
69
69
  "expo-network": "~55.0.8",
70
70
  "expo-web-browser": "~55.0.9",
71
71
  "react-native": "~0.84.1",
72
72
  "tsdown": "0.21.1",
73
- "@better-auth/core": "1.6.15",
74
- "better-auth": "1.6.15"
73
+ "@better-auth/core": "1.6.16",
74
+ "better-auth": "1.6.16"
75
75
  },
76
76
  "peerDependencies": {
77
77
  "expo-constants": ">=17.0.0",
78
78
  "expo-linking": ">=7.0.0",
79
79
  "expo-network": ">=8.0.7",
80
80
  "expo-web-browser": ">=14.0.0",
81
- "@better-auth/core": "^1.6.15",
82
- "better-auth": "^1.6.15"
81
+ "@better-auth/core": "^1.6.16",
82
+ "better-auth": "^1.6.16"
83
83
  },
84
84
  "peerDependenciesMeta": {
85
85
  "expo-constants": {