Skip to content

Commit

Permalink
Merge 961c98c into 6af4295
Browse files Browse the repository at this point in the history
  • Loading branch information
YousefED committed Mar 23, 2023
2 parents 6af4295 + 961c98c commit 81a9291
Show file tree
Hide file tree
Showing 12 changed files with 126 additions and 96 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
${{ runner.os }}-
- name: Install Dependencies
run: npm run install
run: npm install

- name: Build packages
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion examples/rich-text-tiptap/src/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function LoginForm({
new URLSearchParams((window.location.hash || "#").substring(1))
);

const [relay, setRelay] = useState(params.relay || "wss://nos.lol");
const [relay, setRelay] = useState(params.relay || "wss://noster.online");
const [privateKey, setPrivateKey] = useState(generatePrivateKey());
const [roomId, setRoomId] = useState(params.room || "");

Expand Down
4 changes: 2 additions & 2 deletions examples/todo-simple-react-vite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@
},
"dependencies": {
"@primer/react": "34.1.0",
"@syncedstore/core": "^0.3.5",
"@syncedstore/react": "^0.3.5",
"@syncedstore/core": "^0.4.3",
"@syncedstore/react": "^0.4.3",
"@types/node": "^12.20.36",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-simple-react-vite/src/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function LoginForm({
new URLSearchParams((window.location.hash || "#").substring(1))
);

const [relay, setRelay] = useState(params.relay || "wss://nos.lol");
const [relay, setRelay] = useState(params.relay || "wss://noster.online");
const [privateKey, setPrivateKey] = useState(generatePrivateKey());
const [roomId, setRoomId] = useState(params.room || "");

Expand Down
4 changes: 2 additions & 2 deletions examples/todo-simple-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"private": true,
"dependencies": {
"@primer/react": "34.1.0",
"@syncedstore/core": "^0.3.5",
"@syncedstore/react": "^0.3.5",
"@syncedstore/core": "^0.4.3",
"@syncedstore/react": "^0.4.3",
"@types/node": "^12.20.36",
"@types/react": "^17.0.33",
"@types/react-dom": "^17.0.10",
Expand Down
2 changes: 1 addition & 1 deletion examples/todo-simple-react/src/login/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function LoginForm({
new URLSearchParams((window.location.hash || "#").substring(1))
);

const [relay, setRelay] = useState(params.relay || "wss://nos.lol");
const [relay, setRelay] = useState(params.relay || "wss://noster.online");
const [privateKey, setPrivateKey] = useState(generatePrivateKey());
const [roomId, setRoomId] = useState(params.room || "");

Expand Down
159 changes: 90 additions & 69 deletions package-lock.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/nostr-crdt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"private": false,
"license": "MPL-2.0",
"dependencies": {
"nostr-tools": "^1.2.1",
"nostr-tools": "^1.7.5",
"vscode-lib": "^0.1.0",
"websocket-polyfill": "^0.0.3"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/nostr-crdt/src/InMemoryRelayServer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class InMemoryRelayServer {
});
}
async close(): Promise<void> {
new Promise((resolve) => this.wss.close(resolve));
await new Promise((resolve) => this.wss.close(resolve));
}
clear() {
this.events = [];
Expand Down

0 comments on commit 81a9291

Please sign in to comment.