@ovok/native 1.16.1-dev.2147 → 1.16.1-dev.2151
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/lib/commonjs/modules/auth/google-return-page/index.js +24 -0
- package/lib/commonjs/modules/auth/google-return-page/index.js.map +1 -0
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.web.js +15 -0
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.web.js.map +1 -0
- package/lib/commonjs/modules/auth/index.js +21 -10
- package/lib/commonjs/modules/auth/index.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +73 -0
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login.js +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js +73 -0
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login.js +1 -1
- package/lib/commonjs/modules/auth/sign-in/index.js +24 -0
- package/lib/commonjs/modules/auth/sign-in/index.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/utils/apple-web-sign-in.js +90 -0
- package/lib/commonjs/modules/auth/sign-in/utils/apple-web-sign-in.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/utils/google-redirect-sign-in.js +89 -0
- package/lib/commonjs/modules/auth/sign-in/utils/google-redirect-sign-in.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/utils/jwt-claims.js +21 -0
- package/lib/commonjs/modules/auth/sign-in/utils/jwt-claims.js.map +1 -0
- package/lib/commonjs/modules/auth/utils/sign-out-google.web.js +10 -0
- package/lib/commonjs/modules/auth/utils/sign-out-google.web.js.map +1 -0
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +13 -0
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -1
- package/lib/module/modules/auth/google-return-page/index.js +21 -0
- package/lib/module/modules/auth/google-return-page/index.js.map +1 -0
- package/lib/module/modules/auth/hooks/use-social-sign-in.web.js +10 -0
- package/lib/module/modules/auth/hooks/use-social-sign-in.web.js.map +1 -0
- package/lib/module/modules/auth/index.js +2 -1
- package/lib/module/modules/auth/index.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +1 -1
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +67 -0
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js +68 -0
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login.js.map +1 -1
- package/lib/module/modules/auth/sign-in/index.js +2 -0
- package/lib/module/modules/auth/sign-in/index.js.map +1 -1
- package/lib/module/modules/auth/sign-in/utils/apple-web-sign-in.js +84 -0
- package/lib/module/modules/auth/sign-in/utils/apple-web-sign-in.js.map +1 -0
- package/lib/module/modules/auth/sign-in/utils/google-redirect-sign-in.js +84 -0
- package/lib/module/modules/auth/sign-in/utils/google-redirect-sign-in.js.map +1 -0
- package/lib/module/modules/auth/sign-in/utils/jwt-claims.js +17 -0
- package/lib/module/modules/auth/sign-in/utils/jwt-claims.js.map +1 -0
- package/lib/module/modules/auth/utils/sign-out-google.web.js +5 -0
- package/lib/module/modules/auth/utils/sign-out-google.web.js.map +1 -0
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js +13 -0
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.history-sequencer.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/google-return-page/index.d.ts +8 -0
- package/lib/typescript/commonjs/src/modules/auth/google-return-page/index.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/index.d.ts +1 -0
- package/lib/typescript/commonjs/src/modules/auth/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/register.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/sign-in.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts +5 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/index.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/index.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +13 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +17 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts +14 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/jwt-claims.d.ts +9 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/jwt-claims.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.web.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-out-google.web.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +7 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/google-return-page/index.d.ts +8 -0
- package/lib/typescript/module/src/modules/auth/google-return-page/index.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts +7 -0
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/index.d.ts +1 -0
- package/lib/typescript/module/src/modules/auth/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/register.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/components/sign-in.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts +5 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.web.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login.d.ts +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts +5 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.web.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login.d.ts +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/social-logins.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/index.d.ts +2 -0
- package/lib/typescript/module/src/modules/auth/sign-in/index.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +13 -0
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +13 -0
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +17 -0
- package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts +14 -0
- package/lib/typescript/module/src/modules/auth/sign-in/utils/google-redirect-sign-in.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/utils/jwt-claims.d.ts +9 -0
- package/lib/typescript/module/src/modules/auth/sign-in/utils/jwt-claims.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/utils/sign-out-google.web.d.ts +3 -0
- package/lib/typescript/module/src/modules/auth/utils/sign-out-google.web.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts +7 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/apple-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,qBAAqB,EACrB,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,UAAU,CACpE,GAAG;
|
|
1
|
+
{"version":3,"file":"apple-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/apple-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,iDAAiD;AACjD,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,qBAAqB,EACrB,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,UAAU,CACpE,GAAG;IAEF,gHAAgH;IAChH,UAAU,EAAE,MAAM,CAAC;IAEnB,+GAA+G;IAC/G,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAE7C,sEAAsE;IACtE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,uEAAuE;IACvE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -1,12 +1,25 @@
|
|
|
1
1
|
import { TouchableOpacityProps } from "react-native";
|
|
2
2
|
import type { Session } from "@ovok/core/next";
|
|
3
|
+
/** Props of `SignIn.SocialLogins.GoogleLogin`. */
|
|
3
4
|
export type GoogleLoginProps = Omit<TouchableOpacityProps, "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "children"> & {
|
|
5
|
+
/** Google OAuth client ID for iOS; the web ignores it. */
|
|
4
6
|
googleIosClientId: string;
|
|
7
|
+
/** Google OAuth web client ID. On the web it is the client ID the sign-in page asks Google for. */
|
|
5
8
|
googleWebClientId: string;
|
|
9
|
+
/**
|
|
10
|
+
* Web only: the redirect URI Google returns to, which must be an Authorized redirect URI of the web client.
|
|
11
|
+
* Defaults to `/oauth/google.html` on this site, where the app serves `GOOGLE_RETURN_PAGE_HTML`.
|
|
12
|
+
*/
|
|
13
|
+
googleRedirectUri?: string;
|
|
14
|
+
/** The `external-auth-internal-id` of the Google entry on the ClientApplication. */
|
|
6
15
|
internalId: string;
|
|
16
|
+
/** Test identifier of the button. */
|
|
7
17
|
testID?: string;
|
|
18
|
+
/** Called with the session once the user has signed in. */
|
|
8
19
|
onSuccess?: (loginResponse: Session) => void;
|
|
20
|
+
/** Called when sign-in fails; a cancelled sign-in is not an error. */
|
|
9
21
|
onError?: (error: Error) => void;
|
|
22
|
+
/** Button content, usually `GoogleLogin.Icon` and `GoogleLogin.Text`. */
|
|
10
23
|
children: React.ReactNode;
|
|
11
24
|
};
|
|
12
25
|
//# sourceMappingURL=google-login-props.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/google-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,qBAAqB,EACrB,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,UAAU,CACpE,GAAG;
|
|
1
|
+
{"version":3,"file":"google-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/google-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,kDAAkD;AAClD,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,qBAAqB,EACrB,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,UAAU,CACpE,GAAG;IAEF,0DAA0D;IAC1D,iBAAiB,EAAE,MAAM,CAAC;IAE1B,mGAAmG;IACnG,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,oFAAoF;IACpF,UAAU,EAAE,MAAM,CAAC;IAEnB,qCAAqC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB,2DAA2D;IAC3D,SAAS,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAE7C,sEAAsE;IACtE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IAEjC,yEAAyE;IACzE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { SocialCredentials } from "@ovok/core/next";
|
|
2
|
+
/** The Apple credentials Ovok takes, without the `internalId` of the sign-in entry. */
|
|
3
|
+
type AppleWebCredentials = Omit<SocialCredentials["apple"], "internalId">;
|
|
4
|
+
/** The Services ID Apple signs the user in for, and the return URL registered for it. */
|
|
5
|
+
type AppleWebOptions = {
|
|
6
|
+
servicesId: string;
|
|
7
|
+
/** Defaults to this site's origin. */
|
|
8
|
+
redirectUri?: string;
|
|
9
|
+
};
|
|
10
|
+
/** Loads Sign in with Apple JS once; a failed load is tried again on the next call. */
|
|
11
|
+
declare const loadAppleScript: () => Promise<void>;
|
|
12
|
+
/** Opens Apple's sign-in popup; it must run from a user gesture such as a tap. */
|
|
13
|
+
declare const signInWithApple: ({ servicesId, redirectUri, }: AppleWebOptions) => Promise<AppleWebCredentials>;
|
|
14
|
+
/** Whether the user closed Apple's popup or declined, which is not an error to report. */
|
|
15
|
+
declare const isAppleCancel: (cause: unknown) => boolean;
|
|
16
|
+
export { isAppleCancel, loadAppleScript, signInWithApple, type AppleWebCredentials, type AppleWebOptions, };
|
|
17
|
+
//# sourceMappingURL=apple-web-sign-in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"apple-web-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/utils/apple-web-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAUzD,uFAAuF;AACvF,KAAK,mBAAmB,GAAG,IAAI,CAAC,iBAAiB,CAAC,OAAO,CAAC,EAAE,YAAY,CAAC,CAAC;AAE1E,yFAAyF;AACzF,KAAK,eAAe,GAAG;IACrB,UAAU,EAAE,MAAM,CAAC;IAEnB,sCAAsC;IACtC,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAoCF,uFAAuF;AACvF,QAAA,MAAM,eAAe,QAAO,OAAO,CAAC,IAAI,CAgBvC,CAAC;AAmCF,kFAAkF;AAClF,QAAA,MAAM,eAAe,GAAU,8BAG5B,eAAe,KAAG,OAAO,CAAC,mBAAmB,CAa/C,CAAC;AAEF,0FAA0F;AAC1F,QAAA,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,OAG4B,CAAC;AAErE,OAAO,EACL,aAAa,EACb,eAAe,EACf,eAAe,EACf,KAAK,mBAAmB,EACxB,KAAK,eAAe,GACrB,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const GOOGLE_REQUEST_KEY = "ovok.google-sign-in";
|
|
2
|
+
declare const GOOGLE_ANSWER_KEY = "ovok.google-sign-in.answer";
|
|
3
|
+
/** Where the tab goes for the ID token, and which address Google returns it to. */
|
|
4
|
+
type GoogleRedirectOptions = {
|
|
5
|
+
clientId: string;
|
|
6
|
+
/** Defaults to the return page at `/oauth/google.html` on this site. */
|
|
7
|
+
redirectUri?: string;
|
|
8
|
+
};
|
|
9
|
+
/** Sends this tab to Google's sign-in page, remembering the request its answer must match. */
|
|
10
|
+
declare const startGoogleSignIn: ({ clientId, redirectUri }: GoogleRedirectOptions) => void;
|
|
11
|
+
/** The ID token Google sent back for this tab's own request; the request and the answer are forgotten either way. */
|
|
12
|
+
declare const takeGoogleIdToken: () => string | undefined;
|
|
13
|
+
export { GOOGLE_ANSWER_KEY, GOOGLE_REQUEST_KEY, startGoogleSignIn, takeGoogleIdToken, type GoogleRedirectOptions, };
|
|
14
|
+
//# sourceMappingURL=google-redirect-sign-in.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"google-redirect-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/utils/google-redirect-sign-in.ts"],"names":[],"mappings":"AAIA,QAAA,MAAM,kBAAkB,wBAAwB,CAAC;AACjD,QAAA,MAAM,iBAAiB,+BAA+B,CAAC;AAWvD,mFAAmF;AACnF,KAAK,qBAAqB,GAAG;IAC3B,QAAQ,EAAE,MAAM,CAAC;IAEjB,wEAAwE;IACxE,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAoCF,8FAA8F;AAC9F,QAAA,MAAM,iBAAiB,GAAI,2BAA2B,qBAAqB,KAAG,IAgB7E,CAAC;AAoBF,qHAAqH;AACrH,QAAA,MAAM,iBAAiB,QAAO,MAAM,GAAG,SActC,CAAC;AAEF,OAAO,EACL,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EACjB,KAAK,qBAAqB,GAC3B,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** The claims web sign-in reads from a provider's JWT. */
|
|
2
|
+
type JwtClaims = {
|
|
3
|
+
sub?: string;
|
|
4
|
+
nonce?: string;
|
|
5
|
+
};
|
|
6
|
+
/** A JWT's claims, read without checking the signature; Ovok verifies the token itself. */
|
|
7
|
+
declare const jwtClaims: (jwt: string) => JwtClaims;
|
|
8
|
+
export { jwtClaims, type JwtClaims };
|
|
9
|
+
//# sourceMappingURL=jwt-claims.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"jwt-claims.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/utils/jwt-claims.ts"],"names":[],"mappings":"AAAA,0DAA0D;AAC1D,KAAK,SAAS,GAAG;IACf,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAKF,2FAA2F;AAC3F,QAAA,MAAM,SAAS,GAAI,KAAK,MAAM,KAAG,SAQhC,CAAC;AAEF,OAAO,EAAE,SAAS,EAAE,KAAK,SAAS,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sign-out-google.web.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/utils/sign-out-google.web.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,eAAO,MAAM,qBAAqB,QAAa,OAAO,CAAC,IAAI,CAAc,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ClockSyncOptions } from "../../../types/clock-sync";
|
|
2
|
-
import { CommandSequencer } from "../../../types/command-sequencer";
|
|
2
|
+
import { CommandSequencer, CommandTimeoutResult } from "../../../types/command-sequencer";
|
|
3
3
|
import { DeviceCommand } from "../../../types/device-command";
|
|
4
4
|
import { LepuFile } from "../lepu/lepu.file-transfer";
|
|
5
5
|
declare const BP2_REALTIME_COMMAND = 8;
|
|
@@ -26,9 +26,15 @@ declare class BP2HistorySequencer implements CommandSequencer {
|
|
|
26
26
|
constructor(params: BP2HistorySequencerParams);
|
|
27
27
|
initialCommands: () => readonly DeviceCommand[];
|
|
28
28
|
isHistoryTransfer: () => boolean;
|
|
29
|
+
commandTimeoutMs: () => number | undefined;
|
|
30
|
+
/** The BP2 can drop a poll while it starts measuring, so a missing answer is asked for again. */
|
|
31
|
+
onCommandTimeout: () => CommandTimeoutResult;
|
|
32
|
+
/** Only the realtime answer settles a poll; any other frame leaves its timeout running. */
|
|
33
|
+
commandProgress: (frame: readonly string[]) => "ignored" | "complete";
|
|
29
34
|
nextCommand: (frame: readonly string[]) => readonly DeviceCommand[] | undefined;
|
|
30
35
|
private startTransfer;
|
|
31
36
|
private finishTransfer;
|
|
37
|
+
private isPolling;
|
|
32
38
|
private pollCommand;
|
|
33
39
|
private isResultFrame;
|
|
34
40
|
private isIdleFrame;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bp2.history-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,gBAAgB,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,
|
|
1
|
+
{"version":3,"file":"bp2.history-sequencer.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/bt-management/services/devices/bp2/bp2.history-sequencer.ts"],"names":[],"mappings":"AACA,OAAO,EAEL,gBAAgB,EACjB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,gBAAgB,EAChB,oBAAoB,EACrB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAK9D,OAAO,EAAE,QAAQ,EAAoB,MAAM,4BAA4B,CAAC;AAOxE,QAAA,MAAM,oBAAoB,IAAO,CAAC;AASlC,UAAU,yBAAyB;IACjC,KAAK,EAAE,IAAI,CAAC,aAAa,EAAE,OAAO,CAAC,CAAC;IACpC,MAAM,EAAE,CAAC,IAAI,EAAE,QAAQ,KAAK,IAAI,CAAC;IACjC,OAAO,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IAClC,kBAAkB,EAAE,MAAM,IAAI,CAAC;IAC/B,mBAAmB,EAAE,MAAM,OAAO,CAAC;IACnC,mBAAmB,EAAE,MAAM,IAAI,CAAC;IAChC,iBAAiB,EAAE,MAAM,IAAI,CAAC;IAC9B,SAAS,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC/B,SAAS,CAAC,EAAE,gBAAgB,CAAC;CAC9B;AAID,0EAA0E;AAC1E,cAAM,mBAAoB,YAAW,gBAAgB;IAQhC,OAAO,CAAC,QAAQ,CAAC,MAAM;IAP1C,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA4B;IACpD,OAAO,CAAC,QAAQ,CAA+B;IAC/C,OAAO,CAAC,aAAa,CAAqB;IAC1C,OAAO,CAAC,uBAAuB,CAAK;IACpC,OAAO,CAAC,iBAAiB,CAAS;IAClC,OAAO,CAAC,KAAK,CAA4B;gBAEL,MAAM,EAAE,yBAAyB;IAE9D,eAAe,QAAO,SAAS,aAAa,EAAE,CAgBnD;IAEK,iBAAiB,QAAO,OAAO,CAAS;IAExC,gBAAgB,QAAO,MAAM,GAAG,SAAS,CACY;IAE5D,iGAAiG;IAC1F,gBAAgB,QAAO,oBAAoB,CACW;IAE7D,2FAA2F;IACpF,eAAe,GAAI,OAAO,SAAS,MAAM,EAAE,KAAG,SAAS,GAAG,UAAU,CAG1D;IAEV,WAAW,GAChB,OAAO,SAAS,MAAM,EAAE,KACvB,SAAS,aAAa,EAAE,GAAG,SAAS,CAyCrC;IAEF,OAAO,CAAC,aAAa,CAcnB;IAEF,OAAO,CAAC,cAAc,CAKpB;IAEF,OAAO,CAAC,SAAS,CACuC;IAExD,OAAO,CAAC,WAAW,CAIhB;IAEH,OAAO,CAAC,aAAa,CAEmC;IAExD,OAAO,CAAC,WAAW,CAEmC;IAEtD,OAAO,CAAC,YAAY,CAuBlB;CACH;AAED,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,CAAC"}
|