@okta/okta-auth-js 7.12.0 → 7.13.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/CHANGELOG.md +14 -0
- package/README.md +2 -0
- package/cjs/authn/mixin.js +11 -1
- package/cjs/authn/mixin.js.map +1 -1
- package/cjs/authn/types.js.map +1 -1
- package/cjs/http/OktaUserAgent.js +2 -2
- package/cjs/idx/poll.js +7 -1
- package/cjs/idx/poll.js.map +1 -1
- package/cjs/idx/types/api.js.map +1 -1
- package/cjs/oidc/getWithPopup.js +8 -4
- package/cjs/oidc/getWithPopup.js.map +1 -1
- package/dist/okta-auth-js.authn.min.analyzer.html +2 -2
- package/dist/okta-auth-js.authn.min.js +1 -1
- package/dist/okta-auth-js.authn.min.js.map +1 -1
- package/dist/okta-auth-js.core.min.analyzer.html +2 -2
- package/dist/okta-auth-js.core.min.js +1 -1
- package/dist/okta-auth-js.core.min.js.map +1 -1
- package/dist/okta-auth-js.idx.min.analyzer.html +2 -2
- package/dist/okta-auth-js.idx.min.js +1 -1
- package/dist/okta-auth-js.idx.min.js.map +1 -1
- package/dist/okta-auth-js.min.analyzer.html +2 -2
- package/dist/okta-auth-js.min.js +1 -1
- package/dist/okta-auth-js.min.js.map +1 -1
- package/dist/okta-auth-js.myaccount.min.analyzer.html +2 -2
- package/dist/okta-auth-js.myaccount.min.js +1 -1
- package/dist/okta-auth-js.myaccount.min.js.map +1 -1
- package/esm/browser/authn/mixin.js +6 -1
- package/esm/browser/authn/mixin.js.map +1 -1
- package/esm/browser/http/OktaUserAgent.js +2 -2
- package/esm/browser/idx/poll.js +4 -1
- package/esm/browser/idx/poll.js.map +1 -1
- package/esm/browser/idx/types/api.js.map +1 -1
- package/esm/browser/oidc/getWithPopup.js +6 -4
- package/esm/browser/oidc/getWithPopup.js.map +1 -1
- package/esm/browser/package.json +1 -1
- package/esm/node/authn/mixin.js +6 -1
- package/esm/node/authn/mixin.js.map +1 -1
- package/esm/node/http/OktaUserAgent.js +2 -2
- package/esm/node/idx/poll.js +4 -1
- package/esm/node/idx/poll.js.map +1 -1
- package/esm/node/idx/types/api.js.map +1 -1
- package/esm/node/oidc/getWithPopup.js +6 -4
- package/esm/node/oidc/getWithPopup.js.map +1 -1
- package/esm/node/package.json +1 -1
- package/package.json +3 -3
- package/types/lib/authn/types.d.ts +1 -0
- package/types/lib/idx/types/api.d.ts +2 -2
- package/types/lib/oidc/getWithPopup.d.ts +3 -1
- package/umd/authn.js +1 -1
- package/umd/authn.js.map +1 -1
- package/umd/core.js +1 -1
- package/umd/core.js.map +1 -1
- package/umd/default.js +1 -1
- package/umd/default.js.map +1 -1
- package/umd/idx.js +1 -1
- package/umd/idx.js.map +1 -1
- package/umd/myaccount.js +1 -1
- package/umd/myaccount.js.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
# 7.13.0
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
- [#1594](https://github.com/okta/okta-auth-js/pull/1594) feat: adds `initialPath` configuration to `token.getWithPopup`
|
|
8
|
+
|
|
9
|
+
- [#1593](https://github.com/okta/okta-auth-js/pull/1593) feat: adds `multiOptionalFactorEnroll` support to `authn.verifyRecoveryToken`
|
|
10
|
+
|
|
11
|
+
# 7.12.1
|
|
12
|
+
|
|
13
|
+
### Fixes
|
|
14
|
+
|
|
15
|
+
- [#1585](https://github.com/okta/okta-auth-js/pull/1585) fix: `idx.poll` now respects `exchangeCodeForTokens` and `withCredentials` options
|
|
16
|
+
|
|
3
17
|
# 7.12.0
|
|
4
18
|
|
|
5
19
|
### Features
|
package/README.md
CHANGED
|
@@ -1633,6 +1633,8 @@ authClient.token.getWithoutPrompt({
|
|
|
1633
1633
|
Create token with a popup.
|
|
1634
1634
|
|
|
1635
1635
|
* `options` - See [Authorize options](#authorize-options)
|
|
1636
|
+
* `options.initialPath` - `string` _(optional)_
|
|
1637
|
+
To reduce the likelihood of the popup being blocked, the popup window first loads the web app before redirecting to the authorization server. Customize the path which is loaded by setting this value. (This must be an unauthenticated path). Defaults to `'/'`
|
|
1636
1638
|
|
|
1637
1639
|
```javascript
|
|
1638
1640
|
authClient.token.getWithPopup(options)
|
package/cjs/authn/mixin.js
CHANGED
|
@@ -67,7 +67,17 @@ function mixinAuthn(Base) {
|
|
|
67
67
|
|
|
68
68
|
// { recoveryToken }
|
|
69
69
|
verifyRecoveryToken(opts) {
|
|
70
|
-
|
|
70
|
+
const {
|
|
71
|
+
multiOptionalFactorEnroll,
|
|
72
|
+
...args
|
|
73
|
+
} = opts;
|
|
74
|
+
if (multiOptionalFactorEnroll) {
|
|
75
|
+
// see https://developer.okta.com/docs/reference/api/authn/#options-object
|
|
76
|
+
args.options = {
|
|
77
|
+
multiOptionalFactorEnroll
|
|
78
|
+
};
|
|
79
|
+
}
|
|
80
|
+
return this.tx.postToTransaction('/api/v1/authn/recovery/token', args);
|
|
71
81
|
}
|
|
72
82
|
};
|
|
73
83
|
}
|
package/cjs/authn/mixin.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mixin.js","names":["mixinAuthn","Base","OktaAuthTx","constructor","args","authn","tx","createAuthnTransactionAPI","fingerprint","bind","signIn","opts","clone","_postToTransaction","options","sendFingerprint","postToTransaction","then","headers","signInWithCredentials","forgotPassword","unlockAccount","verifyRecoveryToken"],"sources":["../../../lib/authn/mixin.ts"],"sourcesContent":["/* eslint-disable max-statements */\n/* eslint-disable complexity */\n/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { \n clone,\n} from '../util';\nimport fingerprint from '../browser/fingerprint';\nimport {\n SigninWithCredentialsOptions,\n ForgotPasswordOptions,\n VerifyRecoveryTokenOptions,\n SigninOptions,\n OktaAuthTxInterface,\n AuthnTransaction,\n AuthnTransactionAPI\n} from './types';\nimport {\n createAuthnTransactionAPI,\n} from './factory';\nimport { StorageManagerInterface } from '../storage/types';\nimport { OktaAuthHttpInterface, OktaAuthHttpOptions } from '../http/types';\nimport { FingerprintAPI, OktaAuthConstructor } from '../base/types';\n\nexport function mixinAuthn\n<\n S extends StorageManagerInterface = StorageManagerInterface,\n O extends OktaAuthHttpOptions = OktaAuthHttpOptions,\n TBase extends OktaAuthConstructor<OktaAuthHttpInterface<S, O>>\n = OktaAuthConstructor<OktaAuthHttpInterface<S, O>>\n>\n(Base: TBase): TBase & OktaAuthConstructor<OktaAuthTxInterface<S, O>>\n{\n return class OktaAuthTx extends Base implements OktaAuthTxInterface<S, O> {\n tx: AuthnTransactionAPI; // legacy, may be removed in future version\n authn: AuthnTransactionAPI;\n fingerprint: FingerprintAPI;\n\n constructor(...args: any[]) {\n super(...args);\n\n this.authn = this.tx = createAuthnTransactionAPI(this);\n \n // Fingerprint API\n this.fingerprint = fingerprint.bind(null, this);\n }\n\n // Authn V1\n async signIn(opts: SigninOptions): Promise<AuthnTransaction> {\n opts = clone(opts || {});\n const _postToTransaction = (options?) => {\n delete opts.sendFingerprint;\n return this.tx.postToTransaction('/api/v1/authn', opts, options);\n };\n if (!opts.sendFingerprint) {\n return _postToTransaction();\n }\n return this.fingerprint()\n .then(function(fingerprint) {\n return _postToTransaction({\n headers: {\n 'X-Device-Fingerprint': fingerprint\n }\n });\n });\n }\n\n // Authn V1\n async signInWithCredentials(opts: SigninWithCredentialsOptions): Promise<AuthnTransaction> {\n return this.signIn(opts);\n }\n\n // { username, (relayState) }\n forgotPassword(opts): Promise<AuthnTransaction> {\n return this.tx.postToTransaction('/api/v1/authn/recovery/password', opts);\n }\n\n // { username, (relayState) }\n unlockAccount(opts: ForgotPasswordOptions): Promise<AuthnTransaction> {\n return this.tx.postToTransaction('/api/v1/authn/recovery/unlock', opts);\n }\n\n // { recoveryToken }\n verifyRecoveryToken(opts: VerifyRecoveryTokenOptions): Promise<AuthnTransaction> {\n return this.tx.postToTransaction('/api/v1/authn/recovery/token',
|
|
1
|
+
{"version":3,"file":"mixin.js","names":["mixinAuthn","Base","OktaAuthTx","constructor","args","authn","tx","createAuthnTransactionAPI","fingerprint","bind","signIn","opts","clone","_postToTransaction","options","sendFingerprint","postToTransaction","then","headers","signInWithCredentials","forgotPassword","unlockAccount","verifyRecoveryToken","multiOptionalFactorEnroll"],"sources":["../../../lib/authn/mixin.ts"],"sourcesContent":["/* eslint-disable max-statements */\n/* eslint-disable complexity */\n/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { \n clone,\n} from '../util';\nimport fingerprint from '../browser/fingerprint';\nimport {\n SigninWithCredentialsOptions,\n ForgotPasswordOptions,\n VerifyRecoveryTokenOptions,\n SigninOptions,\n OktaAuthTxInterface,\n AuthnTransaction,\n AuthnTransactionAPI\n} from './types';\nimport {\n createAuthnTransactionAPI,\n} from './factory';\nimport { StorageManagerInterface } from '../storage/types';\nimport { OktaAuthHttpInterface, OktaAuthHttpOptions } from '../http/types';\nimport { FingerprintAPI, OktaAuthConstructor } from '../base/types';\n\nexport function mixinAuthn\n<\n S extends StorageManagerInterface = StorageManagerInterface,\n O extends OktaAuthHttpOptions = OktaAuthHttpOptions,\n TBase extends OktaAuthConstructor<OktaAuthHttpInterface<S, O>>\n = OktaAuthConstructor<OktaAuthHttpInterface<S, O>>\n>\n(Base: TBase): TBase & OktaAuthConstructor<OktaAuthTxInterface<S, O>>\n{\n return class OktaAuthTx extends Base implements OktaAuthTxInterface<S, O> {\n tx: AuthnTransactionAPI; // legacy, may be removed in future version\n authn: AuthnTransactionAPI;\n fingerprint: FingerprintAPI;\n\n constructor(...args: any[]) {\n super(...args);\n\n this.authn = this.tx = createAuthnTransactionAPI(this);\n \n // Fingerprint API\n this.fingerprint = fingerprint.bind(null, this);\n }\n\n // Authn V1\n async signIn(opts: SigninOptions): Promise<AuthnTransaction> {\n opts = clone(opts || {});\n const _postToTransaction = (options?) => {\n delete opts.sendFingerprint;\n return this.tx.postToTransaction('/api/v1/authn', opts, options);\n };\n if (!opts.sendFingerprint) {\n return _postToTransaction();\n }\n return this.fingerprint()\n .then(function(fingerprint) {\n return _postToTransaction({\n headers: {\n 'X-Device-Fingerprint': fingerprint\n }\n });\n });\n }\n\n // Authn V1\n async signInWithCredentials(opts: SigninWithCredentialsOptions): Promise<AuthnTransaction> {\n return this.signIn(opts);\n }\n\n // { username, (relayState) }\n forgotPassword(opts): Promise<AuthnTransaction> {\n return this.tx.postToTransaction('/api/v1/authn/recovery/password', opts);\n }\n\n // { username, (relayState) }\n unlockAccount(opts: ForgotPasswordOptions): Promise<AuthnTransaction> {\n return this.tx.postToTransaction('/api/v1/authn/recovery/unlock', opts);\n }\n\n // { recoveryToken }\n verifyRecoveryToken(opts: VerifyRecoveryTokenOptions): Promise<AuthnTransaction> {\n const { multiOptionalFactorEnroll, ...args } = opts;\n if (multiOptionalFactorEnroll) {\n // see https://developer.okta.com/docs/reference/api/authn/#options-object\n (args as any).options = { multiOptionalFactorEnroll };\n }\n return this.tx.postToTransaction('/api/v1/authn/recovery/token', args);\n }\n\n };\n}\n"],"mappings":";;;;AAcA;AAGA;AAUA;AA3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAsBO,SAASA,UAAU,CAOzBC,IAAW,EACZ;EACE,OAAO,MAAMC,UAAU,SAASD,IAAI,CAAsC;IAC/C;;IAIzBE,WAAW,CAAC,GAAGC,IAAW,EAAE;MAC1B,KAAK,CAAC,GAAGA,IAAI,CAAC;MAEd,IAAI,CAACC,KAAK,GAAG,IAAI,CAACC,EAAE,GAAG,IAAAC,kCAAyB,EAAC,IAAI,CAAC;;MAEtD;MACA,IAAI,CAACC,WAAW,GAAGA,oBAAW,CAACC,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC;IACjD;;IAEA;IACA,MAAMC,MAAM,CAACC,IAAmB,EAA6B;MAC3DA,IAAI,GAAG,IAAAC,WAAK,EAACD,IAAI,IAAI,CAAC,CAAC,CAAC;MACxB,MAAME,kBAAkB,GAAIC,OAAQ,IAAK;QACvC,OAAOH,IAAI,CAACI,eAAe;QAC3B,OAAO,IAAI,CAACT,EAAE,CAACU,iBAAiB,CAAC,eAAe,EAAEL,IAAI,EAAEG,OAAO,CAAC;MAClE,CAAC;MACD,IAAI,CAACH,IAAI,CAACI,eAAe,EAAE;QACzB,OAAOF,kBAAkB,EAAE;MAC7B;MACA,OAAO,IAAI,CAACL,WAAW,EAAE,CACxBS,IAAI,CAAC,UAAST,WAAW,EAAE;QAC1B,OAAOK,kBAAkB,CAAC;UACxBK,OAAO,EAAE;YACP,sBAAsB,EAAEV;UAC1B;QACF,CAAC,CAAC;MACJ,CAAC,CAAC;IACJ;;IAEA;IACA,MAAMW,qBAAqB,CAACR,IAAkC,EAA6B;MACzF,OAAO,IAAI,CAACD,MAAM,CAACC,IAAI,CAAC;IAC1B;;IAEA;IACAS,cAAc,CAACT,IAAI,EAA6B;MAC9C,OAAO,IAAI,CAACL,EAAE,CAACU,iBAAiB,CAAC,iCAAiC,EAAEL,IAAI,CAAC;IAC3E;;IAEA;IACAU,aAAa,CAACV,IAA2B,EAA6B;MACpE,OAAO,IAAI,CAACL,EAAE,CAACU,iBAAiB,CAAC,+BAA+B,EAAEL,IAAI,CAAC;IACzE;;IAEA;IACAW,mBAAmB,CAACX,IAAgC,EAA6B;MAC/E,MAAM;QAAEY,yBAAyB;QAAE,GAAGnB;MAAK,CAAC,GAAGO,IAAI;MACnD,IAAIY,yBAAyB,EAAE;QAC7B;QACCnB,IAAI,CAASU,OAAO,GAAG;UAAES;QAA0B,CAAC;MACvD;MACA,OAAO,IAAI,CAACjB,EAAE,CAACU,iBAAiB,CAAC,8BAA8B,EAAEZ,IAAI,CAAC;IACxE;EAEF,CAAC;AACH"}
|
package/cjs/authn/types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["../../../lib/authn/types.ts"],"sourcesContent":["\nimport { FingerprintAPI } from '../base/types';\nimport { StorageManagerInterface } from '../storage/types';\nimport { RequestData, RequestOptions, OktaAuthHttpInterface, OktaAuthHttpOptions } from '../http/types';\n\nexport interface AuthnTransactionLink {\n name?: string;\n type: string;\n href: string;\n hints?: {\n allow?: string[];\n };\n}\n\n// Authn V1 transaction\nexport interface AuthnTransactionState {\n status: string;\n stateToken?: string;\n type?: string;\n expiresAt?: string;\n relayState?: string;\n factorResult?: string;\n factorType?: string;\n recoveryToken?: string;\n recoveryType?: string;\n autoPush?: boolean | (() => boolean);\n rememberDevice?: boolean | (() => boolean);\n profile?: {\n updatePhone?: boolean;\n };\n _links?: Record<string, AuthnTransactionLink>;\n}\n\n// eslint-disable-next-line no-use-before-define\nexport type AuthnTransactionFunction = (obj?: any) => Promise<AuthnTransaction>;\n\nexport interface AuthnTransactionFunctions {\n // common\n next?: AuthnTransactionFunction;\n cancel?: AuthnTransactionFunction;\n skip?: AuthnTransactionFunction;\n // locked_out\n unlock?: AuthnTransactionFunction;\n // password\n changePassword?: AuthnTransactionFunction;\n resetPassword?: AuthnTransactionFunction;\n // recovery\n answer?: AuthnTransactionFunction;\n recovery?: AuthnTransactionFunction;\n // recovery_challenge\n verify?: AuthnTransactionFunction;\n resend?: AuthnTransactionFunction;\n // mfa_enroll_activate\n activate?: AuthnTransactionFunction;\n poll?: AuthnTransactionFunction;\n prev?: AuthnTransactionFunction;\n}\n\nexport interface AuthnTransaction extends AuthnTransactionState, AuthnTransactionFunctions {\n sessionToken?: string;\n user?: Record<string, any>;\n factor?: Record<string, any>;\n factors?: Array<Record<string, any> >;\n policy?: Record<string, any>;\n scopes?: Array<Record<string, any> >;\n target?: Record<string, any>;\n authentication?: Record<string, any>;\n}\n\n// Authn (classic) api\nexport interface AuthnTransactionAPI {\n exists: () => boolean;\n status: (args?: object) => Promise<object>;\n resume: (args?: object) => Promise<AuthnTransaction>;\n introspect: (args?: object) => Promise<AuthnTransaction>;\n createTransaction: (res?: AuthnTransactionState) => AuthnTransaction;\n postToTransaction: (url: string, args?: RequestData, options?: RequestOptions) => Promise<AuthnTransaction>;\n}\n\nexport interface SigninOptions {\n // Only used in Authn V1\n relayState?: string;\n context?: {\n deviceToken?: string;\n };\n sendFingerprint?: boolean;\n stateToken?: string;\n \n // Optional credentials\n username?: string;\n password?: string;\n}\n\nexport interface SigninWithCredentialsOptions extends SigninOptions {\n // Required credentials\n username: string;\n password: string;\n}\n\nexport interface SigninAPI {\n signIn(opts: SigninOptions): Promise<AuthnTransaction>;\n signInWithCredentials(opts: SigninWithCredentialsOptions): Promise<AuthnTransaction>;\n}\n\nexport interface ForgotPasswordOptions {\n username: string;\n factorType: 'SMS' | 'EMAIL' | 'CALL';\n relayState?: string;\n}\n\nexport interface VerifyRecoveryTokenOptions {\n recoveryToken: string;\n}\n\nexport interface AuthnAPI extends SigninAPI {\n forgotPassword(opts): Promise<AuthnTransaction>;\n\n // { username, (relayState) }\n unlockAccount(opts: ForgotPasswordOptions): Promise<AuthnTransaction>;\n\n // { recoveryToken }\n verifyRecoveryToken(opts: VerifyRecoveryTokenOptions): Promise<AuthnTransaction>;\n}\n\nexport interface OktaAuthTxInterface\n<\n S extends StorageManagerInterface = StorageManagerInterface,\n O extends OktaAuthHttpOptions = OktaAuthHttpOptions,\n> \n extends OktaAuthHttpInterface<S, O>, AuthnAPI\n{\n tx: AuthnTransactionAPI; // legacy name\n authn: AuthnTransactionAPI; // new name\n fingerprint: FingerprintAPI;\n}\n"],"mappings":""}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["../../../lib/authn/types.ts"],"sourcesContent":["\nimport { FingerprintAPI } from '../base/types';\nimport { StorageManagerInterface } from '../storage/types';\nimport { RequestData, RequestOptions, OktaAuthHttpInterface, OktaAuthHttpOptions } from '../http/types';\n\nexport interface AuthnTransactionLink {\n name?: string;\n type: string;\n href: string;\n hints?: {\n allow?: string[];\n };\n}\n\n// Authn V1 transaction\nexport interface AuthnTransactionState {\n status: string;\n stateToken?: string;\n type?: string;\n expiresAt?: string;\n relayState?: string;\n factorResult?: string;\n factorType?: string;\n recoveryToken?: string;\n recoveryType?: string;\n autoPush?: boolean | (() => boolean);\n rememberDevice?: boolean | (() => boolean);\n profile?: {\n updatePhone?: boolean;\n };\n _links?: Record<string, AuthnTransactionLink>;\n}\n\n// eslint-disable-next-line no-use-before-define\nexport type AuthnTransactionFunction = (obj?: any) => Promise<AuthnTransaction>;\n\nexport interface AuthnTransactionFunctions {\n // common\n next?: AuthnTransactionFunction;\n cancel?: AuthnTransactionFunction;\n skip?: AuthnTransactionFunction;\n // locked_out\n unlock?: AuthnTransactionFunction;\n // password\n changePassword?: AuthnTransactionFunction;\n resetPassword?: AuthnTransactionFunction;\n // recovery\n answer?: AuthnTransactionFunction;\n recovery?: AuthnTransactionFunction;\n // recovery_challenge\n verify?: AuthnTransactionFunction;\n resend?: AuthnTransactionFunction;\n // mfa_enroll_activate\n activate?: AuthnTransactionFunction;\n poll?: AuthnTransactionFunction;\n prev?: AuthnTransactionFunction;\n}\n\nexport interface AuthnTransaction extends AuthnTransactionState, AuthnTransactionFunctions {\n sessionToken?: string;\n user?: Record<string, any>;\n factor?: Record<string, any>;\n factors?: Array<Record<string, any> >;\n policy?: Record<string, any>;\n scopes?: Array<Record<string, any> >;\n target?: Record<string, any>;\n authentication?: Record<string, any>;\n}\n\n// Authn (classic) api\nexport interface AuthnTransactionAPI {\n exists: () => boolean;\n status: (args?: object) => Promise<object>;\n resume: (args?: object) => Promise<AuthnTransaction>;\n introspect: (args?: object) => Promise<AuthnTransaction>;\n createTransaction: (res?: AuthnTransactionState) => AuthnTransaction;\n postToTransaction: (url: string, args?: RequestData, options?: RequestOptions) => Promise<AuthnTransaction>;\n}\n\nexport interface SigninOptions {\n // Only used in Authn V1\n relayState?: string;\n context?: {\n deviceToken?: string;\n };\n sendFingerprint?: boolean;\n stateToken?: string;\n \n // Optional credentials\n username?: string;\n password?: string;\n}\n\nexport interface SigninWithCredentialsOptions extends SigninOptions {\n // Required credentials\n username: string;\n password: string;\n}\n\nexport interface SigninAPI {\n signIn(opts: SigninOptions): Promise<AuthnTransaction>;\n signInWithCredentials(opts: SigninWithCredentialsOptions): Promise<AuthnTransaction>;\n}\n\nexport interface ForgotPasswordOptions {\n username: string;\n factorType: 'SMS' | 'EMAIL' | 'CALL';\n relayState?: string;\n}\n\nexport interface VerifyRecoveryTokenOptions {\n recoveryToken: string;\n multiOptionalFactorEnroll?: boolean;\n}\n\nexport interface AuthnAPI extends SigninAPI {\n forgotPassword(opts): Promise<AuthnTransaction>;\n\n // { username, (relayState) }\n unlockAccount(opts: ForgotPasswordOptions): Promise<AuthnTransaction>;\n\n // { recoveryToken, (multiOptionalFactorEnroll) }\n verifyRecoveryToken(opts: VerifyRecoveryTokenOptions): Promise<AuthnTransaction>;\n}\n\nexport interface OktaAuthTxInterface\n<\n S extends StorageManagerInterface = StorageManagerInterface,\n O extends OktaAuthHttpOptions = OktaAuthHttpOptions,\n> \n extends OktaAuthHttpInterface<S, O>, AuthnAPI\n{\n tx: AuthnTransactionAPI; // legacy name\n authn: AuthnTransactionAPI; // new name\n fingerprint: FingerprintAPI;\n}\n"],"mappings":""}
|
|
@@ -20,7 +20,7 @@ var _features = require("../features");
|
|
|
20
20
|
class OktaUserAgent {
|
|
21
21
|
constructor() {
|
|
22
22
|
// add base sdk env
|
|
23
|
-
this.environments = [`okta-auth-js/${"7.
|
|
23
|
+
this.environments = [`okta-auth-js/${"7.13.0"}`];
|
|
24
24
|
this.maybeAddNodeEnvironment();
|
|
25
25
|
}
|
|
26
26
|
addEnvironment(env) {
|
|
@@ -32,7 +32,7 @@ class OktaUserAgent {
|
|
|
32
32
|
};
|
|
33
33
|
}
|
|
34
34
|
getVersion() {
|
|
35
|
-
return "7.
|
|
35
|
+
return "7.13.0";
|
|
36
36
|
}
|
|
37
37
|
maybeAddNodeEnvironment() {
|
|
38
38
|
if ((0, _features.isBrowser)() || !process || !process.versions) {
|
package/cjs/idx/poll.js
CHANGED
|
@@ -17,8 +17,14 @@ var _util = require("../util");
|
|
|
17
17
|
*/
|
|
18
18
|
|
|
19
19
|
async function poll(authClient, options = {}) {
|
|
20
|
+
const {
|
|
21
|
+
withCredentials,
|
|
22
|
+
exchangeCodeForTokens
|
|
23
|
+
} = options;
|
|
20
24
|
let transaction = await (0, _proceed.proceed)(authClient, {
|
|
21
|
-
startPolling: true
|
|
25
|
+
startPolling: true,
|
|
26
|
+
withCredentials,
|
|
27
|
+
exchangeCodeForTokens
|
|
22
28
|
});
|
|
23
29
|
const meta = (0, _transactionMeta.getSavedTransactionMeta)(authClient);
|
|
24
30
|
let availablePollingRemeditaions = meta?.remediations?.find(remediation => remediation.includes('poll'));
|
package/cjs/idx/poll.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"poll.js","names":["poll","authClient","options","transaction","proceed","startPolling","meta","getSavedTransactionMeta","availablePollingRemeditaions","remediations","find","remediation","includes","length","warn","Number","isInteger","refresh","Promise","resolve","reject","setTimeout","nextStep","err"],"sources":["../../../lib/idx/poll.ts"],"sourcesContent":["/*!\n * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { proceed } from './proceed';\n\nimport { \n IdxPollOptions,\n IdxTransaction,\n OktaAuthIdxInterface,\n} from './types';\nimport { getSavedTransactionMeta } from './transactionMeta';\nimport { warn } from '../util';\n\nexport async function poll(authClient: OktaAuthIdxInterface, options: IdxPollOptions = {}): Promise<IdxTransaction> {\n let transaction = await proceed(authClient, {\n startPolling: true\n });\n\n const meta = getSavedTransactionMeta(authClient);\n let availablePollingRemeditaions = meta?.remediations?.find(remediation => remediation.includes('poll'));\n if (!availablePollingRemeditaions?.length) {\n warn('No polling remediations available at the current IDX flow stage');\n }\n\n if (Number.isInteger(options.refresh)) {\n return new Promise(function (resolve, reject) {\n setTimeout(async function () {\n try {\n const refresh = transaction.nextStep?.poll?.refresh;\n if (refresh) {\n resolve(poll(authClient, {\n refresh\n }));\n } else {\n resolve(transaction);\n }\n } catch (err) {\n reject(err);\n }\n }, options.refresh);\n });\n }\n\n return transaction;\n}\n"],"mappings":";;;AAYA;AAOA;AACA;AApBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYO,eAAeA,IAAI,CAACC,UAAgC,EAAEC,OAAuB,GAAG,CAAC,CAAC,EAA2B;EAClH,
|
|
1
|
+
{"version":3,"file":"poll.js","names":["poll","authClient","options","withCredentials","exchangeCodeForTokens","transaction","proceed","startPolling","meta","getSavedTransactionMeta","availablePollingRemeditaions","remediations","find","remediation","includes","length","warn","Number","isInteger","refresh","Promise","resolve","reject","setTimeout","nextStep","err"],"sources":["../../../lib/idx/poll.ts"],"sourcesContent":["/*!\n * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { proceed } from './proceed';\n\nimport { \n IdxPollOptions,\n IdxTransaction,\n OktaAuthIdxInterface,\n} from './types';\nimport { getSavedTransactionMeta } from './transactionMeta';\nimport { warn } from '../util';\n\nexport async function poll(authClient: OktaAuthIdxInterface, options: IdxPollOptions = {}): Promise<IdxTransaction> {\n const { withCredentials, exchangeCodeForTokens } = options;\n let transaction = await proceed(authClient, {\n startPolling: true,\n withCredentials,\n exchangeCodeForTokens\n });\n\n const meta = getSavedTransactionMeta(authClient);\n let availablePollingRemeditaions = meta?.remediations?.find(remediation => remediation.includes('poll'));\n if (!availablePollingRemeditaions?.length) {\n warn('No polling remediations available at the current IDX flow stage');\n }\n\n if (Number.isInteger(options.refresh)) {\n return new Promise(function (resolve, reject) {\n setTimeout(async function () {\n try {\n const refresh = transaction.nextStep?.poll?.refresh;\n if (refresh) {\n resolve(poll(authClient, {\n refresh\n }));\n } else {\n resolve(transaction);\n }\n } catch (err) {\n reject(err);\n }\n }, options.refresh);\n });\n }\n\n return transaction;\n}\n"],"mappings":";;;AAYA;AAOA;AACA;AApBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAYO,eAAeA,IAAI,CAACC,UAAgC,EAAEC,OAAuB,GAAG,CAAC,CAAC,EAA2B;EAClH,MAAM;IAAEC,eAAe;IAAEC;EAAsB,CAAC,GAAGF,OAAO;EAC1D,IAAIG,WAAW,GAAG,MAAM,IAAAC,gBAAO,EAACL,UAAU,EAAE;IAC1CM,YAAY,EAAE,IAAI;IAClBJ,eAAe;IACfC;EACF,CAAC,CAAC;EAEF,MAAMI,IAAI,GAAG,IAAAC,wCAAuB,EAACR,UAAU,CAAC;EAChD,IAAIS,4BAA4B,GAAGF,IAAI,EAAEG,YAAY,EAAEC,IAAI,CAACC,WAAW,IAAIA,WAAW,CAACC,QAAQ,CAAC,MAAM,CAAC,CAAC;EACxG,IAAI,CAACJ,4BAA4B,EAAEK,MAAM,EAAE;IACzC,IAAAC,UAAI,EAAC,iEAAiE,CAAC;EACzE;EAEA,IAAIC,MAAM,CAACC,SAAS,CAAChB,OAAO,CAACiB,OAAO,CAAC,EAAE;IACrC,OAAO,IAAIC,OAAO,CAAC,UAAUC,OAAO,EAAEC,MAAM,EAAE;MAC5CC,UAAU,CAAC,kBAAkB;QAC3B,IAAI;UACF,MAAMJ,OAAO,GAAGd,WAAW,CAACmB,QAAQ,EAAExB,IAAI,EAAEmB,OAAO;UACnD,IAAIA,OAAO,EAAE;YACXE,OAAO,CAACrB,IAAI,CAACC,UAAU,EAAE;cACvBkB;YACF,CAAC,CAAC,CAAC;UACL,CAAC,MAAM;YACLE,OAAO,CAAChB,WAAW,CAAC;UACtB;QACF,CAAC,CAAC,OAAOoB,GAAG,EAAE;UACZH,MAAM,CAACG,GAAG,CAAC;QACb;MACF,CAAC,EAAEvB,OAAO,CAACiB,OAAO,CAAC;IACrB,CAAC,CAAC;EACJ;EAEA,OAAOd,WAAW;AACpB"}
|
package/cjs/idx/types/api.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.js","names":["IdxStatus","AuthenticatorKey","IdxFeature","isAuthenticator","obj","key","id"],"sources":["../../../../lib/idx/types/api.ts"],"sourcesContent":["/*!\n * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { APIError } from '../../errors/types';\nimport {\n OktaAuthOAuthInterface,\n MinimalOktaOAuthInterface,\n Tokens,\n TransactionManagerConstructor,\n TransactionManagerInterface\n} from '../../oidc/types';\nimport { FlowIdentifier } from './FlowIdentifier';\nimport {\n IdxActions,\n IdxAuthenticator,\n IdxContext,\n IdxForm,\n IdxMessage,\n IdxOption,\n IdxRemediation,\n IdxResponse,\n RawIdxResponse,\n IdxActionParams,\n IdpConfig,\n IdxToPersist,\n ChallengeData,\n ActivationData,\n} from './idx-js';\nimport {\n AccountUnlockOptions,\n AuthenticationOptions,\n CancelOptions,\n InteractOptions,\n IntrospectOptions,\n OktaAuthIdxOptions,\n PasswordRecoveryOptions,\n ProceedOptions,\n RegistrationOptions,\n StartOptions,\n IdxTransactionMetaOptions\n} from './options';\nimport { IdxTransactionMeta } from './meta';\nimport { IdxStorageManagerInterface, SavedIdxResponse } from './storage';\nimport type {\n WebauthnEnrollValues,\n WebauthnVerificationValues\n} from '../authenticator';\nimport { OktaAuthConstructor, FingerprintAPI } from '../../base/types';\n\nexport enum IdxStatus {\n SUCCESS = 'SUCCESS',\n PENDING = 'PENDING',\n FAILURE = 'FAILURE',\n TERMINAL = 'TERMINAL',\n CANCELED = 'CANCELED',\n}\n\nexport enum AuthenticatorKey {\n OKTA_PASSWORD = 'okta_password',\n OKTA_EMAIL = 'okta_email',\n PHONE_NUMBER = 'phone_number',\n GOOGLE_AUTHENTICATOR = 'google_otp',\n SECURITY_QUESTION = 'security_question',\n OKTA_VERIFY = 'okta_verify',\n WEBAUTHN = 'webauthn',\n}\n\nexport type Input = {\n name: string;\n key?: string;\n type?: string;\n label?: string;\n value?: string | {form: IdxForm} | Input[];\n minLength?: number;\n maxLength?: number;\n secret?: boolean;\n required?: boolean;\n options?: IdxOption[];\n mutable?: boolean;\n visible?: boolean;\n customLabel?: boolean\n}\n\n\nexport interface IdxPollOptions {\n required?: boolean;\n refresh?: number;\n}\n\nexport type NextStep = {\n name: string;\n authenticator?: IdxAuthenticator;\n canSkip?: boolean;\n canResend?: boolean;\n inputs?: Input[];\n poll?: IdxPollOptions;\n authenticatorEnrollments?: IdxAuthenticator[];\n // eslint-disable-next-line no-use-before-define\n action?: (params?: IdxActionParams) => Promise<IdxTransaction>;\n idp?: IdpConfig;\n href?: string;\n relatesTo?: {\n type?: string;\n value: IdxAuthenticator;\n };\n refresh?: number;\n}\n\nexport enum IdxFeature {\n PASSWORD_RECOVERY = 'recover-password',\n REGISTRATION = 'enroll-profile',\n SOCIAL_IDP = 'redirect-idp',\n ACCOUNT_UNLOCK = 'unlock-account',\n}\n\n\nexport interface IdxTransaction {\n status: IdxStatus;\n tokens?: Tokens;\n nextStep?: NextStep;\n messages?: IdxMessage[];\n error?: APIError | IdxResponse;\n meta?: IdxTransactionMeta;\n enabledFeatures?: IdxFeature[];\n availableSteps?: NextStep[];\n requestDidSucceed?: boolean;\n stepUp?: boolean;\n \n // from idx-js, used by signin widget\n proceed: (remediationName: string, params: unknown) => Promise<IdxResponse>;\n neededToProceed: IdxRemediation[];\n rawIdxState: RawIdxResponse;\n interactionCode?: string;\n actions: IdxActions;\n context: IdxContext;\n}\n\n\nexport type Authenticator = {\n id?: string;\n key?: string;\n methodType?: string;\n phoneNumber?: string;\n channel?: string;\n};\n\nexport function isAuthenticator(obj: any): obj is Authenticator {\n return obj && (obj.key || obj.id);\n}\n\nexport interface RemediationResponse {\n idxResponse: IdxResponse;\n nextStep?: NextStep;\n messages?: IdxMessage[];\n terminal?: boolean;\n canceled?: boolean;\n}\n\nexport interface InteractResponse {\n state?: string;\n interactionHandle: string;\n meta: IdxTransactionMeta;\n}\n\nexport interface EmailVerifyCallbackResponse {\n state: string;\n otp: string;\n}\n\nexport interface MinimalIdxAPI {\n // lowest level api\n makeIdxResponse: (rawIdxResponse: RawIdxResponse, toPersist: IdxToPersist, requestDidSucceed: boolean) => IdxResponse;\n\n // flow control\n start: (options?: StartOptions) => Promise<IdxTransaction>;\n canProceed(options?: ProceedOptions): boolean;\n proceed: (options?: ProceedOptions) => Promise<IdxTransaction>;\n\n // call `start` instead of `startTransaction`. `startTransaction` will be removed in next major version (7.0)\n startTransaction: (options?: StartOptions) => Promise<IdxTransaction>;\n\n // transaction meta\n getSavedTransactionMeta: (options?: IdxTransactionMetaOptions) => IdxTransactionMeta | undefined;\n createTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n getTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n saveTransactionMeta: (meta: unknown) => void;\n clearTransactionMeta: () => void;\n isTransactionMetaValid: (meta: unknown) => boolean;\n}\n\nexport interface IdxAPI {\n // lowest level api\n interact: (options?: InteractOptions) => Promise<InteractResponse>;\n introspect: (options?: IntrospectOptions) => Promise<IdxResponse>;\n makeIdxResponse: (rawIdxResponse: RawIdxResponse, toPersist: IdxToPersist, requestDidSucceed: boolean) => IdxResponse;\n\n // flow entrypoints\n authenticate: (options?: AuthenticationOptions) => Promise<IdxTransaction>;\n register: (options?: RegistrationOptions) => Promise<IdxTransaction>;\n recoverPassword: (options?: PasswordRecoveryOptions) => Promise<IdxTransaction>;\n unlockAccount: (options?: AccountUnlockOptions) => Promise<IdxTransaction>;\n poll: (options?: IdxPollOptions) => Promise<IdxTransaction>;\n\n // flow control\n start: (options?: StartOptions) => Promise<IdxTransaction>;\n canProceed(options?: ProceedOptions): boolean;\n proceed: (options?: ProceedOptions) => Promise<IdxTransaction>;\n cancel: (options?: CancelOptions) => Promise<IdxTransaction>;\n getFlow(): FlowIdentifier | undefined;\n setFlow(flow: FlowIdentifier): void;\n\n // call `start` instead of `startTransaction`. `startTransaction` will be removed in next major version (7.0)\n startTransaction: (options?: StartOptions) => Promise<IdxTransaction>;\n\n // redirect callbacks\n isInteractionRequired: (hashOrSearch?: string) => boolean;\n isInteractionRequiredError: (error: Error) => boolean; \n handleInteractionCodeRedirect: (url: string) => Promise<void>;\n isEmailVerifyCallback: (search: string) => boolean;\n parseEmailVerifyCallback: (search: string) => EmailVerifyCallbackResponse;\n handleEmailVerifyCallback: (search: string) => Promise<IdxTransaction | undefined>;\n isEmailVerifyCallbackError: (error: Error) => boolean;\n\n // transaction meta\n getSavedTransactionMeta: (options?: IdxTransactionMetaOptions) => IdxTransactionMeta | undefined;\n createTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n getTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n saveTransactionMeta: (meta: unknown) => void;\n clearTransactionMeta: () => void;\n isTransactionMetaValid: (meta: unknown) => boolean;\n}\n\nexport interface IdxTransactionManagerInterface extends TransactionManagerInterface {\n saveIdxResponse(data: SavedIdxResponse): void;\n loadIdxResponse(options?: IntrospectOptions): SavedIdxResponse | null;\n clearIdxResponse(): void;\n}\n\nexport type IdxTransactionManagerConstructor = TransactionManagerConstructor<IdxTransactionManagerInterface>;\n\nexport interface WebauthnAPI {\n getAssertion(credential: PublicKeyCredential): WebauthnVerificationValues;\n getAttestation(credential: PublicKeyCredential): WebauthnEnrollValues;\n buildCredentialRequestOptions(\n challengeData: ChallengeData, authenticatorEnrollments: IdxAuthenticator[]\n ): CredentialRequestOptions;\n buildCredentialCreationOptions(\n activationData: ActivationData, authenticatorEnrollments: IdxAuthenticator[]\n ): CredentialCreationOptions;\n}\n\n\nexport interface OktaAuthIdxInterface\n<\n M extends IdxTransactionMeta = IdxTransactionMeta,\n S extends IdxStorageManagerInterface<M> = IdxStorageManagerInterface<M>,\n O extends OktaAuthIdxOptions = OktaAuthIdxOptions,\n TM extends IdxTransactionManagerInterface = IdxTransactionManagerInterface\n>\n extends OktaAuthOAuthInterface<M, S, O, TM>\n{\n idx: IdxAPI;\n fingerprint: FingerprintAPI;\n}\n\nexport interface MinimalOktaAuthIdxInterface\n<\n M extends IdxTransactionMeta = IdxTransactionMeta,\n S extends IdxStorageManagerInterface<M> = IdxStorageManagerInterface<M>,\n O extends OktaAuthIdxOptions = OktaAuthIdxOptions,\n TM extends IdxTransactionManagerInterface = IdxTransactionManagerInterface\n>\n extends MinimalOktaOAuthInterface<M, S, O, TM>\n{\n idx: MinimalIdxAPI;\n fingerprint: FingerprintAPI;\n}\n\nexport interface OktaAuthIdxConstructor\n<\n I extends MinimalOktaAuthIdxInterface = OktaAuthIdxInterface\n>\n extends OktaAuthConstructor<I>\n{\n new(...args: any[]): I;\n webauthn: WebauthnAPI;\n}\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAVA,IA0DYA,SAAS;AAAA;AAAA,WAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;AAAA,GAATA,SAAS,yBAATA,SAAS;AAAA,IAQTC,gBAAgB;AAAA;AAAA,WAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,gCAAhBA,gBAAgB;AAAA,IAmDhBC,UAAU;AAAA;AAAA,WAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;AAAA,GAAVA,UAAU,0BAAVA,UAAU;AAsCf,SAASC,eAAe,CAACC,GAAQ,EAAwB;EAC9D,OAAOA,GAAG,KAAKA,GAAG,CAACC,GAAG,IAAID,GAAG,CAACE,EAAE,CAAC;AACnC"}
|
|
1
|
+
{"version":3,"file":"api.js","names":["IdxStatus","AuthenticatorKey","IdxFeature","isAuthenticator","obj","key","id"],"sources":["../../../../lib/idx/types/api.ts"],"sourcesContent":["/*!\n * Copyright (c) 2021-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n */\n\nimport { APIError } from '../../errors/types';\nimport {\n OktaAuthOAuthInterface,\n MinimalOktaOAuthInterface,\n Tokens,\n TransactionManagerConstructor,\n TransactionManagerInterface\n} from '../../oidc/types';\nimport { FlowIdentifier } from './FlowIdentifier';\nimport {\n IdxActions,\n IdxAuthenticator,\n IdxContext,\n IdxForm,\n IdxMessage,\n IdxOption,\n IdxRemediation,\n IdxResponse,\n RawIdxResponse,\n IdxActionParams,\n IdpConfig,\n IdxToPersist,\n ChallengeData,\n ActivationData,\n} from './idx-js';\nimport {\n IdxOptions,\n AccountUnlockOptions,\n AuthenticationOptions,\n CancelOptions,\n InteractOptions,\n IntrospectOptions,\n OktaAuthIdxOptions,\n PasswordRecoveryOptions,\n ProceedOptions,\n RegistrationOptions,\n StartOptions,\n IdxTransactionMetaOptions\n} from './options';\nimport { IdxTransactionMeta } from './meta';\nimport { IdxStorageManagerInterface, SavedIdxResponse } from './storage';\nimport type {\n WebauthnEnrollValues,\n WebauthnVerificationValues\n} from '../authenticator';\nimport { OktaAuthConstructor, FingerprintAPI } from '../../base/types';\n\nexport enum IdxStatus {\n SUCCESS = 'SUCCESS',\n PENDING = 'PENDING',\n FAILURE = 'FAILURE',\n TERMINAL = 'TERMINAL',\n CANCELED = 'CANCELED',\n}\n\nexport enum AuthenticatorKey {\n OKTA_PASSWORD = 'okta_password',\n OKTA_EMAIL = 'okta_email',\n PHONE_NUMBER = 'phone_number',\n GOOGLE_AUTHENTICATOR = 'google_otp',\n SECURITY_QUESTION = 'security_question',\n OKTA_VERIFY = 'okta_verify',\n WEBAUTHN = 'webauthn',\n}\n\nexport type Input = {\n name: string;\n key?: string;\n type?: string;\n label?: string;\n value?: string | {form: IdxForm} | Input[];\n minLength?: number;\n maxLength?: number;\n secret?: boolean;\n required?: boolean;\n options?: IdxOption[];\n mutable?: boolean;\n visible?: boolean;\n customLabel?: boolean\n}\n\n\nexport interface IdxPollOptions extends Pick<IdxOptions, 'exchangeCodeForTokens' | 'withCredentials' > {\n required?: boolean;\n refresh?: number;\n}\n\nexport type NextStep = {\n name: string;\n authenticator?: IdxAuthenticator;\n canSkip?: boolean;\n canResend?: boolean;\n inputs?: Input[];\n poll?: IdxPollOptions;\n authenticatorEnrollments?: IdxAuthenticator[];\n // eslint-disable-next-line no-use-before-define\n action?: (params?: IdxActionParams) => Promise<IdxTransaction>;\n idp?: IdpConfig;\n href?: string;\n relatesTo?: {\n type?: string;\n value: IdxAuthenticator;\n };\n refresh?: number;\n}\n\nexport enum IdxFeature {\n PASSWORD_RECOVERY = 'recover-password',\n REGISTRATION = 'enroll-profile',\n SOCIAL_IDP = 'redirect-idp',\n ACCOUNT_UNLOCK = 'unlock-account',\n}\n\n\nexport interface IdxTransaction {\n status: IdxStatus;\n tokens?: Tokens;\n nextStep?: NextStep;\n messages?: IdxMessage[];\n error?: APIError | IdxResponse;\n meta?: IdxTransactionMeta;\n enabledFeatures?: IdxFeature[];\n availableSteps?: NextStep[];\n requestDidSucceed?: boolean;\n stepUp?: boolean;\n \n // from idx-js, used by signin widget\n proceed: (remediationName: string, params: unknown) => Promise<IdxResponse>;\n neededToProceed: IdxRemediation[];\n rawIdxState: RawIdxResponse;\n interactionCode?: string;\n actions: IdxActions;\n context: IdxContext;\n}\n\n\nexport type Authenticator = {\n id?: string;\n key?: string;\n methodType?: string;\n phoneNumber?: string;\n channel?: string;\n};\n\nexport function isAuthenticator(obj: any): obj is Authenticator {\n return obj && (obj.key || obj.id);\n}\n\nexport interface RemediationResponse {\n idxResponse: IdxResponse;\n nextStep?: NextStep;\n messages?: IdxMessage[];\n terminal?: boolean;\n canceled?: boolean;\n}\n\nexport interface InteractResponse {\n state?: string;\n interactionHandle: string;\n meta: IdxTransactionMeta;\n}\n\nexport interface EmailVerifyCallbackResponse {\n state: string;\n otp: string;\n}\n\nexport interface MinimalIdxAPI {\n // lowest level api\n makeIdxResponse: (rawIdxResponse: RawIdxResponse, toPersist: IdxToPersist, requestDidSucceed: boolean) => IdxResponse;\n\n // flow control\n start: (options?: StartOptions) => Promise<IdxTransaction>;\n canProceed(options?: ProceedOptions): boolean;\n proceed: (options?: ProceedOptions) => Promise<IdxTransaction>;\n\n // call `start` instead of `startTransaction`. `startTransaction` will be removed in next major version (7.0)\n startTransaction: (options?: StartOptions) => Promise<IdxTransaction>;\n\n // transaction meta\n getSavedTransactionMeta: (options?: IdxTransactionMetaOptions) => IdxTransactionMeta | undefined;\n createTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n getTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n saveTransactionMeta: (meta: unknown) => void;\n clearTransactionMeta: () => void;\n isTransactionMetaValid: (meta: unknown) => boolean;\n}\n\nexport interface IdxAPI {\n // lowest level api\n interact: (options?: InteractOptions) => Promise<InteractResponse>;\n introspect: (options?: IntrospectOptions) => Promise<IdxResponse>;\n makeIdxResponse: (rawIdxResponse: RawIdxResponse, toPersist: IdxToPersist, requestDidSucceed: boolean) => IdxResponse;\n\n // flow entrypoints\n authenticate: (options?: AuthenticationOptions) => Promise<IdxTransaction>;\n register: (options?: RegistrationOptions) => Promise<IdxTransaction>;\n recoverPassword: (options?: PasswordRecoveryOptions) => Promise<IdxTransaction>;\n unlockAccount: (options?: AccountUnlockOptions) => Promise<IdxTransaction>;\n poll: (options?: IdxPollOptions) => Promise<IdxTransaction>;\n\n // flow control\n start: (options?: StartOptions) => Promise<IdxTransaction>;\n canProceed(options?: ProceedOptions): boolean;\n proceed: (options?: ProceedOptions) => Promise<IdxTransaction>;\n cancel: (options?: CancelOptions) => Promise<IdxTransaction>;\n getFlow(): FlowIdentifier | undefined;\n setFlow(flow: FlowIdentifier): void;\n\n // call `start` instead of `startTransaction`. `startTransaction` will be removed in next major version (7.0)\n startTransaction: (options?: StartOptions) => Promise<IdxTransaction>;\n\n // redirect callbacks\n isInteractionRequired: (hashOrSearch?: string) => boolean;\n isInteractionRequiredError: (error: Error) => boolean; \n handleInteractionCodeRedirect: (url: string) => Promise<void>;\n isEmailVerifyCallback: (search: string) => boolean;\n parseEmailVerifyCallback: (search: string) => EmailVerifyCallbackResponse;\n handleEmailVerifyCallback: (search: string) => Promise<IdxTransaction | undefined>;\n isEmailVerifyCallbackError: (error: Error) => boolean;\n\n // transaction meta\n getSavedTransactionMeta: (options?: IdxTransactionMetaOptions) => IdxTransactionMeta | undefined;\n createTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n getTransactionMeta: (options?: IdxTransactionMetaOptions) => Promise<IdxTransactionMeta>;\n saveTransactionMeta: (meta: unknown) => void;\n clearTransactionMeta: () => void;\n isTransactionMetaValid: (meta: unknown) => boolean;\n}\n\nexport interface IdxTransactionManagerInterface extends TransactionManagerInterface {\n saveIdxResponse(data: SavedIdxResponse): void;\n loadIdxResponse(options?: IntrospectOptions): SavedIdxResponse | null;\n clearIdxResponse(): void;\n}\n\nexport type IdxTransactionManagerConstructor = TransactionManagerConstructor<IdxTransactionManagerInterface>;\n\nexport interface WebauthnAPI {\n getAssertion(credential: PublicKeyCredential): WebauthnVerificationValues;\n getAttestation(credential: PublicKeyCredential): WebauthnEnrollValues;\n buildCredentialRequestOptions(\n challengeData: ChallengeData, authenticatorEnrollments: IdxAuthenticator[]\n ): CredentialRequestOptions;\n buildCredentialCreationOptions(\n activationData: ActivationData, authenticatorEnrollments: IdxAuthenticator[]\n ): CredentialCreationOptions;\n}\n\n\nexport interface OktaAuthIdxInterface\n<\n M extends IdxTransactionMeta = IdxTransactionMeta,\n S extends IdxStorageManagerInterface<M> = IdxStorageManagerInterface<M>,\n O extends OktaAuthIdxOptions = OktaAuthIdxOptions,\n TM extends IdxTransactionManagerInterface = IdxTransactionManagerInterface\n>\n extends OktaAuthOAuthInterface<M, S, O, TM>\n{\n idx: IdxAPI;\n fingerprint: FingerprintAPI;\n}\n\nexport interface MinimalOktaAuthIdxInterface\n<\n M extends IdxTransactionMeta = IdxTransactionMeta,\n S extends IdxStorageManagerInterface<M> = IdxStorageManagerInterface<M>,\n O extends OktaAuthIdxOptions = OktaAuthIdxOptions,\n TM extends IdxTransactionManagerInterface = IdxTransactionManagerInterface\n>\n extends MinimalOktaOAuthInterface<M, S, O, TM>\n{\n idx: MinimalIdxAPI;\n fingerprint: FingerprintAPI;\n}\n\nexport interface OktaAuthIdxConstructor\n<\n I extends MinimalOktaAuthIdxInterface = OktaAuthIdxInterface\n>\n extends OktaAuthConstructor<I>\n{\n new(...args: any[]): I;\n webauthn: WebauthnAPI;\n}\n"],"mappings":";;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,GAVA,IA2DYA,SAAS;AAAA;AAAA,WAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;EAATA,SAAS;AAAA,GAATA,SAAS,yBAATA,SAAS;AAAA,IAQTC,gBAAgB;AAAA;AAAA,WAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;EAAhBA,gBAAgB;AAAA,GAAhBA,gBAAgB,gCAAhBA,gBAAgB;AAAA,IAmDhBC,UAAU;AAAA;AAAA,WAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;EAAVA,UAAU;AAAA,GAAVA,UAAU,0BAAVA,UAAU;AAsCf,SAASC,eAAe,CAACC,GAAQ,EAAwB;EAC9D,OAAOA,GAAG,KAAKA,GAAG,CAACC,GAAG,IAAID,GAAG,CAACE,EAAE,CAAC;AACnC"}
|
package/cjs/oidc/getWithPopup.js
CHANGED
|
@@ -23,18 +23,22 @@ function getWithPopup(sdk, options) {
|
|
|
23
23
|
if (arguments.length > 2) {
|
|
24
24
|
return Promise.reject(new _errors.AuthSdkError('As of version 3.0, "getWithPopup" takes only a single set of options'));
|
|
25
25
|
}
|
|
26
|
+
const {
|
|
27
|
+
initialPath,
|
|
28
|
+
...params
|
|
29
|
+
} = options;
|
|
26
30
|
|
|
27
31
|
// some browsers (safari, firefox) block popup if it's initialed from an async process
|
|
28
32
|
// here we create the popup window immediately after user interaction
|
|
29
33
|
// then redirect to the /authorize endpoint when the requestUrl is available
|
|
30
|
-
const popupWindow = (0, _util2.loadPopup)('/',
|
|
31
|
-
options = (0, _util.clone)(
|
|
32
|
-
Object.assign(
|
|
34
|
+
const popupWindow = (0, _util2.loadPopup)(initialPath ?? '/', params);
|
|
35
|
+
options = (0, _util.clone)(params) || {};
|
|
36
|
+
Object.assign(params, {
|
|
33
37
|
display: 'popup',
|
|
34
38
|
responseMode: 'okta_post_message',
|
|
35
39
|
popupWindow
|
|
36
40
|
});
|
|
37
|
-
return (0, _getToken.getToken)(sdk,
|
|
41
|
+
return (0, _getToken.getToken)(sdk, params);
|
|
38
42
|
}
|
|
39
43
|
function getWithIDPPopup(sdk, options) {
|
|
40
44
|
try {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getWithPopup.js","names":["getWithPopup","sdk","options","arguments","length","Promise","reject","AuthSdkError","popupWindow","loadPopup","clone","Object","assign","display","responseMode","getToken","getWithIDPPopup","BroadcastChannel","redirectUri","state","generateState","channel","idpPopup","cancelPromise","promise","resolve","then","res","catch","err","cancel","close"],"sources":["../../../lib/oidc/getWithPopup.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n *\n */\nimport { AuthSdkError } from '../errors';\nimport { OktaAuthOAuthInterface, TokenParams, TokenResponse } from './types';\nimport { clone } from '../util';\nimport { getToken } from './getToken';\nimport { loadPopup, generateState } from './util';\n\nexport function getWithPopup(sdk: OktaAuthOAuthInterface
|
|
1
|
+
{"version":3,"file":"getWithPopup.js","names":["getWithPopup","sdk","options","arguments","length","Promise","reject","AuthSdkError","initialPath","params","popupWindow","loadPopup","clone","Object","assign","display","responseMode","getToken","getWithIDPPopup","BroadcastChannel","redirectUri","state","generateState","channel","idpPopup","cancelPromise","promise","resolve","then","res","catch","err","cancel","close"],"sources":["../../../lib/oidc/getWithPopup.ts"],"sourcesContent":["/*!\n * Copyright (c) 2015-present, Okta, Inc. and/or its affiliates. All rights reserved.\n * The Okta software accompanied by this notice is provided pursuant to the Apache License, Version 2.0 (the \"License.\")\n *\n * You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n *\n * See the License for the specific language governing permissions and limitations under the License.\n *\n */\nimport { AuthSdkError } from '../errors';\nimport { OktaAuthOAuthInterface, TokenParams, TokenResponse } from './types';\nimport { clone } from '../util';\nimport { getToken } from './getToken';\nimport { loadPopup, generateState } from './util';\n\nexport function getWithPopup(\n sdk: OktaAuthOAuthInterface,\n options: TokenParams & { initialPath?: string }\n): Promise<TokenResponse> {\n if (arguments.length > 2) {\n return Promise.reject(new AuthSdkError('As of version 3.0, \"getWithPopup\" takes only a single set of options'));\n }\n\n const { initialPath, ...params } = options;\n\n // some browsers (safari, firefox) block popup if it's initialed from an async process\n // here we create the popup window immediately after user interaction\n // then redirect to the /authorize endpoint when the requestUrl is available\n const popupWindow = loadPopup(initialPath ?? '/', params);\n options = clone(params) || {};\n Object.assign(params, {\n display: 'popup',\n responseMode: 'okta_post_message',\n popupWindow\n });\n return getToken(sdk, params);\n}\n\nexport function getWithIDPPopup(\n sdk: OktaAuthOAuthInterface,\n options: Omit<TokenParams, 'redirectUri'> & { redirectUri: string }\n): { cancel: () => void, promise: Promise<TokenResponse> } {\n try {\n // eslint-disable-next-line compat/compat\n if (!BroadcastChannel) {\n throw new AuthSdkError('Modern browser with `BroadcastChannel` support is required to use this method');\n }\n\n if (!options.redirectUri) {\n throw new AuthSdkError('`redirectUri` is a required param for `getWithIDPPopup`');\n }\n\n if (!options.state) {\n options.state = generateState();\n }\n\n // some browsers (safari, firefox) block popup if it's initialed from an async process\n // here we create the popup window immediately after user interaction\n // then redirect to the /authorize endpoint when the requestUrl is available\n const popupWindow = loadPopup('/', options);\n // eslint-disable-next-line compat/compat\n const channel = new BroadcastChannel(`popup-callback:${options.state}`);\n\n options = clone(options) || {};\n Object.assign(options, {\n display: 'popup',\n responseMode: 'query',\n popupWindow,\n idpPopup: true,\n channel,\n });\n\n let cancelPromise;\n const promise = new Promise<TokenResponse>((resolve, reject) => {\n cancelPromise = reject;\n return getToken(sdk, options)\n .then((res) => resolve(res))\n .catch(err => reject(err));\n });\n\n const cancel = () => {\n channel.close();\n cancelPromise(new AuthSdkError('Popup flow canceled'));\n };\n\n return {\n promise,\n cancel\n };\n }\n catch (err) {\n return {\n promise: Promise.reject(err),\n cancel: () => {} // noop, no need to for method when error is thrown\n };\n }\n}\n"],"mappings":";;;;AAYA;AAEA;AACA;AACA;AAhBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAOO,SAASA,YAAY,CAC1BC,GAA2B,EAC3BC,OAA+C,EACvB;EACxB,IAAIC,SAAS,CAACC,MAAM,GAAG,CAAC,EAAE;IACxB,OAAOC,OAAO,CAACC,MAAM,CAAC,IAAIC,oBAAY,CAAC,sEAAsE,CAAC,CAAC;EACjH;EAEA,MAAM;IAAEC,WAAW;IAAE,GAAGC;EAAO,CAAC,GAAGP,OAAO;;EAE1C;EACA;EACA;EACA,MAAMQ,WAAW,GAAG,IAAAC,gBAAS,EAACH,WAAW,IAAI,GAAG,EAAEC,MAAM,CAAC;EACzDP,OAAO,GAAG,IAAAU,WAAK,EAACH,MAAM,CAAC,IAAI,CAAC,CAAC;EAC7BI,MAAM,CAACC,MAAM,CAACL,MAAM,EAAE;IACpBM,OAAO,EAAE,OAAO;IAChBC,YAAY,EAAE,mBAAmB;IACjCN;EACF,CAAC,CAAC;EACF,OAAO,IAAAO,kBAAQ,EAAChB,GAAG,EAAEQ,MAAM,CAAC;AAC9B;AAEO,SAASS,eAAe,CAC7BjB,GAA2B,EAC3BC,OAAmE,EACV;EAC1D,IAAI;IACF;IACA,IAAI,CAACiB,gBAAgB,EAAE;MACtB,MAAM,IAAIZ,oBAAY,CAAC,+EAA+E,CAAC;IACzG;IAEA,IAAI,CAACL,OAAO,CAACkB,WAAW,EAAE;MACxB,MAAM,IAAIb,oBAAY,CAAC,yDAAyD,CAAC;IACnF;IAEA,IAAI,CAACL,OAAO,CAACmB,KAAK,EAAE;MAClBnB,OAAO,CAACmB,KAAK,GAAG,IAAAC,oBAAa,GAAE;IACjC;;IAEA;IACA;IACA;IACA,MAAMZ,WAAW,GAAG,IAAAC,gBAAS,EAAC,GAAG,EAAET,OAAO,CAAC;IAC3C;IACA,MAAMqB,OAAO,GAAG,IAAIJ,gBAAgB,CAAE,kBAAiBjB,OAAO,CAACmB,KAAM,EAAC,CAAC;IAEvEnB,OAAO,GAAG,IAAAU,WAAK,EAACV,OAAO,CAAC,IAAI,CAAC,CAAC;IAC9BW,MAAM,CAACC,MAAM,CAACZ,OAAO,EAAE;MACrBa,OAAO,EAAE,OAAO;MAChBC,YAAY,EAAE,OAAO;MACrBN,WAAW;MACXc,QAAQ,EAAE,IAAI;MACdD;IACF,CAAC,CAAC;IAEF,IAAIE,aAAa;IACjB,MAAMC,OAAO,GAAG,IAAIrB,OAAO,CAAgB,CAACsB,OAAO,EAAErB,MAAM,KAAK;MAC9DmB,aAAa,GAAGnB,MAAM;MACtB,OAAO,IAAAW,kBAAQ,EAAChB,GAAG,EAAEC,OAAO,CAAC,CAC5B0B,IAAI,CAAEC,GAAG,IAAKF,OAAO,CAACE,GAAG,CAAC,CAAC,CAC3BC,KAAK,CAACC,GAAG,IAAIzB,MAAM,CAACyB,GAAG,CAAC,CAAC;IAC5B,CAAC,CAAC;IAEF,MAAMC,MAAM,GAAG,MAAM;MACnBT,OAAO,CAACU,KAAK,EAAE;MACfR,aAAa,CAAC,IAAIlB,oBAAY,CAAC,qBAAqB,CAAC,CAAC;IACxD,CAAC;IAED,OAAO;MACLmB,OAAO;MACPM;IACF,CAAC;EACF,CAAC,CACD,OAAOD,GAAG,EAAE;IACX,OAAO;MACLL,OAAO,EAAErB,OAAO,CAACC,MAAM,CAACyB,GAAG,CAAC;MAC5BC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAI;IACtB,CAAC;EACF;AACD"}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<head>
|
|
4
4
|
<meta charset="UTF-8"/>
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
|
6
|
-
<title>@okta/okta-auth-js [
|
|
6
|
+
<title>@okta/okta-auth-js [24 Jul 2025 at 12:58]</title>
|
|
7
7
|
<link rel="shortcut icon" href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAABrVBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////+O1foceMD///+J0/qK1Pr7/v8Xdr/9///W8P4UdL7L7P0Scr2r4Pyj3vwad8D5/f/2/f+55f3E6f34+/2H0/ojfMKpzOd0rNgQcb3F3O/j9f7c8v6g3Pz0/P/w+v/q+P7n9v6T1/uQ1vuE0vqLut/y+v+Z2fvt+f+15Pzv9fuc2/vR7v2V2Pvd6/bg9P7I6/285/2y4/yp3/zp8vk8i8kqgMT7/P31+fyv4vxGkcz6/P6/6P3j7vfS5PNnpNUxhcbO7f7F6v3O4vHK3/DA2u631Ouy0eqXweKJud5wqthfoNMMbLvY8f73+v2dxeR8sNtTmdDx9/zX6PSjyeaCtd1YnNGX2PuQveCGt95Nls42h8dLlM3F4vBtAAAAM3RSTlMAAyOx0/sKBvik8opWGBMOAe3l1snDm2E9LSb06eHcu5JpHbarfHZCN9CBb08zzkdNS0kYaptYAAAFV0lEQVRYw92X51/aYBDHHS2O2qqttVbrqNq9m+TJIAYIShBkWwqIiCgoWvfeq7Z2/s29hyQNyUcR7LveGwVyXy6XH8/9rqxglLfUPLxVduUor3h0rfp2TYvpivk37929TkG037hffoX0+peVtZQc1589rigVUdXS/ABSAyEmGIO/1XfvldSK8vs3OqB6u3m0nxmIrvgB0dj7rr7Y9IbuF68hnfFaiHA/sxqm0wciIG43P60qKv9WXWc1RXGh/mFESFABTSBi0sNAKzqet17eCtOb3kZIDwxEEU0oAIJGYxNBDhBND29e0rtXXbcpuPmED9IhEAAQ/AXEaF8EPmnrrKsv0LvWR3fg5sWDNAFZOgAgaKvZDogHNU9MFwnnYROkc56RD5CjAbQX9Ow4g7upCsvYu55aSI/Nj0H1akgKQEUM94dwK65hYRmFU9MIcH/fqJYOZYcnuJSU/waKDgTOEVaVKhwrTRP5XzgSpAITYzom7UvkhFX5VutmxeNnWDjjswTKTyfgluNDGbUpWissXhF3s7mlSml+czWkg3D0l1nNjGNjz3myOQOa1KM/jOS6ebdbAVTCi4gljHSFrviza7tOgRWcS0MOUX9zdNgag5w7rRqA44Lzw0hr1WqES36dFliSJFlh2rXIae3FFcDDgKdxrUIDePr8jGcSClV1u7A9xeN0ModY/pHMxmR1EzRh8TJiwqsHmKW0l4FCEZI+jHio+JdPPE9qwQtTRxku2D8sIeRL2LnxWSllANCQGOIiqVHAz2ye2JR0DcH+HoxDkaADLjgxjKQ+AwCX/g0+DNgdG0ukYCONAe+dbc2IAc6fwt1ARoDSezNHxV2Cmzwv3O6lDMV55edBGwGK9n1+x2F8EDfAGCxug8MhpsMEcTEAWf3rx2vZhe/LAmtIn/6apE6PN0ULKgywD9mmdxbmFl3OvD5AS5fW5zLbv/YHmcsBTjf/afDz3MaZTVCfAP9z6/Bw6ycv8EUBWJIn9zYcoAWWlW9+OzO3vkTy8H+RANLmdrpOuYWdZYEXpo+TlCJrW5EARb7fF+bWdqf3hhyZI1nWJQHgznErZhbjoEsWqi8dQNoE294aldzFurwSABL2XXMf9+H1VQGke9exw5P/AnA5Pv5ngMul7LOvO922iwACu8WkCwLCafvM4CeWPxfA8lNHcWZSoi8EwMAIciKX2Z4SWCMAa3snCZ/G4EA8D6CMLNFsGQhkkz/gQNEBbPCbWsxGUpYVu3z8IyNAknwJkfPMEhLyrdi5RTyUVACkw4GSFRNWJNEW+fgPGwHD8/JxnRuLabN4CGNRkAE23na2+VmEAUmrYymSGjMAYqH84YUIyzgzs3XC7gNgH36Vcc4zKY9o9fgPBXUAiHHwVboBHGLiX6Zcjp1f2wu4tvzZKo0ecPnDtQYDQvJXaBeNzce45Fp28ZQLrEZVuFqgBwOalArKXnW1UzlnSusQKJqKYNuz4tOnI6sZG4zanpemv+7ySU2jbA9h6uhcgpfy6G2PahirDZ6zvq6zDduMVFTKvzw8wgyEdelwY9in3XkEPs3osJuwRQ4qTkfzifndg9Gfc4pdsu82+tTnHZTBa2EAMrqr2t43pguc8tNm7JQVQ2S0ukj2d22dhXYP0/veWtwKrCkNoNimAN5+Xr/oLrxswKbVJjteWrX7eR63o4j9q0GxnaBdWgGA5VStpanIjQmEhV0/nVt5VOFUvix6awJhPcAaTEShgrG+iGyvb5a0Ndb1YGHFPEwoqAinoaykaID1o1pdPNu7XsnCKQ3R+hwWIIhGvORcJUBYXe3Xa3vq/mF/N9V13ugufMkfXn+KHsRD0B8AAAAASUVORK5CYII=" type="image/x-icon" />
|
|
8
8
|
|
|
9
9
|
<script>
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
<body>
|
|
32
32
|
<div id="app"></div>
|
|
33
33
|
<script>
|
|
34
|
-
window.chartData = [{"label":"okta-auth-js.authn.min.js","isAsset":true,"statSize":517788,"parsedSize":240765,"gzipSize":55138,"groups":[{"label":"lib","path":"./lib","statSize":409185,"groups":[{"label":"authn","path":"./lib/authn","statSize":21012,"groups":[{"id":97,"label":"AuthnTransactionImpl.ts","path":"./lib/authn/AuthnTransactionImpl.ts","statSize":2549,"parsedSize":1410,"gzipSize":492},{"id":9859,"label":"api.ts","path":"./lib/authn/api.ts","statSize":2330,"parsedSize":1143,"gzipSize":457},{"id":8248,"label":"factory.ts","path":"./lib/authn/factory.ts","statSize":843,"parsedSize":453,"gzipSize":228},{"id":3398,"label":"index.ts","path":"./lib/authn/index.ts","statSize":1005,"parsedSize":569,"gzipSize":223},{"id":3164,"label":"mixin.ts","path":"./lib/authn/mixin.ts","statSize":5890,"parsedSize":2327,"gzipSize":910},{"id":2576,"label":"types.ts","path":"./lib/authn/types.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"label":"util","path":"./lib/authn/util","statSize":8382,"groups":[{"id":6693,"label":"flattenEmbedded.ts","path":"./lib/authn/util/flattenEmbedded.ts","statSize":942,"parsedSize":472,"gzipSize":312},{"id":8657,"label":"link2fn.ts","path":"./lib/authn/util/link2fn.ts","statSize":3027,"parsedSize":1386,"gzipSize":689},{"id":9265,"label":"links2fns.ts","path":"./lib/authn/util/links2fns.ts","statSize":760,"parsedSize":337,"gzipSize":246},{"id":3395,"label":"poll.ts","path":"./lib/authn/util/poll.ts","statSize":3282,"parsedSize":1353,"gzipSize":692},{"id":1349,"label":"stateToken.ts","path":"./lib/authn/util/stateToken.ts","statSize":371,"parsedSize":196,"gzipSize":139}],"parsedSize":3744,"gzipSize":1504}],"parsedSize":9658,"gzipSize":3019},{"label":"base","path":"./lib/base","statSize":4550,"groups":[{"id":9893,"label":"factory.ts","path":"./lib/base/factory.ts","statSize":2781,"parsedSize":1206,"gzipSize":598},{"id":3306,"label":"index.ts","path":"./lib/base/index.ts","statSize":1015,"parsedSize":569,"gzipSize":221},{"id":5093,"label":"options.ts","path":"./lib/base/options.ts","statSize":741,"parsedSize":251,"gzipSize":187},{"id":6429,"label":"types.ts","path":"./lib/base/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":2038,"gzipSize":795},{"label":"browser","path":"./lib/browser","statSize":8821,"groups":[{"id":5407,"label":"browserStorage.ts","path":"./lib/browser/browserStorage.ts","statSize":6256,"parsedSize":3041,"gzipSize":1133},{"id":8719,"label":"fingerprint.ts","path":"./lib/browser/fingerprint.ts","statSize":2565,"parsedSize":1236,"gzipSize":660}],"parsedSize":4277,"gzipSize":1658},{"id":6244,"label":"clock.ts","path":"./lib/clock.ts","statSize":1050,"parsedSize":408,"gzipSize":254},{"id":1971,"label":"constants.ts","path":"./lib/constants.ts","statSize":2704,"parsedSize":1318,"gzipSize":474},{"label":"core","path":"./lib/core","statSize":39689,"groups":[{"id":1018,"label":"AuthStateManager.ts","path":"./lib/core/AuthStateManager.ts","statSize":9938,"parsedSize":4168,"gzipSize":1541},{"label":"ServiceManager","path":"./lib/core/ServiceManager","statSize":13371,"groups":[{"id":2204,"label":"browser.ts","path":"./lib/core/ServiceManager/browser.ts","statSize":13035,"parsedSize":5916,"gzipSize":2035},{"id":6599,"label":"index.ts","path":"./lib/core/ServiceManager/index.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":6125,"gzipSize":2107},{"id":1578,"label":"factory.ts","path":"./lib/core/factory.ts","statSize":808,"parsedSize":283,"gzipSize":204},{"id":3961,"label":"index.ts","path":"./lib/core/index.ts","statSize":2433,"parsedSize":1289,"gzipSize":284},{"id":8386,"label":"mixin.ts","path":"./lib/core/mixin.ts","statSize":9288,"parsedSize":3582,"gzipSize":1256},{"id":9133,"label":"options.ts","path":"./lib/core/options.ts","statSize":2599,"parsedSize":982,"gzipSize":469},{"id":2647,"label":"storage.ts","path":"./lib/core/storage.ts","statSize":210,"parsedSize":122,"gzipSize":117},{"label":"types","path":"./lib/core/types","statSize":1042,"groups":[{"id":2293,"label":"AuthState.ts","path":"./lib/core/types/AuthState.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":5675,"label":"Service.ts","path":"./lib/core/types/Service.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":6655,"label":"api.ts","path":"./lib/core/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8553,"label":"index.ts","path":"./lib/core/types/index.ts","statSize":1015,"parsedSize":569,"gzipSize":223}],"parsedSize":605,"gzipSize":227}],"parsedSize":17156,"gzipSize":4470},{"label":"crypto","path":"./lib/crypto","statSize":5447,"groups":[{"id":7987,"label":"base64.ts","path":"./lib/crypto/base64.ts","statSize":1756,"parsedSize":945,"gzipSize":458},{"id":7594,"label":"browser.ts","path":"./lib/crypto/browser.ts","statSize":285,"parsedSize":189,"gzipSize":141},{"id":9718,"label":"index.ts","path":"./lib/crypto/index.ts","statSize":1711,"parsedSize":926,"gzipSize":251},{"id":5698,"label":"oidcHash.ts","path":"./lib/crypto/oidcHash.ts","statSize":519,"parsedSize":283,"gzipSize":230},{"id":6332,"label":"types.ts","path":"./lib/crypto/types.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":3154,"label":"verifyToken.ts","path":"./lib/crypto/verifyToken.ts","statSize":839,"parsedSize":410,"gzipSize":296},{"id":1,"label":"webcrypto.ts","path":"./lib/crypto/webcrypto.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":2974,"gzipSize":994},{"label":"errors","path":"./lib/errors","statSize":20151,"groups":[{"id":3983,"label":"AuthApiError.ts","path":"./lib/errors/AuthApiError.ts","statSize":3201,"parsedSize":1333,"gzipSize":541},{"id":6573,"label":"AuthPollStopError.ts","path":"./lib/errors/AuthPollStopError.ts","statSize":1983,"parsedSize":778,"gzipSize":411},{"id":9123,"label":"AuthSdkError.ts","path":"./lib/errors/AuthSdkError.ts","statSize":2979,"parsedSize":1224,"gzipSize":521},{"id":401,"label":"CustomError.ts","path":"./lib/errors/CustomError.ts","statSize":2214,"parsedSize":876,"gzipSize":443},{"id":2886,"label":"OAuthError.ts","path":"./lib/errors/OAuthError.ts","statSize":2868,"parsedSize":1139,"gzipSize":498},{"id":3114,"label":"WWWAuthError.ts","path":"./lib/errors/WWWAuthError.ts","statSize":4803,"parsedSize":2126,"gzipSize":899},{"id":5728,"label":"index.ts","path":"./lib/errors/index.ts","statSize":2102,"parsedSize":1096,"gzipSize":386},{"id":1243,"label":"types.ts","path":"./lib/errors/types.ts","statSize":1,"parsedSize":12,"gzipSize":32}],"parsedSize":8584,"gzipSize":1663},{"label":"exports","path":"./lib/exports","statSize":8211,"groups":[{"id":5140,"label":"authn.ts","path":"./lib/exports/authn.ts","statSize":3070,"parsedSize":1382,"gzipSize":625},{"label":"cdn","path":"./lib/exports/cdn","statSize":168,"groups":[{"id":593,"label":"authn.ts","path":"./lib/exports/cdn/authn.ts","statSize":168,"parsedSize":101,"gzipSize":105}],"parsedSize":101,"gzipSize":105},{"id":6736,"label":"common.ts","path":"./lib/exports/common.ts","statSize":4973,"parsedSize":2670,"gzipSize":612}],"parsedSize":4153,"gzipSize":1040},{"id":415,"label":"features.ts","path":"./lib/features.ts","statSize":2331,"parsedSize":1196,"gzipSize":519},{"label":"fetch","path":"./lib/fetch","statSize":4580,"groups":[{"id":4447,"label":"fetchRequest.ts","path":"./lib/fetch/fetchRequest.ts","statSize":4580,"parsedSize":2383,"gzipSize":1232}],"parsedSize":2383,"gzipSize":1232},{"label":"http","path":"./lib/http","statSize":21695,"groups":[{"id":287,"label":"OktaUserAgent.ts","path":"./lib/http/OktaUserAgent.ts","statSize":1534,"parsedSize":738,"gzipSize":385},{"id":2281,"label":"headers.ts","path":"./lib/http/headers.ts","statSize":248,"parsedSize":126,"gzipSize":102},{"id":4777,"label":"index.ts","path":"./lib/http/index.ts","statSize":2046,"parsedSize":1108,"gzipSize":266},{"id":3334,"label":"mixin.ts","path":"./lib/http/mixin.ts","statSize":3400,"parsedSize":1435,"gzipSize":712},{"id":4090,"label":"options.ts","path":"./lib/http/options.ts","statSize":3328,"parsedSize":1359,"gzipSize":555},{"id":5385,"label":"request.ts","path":"./lib/http/request.ts","statSize":11126,"parsedSize":5315,"gzipSize":2360},{"id":8958,"label":"types.ts","path":"./lib/http/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":10093,"gzipSize":3450},{"label":"oidc","path":"./lib/oidc","statSize":210188,"groups":[{"id":3426,"label":"TokenManager.ts","path":"./lib/oidc/TokenManager.ts","statSize":18238,"parsedSize":8897,"gzipSize":2502},{"id":130,"label":"TransactionManager.ts","path":"./lib/oidc/TransactionManager.ts","statSize":3757,"parsedSize":1865,"gzipSize":650},{"id":1237,"label":"decodeToken.ts","path":"./lib/oidc/decodeToken.ts","statSize":495,"parsedSize":285,"gzipSize":227},{"id":7659,"label":"dpop.ts","path":"./lib/oidc/dpop.ts","statSize":15396,"parsedSize":6399,"gzipSize":1881},{"label":"endpoints","path":"./lib/oidc/endpoints","statSize":13088,"groups":[{"id":2206,"label":"authorize.ts","path":"./lib/oidc/endpoints/authorize.ts","statSize":3290,"parsedSize":1887,"gzipSize":873},{"id":2642,"label":"index.ts","path":"./lib/oidc/endpoints/index.ts","statSize":1036,"parsedSize":567,"gzipSize":220},{"id":9231,"label":"token.ts","path":"./lib/oidc/endpoints/token.ts","statSize":7327,"parsedSize":3313,"gzipSize":1352},{"id":52,"label":"well-known.ts","path":"./lib/oidc/endpoints/well-known.ts","statSize":1435,"parsedSize":662,"gzipSize":407}],"parsedSize":6429,"gzipSize":2351},{"id":9284,"label":"enrollAuthenticator.ts","path":"./lib/oidc/enrollAuthenticator.ts","statSize":673,"parsedSize":367,"gzipSize":241},{"id":8707,"label":"exchangeCodeForTokens.ts","path":"./lib/oidc/exchangeCodeForTokens.ts","statSize":4616,"parsedSize":1551,"gzipSize":835},{"label":"factory","path":"./lib/oidc/factory","statSize":4409,"groups":[{"id":3859,"label":"OktaAuthOAuth.ts","path":"./lib/oidc/factory/OktaAuthOAuth.ts","statSize":741,"parsedSize":253,"gzipSize":189},{"id":7203,"label":"api.ts","path":"./lib/oidc/factory/api.ts","statSize":2970,"parsedSize":1422,"gzipSize":621},{"id":7276,"label":"index.ts","path":"./lib/oidc/factory/index.ts","statSize":698,"parsedSize":389,"gzipSize":207}],"parsedSize":2064,"gzipSize":841},{"id":3253,"label":"getToken.ts","path":"./lib/oidc/getToken.ts","statSize":4284,"parsedSize":1913,"gzipSize":907},{"id":6844,"label":"getUserInfo.ts","path":"./lib/oidc/getUserInfo.ts","statSize":5112,"parsedSize":2329,"gzipSize":971},{"id":9770,"label":"getWithPopup.ts","path":"./lib/oidc/getWithPopup.ts","statSize":2092,"parsedSize":1189,"gzipSize":586},{"id":6803,"label":"getWithRedirect.ts","path":"./lib/oidc/getWithRedirect.ts","statSize":1997,"parsedSize":848,"gzipSize":515},{"id":7625,"label":"getWithoutPrompt.ts","path":"./lib/oidc/getWithoutPrompt.ts","statSize":577,"parsedSize":355,"gzipSize":276},{"id":8676,"label":"handleOAuthResponse.ts","path":"./lib/oidc/handleOAuthResponse.ts","statSize":7129,"parsedSize":2955,"gzipSize":1242},{"id":9443,"label":"index.ts","path":"./lib/oidc/index.ts","statSize":7202,"parsedSize":4036,"gzipSize":744},{"id":8113,"label":"introspect.ts","path":"./lib/oidc/introspect.ts","statSize":3381,"parsedSize":1413,"gzipSize":794},{"label":"mixin","path":"./lib/oidc/mixin","statSize":37253,"groups":[{"id":4449,"label":"browser.ts","path":"./lib/oidc/mixin/browser.ts","statSize":3456,"parsedSize":1411,"gzipSize":593},{"id":498,"label":"index.ts","path":"./lib/oidc/mixin/index.ts","statSize":33797,"parsedSize":13047,"gzipSize":3634}],"parsedSize":14458,"gzipSize":3909},{"label":"options","path":"./lib/oidc/options","statSize":9906,"groups":[{"id":3234,"label":"OAuthOptionsConstructor.ts","path":"./lib/oidc/options/OAuthOptionsConstructor.ts","statSize":9340,"parsedSize":4859,"gzipSize":1556},{"id":5577,"label":"browser.ts","path":"./lib/oidc/options/browser.ts","statSize":135,"parsedSize":81,"gzipSize":81},{"id":3775,"label":"index.ts","path":"./lib/oidc/options/index.ts","statSize":431,"parsedSize":209,"gzipSize":179}],"parsedSize":5149,"gzipSize":1646},{"id":9094,"label":"parseFromUrl.ts","path":"./lib/oidc/parseFromUrl.ts","statSize":4757,"parsedSize":2056,"gzipSize":911},{"id":2476,"label":"renewToken.ts","path":"./lib/oidc/renewToken.ts","statSize":3079,"parsedSize":1215,"gzipSize":650},{"id":6268,"label":"renewTokens.ts","path":"./lib/oidc/renewTokens.ts","statSize":3794,"parsedSize":1529,"gzipSize":743},{"id":781,"label":"renewTokensWithRefresh.ts","path":"./lib/oidc/renewTokensWithRefresh.ts","statSize":4649,"parsedSize":1898,"gzipSize":939},{"id":6466,"label":"revokeToken.ts","path":"./lib/oidc/revokeToken.ts","statSize":2575,"parsedSize":1052,"gzipSize":626},{"id":2333,"label":"storage.ts","path":"./lib/oidc/storage.ts","statSize":3550,"parsedSize":1510,"gzipSize":618},{"label":"types","path":"./lib/oidc/types","statSize":7004,"groups":[{"id":5842,"label":"JWT.ts","path":"./lib/oidc/types/JWT.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6488,"label":"Token.ts","path":"./lib/oidc/types/Token.ts","statSize":766,"parsedSize":422,"gzipSize":214},{"id":7088,"label":"TokenManager.ts","path":"./lib/oidc/types/TokenManager.ts","statSize":587,"parsedSize":286,"gzipSize":170},{"id":4319,"label":"Transaction.ts","path":"./lib/oidc/types/Transaction.ts","statSize":1450,"parsedSize":564,"gzipSize":302},{"id":6593,"label":"TransactionManager.ts","path":"./lib/oidc/types/TransactionManager.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":7615,"label":"UserClaims.ts","path":"./lib/oidc/types/UserClaims.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":2740,"label":"api.ts","path":"./lib/oidc/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8665,"label":"endpoints.ts","path":"./lib/oidc/types/endpoints.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8927,"label":"index.ts","path":"./lib/oidc/types/index.ts","statSize":4108,"parsedSize":2188,"gzipSize":356},{"id":8741,"label":"meta.ts","path":"./lib/oidc/types/meta.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6370,"label":"options.ts","path":"./lib/oidc/types/options.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":9263,"label":"proto.ts","path":"./lib/oidc/types/proto.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":195,"label":"storage.ts","path":"./lib/oidc/types/storage.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3568,"gzipSize":842},{"label":"util","path":"./lib/oidc/util","statSize":36487,"groups":[{"id":4970,"label":"browser.ts","path":"./lib/oidc/util/browser.ts","statSize":3853,"parsedSize":2046,"gzipSize":928},{"id":5078,"label":"defaultEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/defaultEnrollAuthenticatorParams.ts","statSize":804,"parsedSize":382,"gzipSize":277},{"id":7756,"label":"defaultTokenParams.ts","path":"./lib/oidc/util/defaultTokenParams.ts","statSize":1222,"parsedSize":556,"gzipSize":360},{"id":8080,"label":"enrollAuthenticatorMeta.ts","path":"./lib/oidc/util/enrollAuthenticatorMeta.ts","statSize":591,"parsedSize":323,"gzipSize":208},{"id":9912,"label":"errors.ts","path":"./lib/oidc/util/errors.ts","statSize":1054,"parsedSize":501,"gzipSize":299},{"id":8785,"label":"index.ts","path":"./lib/oidc/util/index.ts","statSize":6588,"parsedSize":3271,"gzipSize":461},{"id":8221,"label":"loginRedirect.ts","path":"./lib/oidc/util/loginRedirect.ts","statSize":2394,"parsedSize":1074,"gzipSize":478},{"id":7599,"label":"oauth.ts","path":"./lib/oidc/util/oauth.ts","statSize":2473,"parsedSize":1262,"gzipSize":514},{"id":2865,"label":"oauthMeta.ts","path":"./lib/oidc/util/oauthMeta.ts","statSize":2024,"parsedSize":1116,"gzipSize":535},{"id":3611,"label":"pkce.ts","path":"./lib/oidc/util/pkce.ts","statSize":1259,"parsedSize":722,"gzipSize":453},{"id":6757,"label":"prepareEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/prepareEnrollAuthenticatorParams.ts","statSize":1923,"parsedSize":1071,"gzipSize":518},{"id":6898,"label":"prepareTokenParams.ts","path":"./lib/oidc/util/prepareTokenParams.ts","statSize":6778,"parsedSize":3034,"gzipSize":1239},{"id":6635,"label":"refreshToken.ts","path":"./lib/oidc/util/refreshToken.ts","statSize":531,"parsedSize":263,"gzipSize":188},{"id":3327,"label":"sharedStorage.ts","path":"./lib/oidc/util/sharedStorage.ts","statSize":1657,"parsedSize":727,"gzipSize":315},{"id":1969,"label":"urlParams.ts","path":"./lib/oidc/util/urlParams.ts","statSize":807,"parsedSize":364,"gzipSize":257},{"id":6003,"label":"validateClaims.ts","path":"./lib/oidc/util/validateClaims.ts","statSize":1700,"parsedSize":976,"gzipSize":476},{"id":2482,"label":"validateToken.ts","path":"./lib/oidc/util/validateToken.ts","statSize":829,"parsedSize":569,"gzipSize":268}],"parsedSize":18257,"gzipSize":4908},{"id":1260,"label":"verifyToken.ts","path":"./lib/oidc/verifyToken.ts","statSize":4688,"parsedSize":1950,"gzipSize":932}],"parsedSize":95537,"gzipSize":21493},{"label":"services","path":"./lib/services","statSize":24602,"groups":[{"id":2282,"label":"AutoRenewService.ts","path":"./lib/services/AutoRenewService.ts","statSize":4939,"parsedSize":2388,"gzipSize":881},{"id":6748,"label":"LeaderElectionService.ts","path":"./lib/services/LeaderElectionService.ts","statSize":5685,"parsedSize":2393,"gzipSize":788},{"id":2546,"label":"RenewOnTabActivationService.ts","path":"./lib/services/RenewOnTabActivationService.ts","statSize":4455,"parsedSize":2152,"gzipSize":785},{"id":5550,"label":"SyncStorageService.ts","path":"./lib/services/SyncStorageService.ts","statSize":7891,"parsedSize":3907,"gzipSize":1150},{"id":2604,"label":"index.ts","path":"./lib/services/index.ts","statSize":1632,"parsedSize":749,"gzipSize":239}],"parsedSize":11589,"gzipSize":2332},{"label":"session","path":"./lib/session","statSize":6969,"groups":[{"id":3719,"label":"api.ts","path":"./lib/session/api.ts","statSize":1737,"parsedSize":1028,"gzipSize":472},{"id":2815,"label":"factory.ts","path":"./lib/session/factory.ts","statSize":418,"parsedSize":278,"gzipSize":172},{"id":8041,"label":"index.ts","path":"./lib/session/index.ts","statSize":1322,"parsedSize":749,"gzipSize":240},{"id":3980,"label":"mixin.ts","path":"./lib/session/mixin.ts","statSize":3479,"parsedSize":1356,"gzipSize":681},{"id":1249,"label":"types.ts","path":"./lib/session/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3423,"gzipSize":1266},{"label":"storage","path":"./lib/storage","statSize":16437,"groups":[{"id":5437,"label":"BaseStorageManager.ts","path":"./lib/storage/BaseStorageManager.ts","statSize":3442,"parsedSize":1567,"gzipSize":689},{"id":5763,"label":"SavedObject.ts","path":"./lib/storage/SavedObject.ts","statSize":2766,"parsedSize":1378,"gzipSize":517},{"id":9927,"label":"index.ts","path":"./lib/storage/index.ts","statSize":1852,"parsedSize":928,"gzipSize":251},{"id":265,"label":"mixin.ts","path":"./lib/storage/mixin.ts","statSize":2704,"parsedSize":1032,"gzipSize":532},{"label":"options","path":"./lib/storage/options","statSize":5660,"groups":[{"id":4863,"label":"StorageOptionsConstructor.ts","path":"./lib/storage/options/StorageOptionsConstructor.ts","statSize":3822,"parsedSize":1745,"gzipSize":768},{"id":8009,"label":"browser.ts","path":"./lib/storage/options/browser.ts","statSize":1838,"parsedSize":1031,"gzipSize":525}],"parsedSize":2776,"gzipSize":1137},{"id":5752,"label":"types.ts","path":"./lib/storage/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":7693,"gzipSize":2272},{"label":"util","path":"./lib/util","statSize":10748,"groups":[{"id":3548,"label":"PromiseQueue.ts","path":"./lib/util/PromiseQueue.ts","statSize":2535,"parsedSize":1170,"gzipSize":597},{"id":146,"label":"console.ts","path":"./lib/util/console.ts","statSize":965,"parsedSize":501,"gzipSize":281},{"id":305,"label":"index.ts","path":"./lib/util/index.ts","statSize":2011,"parsedSize":1108,"gzipSize":267},{"id":8750,"label":"misc.ts","path":"./lib/util/misc.ts","statSize":883,"parsedSize":473,"gzipSize":338},{"id":3193,"label":"object.ts","path":"./lib/util/object.ts","statSize":2215,"parsedSize":1076,"gzipSize":513},{"id":4771,"label":"types.ts","path":"./lib/util/types.ts","statSize":636,"parsedSize":433,"gzipSize":183},{"id":6718,"label":"url.ts","path":"./lib/util/url.ts","statSize":1503,"parsedSize":829,"gzipSize":420}],"parsedSize":5590,"gzipSize":1934}],"parsedSize":188070,"gzipSize":40312},{"label":"node_modules","path":"./node_modules","statSize":108603,"groups":[{"label":"@babel/runtime","path":"./node_modules/@babel/runtime","statSize":25147,"groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","statSize":24699,"groups":[{"id":3897,"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","statSize":268,"parsedSize":175,"gzipSize":147},{"id":5372,"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","statSize":177,"parsedSize":116,"gzipSize":99},{"id":3405,"label":"arrayWithoutHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","statSize":258,"parsedSize":137,"gzipSize":120},{"id":6115,"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","statSize":276,"parsedSize":196,"gzipSize":153},{"id":7156,"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","statSize":701,"parsedSize":389,"gzipSize":244},{"id":6690,"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","statSize":229,"parsedSize":167,"gzipSize":140},{"id":3515,"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","statSize":475,"parsedSize":262,"gzipSize":197},{"id":9728,"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","statSize":583,"parsedSize":368,"gzipSize":242},{"id":8416,"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","statSize":362,"parsedSize":216,"gzipSize":169},{"id":1588,"label":"get.js","path":"./node_modules/@babel/runtime/helpers/get.js","statSize":583,"parsedSize":398,"gzipSize":240},{"id":3808,"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","statSize":412,"parsedSize":275,"gzipSize":151},{"id":1655,"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","statSize":536,"parsedSize":370,"gzipSize":252},{"id":4836,"label":"interopRequireDefault.js","path":"./node_modules/@babel/runtime/helpers/interopRequireDefault.js","statSize":214,"parsedSize":124,"gzipSize":98},{"id":6035,"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","statSize":280,"parsedSize":190,"gzipSize":152},{"id":9617,"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","statSize":476,"parsedSize":283,"gzipSize":170},{"id":9498,"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","statSize":260,"parsedSize":187,"gzipSize":150},{"id":8872,"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","statSize":790,"parsedSize":469,"gzipSize":311},{"id":2218,"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","statSize":308,"parsedSize":247,"gzipSize":194},{"id":5343,"label":"nonIterableSpread.js","path":"./node_modules/@babel/runtime/helpers/nonIterableSpread.js","statSize":307,"parsedSize":242,"gzipSize":192},{"id":215,"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","statSize":553,"parsedSize":320,"gzipSize":231},{"id":7071,"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","statSize":343,"parsedSize":214,"gzipSize":170},{"id":4993,"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","statSize":493,"parsedSize":285,"gzipSize":213},{"id":7061,"label":"regeneratorRuntime.js","path":"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","statSize":11029,"parsedSize":6671,"gzipSize":2479},{"id":6015,"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","statSize":400,"parsedSize":259,"gzipSize":147},{"id":7424,"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","statSize":509,"parsedSize":170,"gzipSize":140},{"id":1753,"label":"superPropBase.js","path":"./node_modules/@babel/runtime/helpers/superPropBase.js","statSize":287,"parsedSize":169,"gzipSize":144},{"id":861,"label":"toConsumableArray.js","path":"./node_modules/@babel/runtime/helpers/toConsumableArray.js","statSize":508,"parsedSize":164,"gzipSize":138},{"id":5036,"label":"toPrimitive.js","path":"./node_modules/@babel/runtime/helpers/toPrimitive.js","statSize":494,"parsedSize":351,"gzipSize":243},{"id":4062,"label":"toPropertyKey.js","path":"./node_modules/@babel/runtime/helpers/toPropertyKey.js","statSize":317,"parsedSize":171,"gzipSize":144},{"id":8698,"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","statSize":534,"parsedSize":368,"gzipSize":178},{"id":6116,"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","statSize":573,"parsedSize":363,"gzipSize":267},{"id":3496,"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","statSize":1164,"parsedSize":625,"gzipSize":351}],"parsedSize":14941,"gzipSize":4307},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","statSize":448,"groups":[{"id":4687,"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","statSize":448,"parsedSize":181,"gzipSize":146}],"parsedSize":181,"gzipSize":146}],"parsedSize":15122,"gzipSize":4366},{"label":"broadcast-channel/dist/lib","path":"./node_modules/broadcast-channel/dist/lib","statSize":49419,"groups":[{"id":8991,"label":"broadcast-channel.js","path":"./node_modules/broadcast-channel/dist/lib/broadcast-channel.js","statSize":7213,"parsedSize":2719,"gzipSize":1090},{"id":8437,"label":"index.es5.js","path":"./node_modules/broadcast-channel/dist/lib/index.es5.js","statSize":559,"parsedSize":221,"gzipSize":155},{"id":5585,"label":"index.js","path":"./node_modules/broadcast-channel/dist/lib/index.js","statSize":1169,"parsedSize":724,"gzipSize":267},{"id":4781,"label":"leader-election-util.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-util.js","statSize":1724,"parsedSize":579,"gzipSize":343},{"id":683,"label":"leader-election-web-lock.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-web-lock.js","statSize":2882,"parsedSize":1417,"gzipSize":665},{"id":6550,"label":"leader-election.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election.js","statSize":8955,"parsedSize":3266,"gzipSize":1111},{"id":4632,"label":"method-chooser.js","path":"./node_modules/broadcast-channel/dist/lib/method-chooser.js","statSize":2458,"parsedSize":669,"gzipSize":407},{"label":"methods","path":"./node_modules/broadcast-channel/dist/lib/methods","statSize":20779,"groups":[{"id":9122,"label":"indexed-db.js","path":"./node_modules/broadcast-channel/dist/lib/methods/indexed-db.js","statSize":11494,"parsedSize":4319,"gzipSize":1630},{"id":4924,"label":"localstorage.js","path":"./node_modules/broadcast-channel/dist/lib/methods/localstorage.js","statSize":5281,"parsedSize":2027,"gzipSize":996},{"id":2026,"label":"native.js","path":"./node_modules/broadcast-channel/dist/lib/methods/native.js","statSize":2045,"parsedSize":1158,"gzipSize":596},{"id":1574,"label":"simulate.js","path":"./node_modules/broadcast-channel/dist/lib/methods/simulate.js","statSize":1959,"parsedSize":867,"gzipSize":462}],"parsedSize":8371,"gzipSize":2771},{"id":423,"label":"options.js","path":"./node_modules/broadcast-channel/dist/lib/options.js","statSize":1566,"parsedSize":737,"gzipSize":396},{"id":6202,"label":"util.js","path":"./node_modules/broadcast-channel/dist/lib/util.js","statSize":2114,"parsedSize":827,"gzipSize":422}],"parsedSize":19530,"gzipSize":5494},{"label":"cross-fetch/dist","path":"./node_modules/cross-fetch/dist","statSize":15491,"groups":[{"id":4098,"label":"browser-ponyfill.js","path":"./node_modules/cross-fetch/dist/browser-ponyfill.js","statSize":15491,"parsedSize":8241,"gzipSize":2804}],"parsedSize":8241,"gzipSize":2804},{"label":"js-cookie/dist","path":"./node_modules/js-cookie/dist","statSize":4150,"groups":[{"id":646,"label":"js.cookie.js","path":"./node_modules/js-cookie/dist/js.cookie.js","statSize":4150,"parsedSize":1426,"gzipSize":706}],"parsedSize":1426,"gzipSize":706},{"label":"oblivious-set/dist/cjs/src","path":"./node_modules/oblivious-set/dist/cjs/src","statSize":3257,"groups":[{"id":7696,"label":"index.es5.js","path":"./node_modules/oblivious-set/dist/cjs/src/index.es5.js","statSize":1212,"parsedSize":757,"gzipSize":408},{"id":8546,"label":"index.js","path":"./node_modules/oblivious-set/dist/cjs/src/index.js","statSize":2045,"parsedSize":560,"gzipSize":353}],"parsedSize":1317,"gzipSize":650},{"label":"p-cancelable","path":"./node_modules/p-cancelable","statSize":6424,"groups":[{"id":3615,"label":"index.js","path":"./node_modules/p-cancelable/index.js","statSize":6424,"parsedSize":3179,"gzipSize":1369}],"parsedSize":3179,"gzipSize":1369},{"label":"tiny-emitter","path":"./node_modules/tiny-emitter","statSize":1565,"groups":[{"id":4279,"label":"index.js","path":"./node_modules/tiny-emitter/index.js","statSize":1565,"parsedSize":586,"gzipSize":326}],"parsedSize":586,"gzipSize":326},{"label":"unload/dist/es","path":"./node_modules/unload/dist/es","statSize":3150,"groups":[{"id":4810,"label":"index.js + 2 modules (concatenated)","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)","statSize":3150,"parsedSize":1286,"gzipSize":527,"concatenated":true,"groups":[{"label":"node_modules/unload/dist/es","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es","statSize":3150,"groups":[{"id":null,"label":"index.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/index.js","statSize":1227,"parsedSize":500,"gzipSize":205,"inaccurateSizes":true},{"id":null,"label":"node.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/node.js","statSize":695,"parsedSize":283,"gzipSize":116,"inaccurateSizes":true},{"id":null,"label":"browser.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/browser.js","statSize":1228,"parsedSize":501,"gzipSize":205,"inaccurateSizes":true}],"parsedSize":1286,"gzipSize":527,"inaccurateSizes":true}]}],"parsedSize":1286,"gzipSize":527}],"parsedSize":50687,"gzipSize":14537}]}];
|
|
34
|
+
window.chartData = [{"label":"okta-auth-js.authn.min.js","isAsset":true,"statSize":518684,"parsedSize":241004,"gzipSize":55316,"groups":[{"label":"lib","path":"./lib","statSize":410081,"groups":[{"label":"authn","path":"./lib/authn","statSize":21476,"groups":[{"id":97,"label":"AuthnTransactionImpl.ts","path":"./lib/authn/AuthnTransactionImpl.ts","statSize":2549,"parsedSize":1410,"gzipSize":492},{"id":9859,"label":"api.ts","path":"./lib/authn/api.ts","statSize":2330,"parsedSize":1143,"gzipSize":457},{"id":8248,"label":"factory.ts","path":"./lib/authn/factory.ts","statSize":843,"parsedSize":453,"gzipSize":228},{"id":3398,"label":"index.ts","path":"./lib/authn/index.ts","statSize":1005,"parsedSize":569,"gzipSize":223},{"id":3164,"label":"mixin.ts","path":"./lib/authn/mixin.ts","statSize":6354,"parsedSize":2471,"gzipSize":976},{"id":2576,"label":"types.ts","path":"./lib/authn/types.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"label":"util","path":"./lib/authn/util","statSize":8382,"groups":[{"id":6693,"label":"flattenEmbedded.ts","path":"./lib/authn/util/flattenEmbedded.ts","statSize":942,"parsedSize":472,"gzipSize":312},{"id":8657,"label":"link2fn.ts","path":"./lib/authn/util/link2fn.ts","statSize":3027,"parsedSize":1386,"gzipSize":689},{"id":9265,"label":"links2fns.ts","path":"./lib/authn/util/links2fns.ts","statSize":760,"parsedSize":337,"gzipSize":246},{"id":3395,"label":"poll.ts","path":"./lib/authn/util/poll.ts","statSize":3282,"parsedSize":1353,"gzipSize":692},{"id":1349,"label":"stateToken.ts","path":"./lib/authn/util/stateToken.ts","statSize":371,"parsedSize":196,"gzipSize":139}],"parsedSize":3744,"gzipSize":1504}],"parsedSize":9802,"gzipSize":3081},{"label":"base","path":"./lib/base","statSize":4550,"groups":[{"id":9893,"label":"factory.ts","path":"./lib/base/factory.ts","statSize":2781,"parsedSize":1206,"gzipSize":598},{"id":3306,"label":"index.ts","path":"./lib/base/index.ts","statSize":1015,"parsedSize":569,"gzipSize":221},{"id":5093,"label":"options.ts","path":"./lib/base/options.ts","statSize":741,"parsedSize":251,"gzipSize":187},{"id":6429,"label":"types.ts","path":"./lib/base/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":2038,"gzipSize":795},{"label":"browser","path":"./lib/browser","statSize":8821,"groups":[{"id":5407,"label":"browserStorage.ts","path":"./lib/browser/browserStorage.ts","statSize":6256,"parsedSize":3041,"gzipSize":1133},{"id":8719,"label":"fingerprint.ts","path":"./lib/browser/fingerprint.ts","statSize":2565,"parsedSize":1236,"gzipSize":660}],"parsedSize":4277,"gzipSize":1658},{"id":6244,"label":"clock.ts","path":"./lib/clock.ts","statSize":1050,"parsedSize":408,"gzipSize":254},{"id":1971,"label":"constants.ts","path":"./lib/constants.ts","statSize":2704,"parsedSize":1318,"gzipSize":474},{"label":"core","path":"./lib/core","statSize":39689,"groups":[{"id":1018,"label":"AuthStateManager.ts","path":"./lib/core/AuthStateManager.ts","statSize":9938,"parsedSize":4168,"gzipSize":1541},{"label":"ServiceManager","path":"./lib/core/ServiceManager","statSize":13371,"groups":[{"id":2204,"label":"browser.ts","path":"./lib/core/ServiceManager/browser.ts","statSize":13035,"parsedSize":5916,"gzipSize":2035},{"id":6599,"label":"index.ts","path":"./lib/core/ServiceManager/index.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":6125,"gzipSize":2107},{"id":1578,"label":"factory.ts","path":"./lib/core/factory.ts","statSize":808,"parsedSize":283,"gzipSize":204},{"id":3961,"label":"index.ts","path":"./lib/core/index.ts","statSize":2433,"parsedSize":1289,"gzipSize":284},{"id":8386,"label":"mixin.ts","path":"./lib/core/mixin.ts","statSize":9288,"parsedSize":3582,"gzipSize":1256},{"id":9133,"label":"options.ts","path":"./lib/core/options.ts","statSize":2599,"parsedSize":982,"gzipSize":469},{"id":2647,"label":"storage.ts","path":"./lib/core/storage.ts","statSize":210,"parsedSize":122,"gzipSize":117},{"label":"types","path":"./lib/core/types","statSize":1042,"groups":[{"id":2293,"label":"AuthState.ts","path":"./lib/core/types/AuthState.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":5675,"label":"Service.ts","path":"./lib/core/types/Service.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":6655,"label":"api.ts","path":"./lib/core/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8553,"label":"index.ts","path":"./lib/core/types/index.ts","statSize":1015,"parsedSize":569,"gzipSize":223}],"parsedSize":605,"gzipSize":227}],"parsedSize":17156,"gzipSize":4470},{"label":"crypto","path":"./lib/crypto","statSize":5447,"groups":[{"id":7987,"label":"base64.ts","path":"./lib/crypto/base64.ts","statSize":1756,"parsedSize":945,"gzipSize":458},{"id":7594,"label":"browser.ts","path":"./lib/crypto/browser.ts","statSize":285,"parsedSize":189,"gzipSize":141},{"id":9718,"label":"index.ts","path":"./lib/crypto/index.ts","statSize":1711,"parsedSize":926,"gzipSize":251},{"id":5698,"label":"oidcHash.ts","path":"./lib/crypto/oidcHash.ts","statSize":519,"parsedSize":283,"gzipSize":230},{"id":6332,"label":"types.ts","path":"./lib/crypto/types.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":3154,"label":"verifyToken.ts","path":"./lib/crypto/verifyToken.ts","statSize":839,"parsedSize":410,"gzipSize":296},{"id":1,"label":"webcrypto.ts","path":"./lib/crypto/webcrypto.ts","statSize":336,"parsedSize":209,"gzipSize":179}],"parsedSize":2974,"gzipSize":994},{"label":"errors","path":"./lib/errors","statSize":20151,"groups":[{"id":3983,"label":"AuthApiError.ts","path":"./lib/errors/AuthApiError.ts","statSize":3201,"parsedSize":1333,"gzipSize":541},{"id":6573,"label":"AuthPollStopError.ts","path":"./lib/errors/AuthPollStopError.ts","statSize":1983,"parsedSize":778,"gzipSize":411},{"id":9123,"label":"AuthSdkError.ts","path":"./lib/errors/AuthSdkError.ts","statSize":2979,"parsedSize":1224,"gzipSize":521},{"id":401,"label":"CustomError.ts","path":"./lib/errors/CustomError.ts","statSize":2214,"parsedSize":876,"gzipSize":443},{"id":2886,"label":"OAuthError.ts","path":"./lib/errors/OAuthError.ts","statSize":2868,"parsedSize":1139,"gzipSize":498},{"id":3114,"label":"WWWAuthError.ts","path":"./lib/errors/WWWAuthError.ts","statSize":4803,"parsedSize":2126,"gzipSize":899},{"id":5728,"label":"index.ts","path":"./lib/errors/index.ts","statSize":2102,"parsedSize":1096,"gzipSize":386},{"id":1243,"label":"types.ts","path":"./lib/errors/types.ts","statSize":1,"parsedSize":12,"gzipSize":32}],"parsedSize":8584,"gzipSize":1663},{"label":"exports","path":"./lib/exports","statSize":8211,"groups":[{"id":5140,"label":"authn.ts","path":"./lib/exports/authn.ts","statSize":3070,"parsedSize":1382,"gzipSize":625},{"label":"cdn","path":"./lib/exports/cdn","statSize":168,"groups":[{"id":593,"label":"authn.ts","path":"./lib/exports/cdn/authn.ts","statSize":168,"parsedSize":101,"gzipSize":105}],"parsedSize":101,"gzipSize":105},{"id":6736,"label":"common.ts","path":"./lib/exports/common.ts","statSize":4973,"parsedSize":2670,"gzipSize":612}],"parsedSize":4153,"gzipSize":1040},{"id":415,"label":"features.ts","path":"./lib/features.ts","statSize":2331,"parsedSize":1196,"gzipSize":519},{"label":"fetch","path":"./lib/fetch","statSize":4580,"groups":[{"id":4447,"label":"fetchRequest.ts","path":"./lib/fetch/fetchRequest.ts","statSize":4580,"parsedSize":2383,"gzipSize":1232}],"parsedSize":2383,"gzipSize":1232},{"label":"http","path":"./lib/http","statSize":21695,"groups":[{"id":287,"label":"OktaUserAgent.ts","path":"./lib/http/OktaUserAgent.ts","statSize":1534,"parsedSize":738,"gzipSize":385},{"id":2281,"label":"headers.ts","path":"./lib/http/headers.ts","statSize":248,"parsedSize":126,"gzipSize":102},{"id":4777,"label":"index.ts","path":"./lib/http/index.ts","statSize":2046,"parsedSize":1108,"gzipSize":266},{"id":3334,"label":"mixin.ts","path":"./lib/http/mixin.ts","statSize":3400,"parsedSize":1435,"gzipSize":712},{"id":4090,"label":"options.ts","path":"./lib/http/options.ts","statSize":3328,"parsedSize":1359,"gzipSize":555},{"id":5385,"label":"request.ts","path":"./lib/http/request.ts","statSize":11126,"parsedSize":5315,"gzipSize":2360},{"id":8958,"label":"types.ts","path":"./lib/http/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":10093,"gzipSize":3450},{"label":"oidc","path":"./lib/oidc","statSize":210620,"groups":[{"id":3426,"label":"TokenManager.ts","path":"./lib/oidc/TokenManager.ts","statSize":18238,"parsedSize":8897,"gzipSize":2502},{"id":130,"label":"TransactionManager.ts","path":"./lib/oidc/TransactionManager.ts","statSize":3757,"parsedSize":1865,"gzipSize":650},{"id":1237,"label":"decodeToken.ts","path":"./lib/oidc/decodeToken.ts","statSize":495,"parsedSize":285,"gzipSize":227},{"id":7659,"label":"dpop.ts","path":"./lib/oidc/dpop.ts","statSize":15396,"parsedSize":6399,"gzipSize":1881},{"label":"endpoints","path":"./lib/oidc/endpoints","statSize":13088,"groups":[{"id":2206,"label":"authorize.ts","path":"./lib/oidc/endpoints/authorize.ts","statSize":3290,"parsedSize":1887,"gzipSize":873},{"id":2642,"label":"index.ts","path":"./lib/oidc/endpoints/index.ts","statSize":1036,"parsedSize":567,"gzipSize":220},{"id":9231,"label":"token.ts","path":"./lib/oidc/endpoints/token.ts","statSize":7327,"parsedSize":3313,"gzipSize":1352},{"id":52,"label":"well-known.ts","path":"./lib/oidc/endpoints/well-known.ts","statSize":1435,"parsedSize":662,"gzipSize":407}],"parsedSize":6429,"gzipSize":2351},{"id":9284,"label":"enrollAuthenticator.ts","path":"./lib/oidc/enrollAuthenticator.ts","statSize":673,"parsedSize":367,"gzipSize":241},{"id":8707,"label":"exchangeCodeForTokens.ts","path":"./lib/oidc/exchangeCodeForTokens.ts","statSize":4616,"parsedSize":1551,"gzipSize":835},{"label":"factory","path":"./lib/oidc/factory","statSize":4409,"groups":[{"id":3859,"label":"OktaAuthOAuth.ts","path":"./lib/oidc/factory/OktaAuthOAuth.ts","statSize":741,"parsedSize":253,"gzipSize":189},{"id":7203,"label":"api.ts","path":"./lib/oidc/factory/api.ts","statSize":2970,"parsedSize":1422,"gzipSize":621},{"id":7276,"label":"index.ts","path":"./lib/oidc/factory/index.ts","statSize":698,"parsedSize":389,"gzipSize":207}],"parsedSize":2064,"gzipSize":841},{"id":3253,"label":"getToken.ts","path":"./lib/oidc/getToken.ts","statSize":4284,"parsedSize":1913,"gzipSize":907},{"id":6844,"label":"getUserInfo.ts","path":"./lib/oidc/getUserInfo.ts","statSize":5112,"parsedSize":2329,"gzipSize":971},{"id":9770,"label":"getWithPopup.ts","path":"./lib/oidc/getWithPopup.ts","statSize":2524,"parsedSize":1284,"gzipSize":660},{"id":6803,"label":"getWithRedirect.ts","path":"./lib/oidc/getWithRedirect.ts","statSize":1997,"parsedSize":848,"gzipSize":515},{"id":7625,"label":"getWithoutPrompt.ts","path":"./lib/oidc/getWithoutPrompt.ts","statSize":577,"parsedSize":355,"gzipSize":276},{"id":8676,"label":"handleOAuthResponse.ts","path":"./lib/oidc/handleOAuthResponse.ts","statSize":7129,"parsedSize":2955,"gzipSize":1242},{"id":9443,"label":"index.ts","path":"./lib/oidc/index.ts","statSize":7202,"parsedSize":4036,"gzipSize":744},{"id":8113,"label":"introspect.ts","path":"./lib/oidc/introspect.ts","statSize":3381,"parsedSize":1413,"gzipSize":794},{"label":"mixin","path":"./lib/oidc/mixin","statSize":37253,"groups":[{"id":4449,"label":"browser.ts","path":"./lib/oidc/mixin/browser.ts","statSize":3456,"parsedSize":1411,"gzipSize":593},{"id":498,"label":"index.ts","path":"./lib/oidc/mixin/index.ts","statSize":33797,"parsedSize":13047,"gzipSize":3634}],"parsedSize":14458,"gzipSize":3909},{"label":"options","path":"./lib/oidc/options","statSize":9906,"groups":[{"id":3234,"label":"OAuthOptionsConstructor.ts","path":"./lib/oidc/options/OAuthOptionsConstructor.ts","statSize":9340,"parsedSize":4859,"gzipSize":1556},{"id":5577,"label":"browser.ts","path":"./lib/oidc/options/browser.ts","statSize":135,"parsedSize":81,"gzipSize":81},{"id":3775,"label":"index.ts","path":"./lib/oidc/options/index.ts","statSize":431,"parsedSize":209,"gzipSize":179}],"parsedSize":5149,"gzipSize":1646},{"id":9094,"label":"parseFromUrl.ts","path":"./lib/oidc/parseFromUrl.ts","statSize":4757,"parsedSize":2056,"gzipSize":911},{"id":2476,"label":"renewToken.ts","path":"./lib/oidc/renewToken.ts","statSize":3079,"parsedSize":1215,"gzipSize":650},{"id":6268,"label":"renewTokens.ts","path":"./lib/oidc/renewTokens.ts","statSize":3794,"parsedSize":1529,"gzipSize":743},{"id":781,"label":"renewTokensWithRefresh.ts","path":"./lib/oidc/renewTokensWithRefresh.ts","statSize":4649,"parsedSize":1898,"gzipSize":939},{"id":6466,"label":"revokeToken.ts","path":"./lib/oidc/revokeToken.ts","statSize":2575,"parsedSize":1052,"gzipSize":626},{"id":2333,"label":"storage.ts","path":"./lib/oidc/storage.ts","statSize":3550,"parsedSize":1510,"gzipSize":618},{"label":"types","path":"./lib/oidc/types","statSize":7004,"groups":[{"id":5842,"label":"JWT.ts","path":"./lib/oidc/types/JWT.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6488,"label":"Token.ts","path":"./lib/oidc/types/Token.ts","statSize":766,"parsedSize":422,"gzipSize":214},{"id":7088,"label":"TokenManager.ts","path":"./lib/oidc/types/TokenManager.ts","statSize":587,"parsedSize":286,"gzipSize":170},{"id":4319,"label":"Transaction.ts","path":"./lib/oidc/types/Transaction.ts","statSize":1450,"parsedSize":564,"gzipSize":302},{"id":6593,"label":"TransactionManager.ts","path":"./lib/oidc/types/TransactionManager.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":7615,"label":"UserClaims.ts","path":"./lib/oidc/types/UserClaims.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":2740,"label":"api.ts","path":"./lib/oidc/types/api.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8665,"label":"endpoints.ts","path":"./lib/oidc/types/endpoints.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":8927,"label":"index.ts","path":"./lib/oidc/types/index.ts","statSize":4108,"parsedSize":2188,"gzipSize":356},{"id":8741,"label":"meta.ts","path":"./lib/oidc/types/meta.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":6370,"label":"options.ts","path":"./lib/oidc/types/options.ts","statSize":13,"parsedSize":12,"gzipSize":32},{"id":9263,"label":"proto.ts","path":"./lib/oidc/types/proto.ts","statSize":1,"parsedSize":12,"gzipSize":32},{"id":195,"label":"storage.ts","path":"./lib/oidc/types/storage.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3568,"gzipSize":842},{"label":"util","path":"./lib/oidc/util","statSize":36487,"groups":[{"id":4970,"label":"browser.ts","path":"./lib/oidc/util/browser.ts","statSize":3853,"parsedSize":2046,"gzipSize":928},{"id":5078,"label":"defaultEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/defaultEnrollAuthenticatorParams.ts","statSize":804,"parsedSize":382,"gzipSize":277},{"id":7756,"label":"defaultTokenParams.ts","path":"./lib/oidc/util/defaultTokenParams.ts","statSize":1222,"parsedSize":556,"gzipSize":360},{"id":8080,"label":"enrollAuthenticatorMeta.ts","path":"./lib/oidc/util/enrollAuthenticatorMeta.ts","statSize":591,"parsedSize":323,"gzipSize":208},{"id":9912,"label":"errors.ts","path":"./lib/oidc/util/errors.ts","statSize":1054,"parsedSize":501,"gzipSize":299},{"id":8785,"label":"index.ts","path":"./lib/oidc/util/index.ts","statSize":6588,"parsedSize":3271,"gzipSize":461},{"id":8221,"label":"loginRedirect.ts","path":"./lib/oidc/util/loginRedirect.ts","statSize":2394,"parsedSize":1074,"gzipSize":478},{"id":7599,"label":"oauth.ts","path":"./lib/oidc/util/oauth.ts","statSize":2473,"parsedSize":1262,"gzipSize":514},{"id":2865,"label":"oauthMeta.ts","path":"./lib/oidc/util/oauthMeta.ts","statSize":2024,"parsedSize":1116,"gzipSize":535},{"id":3611,"label":"pkce.ts","path":"./lib/oidc/util/pkce.ts","statSize":1259,"parsedSize":722,"gzipSize":453},{"id":6757,"label":"prepareEnrollAuthenticatorParams.ts","path":"./lib/oidc/util/prepareEnrollAuthenticatorParams.ts","statSize":1923,"parsedSize":1071,"gzipSize":518},{"id":6898,"label":"prepareTokenParams.ts","path":"./lib/oidc/util/prepareTokenParams.ts","statSize":6778,"parsedSize":3034,"gzipSize":1239},{"id":6635,"label":"refreshToken.ts","path":"./lib/oidc/util/refreshToken.ts","statSize":531,"parsedSize":263,"gzipSize":188},{"id":3327,"label":"sharedStorage.ts","path":"./lib/oidc/util/sharedStorage.ts","statSize":1657,"parsedSize":727,"gzipSize":315},{"id":1969,"label":"urlParams.ts","path":"./lib/oidc/util/urlParams.ts","statSize":807,"parsedSize":364,"gzipSize":257},{"id":6003,"label":"validateClaims.ts","path":"./lib/oidc/util/validateClaims.ts","statSize":1700,"parsedSize":976,"gzipSize":476},{"id":2482,"label":"validateToken.ts","path":"./lib/oidc/util/validateToken.ts","statSize":829,"parsedSize":569,"gzipSize":268}],"parsedSize":18257,"gzipSize":4908},{"id":1260,"label":"verifyToken.ts","path":"./lib/oidc/verifyToken.ts","statSize":4688,"parsedSize":1950,"gzipSize":932}],"parsedSize":95632,"gzipSize":21543},{"label":"services","path":"./lib/services","statSize":24602,"groups":[{"id":2282,"label":"AutoRenewService.ts","path":"./lib/services/AutoRenewService.ts","statSize":4939,"parsedSize":2388,"gzipSize":881},{"id":6748,"label":"LeaderElectionService.ts","path":"./lib/services/LeaderElectionService.ts","statSize":5685,"parsedSize":2393,"gzipSize":788},{"id":2546,"label":"RenewOnTabActivationService.ts","path":"./lib/services/RenewOnTabActivationService.ts","statSize":4455,"parsedSize":2152,"gzipSize":785},{"id":5550,"label":"SyncStorageService.ts","path":"./lib/services/SyncStorageService.ts","statSize":7891,"parsedSize":3907,"gzipSize":1150},{"id":2604,"label":"index.ts","path":"./lib/services/index.ts","statSize":1632,"parsedSize":749,"gzipSize":239}],"parsedSize":11589,"gzipSize":2332},{"label":"session","path":"./lib/session","statSize":6969,"groups":[{"id":3719,"label":"api.ts","path":"./lib/session/api.ts","statSize":1737,"parsedSize":1028,"gzipSize":472},{"id":2815,"label":"factory.ts","path":"./lib/session/factory.ts","statSize":418,"parsedSize":278,"gzipSize":172},{"id":8041,"label":"index.ts","path":"./lib/session/index.ts","statSize":1322,"parsedSize":749,"gzipSize":240},{"id":3980,"label":"mixin.ts","path":"./lib/session/mixin.ts","statSize":3479,"parsedSize":1356,"gzipSize":681},{"id":1249,"label":"types.ts","path":"./lib/session/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":3423,"gzipSize":1266},{"label":"storage","path":"./lib/storage","statSize":16437,"groups":[{"id":5437,"label":"BaseStorageManager.ts","path":"./lib/storage/BaseStorageManager.ts","statSize":3442,"parsedSize":1567,"gzipSize":689},{"id":5763,"label":"SavedObject.ts","path":"./lib/storage/SavedObject.ts","statSize":2766,"parsedSize":1378,"gzipSize":517},{"id":9927,"label":"index.ts","path":"./lib/storage/index.ts","statSize":1852,"parsedSize":928,"gzipSize":251},{"id":265,"label":"mixin.ts","path":"./lib/storage/mixin.ts","statSize":2704,"parsedSize":1032,"gzipSize":532},{"label":"options","path":"./lib/storage/options","statSize":5660,"groups":[{"id":4863,"label":"StorageOptionsConstructor.ts","path":"./lib/storage/options/StorageOptionsConstructor.ts","statSize":3822,"parsedSize":1745,"gzipSize":768},{"id":8009,"label":"browser.ts","path":"./lib/storage/options/browser.ts","statSize":1838,"parsedSize":1031,"gzipSize":525}],"parsedSize":2776,"gzipSize":1137},{"id":5752,"label":"types.ts","path":"./lib/storage/types.ts","statSize":13,"parsedSize":12,"gzipSize":32}],"parsedSize":7693,"gzipSize":2272},{"label":"util","path":"./lib/util","statSize":10748,"groups":[{"id":3548,"label":"PromiseQueue.ts","path":"./lib/util/PromiseQueue.ts","statSize":2535,"parsedSize":1170,"gzipSize":597},{"id":146,"label":"console.ts","path":"./lib/util/console.ts","statSize":965,"parsedSize":501,"gzipSize":281},{"id":305,"label":"index.ts","path":"./lib/util/index.ts","statSize":2011,"parsedSize":1108,"gzipSize":267},{"id":8750,"label":"misc.ts","path":"./lib/util/misc.ts","statSize":883,"parsedSize":473,"gzipSize":338},{"id":3193,"label":"object.ts","path":"./lib/util/object.ts","statSize":2215,"parsedSize":1076,"gzipSize":513},{"id":4771,"label":"types.ts","path":"./lib/util/types.ts","statSize":636,"parsedSize":433,"gzipSize":183},{"id":6718,"label":"url.ts","path":"./lib/util/url.ts","statSize":1503,"parsedSize":829,"gzipSize":420}],"parsedSize":5590,"gzipSize":1934}],"parsedSize":188309,"gzipSize":40491},{"label":"node_modules","path":"./node_modules","statSize":108603,"groups":[{"label":"@babel/runtime","path":"./node_modules/@babel/runtime","statSize":25147,"groups":[{"label":"helpers","path":"./node_modules/@babel/runtime/helpers","statSize":24699,"groups":[{"id":3897,"label":"arrayLikeToArray.js","path":"./node_modules/@babel/runtime/helpers/arrayLikeToArray.js","statSize":268,"parsedSize":175,"gzipSize":147},{"id":5372,"label":"arrayWithHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithHoles.js","statSize":177,"parsedSize":116,"gzipSize":99},{"id":3405,"label":"arrayWithoutHoles.js","path":"./node_modules/@babel/runtime/helpers/arrayWithoutHoles.js","statSize":258,"parsedSize":137,"gzipSize":120},{"id":6115,"label":"assertThisInitialized.js","path":"./node_modules/@babel/runtime/helpers/assertThisInitialized.js","statSize":276,"parsedSize":196,"gzipSize":153},{"id":7156,"label":"asyncToGenerator.js","path":"./node_modules/@babel/runtime/helpers/asyncToGenerator.js","statSize":701,"parsedSize":389,"gzipSize":244},{"id":6690,"label":"classCallCheck.js","path":"./node_modules/@babel/runtime/helpers/classCallCheck.js","statSize":229,"parsedSize":167,"gzipSize":140},{"id":3515,"label":"construct.js","path":"./node_modules/@babel/runtime/helpers/construct.js","statSize":475,"parsedSize":262,"gzipSize":197},{"id":9728,"label":"createClass.js","path":"./node_modules/@babel/runtime/helpers/createClass.js","statSize":583,"parsedSize":368,"gzipSize":242},{"id":8416,"label":"defineProperty.js","path":"./node_modules/@babel/runtime/helpers/defineProperty.js","statSize":362,"parsedSize":216,"gzipSize":169},{"id":1588,"label":"get.js","path":"./node_modules/@babel/runtime/helpers/get.js","statSize":583,"parsedSize":398,"gzipSize":240},{"id":3808,"label":"getPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/getPrototypeOf.js","statSize":412,"parsedSize":275,"gzipSize":151},{"id":1655,"label":"inherits.js","path":"./node_modules/@babel/runtime/helpers/inherits.js","statSize":536,"parsedSize":370,"gzipSize":252},{"id":4836,"label":"interopRequireDefault.js","path":"./node_modules/@babel/runtime/helpers/interopRequireDefault.js","statSize":214,"parsedSize":124,"gzipSize":98},{"id":6035,"label":"isNativeFunction.js","path":"./node_modules/@babel/runtime/helpers/isNativeFunction.js","statSize":280,"parsedSize":190,"gzipSize":152},{"id":9617,"label":"isNativeReflectConstruct.js","path":"./node_modules/@babel/runtime/helpers/isNativeReflectConstruct.js","statSize":476,"parsedSize":283,"gzipSize":170},{"id":9498,"label":"iterableToArray.js","path":"./node_modules/@babel/runtime/helpers/iterableToArray.js","statSize":260,"parsedSize":187,"gzipSize":150},{"id":8872,"label":"iterableToArrayLimit.js","path":"./node_modules/@babel/runtime/helpers/iterableToArrayLimit.js","statSize":790,"parsedSize":469,"gzipSize":311},{"id":2218,"label":"nonIterableRest.js","path":"./node_modules/@babel/runtime/helpers/nonIterableRest.js","statSize":308,"parsedSize":247,"gzipSize":194},{"id":5343,"label":"nonIterableSpread.js","path":"./node_modules/@babel/runtime/helpers/nonIterableSpread.js","statSize":307,"parsedSize":242,"gzipSize":192},{"id":215,"label":"objectWithoutProperties.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutProperties.js","statSize":553,"parsedSize":320,"gzipSize":231},{"id":7071,"label":"objectWithoutPropertiesLoose.js","path":"./node_modules/@babel/runtime/helpers/objectWithoutPropertiesLoose.js","statSize":343,"parsedSize":214,"gzipSize":170},{"id":4993,"label":"possibleConstructorReturn.js","path":"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js","statSize":493,"parsedSize":285,"gzipSize":213},{"id":7061,"label":"regeneratorRuntime.js","path":"./node_modules/@babel/runtime/helpers/regeneratorRuntime.js","statSize":11029,"parsedSize":6671,"gzipSize":2479},{"id":6015,"label":"setPrototypeOf.js","path":"./node_modules/@babel/runtime/helpers/setPrototypeOf.js","statSize":400,"parsedSize":259,"gzipSize":147},{"id":7424,"label":"slicedToArray.js","path":"./node_modules/@babel/runtime/helpers/slicedToArray.js","statSize":509,"parsedSize":170,"gzipSize":140},{"id":1753,"label":"superPropBase.js","path":"./node_modules/@babel/runtime/helpers/superPropBase.js","statSize":287,"parsedSize":169,"gzipSize":144},{"id":861,"label":"toConsumableArray.js","path":"./node_modules/@babel/runtime/helpers/toConsumableArray.js","statSize":508,"parsedSize":164,"gzipSize":138},{"id":5036,"label":"toPrimitive.js","path":"./node_modules/@babel/runtime/helpers/toPrimitive.js","statSize":494,"parsedSize":351,"gzipSize":243},{"id":4062,"label":"toPropertyKey.js","path":"./node_modules/@babel/runtime/helpers/toPropertyKey.js","statSize":317,"parsedSize":171,"gzipSize":144},{"id":8698,"label":"typeof.js","path":"./node_modules/@babel/runtime/helpers/typeof.js","statSize":534,"parsedSize":368,"gzipSize":178},{"id":6116,"label":"unsupportedIterableToArray.js","path":"./node_modules/@babel/runtime/helpers/unsupportedIterableToArray.js","statSize":573,"parsedSize":363,"gzipSize":267},{"id":3496,"label":"wrapNativeSuper.js","path":"./node_modules/@babel/runtime/helpers/wrapNativeSuper.js","statSize":1164,"parsedSize":625,"gzipSize":351}],"parsedSize":14941,"gzipSize":4307},{"label":"regenerator","path":"./node_modules/@babel/runtime/regenerator","statSize":448,"groups":[{"id":4687,"label":"index.js","path":"./node_modules/@babel/runtime/regenerator/index.js","statSize":448,"parsedSize":181,"gzipSize":146}],"parsedSize":181,"gzipSize":146}],"parsedSize":15122,"gzipSize":4366},{"label":"broadcast-channel/dist/lib","path":"./node_modules/broadcast-channel/dist/lib","statSize":49419,"groups":[{"id":8991,"label":"broadcast-channel.js","path":"./node_modules/broadcast-channel/dist/lib/broadcast-channel.js","statSize":7213,"parsedSize":2719,"gzipSize":1090},{"id":8437,"label":"index.es5.js","path":"./node_modules/broadcast-channel/dist/lib/index.es5.js","statSize":559,"parsedSize":221,"gzipSize":155},{"id":5585,"label":"index.js","path":"./node_modules/broadcast-channel/dist/lib/index.js","statSize":1169,"parsedSize":724,"gzipSize":267},{"id":4781,"label":"leader-election-util.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-util.js","statSize":1724,"parsedSize":579,"gzipSize":343},{"id":683,"label":"leader-election-web-lock.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election-web-lock.js","statSize":2882,"parsedSize":1417,"gzipSize":665},{"id":6550,"label":"leader-election.js","path":"./node_modules/broadcast-channel/dist/lib/leader-election.js","statSize":8955,"parsedSize":3266,"gzipSize":1111},{"id":4632,"label":"method-chooser.js","path":"./node_modules/broadcast-channel/dist/lib/method-chooser.js","statSize":2458,"parsedSize":669,"gzipSize":407},{"label":"methods","path":"./node_modules/broadcast-channel/dist/lib/methods","statSize":20779,"groups":[{"id":9122,"label":"indexed-db.js","path":"./node_modules/broadcast-channel/dist/lib/methods/indexed-db.js","statSize":11494,"parsedSize":4319,"gzipSize":1630},{"id":4924,"label":"localstorage.js","path":"./node_modules/broadcast-channel/dist/lib/methods/localstorage.js","statSize":5281,"parsedSize":2027,"gzipSize":996},{"id":2026,"label":"native.js","path":"./node_modules/broadcast-channel/dist/lib/methods/native.js","statSize":2045,"parsedSize":1158,"gzipSize":596},{"id":1574,"label":"simulate.js","path":"./node_modules/broadcast-channel/dist/lib/methods/simulate.js","statSize":1959,"parsedSize":867,"gzipSize":462}],"parsedSize":8371,"gzipSize":2771},{"id":423,"label":"options.js","path":"./node_modules/broadcast-channel/dist/lib/options.js","statSize":1566,"parsedSize":737,"gzipSize":396},{"id":6202,"label":"util.js","path":"./node_modules/broadcast-channel/dist/lib/util.js","statSize":2114,"parsedSize":827,"gzipSize":422}],"parsedSize":19530,"gzipSize":5494},{"label":"cross-fetch/dist","path":"./node_modules/cross-fetch/dist","statSize":15491,"groups":[{"id":4098,"label":"browser-ponyfill.js","path":"./node_modules/cross-fetch/dist/browser-ponyfill.js","statSize":15491,"parsedSize":8241,"gzipSize":2804}],"parsedSize":8241,"gzipSize":2804},{"label":"js-cookie/dist","path":"./node_modules/js-cookie/dist","statSize":4150,"groups":[{"id":646,"label":"js.cookie.js","path":"./node_modules/js-cookie/dist/js.cookie.js","statSize":4150,"parsedSize":1426,"gzipSize":706}],"parsedSize":1426,"gzipSize":706},{"label":"oblivious-set/dist/cjs/src","path":"./node_modules/oblivious-set/dist/cjs/src","statSize":3257,"groups":[{"id":7696,"label":"index.es5.js","path":"./node_modules/oblivious-set/dist/cjs/src/index.es5.js","statSize":1212,"parsedSize":757,"gzipSize":408},{"id":8546,"label":"index.js","path":"./node_modules/oblivious-set/dist/cjs/src/index.js","statSize":2045,"parsedSize":560,"gzipSize":353}],"parsedSize":1317,"gzipSize":650},{"label":"p-cancelable","path":"./node_modules/p-cancelable","statSize":6424,"groups":[{"id":3615,"label":"index.js","path":"./node_modules/p-cancelable/index.js","statSize":6424,"parsedSize":3179,"gzipSize":1369}],"parsedSize":3179,"gzipSize":1369},{"label":"tiny-emitter","path":"./node_modules/tiny-emitter","statSize":1565,"groups":[{"id":4279,"label":"index.js","path":"./node_modules/tiny-emitter/index.js","statSize":1565,"parsedSize":586,"gzipSize":326}],"parsedSize":586,"gzipSize":326},{"label":"unload/dist/es","path":"./node_modules/unload/dist/es","statSize":3150,"groups":[{"id":4810,"label":"index.js + 2 modules (concatenated)","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)","statSize":3150,"parsedSize":1286,"gzipSize":527,"concatenated":true,"groups":[{"label":"node_modules/unload/dist/es","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es","statSize":3150,"groups":[{"id":null,"label":"index.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/index.js","statSize":1227,"parsedSize":500,"gzipSize":205,"inaccurateSizes":true},{"id":null,"label":"node.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/node.js","statSize":695,"parsedSize":283,"gzipSize":116,"inaccurateSizes":true},{"id":null,"label":"browser.js","path":"./node_modules/unload/dist/es/index.js + 2 modules (concatenated)/node_modules/unload/dist/es/browser.js","statSize":1228,"parsedSize":501,"gzipSize":205,"inaccurateSizes":true}],"parsedSize":1286,"gzipSize":527,"inaccurateSizes":true}]}],"parsedSize":1286,"gzipSize":527}],"parsedSize":50687,"gzipSize":14537}]}];
|
|
35
35
|
window.defaultSizes = "stat";
|
|
36
36
|
</script>
|
|
37
37
|
</body>
|