Skip to content

Commit

Permalink
Merge pull request #19 from valorem-labs-inc/v0.0.9
Browse files Browse the repository at this point in the history
V0.0.9
  • Loading branch information
0xAlcibiades authored Dec 14, 2023
2 parents 5b006bf + 19c0bb4 commit 5b55fa9
Show file tree
Hide file tree
Showing 6 changed files with 79 additions and 73 deletions.
1 change: 1 addition & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Install packages, build, lint, and test
run: |
pnpm i
pnpm audit
pnpm build
pnpm lint
pnpm test
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @valorem-labs-inc/sdk

## 0.0.9

### Patch Changes

- Add helpers for calculating option's greek
- update dependencies

## 0.0.8

### Patch Changes
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@valorem-labs-inc/sdk",
"version": "0.0.8",
"version": "0.0.9",
"repository": {
"type": "git",
"url": "https://github.com/valorem-labs-inc/typescript-sdk.git"
Expand Down Expand Up @@ -30,38 +30,38 @@
},
"devDependencies": {
"@bufbuild/buf": "^1.28.1",
"@bufbuild/protoc-gen-es": "^1.4.2",
"@bufbuild/protoc-gen-es": "^1.6.0",
"@changesets/cli": "^2.27.1",
"@connectrpc/connect-node": "^1.1.3",
"@connectrpc/connect-web": "^1.1.3",
"@connectrpc/protoc-gen-connect-es": "^1.1.3",
"@connectrpc/connect-node": "^1.2.0",
"@connectrpc/connect-web": "^1.2.0",
"@connectrpc/protoc-gen-connect-es": "^1.2.0",
"@parcel/config-default": "^2.10.3",
"@parcel/packager-ts": "2.10.3",
"@parcel/packager-ts": "^2.10.3",
"@parcel/transformer-typescript-tsc": "^2.10.3",
"@parcel/transformer-typescript-types": "2.10.3",
"@types/node": "^20.9.1",
"@parcel/transformer-typescript-types": "^2.10.3",
"@types/node": "^20.10.4",
"@vercel/style-guide": "^5.1.0",
"@vitest/coverage-v8": "^1.0.4",
"eslint": "^8.53.0",
"eslint": "^8.55.0",
"parcel": "^2.10.3",
"prettier": "^3.1.0",
"typedoc": "^0.25.3",
"prettier": "^3.1.1",
"typedoc": "^0.25.4",
"typedoc-plugin-missing-exports": "^2.1.0",
"vitest": "^1.0.4"
},
"peerDependencies": {
"@bufbuild/protobuf": "^1.4.2",
"@connectrpc/connect": "^1.1.3",
"@wagmi/core": "^1.4.7",
"typescript": "^5.2.0",
"viem": "^1.19.9"
"@bufbuild/protobuf": "^1.6.0",
"@connectrpc/connect": "^1.2.0",
"@wagmi/core": "^1.4.12",
"typescript": "^5.3.0",
"viem": "^1.19.15"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"packageManager": "pnpm@8.6.10",
"packageManager": "pnpm@8.11.0",
"engines": {
"node": ">=18"
}
Expand Down
106 changes: 53 additions & 53 deletions pnpm-lock.yaml

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

3 changes: 0 additions & 3 deletions src/entities/trader/base-trader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ export class Trader {
*/
public async getNonce() {
// TODO(Why?)
// eslint-disable-next-line @typescript-eslint/require-await
const res = await handleGRPCRequest(async () => this.authClient.nonce({}));
if (res === null) throw new Error('Failed to get nonce for SIWE message.');
return res.nonce;
Expand All @@ -164,7 +163,6 @@ export class Trader {
*/
public async checkAuthentication() {
// TODO(Why?)
// eslint-disable-next-line @typescript-eslint/require-await
const res = await handleGRPCRequest(async () =>
this.authClient.authenticate({}),
);
Expand All @@ -183,7 +181,6 @@ export class Trader {
*/
public async verifyWithSIWE(message: string, signature: `0x${string}`) {
// TODO(Why?)
// eslint-disable-next-line @typescript-eslint/require-await
const res = await handleGRPCRequest(async () =>
this.authClient.verify({
body: JSON.stringify({
Expand Down
1 change: 1 addition & 0 deletions vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ export default defineConfig({
},
environment: 'node',
include: ['**/*.test.ts'],
testTimeout: 10000,
},
});

0 comments on commit 5b55fa9

Please sign in to comment.