Skip to content

Commit

Permalink
chore: update node version (#15)
Browse files Browse the repository at this point in the history
* bump v

* fix stable gap

* set version to 501
  • Loading branch information
RyanKung authored Nov 16, 2023
1 parent 068e3ca commit 0e551d1
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "rings_extension",
"version": "0.3.5",
"version": "0.3.501",
"description": "Browser Extension of rings network",
"keywords": [
"extension",
Expand Down Expand Up @@ -56,7 +56,7 @@
"@metamask/post-message-stream": "^6.1.1",
"@metamask/providers": "^10.2.1",
"@rings/webext-template": "link:",
"@ringsnetwork/rings-node": "https://github.com/RingsNetwork/rings-node/releases/download/v0.3.4/rings-v0.3.4-wasm32-unknown-unknown.tgz",
"@ringsnetwork/rings-node": "https://github.com/RingsNetwork/rings-node/releases/download/v0.3.5/rings-v0.3.5-wasm32-unknown-unknown.tgz",
"@unocss/reset": "^0.50.6",
"buffer": "^6.0.3",
"document-ready": "^2.0.2",
Expand Down
6 changes: 3 additions & 3 deletions src/background/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ async function createRingsNodeClient({
try {
wasmInit = await init(browser.runtime.getURL('dist/background/rings_node_bg.wasm'))
initSuccess()
debug(false)
debug(true)
console.log("Successfuly init WASM module")
} catch (error) {
initFailed()
Expand All @@ -418,8 +418,8 @@ async function createRingsNodeClient({
let client_: Client = await new Client(
// ice_servers
turnUrl,
// stable_tineout
100,
// stable_timeout
60,
// account
account,
// account type
Expand Down
2 changes: 1 addition & 1 deletion src/popup/Status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ export const Status = ({
</div>
<div className="mb-1">
<label>DID: </label>
<span>{shorten(status.dht?.did, 20)}</span>
<span>{shorten(status.swarm?.dht?.did, 20)}</span>
</div>
<div className="mt-4">
<label>Successors: </label>
Expand Down

0 comments on commit 0e551d1

Please sign in to comment.