@webxdc/highscores
Advanced tools
Comparing version 5.2.1 to 5.3.0
{ | ||
"name": "@webxdc/highscores", | ||
"description": "Highscores API for webxdc apps", | ||
"version": "5.2.1", | ||
"version": "5.3.0", | ||
"license": "MIT", | ||
@@ -38,7 +38,4 @@ "author": "adbenitez", | ||
"devDependencies": { | ||
"prettier": "^3.3.3" | ||
}, | ||
"dependencies": { | ||
"jssha": "^3.3.1" | ||
"prettier": "latest" | ||
} | ||
} |
@@ -1,3 +0,1 @@ | ||
import jsSHA from "jssha"; | ||
export const highscores = (() => { | ||
@@ -11,5 +9,3 @@ let scoreboards = {}, | ||
scoreboardsKey = "_webxdc-scores_.scoreboards"; | ||
const selfID = new jsSHA("SHA-512", "TEXT", { encoding: "UTF8" }) | ||
.update(window.webxdc.selfAddr) | ||
.getHash("HEX"); | ||
const selfID = window.webxdc.selfAddr; | ||
@@ -16,0 +12,0 @@ const h = (tag, attributes, ...children) => { |
0
11825
234
- Removedjssha@^3.3.1
- Removedjssha@3.3.1(transitive)