Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ dist
lib
coverage
typedoc
temp
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
with:
node-version: "lts/*"
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --frozen-lockfile && yarn --cwd ./examples/client install --frozen-lockfile
- name: Lint
run: yarn Lint
run: yarn lint
- name: Test
run: yarn test
- name: Build
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ jobs:
with:
node-version: "lts/*"
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --frozen-lockfile && yarn --cwd ./examples/client install --frozen-lockfile
- name: Lint
run: yarn Lint
run: yarn lint
- name: Test
run: yarn test
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ dist
lib
build
coverage
typedoc
temp
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![@windingtree/sdk](https://img.shields.io/npm/v/@windingtree/sdk.svg)](https://www.npmjs.com/package/@windingtree/sdk)

# @windingtree/sdk

The WindingTree market protocol SDK
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
"test": "mocha -t 60000 --extension spec.ts",
"semantic-release": "semantic-release",
"prepack": "npm run build",
"lint": "npx eslint . --ext .ts",
"lint:fix": "npx eslint . --ext .ts --fix && npx prettier --write .",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix && prettier --write .",
"prepare": "husky install",
"commit": "git-cz -S",
"coverage": "c8 --all --exclude coverage --exclude lib --exclude test yarn test && c8 report --all --exclude coverage --exclude lib --exclude test -r html",
Expand Down Expand Up @@ -87,7 +87,7 @@
"chai": "^4.3.7",
"chai-as-promised": "^7.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.0.2",
"typescript": "^5.0.3",
"semantic-release": "^21.0.0",
"semantic-release-cli": "^5.4.4",
"@semantic-release/release-notes-generator": "^10.0.3",
Expand Down
3 changes: 1 addition & 2 deletions src/shared/messages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { AbstractSigner, TypedDataField, getAddress, Signature } from 'ethers';
import { verifyTypedData } from '@ethersproject/wallet';
import { AbstractSigner, TypedDataField, getAddress, Signature, verifyTypedData } from 'ethers';
import { z } from 'zod';
import { ContractConfig, ContractConfigSchema } from '../utils/contract.js';
import { hashObject } from '../utils/hash.js';
Expand Down
17 changes: 8 additions & 9 deletions src/shared/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,16 +142,15 @@ export type JobHandlerClosure = (job: any) => ReturnType<JobHandler<any>>;
* },
* );
*/
/* eslint-disable @typescript-eslint/no-explicit-any */
export const createJobHandler =
// eslint-disable-next-line @typescript-eslint/no-explicit-any


<OfferData = any, HandlerOptions extends object = object>(
handler: JobHandler<OfferData, HandlerOptions>,
) =>
(options?: HandlerOptions) =>
(job: Job<OfferData>) =>
handler(job, options);
<OfferData = any, HandlerOptions extends object = object>(
handler: JobHandler<OfferData, HandlerOptions>,
) =>
(options?: HandlerOptions) =>
(job: Job<OfferData>) =>
handler(job, options);
/* eslint-disable @typescript-eslint/no-explicit-any */

/**
* Queue events interface
Expand Down
1 change: 0 additions & 1 deletion typedoc/.nojekyll

This file was deleted.

71 changes: 0 additions & 71 deletions typedoc/assets/highlight.css

This file was deleted.

Loading