Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 2025-02-05 #3017

Merged
merged 44 commits into from
Feb 5, 2025
Merged
Show file tree
Hide file tree
Changes from 43 commits
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
10fe6e5
[Subgraph] Add `name` and `category` to leader entity (#3011)
leric7 Jan 17, 2025
0f022f2
Add Vercel config for staking dashboard deployment (#3020)
portuu3 Jan 17, 2025
2ad0673
[Reputation Oracle] hCaptcha token validation moved to the `HCaptchaG…
Dzeranov Jan 17, 2025
cf52f6a
Fix default in migration (#3034)
zhiltsov-max Jan 21, 2025
285c9c5
[CVAT] Fix validation layout update calls (#3033)
zhiltsov-max Jan 21, 2025
08aebbd
Fix/locking (#3016)
ivhus Jan 22, 2025
94d3d1f
Removed validator role (#3035)
eugenvoronov Jan 22, 2025
ba4514f
[SDK] Removed unused networks (#3031)
eugenvoronov Jan 22, 2025
c4190c8
chore(deps-dev): bump hardhat from 2.22.16 to 2.22.18 (#3028)
dependabot[bot] Jan 22, 2025
ec1d921
chore(deps-dev): bump @types/xml2js from 0.4.13 to 0.4.14 (#3027)
dependabot[bot] Jan 22, 2025
479f6ed
chore(deps): bump react-number-format from 5.4.2 to 5.4.3 (#3026)
dependabot[bot] Jan 22, 2025
11fca1b
update deployed subgraphs and update deployment workflow (#3037)
portuu3 Jan 22, 2025
b7554f0
[Human App] refactor: hcaptcha components (#2991)
mpblocky Jan 23, 2025
62b1e8b
[CVAT] Improve log messages in Recording Oracle (#3040)
zhiltsov-max Jan 23, 2025
080279e
Leaderboard UI for name category (#3038)
leric7 Jan 23, 2025
4c31445
[Human App] refactor: page card components (#2987)
mpblocky Jan 27, 2025
cc1acdf
[Dashboard] Leaderboard in the landing page should show only 4 leader…
eugenvoronov Jan 27, 2025
9953bfa
Add kvstore to Staking dashboard (#3036)
flopez7 Jan 27, 2025
40080d9
[SDK] fix: date rounding issues (#3044)
flopez7 Jan 28, 2025
abff996
Create a new env var to modify dashboard url (#3051)
flopez7 Jan 28, 2025
096b350
[Human App] refactor: homepage state context (#3005)
mpblocky Jan 28, 2025
4a2acf3
chore(deps): bump @nestjs/platform-express from 10.4.11 to 11.0.6 (#3…
dependabot[bot] Jan 29, 2025
529bb4d
chore(deps): bump @mui/styled-engine-sc from 6.1.3 to 6.4.0 (#3047)
dependabot[bot] Jan 29, 2025
3079173
chore(deps): bump actions/setup-node from 3 to 4 (#3049)
dependabot[bot] Jan 29, 2025
06e0f69
[Subgraph] Clean KVStore fee values (#3043)
flopez7 Jan 29, 2025
2efa35c
[Human App] refactor: redistribute registered oracles files (#3021)
mpblocky Jan 29, 2025
9a48e1e
feat: local setup via docker-compose (#3030)
dnechay Jan 29, 2025
6ed367e
[Reputation Oracle] Refactor `User` module error handling (#3042)
Dzeranov Jan 29, 2025
5fe5b56
update subgraph ids (#3055)
portuu3 Jan 29, 2025
4d9ae62
[Reputation Oracle] Delete `Credentials` module (#3056)
Dzeranov Jan 29, 2025
f94e2af
Update readme and change folder name in dashboard client (#3058)
flopez7 Jan 30, 2025
d1c0b58
[Reputation Oracle] refactor: get rid of controlled error in escrow c…
dnechay Jan 30, 2025
1d04bcf
[Human App] refactor: wallet connect context (#3000)
mpblocky Jan 30, 2025
376526d
[Human App] refactor: color mode context (#3006)
mpblocky Jan 30, 2025
7632bb3
[Human App] refactor: worker sign up (#3029)
adrian-oleskiewicz Jan 31, 2025
defd1db
fix: nestjs platform package (#3061)
dnechay Jan 31, 2025
0ebfaf8
[Human App] refactor: background context (#3003)
mpblocky Jan 31, 2025
3ec5133
[Reputation Oracle] refactor: get rid of ControlledError (#3062)
dnechay Feb 3, 2025
49907ba
[HUMAN App] refactor: use register address hook (#3007)
adrian-oleskiewicz Feb 3, 2025
33d3a1d
[Human App] refactor: sign in page (#3023)
adrian-oleskiewicz Feb 4, 2025
e77aac3
[Job Launcher Client] Improve usability (#3068)
flopez7 Feb 4, 2025
000ef2f
[Job Launcher] fix: case transformation of request body properties (#…
eugenvoronov Feb 5, 2025
a0877f2
[Human App] fix: layout media queries (#3072)
mpblocky Feb 5, 2025
087ba3c
Update docs 20250205 (#3073)
portuu3 Feb 5, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
24 changes: 24 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Common file for apps that rely on root context
.git
.github
.husky
audits
docs
scripts
**/node_modules
**/build
**/dist

# Core package artifacts
# Hardhat files
**/abis
**/artifacts
**/cache
**/.deps
# TypeScript bindings output directory
**/typechain-types

# Docker-related
.dockerignore
**/Dockerfile*
**/docker-compose*
3 changes: 3 additions & 0 deletions .github/workflows/cd-cvat-exchange-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ on:
permissions:
id-token: write
contents: read
concurrency:
group: docker-compose-oracles-${{ github.ref }}
cancel-in-progress: false # Ensure the workflow waits instead of canceling others

jobs:
pull-request-check:
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/cd-cvat-recording-oracle.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ permissions:
id-token: write
contents: read

concurrency:
group: docker-compose-oracles-${{ github.ref }}
cancel-in-progress: false # Ensure the workflow waits instead of canceling others

jobs:
pull-request-check:
runs-on: ubuntu-latest
Expand Down
41 changes: 31 additions & 10 deletions .github/workflows/cd-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
label:
description: 'New version label'
required: true
networks:
description: 'Comma-separated list of networks to deploy'
required: true

jobs:
subgraph:
Expand All @@ -15,41 +18,59 @@ jobs:
matrix:
network:
- name: amoy
- name: avalanche
- name: bsc-testnet
- name: bsc
- name: celo-alfajores
- name: celo
- name: ethereum
- name: fuji
- name: moonbase-alpha
- name: moonbeam
- name: polygon
- name: sepolia
- name: xlayer-testnet
- name: xlayer
fail-fast: true
max-parallel: 3
steps:
- uses: actions/checkout@v4
- run: npm install --global yarn && yarn --ignore-scripts
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '18.20.1'
- name: Filter Networks
id: filter_networks
run: |
INPUT_NETWORKS="${{ github.event.inputs.networks }}"
IFS=',' read -ra NETWORK_LIST <<< "$INPUT_NETWORKS"
echo "Input networks: $INPUT_NETWORKS"
echo "Current matrix network: ${{ matrix.network.name }}"
MATCH=false
for network in "${NETWORK_LIST[@]}"; do
if [[ "${network}" == "${{ matrix.network.name }}" ]]; then
MATCH=true
break
fi
done
echo "Match found: $MATCH"
echo "::set-output name=continue::$MATCH"
- run: npm install --global yarn && yarn
name: Install dependencies
if: steps.filter_networks.outputs.continue == 'true'
- run: yarn build
name: Build core package
working-directory: ./packages/core
- run: yarn global add @graphprotocol/graph-cli
if: steps.filter_networks.outputs.continue == 'true'
- run: yarn global add @graphprotocol/[email protected]
name: Install Graph CLI
if: steps.filter_networks.outputs.continue == 'true'
- run: graph auth --studio ${API_KEY}
name: Authenticate Graph CLI
env:
API_KEY: ${{ secrets.HP_GRAPH_API_KEY }}
if: steps.filter_networks.outputs.continue == 'true'
- run: yarn generate && yarn build
name: Generate and build Subgraph
working-directory: ./packages/sdk/typescript/subgraph
env:
NETWORK: ${{ matrix.network.name }}
if: steps.filter_networks.outputs.continue == 'true'
- run: graph deploy --studio ${NETWORK} -l ${{ github.event.inputs.label }}
name: Deploy Subgraph
working-directory: ./packages/sdk/typescript/subgraph
env:
NETWORK: ${{ matrix.network.name }}
if: steps.filter_networks.outputs.continue == 'true'
3 changes: 2 additions & 1 deletion .github/workflows/ci-test-subgraph.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ on:
jobs:
subgraph-test:
name: Subgraph Test
runs-on: ubuntu-latest
# TODO: Use ubuntu-latest when graph binary is not failing on ubuntu 24.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: npm install --global yarn && yarn
Expand Down
4 changes: 1 addition & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@ node_modules

# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
.env.*.local

# Log files
npm-debug.log*
Expand Down
36 changes: 14 additions & 22 deletions docs/sdk/python/human_protocol_sdk.constants.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,52 +6,34 @@ Bases: `Enum`

Enum for chain IDs.

#### AVALANCHE *= 43114*

#### AVALANCHE_TESTNET *= 43113*

#### BSC_MAINNET *= 56*

#### BSC_TESTNET *= 97*

#### CELO *= 42220*

#### CELO_ALFAJORES *= 44787*

#### GOERLI *= 5*

#### LOCALHOST *= 1338*

#### MAINNET *= 1*

#### MOONBASE_ALPHA *= 1287*

#### MOONBEAM *= 1284*

#### POLYGON *= 137*

#### POLYGON_AMOY *= 80002*

#### POLYGON_MUMBAI *= 80001*

#### RINKEBY *= 4*

#### SEPOLIA *= 11155111*

#### XLAYER *= 196*

#### XLAYER_TESTNET *= 195*

### *class* human_protocol_sdk.constants.KVStoreKeys(value)

Bases: `Enum`

Enum for KVStore keys

#### category *= 'category'*

#### fee *= 'fee'*

#### job_types *= 'job_types'*

#### name *= 'name'*

#### public_key *= 'public_key'*

#### registration_instructions *= 'registration_instructions'*
Expand All @@ -64,6 +46,16 @@ Enum for KVStore keys

#### webhook_url *= 'webhook_url'*

### *class* human_protocol_sdk.constants.LeaderCategory(value)

Bases: `Enum`

Enum for leader categories

#### MACHINE_LEARNING *= 'machine_learning'*

#### MARKET_MAKING *= 'market_making'*

### *class* human_protocol_sdk.constants.OrderDirection(value)

Bases: `Enum`
Expand Down
16 changes: 5 additions & 11 deletions docs/sdk/python/human_protocol_sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,33 +129,27 @@

* [human_protocol_sdk.constants module](human_protocol_sdk.constants.md)
* [`ChainId`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId)
* [`ChainId.AVALANCHE`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.AVALANCHE)
* [`ChainId.AVALANCHE_TESTNET`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.AVALANCHE_TESTNET)
* [`ChainId.BSC_MAINNET`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.BSC_MAINNET)
* [`ChainId.BSC_TESTNET`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.BSC_TESTNET)
* [`ChainId.CELO`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.CELO)
* [`ChainId.CELO_ALFAJORES`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.CELO_ALFAJORES)
* [`ChainId.GOERLI`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.GOERLI)
* [`ChainId.LOCALHOST`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.LOCALHOST)
* [`ChainId.MAINNET`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.MAINNET)
* [`ChainId.MOONBASE_ALPHA`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.MOONBASE_ALPHA)
* [`ChainId.MOONBEAM`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.MOONBEAM)
* [`ChainId.POLYGON`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.POLYGON)
* [`ChainId.POLYGON_AMOY`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.POLYGON_AMOY)
* [`ChainId.POLYGON_MUMBAI`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.POLYGON_MUMBAI)
* [`ChainId.RINKEBY`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.RINKEBY)
* [`ChainId.SEPOLIA`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.SEPOLIA)
* [`ChainId.XLAYER`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.XLAYER)
* [`ChainId.XLAYER_TESTNET`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId.XLAYER_TESTNET)
* [`KVStoreKeys`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys)
* [`KVStoreKeys.category`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.category)
* [`KVStoreKeys.fee`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.fee)
* [`KVStoreKeys.job_types`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.job_types)
* [`KVStoreKeys.name`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.name)
* [`KVStoreKeys.public_key`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.public_key)
* [`KVStoreKeys.registration_instructions`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.registration_instructions)
* [`KVStoreKeys.registration_needed`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.registration_needed)
* [`KVStoreKeys.role`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.role)
* [`KVStoreKeys.url`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.url)
* [`KVStoreKeys.webhook_url`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys.webhook_url)
* [`LeaderCategory`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.LeaderCategory)
* [`LeaderCategory.MACHINE_LEARNING`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.LeaderCategory.MACHINE_LEARNING)
* [`LeaderCategory.MARKET_MAKING`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.LeaderCategory.MARKET_MAKING)
* [`OrderDirection`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.OrderDirection)
* [`OrderDirection.ASC`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.OrderDirection.ASC)
* [`OrderDirection.DESC`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.OrderDirection.DESC)
Expand Down
6 changes: 4 additions & 2 deletions docs/sdk/python/human_protocol_sdk.operator.operator_utils.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@ print(

## Module

### *class* human_protocol_sdk.operator.operator_utils.LeaderData(chain_id, id, address, amount_staked, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, website=None, url=None, job_types=None, registration_needed=None, registration_instructions=None, reputation_networks=None)
### *class* human_protocol_sdk.operator.operator_utils.LeaderData(chain_id, id, address, amount_staked, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, website=None, url=None, job_types=None, registration_needed=None, registration_instructions=None, reputation_networks=None, name=None, category=None)

Bases: `object`

#### \_\_init_\_(chain_id, id, address, amount_staked, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, website=None, url=None, job_types=None, registration_needed=None, registration_instructions=None, reputation_networks=None)
#### \_\_init_\_(chain_id, id, address, amount_staked, amount_locked, locked_until_timestamp, amount_withdrawn, amount_slashed, reward, amount_jobs_processed, role=None, fee=None, public_key=None, webhook_url=None, website=None, url=None, job_types=None, registration_needed=None, registration_instructions=None, reputation_networks=None, name=None, category=None)

Initializes a LeaderData instance.

Expand All @@ -46,6 +46,8 @@ Initializes a LeaderData instance.
* **registration_needed** (`Optional`[`bool`]) – Whether registration is needed
* **registration_instructions** (`Optional`[`str`]) – Registration instructions
* **reputation_networks** (`Optional`[`List`[`str`]]) – List of reputation networks
* **name** (`Optional`[`str`]) – Name
* **category** (`Optional`[`str`]) – Category

### *class* human_protocol_sdk.operator.operator_utils.LeaderFilter(chain_id, roles=[], min_amount_staked=None, order_by=None, order_direction=OrderDirection.DESC, first=10, skip=0)

Expand Down
1 change: 1 addition & 0 deletions docs/sdk/python/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ pip install human-protocol-sdk[agreement]
* [human_protocol_sdk.constants module](human_protocol_sdk.constants.md)
* [`ChainId`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.ChainId)
* [`KVStoreKeys`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.KVStoreKeys)
* [`LeaderCategory`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.LeaderCategory)
* [`OrderDirection`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.OrderDirection)
* [`Role`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.Role)
* [`Status`](human_protocol_sdk.constants.md#human_protocol_sdk.constants.Status)
Expand Down
6 changes: 3 additions & 3 deletions docs/sdk/typescript/base/classes/BaseEthersClient.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ The network information required to connect to the contracts

#### Defined in

[base.ts:20](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L20)
[base.ts:20](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L20)

## Properties

Expand All @@ -54,7 +54,7 @@ The network information required to connect to the contracts

#### Defined in

[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)
[base.ts:12](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L12)

***

Expand All @@ -64,4 +64,4 @@ The network information required to connect to the contracts

#### Defined in

[base.ts:11](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L11)
[base.ts:11](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/base.ts#L11)
10 changes: 5 additions & 5 deletions docs/sdk/typescript/encryption/classes/Encryption.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The private key.

#### Defined in

[encryption.ts:66](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L66)
[encryption.ts:66](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L66)

## Methods

Expand Down Expand Up @@ -123,7 +123,7 @@ const resultMessage = await encryption.decrypt('message');

#### Defined in

[encryption.ts:194](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L194)
[encryption.ts:194](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L194)

***

Expand Down Expand Up @@ -161,7 +161,7 @@ const resultMessage = await encryption.sign('message');

#### Defined in

[encryption.ts:251](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L251)
[encryption.ts:251](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L251)

***

Expand Down Expand Up @@ -230,7 +230,7 @@ const resultMessage = await encryption.signAndEncrypt('message', publicKeys);

#### Defined in

[encryption.ts:142](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L142)
[encryption.ts:142](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L142)

***

Expand Down Expand Up @@ -262,4 +262,4 @@ Optional: The passphrase for the private key.

#### Defined in

[encryption.ts:77](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L77)
[encryption.ts:77](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L77)
10 changes: 5 additions & 5 deletions docs/sdk/typescript/encryption/classes/EncryptionUtils.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ const result = await EncryptionUtils.encrypt('message', publicKeys);

#### Defined in

[encryption.ts:444](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L444)
[encryption.ts:444](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L444)

***

Expand Down Expand Up @@ -152,7 +152,7 @@ const result = await EncryptionUtils.generateKeyPair(name, email, passphrase);

#### Defined in

[encryption.ts:382](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L382)
[encryption.ts:382](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L382)

***

Expand Down Expand Up @@ -186,7 +186,7 @@ const signedData = await EncryptionUtils.getSignedData('message');

#### Defined in

[encryption.ts:351](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L351)
[encryption.ts:351](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L351)

***

Expand Down Expand Up @@ -236,7 +236,7 @@ if (isEncrypted) {

#### Defined in

[encryption.ts:494](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L494)
[encryption.ts:494](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L494)

***

Expand Down Expand Up @@ -288,4 +288,4 @@ const result = await EncryptionUtils.verify('message', publicKey);

#### Defined in

[encryption.ts:318](https://github.com/humanprotocol/human-protocol/blob/b190dc1831c2c96fe3d44fd63e915e54011e1ec8/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L318)
[encryption.ts:318](https://github.com/humanprotocol/human-protocol/blob/5cc1fc18f66f3a8dae9736516ee7c87001f230bc/packages/sdk/typescript/human-protocol-sdk/src/encryption.ts#L318)
Loading
Loading