@better-auth/expo 1.7.4 → 1.7.5
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
|
@@ -125,7 +125,6 @@ declare const expoClient: (opts: ExpoClientOptions) => {
|
|
|
125
125
|
onSuccess(context: _$_better_fetch_fetch0.SuccessContext<any>): Promise<void>;
|
|
126
126
|
};
|
|
127
127
|
init(url: string, options: ({
|
|
128
|
-
priority?: RequestPriority | undefined;
|
|
129
128
|
method?: string | undefined;
|
|
130
129
|
redirect?: RequestRedirect | undefined;
|
|
131
130
|
window?: null | undefined;
|
|
@@ -134,9 +133,11 @@ declare const expoClient: (opts: ExpoClientOptions) => {
|
|
|
134
133
|
integrity?: string | undefined;
|
|
135
134
|
keepalive?: boolean | undefined;
|
|
136
135
|
mode?: RequestMode | undefined;
|
|
136
|
+
priority?: RequestPriority | undefined;
|
|
137
137
|
referrer?: string | undefined;
|
|
138
138
|
referrerPolicy?: ReferrerPolicy | undefined;
|
|
139
139
|
signal?: (AbortSignal | null) | undefined;
|
|
140
|
+
} & {
|
|
140
141
|
onRequest?: (<T extends Record<string, any>>(context: _$_better_fetch_fetch0.RequestContext<T>) => Promise<_$_better_fetch_fetch0.RequestContext | void> | _$_better_fetch_fetch0.RequestContext | void) | undefined;
|
|
141
142
|
onResponse?: ((context: _$_better_fetch_fetch0.ResponseContext) => Promise<Response | void | _$_better_fetch_fetch0.ResponseContext> | Response | _$_better_fetch_fetch0.ResponseContext | void) | undefined;
|
|
142
143
|
onSuccess?: ((context: _$_better_fetch_fetch0.SuccessContext<any>) => Promise<void> | void) | undefined;
|
|
@@ -175,9 +176,11 @@ declare const expoClient: (opts: ExpoClientOptions) => {
|
|
|
175
176
|
jsonParser?: ((text: string) => Promise<any> | any) | undefined;
|
|
176
177
|
retry?: _$_better_fetch_fetch0.RetryOptions | undefined;
|
|
177
178
|
retryAttempt?: number | undefined;
|
|
179
|
+
method?: ("POST" | "PUT" | "DELETE" | "PATCH" | "GET" | "HEAD" | "OPTIONS" | (string & {})) | undefined;
|
|
178
180
|
output?: (_$_better_fetch_fetch0.StandardSchemaV1 | typeof Blob | typeof File) | undefined;
|
|
179
181
|
errorSchema?: _$_better_fetch_fetch0.StandardSchemaV1 | undefined;
|
|
180
182
|
disableValidation?: boolean | undefined;
|
|
183
|
+
signal?: (AbortSignal | null) | undefined;
|
|
181
184
|
} & Record<string, any>) | undefined): Promise<{
|
|
182
185
|
url: string;
|
|
183
186
|
options: ClientFetchOption;
|
package/dist/client.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-Db7MRDhd.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/utils";
|
|
4
4
|
import Constants from "expo-constants";
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as PACKAGE_VERSION } from "./version-
|
|
1
|
+
import { t as PACKAGE_VERSION } from "./version-Db7MRDhd.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";
|
package/dist/plugins/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@better-auth/expo",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"description": "Better Auth integration for Expo and React Native applications.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"dependencies": {
|
|
61
|
-
"@better-fetch/fetch": "1.3.
|
|
61
|
+
"@better-fetch/fetch": "1.3.2",
|
|
62
62
|
"better-call": "1.4.0",
|
|
63
63
|
"zod": "^4.5.4"
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
|
-
"@better-fetch/fetch": "1.3.
|
|
66
|
+
"@better-fetch/fetch": "1.3.2",
|
|
67
67
|
"expo-constants": "~56.0.18",
|
|
68
68
|
"expo-linking": "~56.0.14",
|
|
69
69
|
"expo-network": "~56.0.5",
|
|
@@ -71,8 +71,8 @@
|
|
|
71
71
|
"expo-web-browser": "~56.0.5",
|
|
72
72
|
"react-native": "~0.86.0",
|
|
73
73
|
"tsdown": "0.21.10",
|
|
74
|
-
"@better-auth/core": "1.7.
|
|
75
|
-
"better-auth": "1.7.
|
|
74
|
+
"@better-auth/core": "1.7.5",
|
|
75
|
+
"better-auth": "1.7.5"
|
|
76
76
|
},
|
|
77
77
|
"peerDependencies": {
|
|
78
78
|
"expo-constants": ">=17.0.0",
|
|
@@ -80,8 +80,8 @@
|
|
|
80
80
|
"expo-network": ">=8.0.7",
|
|
81
81
|
"expo-secure-store": ">=12.5.0",
|
|
82
82
|
"expo-web-browser": ">=14.0.0",
|
|
83
|
-
"@better-auth/core": "^1.7.
|
|
84
|
-
"better-auth": "^1.7.
|
|
83
|
+
"@better-auth/core": "^1.7.5",
|
|
84
|
+
"better-auth": "^1.7.5"
|
|
85
85
|
},
|
|
86
86
|
"peerDependenciesMeta": {
|
|
87
87
|
"expo-constants": {
|