@clerk/expo 2.19.0
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/LICENSE +21 -0
- package/README.md +74 -0
- package/dist/cache/MemoryTokenCache.d.ts +3 -0
- package/dist/cache/MemoryTokenCache.d.ts.map +1 -0
- package/dist/cache/MemoryTokenCache.js +44 -0
- package/dist/cache/MemoryTokenCache.js.map +1 -0
- package/dist/cache/ResourceCache.d.ts +6 -0
- package/dist/cache/ResourceCache.d.ts.map +1 -0
- package/dist/cache/ResourceCache.js +84 -0
- package/dist/cache/ResourceCache.js.map +1 -0
- package/dist/cache/dummy-data/client-resource.d.ts +3 -0
- package/dist/cache/dummy-data/client-resource.d.ts.map +1 -0
- package/dist/cache/dummy-data/client-resource.js +157 -0
- package/dist/cache/dummy-data/client-resource.js.map +1 -0
- package/dist/cache/dummy-data/environment-resource.d.ts +3 -0
- package/dist/cache/dummy-data/environment-resource.d.ts.map +1 -0
- package/dist/cache/dummy-data/environment-resource.js +260 -0
- package/dist/cache/dummy-data/environment-resource.js.map +1 -0
- package/dist/cache/dummy-data/index.d.ts +3 -0
- package/dist/cache/dummy-data/index.d.ts.map +1 -0
- package/dist/cache/dummy-data/index.js +32 -0
- package/dist/cache/dummy-data/index.js.map +1 -0
- package/dist/cache/index.d.ts +5 -0
- package/dist/cache/index.d.ts.map +1 -0
- package/dist/cache/index.js +44 -0
- package/dist/cache/index.js.map +1 -0
- package/dist/cache/types.d.ts +18 -0
- package/dist/cache/types.d.ts.map +1 -0
- package/dist/cache/types.js +17 -0
- package/dist/cache/types.js.map +1 -0
- package/dist/components/controlComponents.d.ts +2 -0
- package/dist/components/controlComponents.d.ts.map +1 -0
- package/dist/components/controlComponents.js +37 -0
- package/dist/components/controlComponents.js.map +1 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +23 -0
- package/dist/components/index.js.map +1 -0
- package/dist/errorThrower.d.ts +3 -0
- package/dist/errorThrower.d.ts.map +1 -0
- package/dist/errorThrower.js +30 -0
- package/dist/errorThrower.js.map +1 -0
- package/dist/experimental.d.ts +2 -0
- package/dist/experimental.d.ts.map +1 -0
- package/dist/experimental.js +17 -0
- package/dist/experimental.js.map +1 -0
- package/dist/global.d.js +2 -0
- package/dist/global.d.js.map +1 -0
- package/dist/hooks/index.d.ts +6 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +56 -0
- package/dist/hooks/index.js.map +1 -0
- package/dist/hooks/useAuth.d.ts +3 -0
- package/dist/hooks/useAuth.d.ts.map +1 -0
- package/dist/hooks/useAuth.js +50 -0
- package/dist/hooks/useAuth.js.map +1 -0
- package/dist/hooks/useOAuth.d.ts +25 -0
- package/dist/hooks/useOAuth.d.ts.map +1 -0
- package/dist/hooks/useOAuth.js +104 -0
- package/dist/hooks/useOAuth.js.map +1 -0
- package/dist/hooks/useSSO.d.ts +23 -0
- package/dist/hooks/useSSO.d.ts.map +1 -0
- package/dist/hooks/useSSO.js +105 -0
- package/dist/hooks/useSSO.js.map +1 -0
- package/dist/hooks/useSignInWithApple.d.ts +50 -0
- package/dist/hooks/useSignInWithApple.d.ts.map +1 -0
- package/dist/hooks/useSignInWithApple.ios.d.ts +51 -0
- package/dist/hooks/useSignInWithApple.ios.d.ts.map +1 -0
- package/dist/hooks/useSignInWithApple.ios.js +117 -0
- package/dist/hooks/useSignInWithApple.ios.js.map +1 -0
- package/dist/hooks/useSignInWithApple.js +39 -0
- package/dist/hooks/useSignInWithApple.js.map +1 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +52 -0
- package/dist/index.js.map +1 -0
- package/dist/legacy.d.ts +2 -0
- package/dist/legacy.d.ts.map +1 -0
- package/dist/legacy.js +31 -0
- package/dist/legacy.js.map +1 -0
- package/dist/local-credentials/index.d.ts +2 -0
- package/dist/local-credentials/index.d.ts.map +1 -0
- package/dist/local-credentials/index.js +29 -0
- package/dist/local-credentials/index.js.map +1 -0
- package/dist/local-credentials/useLocalCredentials/index.d.ts +2 -0
- package/dist/local-credentials/useLocalCredentials/index.d.ts.map +1 -0
- package/dist/local-credentials/useLocalCredentials/index.js +29 -0
- package/dist/local-credentials/useLocalCredentials/index.js.map +1 -0
- package/dist/local-credentials/useLocalCredentials/shared.d.ts +24 -0
- package/dist/local-credentials/useLocalCredentials/shared.d.ts.map +1 -0
- package/dist/local-credentials/useLocalCredentials/shared.js +37 -0
- package/dist/local-credentials/useLocalCredentials/shared.js.map +1 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.d.ts +7 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.d.ts.map +1 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.js +195 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.js.map +1 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.web.d.ts +3 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.web.d.ts.map +1 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.web.js +32 -0
- package/dist/local-credentials/useLocalCredentials/useLocalCredentials.web.js.map +1 -0
- package/dist/passkeys/index.d.ts +3 -0
- package/dist/passkeys/index.d.ts.map +1 -0
- package/dist/passkeys/index.js +29 -0
- package/dist/passkeys/index.js.map +1 -0
- package/dist/polyfills/base64Polyfill.d.ts +2 -0
- package/dist/polyfills/base64Polyfill.d.ts.map +1 -0
- package/dist/polyfills/base64Polyfill.js +10 -0
- package/dist/polyfills/base64Polyfill.js.map +1 -0
- package/dist/polyfills/index.d.ts +3 -0
- package/dist/polyfills/index.d.ts.map +1 -0
- package/dist/polyfills/index.js +4 -0
- package/dist/polyfills/index.js.map +1 -0
- package/dist/provider/ClerkProvider.d.ts +32 -0
- package/dist/provider/ClerkProvider.d.ts.map +1 -0
- package/dist/provider/ClerkProvider.js +85 -0
- package/dist/provider/ClerkProvider.js.map +1 -0
- package/dist/provider/singleton/createClerkInstance.d.ts +9 -0
- package/dist/provider/singleton/createClerkInstance.d.ts.map +1 -0
- package/dist/provider/singleton/createClerkInstance.js +167 -0
- package/dist/provider/singleton/createClerkInstance.js.map +1 -0
- package/dist/provider/singleton/index.d.ts +2 -0
- package/dist/provider/singleton/index.d.ts.map +1 -0
- package/dist/provider/singleton/index.js +23 -0
- package/dist/provider/singleton/index.js.map +1 -0
- package/dist/provider/singleton/singleton.d.ts +25 -0
- package/dist/provider/singleton/singleton.d.ts.map +1 -0
- package/dist/provider/singleton/singleton.js +34 -0
- package/dist/provider/singleton/singleton.js.map +1 -0
- package/dist/provider/singleton/singleton.web.d.ts +11 -0
- package/dist/provider/singleton/singleton.web.d.ts.map +1 -0
- package/dist/provider/singleton/singleton.web.js +36 -0
- package/dist/provider/singleton/singleton.web.js.map +1 -0
- package/dist/provider/singleton/types.d.ts +26 -0
- package/dist/provider/singleton/types.d.ts.map +1 -0
- package/dist/provider/singleton/types.js +17 -0
- package/dist/provider/singleton/types.js.map +1 -0
- package/dist/resource-cache/index.d.ts +2 -0
- package/dist/resource-cache/index.d.ts.map +1 -0
- package/dist/resource-cache/index.js +29 -0
- package/dist/resource-cache/index.js.map +1 -0
- package/dist/resource-cache/resource-cache.d.ts +17 -0
- package/dist/resource-cache/resource-cache.d.ts.map +1 -0
- package/dist/resource-cache/resource-cache.js +154 -0
- package/dist/resource-cache/resource-cache.js.map +1 -0
- package/dist/secure-store/index.d.ts +6 -0
- package/dist/secure-store/index.d.ts.map +1 -0
- package/dist/secure-store/index.js +30 -0
- package/dist/secure-store/index.js.map +1 -0
- package/dist/token-cache/index.d.ts +16 -0
- package/dist/token-cache/index.d.ts.map +1 -0
- package/dist/token-cache/index.js +66 -0
- package/dist/token-cache/index.js.map +1 -0
- package/dist/utils/errors.d.ts +2 -0
- package/dist/utils/errors.d.ts.map +1 -0
- package/dist/utils/errors.js +30 -0
- package/dist/utils/errors.js.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/index.js +25 -0
- package/dist/utils/index.js.map +1 -0
- package/dist/utils/runtime.d.ts +10 -0
- package/dist/utils/runtime.d.ts.map +1 -0
- package/dist/utils/runtime.js +47 -0
- package/dist/utils/runtime.js.map +1 -0
- package/dist/web/index.d.ts +3 -0
- package/dist/web/index.d.ts.map +1 -0
- package/dist/web/index.js +25 -0
- package/dist/web/index.js.map +1 -0
- package/dist/web/uiComponents.d.ts +18 -0
- package/dist/web/uiComponents.d.ts.map +1 -0
- package/dist/web/uiComponents.js +88 -0
- package/dist/web/uiComponents.js.map +1 -0
- package/package.json +138 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var uiComponents_exports = {};
|
|
20
|
+
__export(uiComponents_exports, {
|
|
21
|
+
CreateOrganization: () => CreateOrganization,
|
|
22
|
+
GoogleOneTap: () => GoogleOneTap,
|
|
23
|
+
OrganizationList: () => OrganizationList,
|
|
24
|
+
OrganizationProfile: () => OrganizationProfile,
|
|
25
|
+
OrganizationSwitcher: () => OrganizationSwitcher,
|
|
26
|
+
PricingTable: () => PricingTable,
|
|
27
|
+
SignIn: () => SignIn,
|
|
28
|
+
SignInButton: () => SignInButton,
|
|
29
|
+
SignInWithMetamaskButton: () => SignInWithMetamaskButton,
|
|
30
|
+
SignOutButton: () => SignOutButton,
|
|
31
|
+
SignUp: () => SignUp,
|
|
32
|
+
SignUpButton: () => SignUpButton,
|
|
33
|
+
UserAvatar: () => UserAvatar,
|
|
34
|
+
UserButton: () => UserButton,
|
|
35
|
+
UserProfile: () => UserProfile,
|
|
36
|
+
Waitlist: () => Waitlist
|
|
37
|
+
});
|
|
38
|
+
module.exports = __toCommonJS(uiComponents_exports);
|
|
39
|
+
var import_react = require("@clerk/react");
|
|
40
|
+
var import_react_native = require("react-native");
|
|
41
|
+
var import_errors = require("../utils/errors");
|
|
42
|
+
const ErrorComponent = (componentName) => {
|
|
43
|
+
import_errors.errorThrower.throw(`<${componentName}/> component is not supported in native environments.`);
|
|
44
|
+
};
|
|
45
|
+
function WrapComponent(component) {
|
|
46
|
+
const commonentName = component.displayName.replace("withClerk(", "").replace(")", "");
|
|
47
|
+
return import_react_native.Platform.select({
|
|
48
|
+
// @ts-expect-error - This is just to make the function signature match the original
|
|
49
|
+
native: () => () => ErrorComponent(commonentName),
|
|
50
|
+
default: () => component
|
|
51
|
+
})();
|
|
52
|
+
}
|
|
53
|
+
const SignIn = WrapComponent(import_react.SignIn);
|
|
54
|
+
const SignUp = WrapComponent(import_react.SignUp);
|
|
55
|
+
const UserAvatar = WrapComponent(import_react.UserAvatar);
|
|
56
|
+
const UserButton = WrapComponent(import_react.UserButton);
|
|
57
|
+
const UserProfile = WrapComponent(import_react.UserProfile);
|
|
58
|
+
const OrganizationProfile = WrapComponent(import_react.OrganizationProfile);
|
|
59
|
+
const OrganizationSwitcher = WrapComponent(import_react.OrganizationSwitcher);
|
|
60
|
+
const OrganizationList = WrapComponent(import_react.OrganizationList);
|
|
61
|
+
const CreateOrganization = WrapComponent(import_react.CreateOrganization);
|
|
62
|
+
const SignInButton = WrapComponent(import_react.SignInButton);
|
|
63
|
+
const SignUpButton = WrapComponent(import_react.SignUpButton);
|
|
64
|
+
const SignOutButton = WrapComponent(import_react.SignOutButton);
|
|
65
|
+
const SignInWithMetamaskButton = WrapComponent(import_react.SignInWithMetamaskButton);
|
|
66
|
+
const GoogleOneTap = WrapComponent(import_react.GoogleOneTap);
|
|
67
|
+
const Waitlist = WrapComponent(import_react.Waitlist);
|
|
68
|
+
const PricingTable = WrapComponent(import_react.PricingTable);
|
|
69
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
70
|
+
0 && (module.exports = {
|
|
71
|
+
CreateOrganization,
|
|
72
|
+
GoogleOneTap,
|
|
73
|
+
OrganizationList,
|
|
74
|
+
OrganizationProfile,
|
|
75
|
+
OrganizationSwitcher,
|
|
76
|
+
PricingTable,
|
|
77
|
+
SignIn,
|
|
78
|
+
SignInButton,
|
|
79
|
+
SignInWithMetamaskButton,
|
|
80
|
+
SignOutButton,
|
|
81
|
+
SignUp,
|
|
82
|
+
SignUpButton,
|
|
83
|
+
UserAvatar,
|
|
84
|
+
UserButton,
|
|
85
|
+
UserProfile,
|
|
86
|
+
Waitlist
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=uiComponents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../../src/web/uiComponents.tsx"],"sourcesContent":["import {\n CreateOrganization as BaseCreateOrganization,\n GoogleOneTap as BaseGoogleOneTap,\n OrganizationList as BaseOrganizationList,\n OrganizationProfile as BaseOrganizationProfile,\n OrganizationSwitcher as BaseOrganizationSwitcher,\n PricingTable as BasePricingTable,\n SignIn as BaseSignIn,\n SignInButton as BaseSignInButton,\n SignInWithMetamaskButton as BaseSignInWithMetamaskButton,\n SignOutButton as BaseSignOutButton,\n SignUp as BaseSignUp,\n SignUpButton as BaseSignUpButton,\n UserAvatar as BaseUserAvatar,\n UserButton as BaseUserButton,\n UserProfile as BaseUserProfile,\n Waitlist as BaseWaitlist,\n} from '@clerk/react';\nimport { Platform } from 'react-native';\n\nimport { errorThrower } from '../utils/errors';\n\nconst ErrorComponent = (componentName: string) => {\n errorThrower.throw(`<${componentName}/> component is not supported in native environments.`);\n};\n\nfunction WrapComponent<T extends { displayName: string }>(component: T) {\n const commonentName = component.displayName.replace('withClerk(', '').replace(')', '');\n\n // @ts-expect-error - This is just to make the function signature match the original\n return Platform.select<T>({\n // @ts-expect-error - This is just to make the function signature match the original\n native: () => () => ErrorComponent(commonentName),\n default: () => component,\n })();\n}\n\nexport const SignIn: typeof BaseSignIn = WrapComponent(BaseSignIn);\nexport const SignUp: typeof BaseSignUp = WrapComponent(BaseSignUp);\n\nexport const UserAvatar: typeof BaseUserAvatar = WrapComponent(BaseUserAvatar);\nexport const UserButton: typeof BaseUserButton = WrapComponent(BaseUserButton);\nexport const UserProfile: typeof BaseUserProfile = WrapComponent(BaseUserProfile);\n\nexport const OrganizationProfile: typeof BaseOrganizationProfile = WrapComponent(BaseOrganizationProfile);\nexport const OrganizationSwitcher: typeof BaseOrganizationSwitcher = WrapComponent(BaseOrganizationSwitcher);\nexport const OrganizationList: typeof BaseOrganizationList = WrapComponent(BaseOrganizationList);\nexport const CreateOrganization: typeof BaseCreateOrganization = WrapComponent(BaseCreateOrganization);\n\nexport const SignInButton: typeof BaseSignInButton = WrapComponent(BaseSignInButton);\nexport const SignUpButton: typeof BaseSignUpButton = WrapComponent(BaseSignUpButton);\nexport const SignOutButton: typeof BaseSignOutButton = WrapComponent(BaseSignOutButton);\nexport const SignInWithMetamaskButton: typeof BaseSignInWithMetamaskButton =\n WrapComponent(BaseSignInWithMetamaskButton);\nexport const GoogleOneTap: typeof BaseGoogleOneTap = WrapComponent(BaseGoogleOneTap);\nexport const Waitlist: typeof BaseWaitlist = WrapComponent(BaseWaitlist);\nexport const PricingTable: typeof BasePricingTable = WrapComponent(BasePricingTable);\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAiBO;AACP,0BAAyB;AAEzB,oBAA6B;AAE7B,MAAM,iBAAiB,CAAC,kBAA0B;AAChD,6BAAa,MAAM,IAAI,aAAa,uDAAuD;AAC7F;AAEA,SAAS,cAAiD,WAAc;AACtE,QAAM,gBAAgB,UAAU,YAAY,QAAQ,cAAc,EAAE,EAAE,QAAQ,KAAK,EAAE;AAGrF,SAAO,6BAAS,OAAU;AAAA;AAAA,IAExB,QAAQ,MAAM,MAAM,eAAe,aAAa;AAAA,IAChD,SAAS,MAAM;AAAA,EACjB,CAAC,EAAE;AACL;AAEO,MAAM,SAA4B,cAAc,aAAAA,MAAU;AAC1D,MAAM,SAA4B,cAAc,aAAAC,MAAU;AAE1D,MAAM,aAAoC,cAAc,aAAAC,UAAc;AACtE,MAAM,aAAoC,cAAc,aAAAC,UAAc;AACtE,MAAM,cAAsC,cAAc,aAAAC,WAAe;AAEzE,MAAM,sBAAsD,cAAc,aAAAC,mBAAuB;AACjG,MAAM,uBAAwD,cAAc,aAAAC,oBAAwB;AACpG,MAAM,mBAAgD,cAAc,aAAAC,gBAAoB;AACxF,MAAM,qBAAoD,cAAc,aAAAC,kBAAsB;AAE9F,MAAM,eAAwC,cAAc,aAAAC,YAAgB;AAC5E,MAAM,eAAwC,cAAc,aAAAC,YAAgB;AAC5E,MAAM,gBAA0C,cAAc,aAAAC,aAAiB;AAC/E,MAAM,2BACX,cAAc,aAAAC,wBAA4B;AACrC,MAAM,eAAwC,cAAc,aAAAC,YAAgB;AAC5E,MAAM,WAAgC,cAAc,aAAAC,QAAY;AAChE,MAAM,eAAwC,cAAc,aAAAC,YAAgB;","names":["BaseSignIn","BaseSignUp","BaseUserAvatar","BaseUserButton","BaseUserProfile","BaseOrganizationProfile","BaseOrganizationSwitcher","BaseOrganizationList","BaseCreateOrganization","BaseSignInButton","BaseSignUpButton","BaseSignOutButton","BaseSignInWithMetamaskButton","BaseGoogleOneTap","BaseWaitlist","BasePricingTable"]}
|
package/package.json
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@clerk/expo",
|
|
3
|
+
"version": "2.19.0",
|
|
4
|
+
"description": "Clerk React Native/Expo library",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"react",
|
|
7
|
+
"react-native",
|
|
8
|
+
"expo",
|
|
9
|
+
"auth",
|
|
10
|
+
"authentication",
|
|
11
|
+
"passwordless",
|
|
12
|
+
"session",
|
|
13
|
+
"jwt"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://clerk.com/",
|
|
16
|
+
"bugs": {
|
|
17
|
+
"url": "https://github.com/clerk/javascript/issues"
|
|
18
|
+
},
|
|
19
|
+
"repository": {
|
|
20
|
+
"type": "git",
|
|
21
|
+
"url": "git+https://github.com/clerk/javascript.git",
|
|
22
|
+
"directory": "packages/expo"
|
|
23
|
+
},
|
|
24
|
+
"license": "MIT",
|
|
25
|
+
"author": "Clerk",
|
|
26
|
+
"exports": {
|
|
27
|
+
".": {
|
|
28
|
+
"types": "./dist/index.d.ts",
|
|
29
|
+
"default": "./dist/index.js"
|
|
30
|
+
},
|
|
31
|
+
"./web": {
|
|
32
|
+
"types": "./dist/web/index.d.ts",
|
|
33
|
+
"default": "./dist/web/index.js"
|
|
34
|
+
},
|
|
35
|
+
"./passkeys": {
|
|
36
|
+
"types": "./dist/passkeys/index.d.ts",
|
|
37
|
+
"default": "./dist/passkeys/index.js"
|
|
38
|
+
},
|
|
39
|
+
"./local-credentials": {
|
|
40
|
+
"types": "./dist/local-credentials/index.d.ts",
|
|
41
|
+
"default": "./dist/local-credentials/index.js"
|
|
42
|
+
},
|
|
43
|
+
"./secure-store": {
|
|
44
|
+
"types": "./dist/secure-store/index.d.ts",
|
|
45
|
+
"default": "./dist/secure-store/index.js"
|
|
46
|
+
},
|
|
47
|
+
"./token-cache": {
|
|
48
|
+
"types": "./dist/token-cache/index.d.ts",
|
|
49
|
+
"default": "./dist/token-cache/index.js"
|
|
50
|
+
},
|
|
51
|
+
"./resource-cache": {
|
|
52
|
+
"types": "./dist/resource-cache/index.d.ts",
|
|
53
|
+
"default": "./dist/resource-cache/index.js"
|
|
54
|
+
},
|
|
55
|
+
"./experimental": {
|
|
56
|
+
"types": "./dist/experimental.d.ts",
|
|
57
|
+
"default": "./dist/experimental.js"
|
|
58
|
+
},
|
|
59
|
+
"./legacy": {
|
|
60
|
+
"types": "./dist/legacy.d.ts",
|
|
61
|
+
"default": "./dist/legacy.js"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"main": "./dist/index.js",
|
|
65
|
+
"source": "./src/index.ts",
|
|
66
|
+
"types": "./dist/index.d.ts",
|
|
67
|
+
"files": [
|
|
68
|
+
"dist"
|
|
69
|
+
],
|
|
70
|
+
"dependencies": {
|
|
71
|
+
"base-64": "^1.0.0",
|
|
72
|
+
"react-native-url-polyfill": "2.0.0",
|
|
73
|
+
"tslib": "2.8.1",
|
|
74
|
+
"@clerk/clerk-js": "^5.107.0",
|
|
75
|
+
"@clerk/react": "^5.54.0",
|
|
76
|
+
"@clerk/shared": "^3.33.0"
|
|
77
|
+
},
|
|
78
|
+
"devDependencies": {
|
|
79
|
+
"@types/base-64": "^1.0.2",
|
|
80
|
+
"expo-apple-authentication": "^7.2.4",
|
|
81
|
+
"expo-auth-session": "^5.4.0",
|
|
82
|
+
"expo-crypto": "^15.0.7",
|
|
83
|
+
"expo-local-authentication": "^13.8.0",
|
|
84
|
+
"expo-secure-store": "^12.8.1",
|
|
85
|
+
"expo-web-browser": "^12.8.2",
|
|
86
|
+
"react-native": "^0.81.4",
|
|
87
|
+
"@clerk/expo-passkeys": "0.4.17"
|
|
88
|
+
},
|
|
89
|
+
"peerDependencies": {
|
|
90
|
+
"@clerk/expo-passkeys": ">=0.0.6",
|
|
91
|
+
"expo": ">=53 <55",
|
|
92
|
+
"expo-apple-authentication": ">=7.0.0",
|
|
93
|
+
"expo-auth-session": ">=5",
|
|
94
|
+
"expo-crypto": ">=12",
|
|
95
|
+
"expo-local-authentication": ">=13.5.0",
|
|
96
|
+
"expo-secure-store": ">=12.4.0",
|
|
97
|
+
"expo-web-browser": ">=12.5.0",
|
|
98
|
+
"react": "^18.0.0 || ^19.0.0 || ^19.0.0-0",
|
|
99
|
+
"react-dom": "^18.0.0 || ^19.0.0 || ^19.0.0-0",
|
|
100
|
+
"react-native": ">=0.73"
|
|
101
|
+
},
|
|
102
|
+
"peerDependenciesMeta": {
|
|
103
|
+
"@clerk/expo-passkeys": {
|
|
104
|
+
"optional": true
|
|
105
|
+
},
|
|
106
|
+
"expo-apple-authentication": {
|
|
107
|
+
"optional": true
|
|
108
|
+
},
|
|
109
|
+
"expo-crypto": {
|
|
110
|
+
"optional": true
|
|
111
|
+
},
|
|
112
|
+
"expo-local-authentication": {
|
|
113
|
+
"optional": true
|
|
114
|
+
},
|
|
115
|
+
"expo-secure-store": {
|
|
116
|
+
"optional": true
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
"engines": {
|
|
120
|
+
"node": ">=18.17.0"
|
|
121
|
+
},
|
|
122
|
+
"publishConfig": {
|
|
123
|
+
"access": "public"
|
|
124
|
+
},
|
|
125
|
+
"scripts": {
|
|
126
|
+
"build": "tsup",
|
|
127
|
+
"build:declarations": "tsc -p tsconfig.declarations.json",
|
|
128
|
+
"clean": "rimraf ./dist",
|
|
129
|
+
"dev": "tsup --watch",
|
|
130
|
+
"dev:publish": "pnpm dev -- --env.publish",
|
|
131
|
+
"format": "node ../../scripts/format-package.mjs",
|
|
132
|
+
"format:check": "node ../../scripts/format-package.mjs --check",
|
|
133
|
+
"lint": "eslint src",
|
|
134
|
+
"publish:local": "pnpm yalc push --replace --sig",
|
|
135
|
+
"test": "vitest run",
|
|
136
|
+
"test:watch": "vitest watch"
|
|
137
|
+
}
|
|
138
|
+
}
|