Skip to content

Commit

Permalink
Production release PR
Browse files Browse the repository at this point in the history
  • Loading branch information
raviteja83 authored Nov 6, 2023
2 parents a7abb1a + 0764f90 commit 286950c
Show file tree
Hide file tree
Showing 54 changed files with 794 additions and 210 deletions.
4 changes: 2 additions & 2 deletions apps/100ms-custom-app/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 12 additions & 10 deletions apps/100ms-custom-app/src/utils/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -170,16 +170,18 @@ export const getAuthTokenUsingRoomIdRole = async function ({
userId = '',
}) {
try {
const resp = await fetch(`${apiBasePath}${subdomain}/api/token`, {
method: 'POST',
body: JSON.stringify({
room_id: roomId,
role,
user_id: userId,
}),
});
const { token = '' } = await resp.json();
return token;
if (roomId && role) {
const resp = await fetch(`${apiBasePath}${subdomain}/api/token`, {
method: 'POST',
body: JSON.stringify({
room_id: roomId,
role,
user_id: userId,
}),
});
const { token = '' } = await resp.json();
return token;
}
} catch (e) {
console.error('failed to getAuthTokenUsingRoomIdRole', e);
throw Error('failed to get auth token using roomid and role');
Expand Down
10 changes: 5 additions & 5 deletions apps/100ms-web/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/hls-player/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hls-stats/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/hms-noise-suppression/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 4 additions & 12 deletions packages/hms-video-store/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/hms-video-web/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/hms-virtual-background/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions packages/react-icons/assets/BluetoothIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions packages/react-icons/assets/BlurPersonHighIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions packages/react-icons/assets/BlurPersonLowIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions packages/react-icons/assets/SparkleIcon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion packages/react-icons/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions packages/react-icons/src/BluetoothIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as React from 'react';
import { SVGProps } from 'react';
const SvgBluetoothIcon = (props: SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" fill="none" {...props}>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M9.596 3.062a.818.818 0 0 1 .892.178l4.09 4.09c.32.32.32.838 0 1.158L11.066 12l3.512 3.512c.32.32.32.838 0 1.157l-4.09 4.091a.818.818 0 0 1-1.397-.578v-6.207L6.397 16.67a.818.818 0 1 1-1.157-1.157L8.752 12 5.24 8.488A.818.818 0 1 1 6.397 7.33l2.694 2.694V3.818c0-.33.2-.63.505-.756Zm1.131 10.913 2.116 2.116-2.116 2.115v-4.23Zm0-3.95V5.793l2.116 2.116-2.116 2.116Z"
fill="currentColor"
/>
<path
d="M16.555 9.106a.818.818 0 0 1 1.157 0 4.09 4.09 0 0 1 0 5.788.818.818 0 1 1-1.157-1.158 2.457 2.457 0 0 0 0-3.473.818.818 0 0 1 0-1.157ZM14.818 11.182a.818.818 0 1 0 0 1.636h.008a.818.818 0 1 0 0-1.636h-.008Z"
fill="currentColor"
/>
</svg>
);
export default SvgBluetoothIcon;
17 changes: 17 additions & 0 deletions packages/react-icons/src/BlurPersonHighIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import * as React from 'react';
import { SVGProps } from 'react';
const SvgBlurPersonHighIcon = (props: SVGProps<SVGSVGElement>) => (
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M11.95 9.5a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Zm-1.65 2.75a1.65 1.65 0 1 1 3.3 0 1.65 1.65 0 0 1-3.3 0Z"
fill="currentColor"
/>
<path
d="M9.75 16.1A2.75 2.75 0 0 0 7 18.85v1.1a.55.55 0 1 0 1.1 0v-1.1a1.65 1.65 0 0 1 1.65-1.65h4.4a1.65 1.65 0 0 1 1.65 1.65v1.1a.55.55 0 1 0 1.1 0v-1.1a2.75 2.75 0 0 0-2.75-2.75h-4.4ZM5 14c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM5 10c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM2.5 10c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM5 6c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM21.5 10c0 .28-.22.5-.5.5s-.5-.22-.5-.5.22-.5.5-.5.5.22.5.5ZM15 6c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1ZM14.5 3c0 .28-.22.5-.5.5s-.5-.22-.5-.5.22-.5.5-.5.5.22.5.5ZM2.5 14c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM10.5 3c0 .28-.22.5-.5.5s-.5-.22-.5-.5.22-.5.5-.5.5.22.5.5ZM11 6c0 .55-.45 1-1 1s-1-.45-1-1 .45-1 1-1 1 .45 1 1ZM17 14c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM17 10c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM17 6c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1ZM20.5 14c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5Z"
fill="currentColor"
/>
</svg>
);
export default SvgBlurPersonHighIcon;
21 changes: 21 additions & 0 deletions packages/react-icons/src/BlurPersonLowIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import * as React from 'react';
import { SVGProps } from 'react';
const SvgBlurPersonLowIcon = (props: SVGProps<SVGSVGElement>) => (
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M10 3c0-.28-.22-.5-.5-.5S9 2.72 9 3s.22.5.5.5.5-.22.5-.5ZM14 3c0-.28-.22-.5-.5-.5s-.5.22-.5.5.22.5.5.5.5-.22.5-.5ZM10 6c0-.28-.22-.5-.5-.5S9 5.72 9 6s.22.5.5.5.5-.22.5-.5ZM14 6c0-.28-.22-.5-.5-.5s-.5.22-.5.5.22.5.5.5.5-.22.5-.5ZM6 5.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5ZM6 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5ZM5.5 14c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5Z"
fill="currentColor"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M11.95 9.5a2.75 2.75 0 1 0 0 5.5 2.75 2.75 0 0 0 0-5.5Zm-1.65 2.75a1.65 1.65 0 1 1 3.3 0 1.65 1.65 0 0 1-3.3 0Z"
fill="currentColor"
/>
<path
d="M9.75 16.1A2.75 2.75 0 0 0 7 18.85v1.1a.55.55 0 1 0 1.1 0v-1.1a1.65 1.65 0 0 1 1.65-1.65h4.4a1.65 1.65 0 0 1 1.65 1.65v1.1a.55.55 0 1 0 1.1 0v-1.1a2.75 2.75 0 0 0-2.75-2.75h-4.4ZM20.5 10c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM20.5 14c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM2.5 10c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM2.5 14c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5ZM18 9.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5ZM18 13.5c-.28 0-.5.22-.5.5s.22.5.5.5.5-.22.5-.5-.22-.5-.5-.5ZM17.5 6c0-.28.22-.5.5-.5s.5.22.5.5-.22.5-.5.5-.5-.22-.5-.5Z"
fill="currentColor"
/>
</svg>
);
export default SvgBlurPersonLowIcon;
14 changes: 14 additions & 0 deletions packages/react-icons/src/SparkleIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import * as React from 'react';
import { SVGProps } from 'react';
const SvgSparkleIcon = (props: SVGProps<SVGSVGElement>) => (
<svg width="24px" height="24px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
<path
d="M12.098 3.903 10.44 8.944a1.734 1.734 0 0 1-1.106 1.106l-5.042 1.657 5.041 1.658a1.734 1.734 0 0 1 1.106 1.106l1.658 5.041 1.658-5.041a1.734 1.734 0 0 1 1.106-1.106l5.04-1.658-5.04-1.658a1.734 1.734 0 0 1-1.106-1.106l-1.658-5.041ZM6.027 3.903v3.469M18.168 16.043v3.469M4.292 5.637h3.469M16.434 17.778h3.468"
stroke="currentColor"
strokeWidth={1.171}
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
);
export default SvgSparkleIcon;
4 changes: 4 additions & 0 deletions packages/react-icons/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ export { default as BarIcon } from './BarIcon';
export { default as BatteryFullIcon } from './BatteryFullIcon';
export { default as BatteryPowerIcon } from './BatteryPowerIcon';
export { default as BillIcon } from './BillIcon';
export { default as BluetoothIcon } from './BluetoothIcon';
export { default as BlurPersonHighIcon } from './BlurPersonHighIcon';
export { default as BlurPersonLowIcon } from './BlurPersonLowIcon';
export { default as BoltIcon } from './BoltIcon';
export { default as BookIcon } from './BookIcon';
export { default as BookmarkIcon } from './BookmarkIcon';
Expand Down Expand Up @@ -217,6 +220,7 @@ export { default as ShrinkIcon } from './ShrinkIcon';
export { default as ShuffleIcon } from './ShuffleIcon';
export { default as SlackIcon } from './SlackIcon';
export { default as SolidCheckCircleIcon } from './SolidCheckCircleIcon';
export { default as SparkleIcon } from './SparkleIcon';
export { default as SpeakerIcon } from './SpeakerIcon';
export { default as SpotlightIcon } from './SpotlightIcon';
export { default as SquareMenuIcon } from './SquareMenuIcon';
Expand Down
4 changes: 2 additions & 2 deletions packages/react-sdk/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

2 comments on commit 286950c

@vercel
Copy link

@vercel vercel bot commented on 286950c Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vercel
Copy link

@vercel vercel bot commented on 286950c Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

storybook-app – ./packages/roomkit-react

storybook-app-five.vercel.app
storybook-app-100mslive.vercel.app
ui.100ms.live
storybook-app-git-production-100mslive.vercel.app

Please sign in to comment.