Skip to content

Commit f61c760

Browse files
authored
Merge pull request #18 from movinsilva/package-name
refactor: update package names
2 parents 5bcc6a8 + e856a03 commit f61c760

32 files changed

+74
-1126
lines changed

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
"typescript": "5.1.6"
5858
},
5959
"dependencies": {
60-
"@asgardeo/js-ui-core": "*",
60+
"@asgardeo/js": "*",
6161
"@oxygen-ui/react": "^1.11.0",
6262
"base64url": "^3.0.1",
6363
"buffer": "^6.0.3",

packages/react/src/components/SignIn/SignIn.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ import {
3131
authorize,
3232
getBranding,
3333
keys,
34-
} from '@asgardeo/js-ui-core';
34+
} from '@asgardeo/js';
3535
import {CircularProgress, ThemeProvider} from '@oxygen-ui/react';
3636
import {FC, ReactElement, useContext, useEffect, useState} from 'react';
3737
import BasicAuth from './fragments/BasicAuth';

packages/react/src/components/SignIn/fragments/BasicAuth.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {ScreenType, keys} from '@asgardeo/js-ui-core';
19+
import {ScreenType, keys} from '@asgardeo/js';
2020
import {CircularProgress, Grid, Skeleton} from '@oxygen-ui/react';
2121
import {ReactElement, useContext, useState} from 'react';
2222
import AsgardeoContext from '../../../contexts/asgardeo-context';

packages/react/src/components/SignIn/fragments/EmailOtp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {ScreenType, keys} from '@asgardeo/js-ui-core';
19+
import {ScreenType, keys} from '@asgardeo/js';
2020
import {CircularProgress, Skeleton} from '@oxygen-ui/react';
2121
import {ReactElement, useContext, useState} from 'react';
2222
import AsgardeoContext from '../../../contexts/asgardeo-context';

packages/react/src/components/SignIn/fragments/SmsOtp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {ScreenType, keys} from '@asgardeo/js-ui-core';
19+
import {ScreenType, keys} from '@asgardeo/js';
2020
import {CircularProgress} from '@oxygen-ui/react';
2121
import {ReactElement, useState} from 'react';
2222
import useTranslations from '../../../hooks/use-translations';

packages/react/src/components/SignIn/fragments/Totp.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {ScreenType, keys} from '@asgardeo/js-ui-core';
19+
import {ScreenType, keys} from '@asgardeo/js';
2020
import {CircularProgress, Grid, Skeleton} from '@oxygen-ui/react';
2121
import {useState, ReactElement, useContext} from 'react';
2222
import AsgardeoContext from '../../../contexts/asgardeo-context';

packages/react/src/contexts/branding-preference-context.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {Branding} from '@asgardeo/js-ui-core';
19+
import {Branding} from '@asgardeo/js';
2020
import {Context, createContext} from 'react';
2121

2222
const BrandingPreferenceContext: Context<Branding> = createContext<Branding>(undefined);

packages/react/src/hooks/use-authentication.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {signOut as signOutApiCall} from '@asgardeo/js-ui-core';
19+
import {signOut as signOutApiCall} from '@asgardeo/js';
2020
import {useContext} from 'react';
2121
import AsgardeoContext from '../contexts/asgardeo-context';
2222
import AuthContext from '../models/auth-context';

packages/react/src/hooks/use-config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
* under the License.
1717
*/
1818

19-
import {UIAuthConfig} from '@asgardeo/js-ui-core';
19+
import {UIAuthConfig} from '@asgardeo/js';
2020
import {useContext} from 'react';
2121
import AsgardeoContext from '../contexts/asgardeo-context';
2222
import UseConfig from '../models/use-config';

packages/react/src/hooks/use-on.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {useContext, useEffect} from 'react';
2020
import AsgardeoContext from '../contexts/asgardeo-context';
2121
import AuthContext from '../models/auth-context';
2222
import {Hooks, UseOnProps} from '../models/use-on';
23-
import {AsgardeoUIException} from '@asgardeo/js-ui-core';
23+
import {AsgardeoUIException} from '@asgardeo/js';
2424

2525
const useOn = (props: UseOnProps) => {
2626
const {callback, event} = props;

0 commit comments

Comments
 (0)