Skip to content

Commit

Permalink
[Update] update version of project & yorkie-js-sdk
Browse files Browse the repository at this point in the history
  • Loading branch information
krapie committed Feb 28, 2023
1 parent 80f0ce2 commit 35639a1
Show file tree
Hide file tree
Showing 12 changed files with 20 additions and 23 deletions.
2 changes: 1 addition & 1 deletion build/CNAME
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yt.rubatoo.com
demo.asyncrum.com
12 changes: 6 additions & 6 deletions build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"files": {
"main.css": "/static/css/main.c0b70969.css",
"main.js": "/static/js/main.2cf93659.js",
"main.css": "/static/css/main.2b631ee7.css",
"main.js": "/static/js/main.d10582af.js",
"index.html": "/index.html",
"main.c0b70969.css.map": "/static/css/main.c0b70969.css.map",
"main.2cf93659.js.map": "/static/js/main.2cf93659.js.map"
"main.2b631ee7.css.map": "/static/css/main.2b631ee7.css.map",
"main.d10582af.js.map": "/static/js/main.d10582af.js.map"
},
"entrypoints": [
"static/css/main.c0b70969.css",
"static/js/main.2cf93659.js"
"static/css/main.2b631ee7.css",
"static/js/main.d10582af.js"
]
}
2 changes: 1 addition & 1 deletion build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>yorkie-tldraw</title><script type="text/javascript">!function(n){if("/"===n.search[1]){var a=n.search.slice(1).split("&").map((function(n){return n.replace(/~and~/g,"&")})).join("?");window.history.replaceState(null,null,n.pathname.slice(0,-1)+a+n.hash)}}(window.location)</script><script defer="defer" src="/static/js/main.2cf93659.js"></script><link href="/static/css/main.c0b70969.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="/favicon.ico"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>yorkie-tldraw</title><script type="text/javascript">!function(n){if("/"===n.search[1]){var a=n.search.slice(1).split("&").map((function(n){return n.replace(/~and~/g,"&")})).join("?");window.history.replaceState(null,null,n.pathname.slice(0,-1)+a+n.hash)}}(window.location)</script><script defer="defer" src="/static/js/main.d10582af.js"></script><link href="/static/css/main.2b631ee7.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>

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

1 change: 1 addition & 0 deletions build/static/css/main.2b631ee7.css.map

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

1 change: 0 additions & 1 deletion build/static/css/main.c0b70969.css.map

This file was deleted.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yorkie-tldraw",
"version": "0.5.1",
"version": "0.6.0",
"private": true,
"description": "tldraw multiplayer project using yorkie",
"author": "krapi0314",
Expand All @@ -19,7 +19,7 @@
"dependencies": {
"@react-hook/throttle": "^2.2.0",
"@tldraw/tldraw": "1.26.3",
"yorkie-js-sdk": "^0.2.15",
"yorkie-js-sdk": "^0.3.2",
"randomcolor": "^0.6.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
Expand Down
2 changes: 1 addition & 1 deletion src/components/mutliplayer/YorkieTldrawEditorAsset.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export default function YorkieTldrawEditorAsset() {
}
userName={
sessionStorage.getItem("userName") === null
? "Anony"
? "Anonymous"
: (sessionStorage.getItem("userName") as string)
}
/>
Expand Down
7 changes: 2 additions & 5 deletions src/components/route/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,15 @@ import Login from "../login/Login";
import YorkieTldrawEditor from "../mutliplayer/YorkieTldrawEditor";
import YorkieTldrawEditorAsset from "../mutliplayer/YorkieTldrawEditorAsset";

const VERSION: string = "v0.5";
const VERSION: string = "v0.6";

export default function Router() {
return (
<>
<BrowserRouter>
<Routes>
<Route path="/" element={<Login />} />
<Route
path={`/editor-${VERSION}`}
element={<YorkieTldrawEditor />}
/>
<Route path={`/editor-${VERSION}`} element={<YorkieTldrawEditor />} />
{/* Use this route if asset storage is availiable
<Route path={`/editor-${VERSION}`} element={<YorkieTldrawEditorAsset />} />
*/}
Expand Down

0 comments on commit 35639a1

Please sign in to comment.