Skip to content

Commit

Permalink
working on backend
Browse files Browse the repository at this point in the history
  • Loading branch information
caiiiycuk committed Sep 14, 2021
1 parent 315a1c7 commit 28230b8
Show file tree
Hide file tree
Showing 21 changed files with 8,798 additions and 30 deletions.
12 changes: 11 additions & 1 deletion examples/digger/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,17 @@
Dos(document.getElementById("jsdos"), {
style: "dark",
hardware: window.hardware,
}).run("digger-v3.jsdos");
clientId: (userGesture) => {
if (!userGesture) {
return Promise.resolve(null);
}

return Promise.resolve({
namespace: "test",
id: "client",
})
}
}).run("https://cdn.dos.zone/original/2X/2/24b00b14f118580763440ecaddcc948f8cb94f14.jsdos");
</script>
</body>

Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "js-dos",
"version": "7.1.3",
"version": "7.1.4",
"description": "Easiest API to run dos programs in browser",
"main": "dist/js-dos.js",
"types": "dist/types/js-dos-player.d.ts",
Expand Down Expand Up @@ -44,7 +44,7 @@
"core-js": "^3.17.1",
"del": "^5.1.0",
"emulators": "^0.71.0",
"emulators-ui": "^0.71.5",
"emulators-ui": "^0.71.7",
"eslint": "^7.32.0",
"gulp": "^4.0.2",
"gulp-concat": "^2.6.1",
Expand Down
6 changes: 6 additions & 0 deletions sls/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Learn more about about the credentials needed
# to deploy your app https://github.com/serverless/components#credentials

# AWS:
# AWS_ACCESS_KEY_ID=<your access key>
# AWS_SECRET_ACCESS_KEY=<your secret access key>
6 changes: 6 additions & 0 deletions sls/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# package directories
node_modules
jspm_packages

# Serverless directories
.serverless
Loading

0 comments on commit 28230b8

Please sign in to comment.