Skip to content

Commit

Permalink
test gen2 with auth-js 7.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
denysoblohin-okta committed Oct 30, 2023
1 parent a600534 commit c5b0a21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 40 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@
"webpack-dev-server": "^4.15.1"
},
"dependencies": {
"@okta/okta-auth-js": "~7.0.0",
"@okta/okta-auth-js": "^7.4.3",
"@sindresorhus/to-milliseconds": "^1.0.0",
"@types/backbone": "^1.4.15",
"@types/eslint-scope": "^3.7.3",
Expand Down
2 changes: 1 addition & 1 deletion scripts/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -eo pipefail
# Can be used to run a canary build against a beta AuthJS version that has been published to artifactory.
# This is available from the "downstream artifact" menu on any okta-auth-js build in Bacon.
# DO NOT MERGE ANY CHANGES TO THIS LINE!!
export AUTHJS_VERSION="7.5.0-g5ab8355"
export AUTHJS_VERSION=""
export INTERNAL_REGISTRY="${ARTIFACTORY_URL}/api/npm/npm-okta-release"
export PUBLIC_REGISTRY="https://registry.yarnpkg.com"

Expand Down
13 changes: 2 additions & 11 deletions src/v3/src/OktaSignIn/authClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,9 @@
*/

import {
createIdxOptionsConstructor,
createIdxStorageManager,
createIdxTransactionManager,
createOktaAuthBaseIdx,
OktaAuth,
} from '@okta/okta-auth-js';

const OptionsConstructor = createIdxOptionsConstructor();
const StorageManager = createIdxStorageManager();
const TransactionManager = createIdxTransactionManager();

const OktaAuthClient = createOktaAuthBaseIdx(
StorageManager, OptionsConstructor, TransactionManager,
);
const OktaAuthClient = OktaAuth;

export { OktaAuthClient };
27 changes: 0 additions & 27 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3677,28 +3677,6 @@
webcrypto-shim "^0.1.5"
xhr2 "0.1.3"

"@okta/okta-auth-js@~7.0.0":
version "7.0.1"
resolved "https://registry.yarnpkg.com/@okta/okta-auth-js/-/okta-auth-js-7.0.1.tgz#c3c068c48507bd3dca847855855566479d8dcb63"
integrity sha512-NU5XpSXUKv96B2NS7jNZ2bmoOe476mBzYRQ2b4+fjDDXK6w4WSRVcLWq0DDjzYbrwoiWnMF8HoZ+KvwMZp8VFA==
dependencies:
"@babel/runtime" "^7.12.5"
"@peculiar/webcrypto" "^1.4.0"
Base64 "1.1.0"
atob "^2.1.2"
broadcast-channel "~4.17.0"
btoa "^1.2.1"
core-js "^3.6.5"
cross-fetch "^3.1.5"
js-cookie "^3.0.1"
jsonpath-plus "^6.0.1"
node-cache "^5.1.2"
p-cancelable "^2.0.0"
text-encoding "^0.7.0"
tiny-emitter "1.1.0"
webcrypto-shim "^0.1.5"
xhr2 "0.1.3"

"@okta/okta-sdk-nodejs@^6.5.0":
version "6.5.0"
resolved "https://registry.yarnpkg.com/@okta/okta-sdk-nodejs/-/okta-sdk-nodejs-6.5.0.tgz#6f9a1cf3b27ff24eb42b9dd75639492c57603f90"
Expand Down Expand Up @@ -19699,11 +19677,6 @@ testcafe@^1.20.1:
typescript "^3.3.3"
unquote "^1.1.1"

text-encoding@^0.7.0:
version "0.7.0"
resolved "https://registry.yarnpkg.com/text-encoding/-/text-encoding-0.7.0.tgz#f895e836e45990624086601798ea98e8f36ee643"
integrity sha512-oJQ3f1hrOnbRLOcwKz0Liq2IcrvDeZRHXhd9RgLrsT+DjWY/nty1Hi7v3dtkaEYbPYe0mUoOfzRrMwfXXwgPUA==

text-table@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/text-table/-/text-table-0.2.0.tgz#7f5ee823ae805207c00af2df4a84ec3fcfa570b4"
Expand Down

0 comments on commit c5b0a21

Please sign in to comment.