Skip to content

Commit a5c322a

Browse files
Update everything
1 parent d7c05b3 commit a5c322a

25 files changed

+979
-1202
lines changed

.eslintrc

-31
This file was deleted.

.eslintrc.js

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
require("@rushstack/eslint-patch/modern-module-resolution");
2+
3+
module.exports = {
4+
root: true,
5+
extends: ["@toruslabs/eslint-config-typescript"],
6+
parser: "@typescript-eslint/parser",
7+
parserOptions: {
8+
sourceType: "module",
9+
ecmaVersion: 2022,
10+
project: "./tsconfig.json",
11+
},
12+
ignorePatterns: ["*.config.js", "*.d.ts", ".eslintrc.js"],
13+
rules: {
14+
camelcase: "off",
15+
},
16+
env: {
17+
browser: true,
18+
node: true,
19+
mocha: true,
20+
},
21+
globals: {
22+
chrome: true,
23+
},
24+
};

README.md

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,25 @@
1-
21
# TSS-Client-SDk
2+
33
Client Side SDK for tss signature verification.
44

55
### Installation and setup
6+
67
<br />
78
1. Installing node_modules
89

910
```
10-
yarn
11+
npm
1112
```
1213

1314
<br />
14-
2. Bootstrap
15-
16-
```
17-
yarn bootstrap
18-
```
19-
<br />
20-
3. Running the packages
15+
2. Running the packages
2116

2217
```
23-
yarn run dev
18+
npm run dev
2419
```
2520

2621
### Development
22+
2723
<br />
2824
1. Setup any of the demo apps from `demo` folders.
2925

@@ -43,16 +39,20 @@ NOTE: If you are using a local wasm file URL, Please copy the client wasm file f
4339
### Updating DKLS19
4440

4541
#### Step 1
42+
4643
Build [DLKS19](https://github.com/torusresearch/dkls) with
44+
4745
```
4846
cd dkls
4947
wasm-pack build --release --target web
5048
```
5149

5250
#### Step 2
51+
5352
From the `pkg` subfolder in `dkls`:
5453

5554
Copy the following files:
55+
5656
```
5757
dkls.d.ts
5858
dkls_bg.wasm.d.ts
@@ -67,6 +67,7 @@ Copy contents of `dkls.js` into `packages/tss-lib/browser.js`.
6767
#### Step 4
6868

6969
Revert any changes to the following functions and exports in `browser.js`:
70+
7071
```
7172
function initSync(module)
7273
async function init(input)

lerna.json

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
{
22
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
3-
"useNx": false,
43
"npmClient": "npm",
54
"version": "1.7.1"
65
}

0 commit comments

Comments
 (0)