-
Notifications
You must be signed in to change notification settings - Fork 49
Feat/dynamic context validation in sdk #1703
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
Merged
Merged
Changes from 36 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
dbb89d2
feat(sdk): dynamic-context-validation
tractorss 85f3668
chore(web): add-graph-api-key-env
tractorss cdbbcf2
feat(subgraph): fetch-dispute-request-event-data-within-subgraph
tractorss c59e102
feat(kleros-sdk): get-dispute-function
tractorss 220ea2f
chore(web): update-dispute-population-flow
tractorss 6974fdb
chore(web): configure-sdk-with-web3-context
tractorss 88963e7
chore(kleros-sdk): make-configuring-sdk-explicit
tractorss 3ad42d5
refactor(kleros-sdk): implement-rabbit-ai-feedback
tractorss d2c8f9c
Merge branch 'dev' into feat/dynamic-context-validation-in-sdk
tractorss 25063c7
chore: fixed the SDK tests, minor tweaks
jaybuidl 3abfbc5
fix(kleros-sdk): public-client-null-check
tractorss 9140518
chore(subgraph): redeploy-subgraphs
tractorss e8cd12d
fix(sdk): types and unit tests
jaybuidl d3e4b59
chore(sdk): release configuration for NPM, tsconfig tweaks
jaybuidl 1a11c84
chore(sdk): release @kleros/[email protected]
jaybuidl 98c2907
chore(sdk): release @kleros/[email protected]
jaybuidl b851f2a
chore(sdk): release @kleros/[email protected]
jaybuidl 57711ba
docs(sdk): readme
jaybuidl cbdd6d1
chore: clean up
jaybuidl 77b57e4
chore(kleros-sdk): define-entry-points-for-files
tractorss 71f851b
chore(sdk): release @kleros/[email protected]
jaybuidl ecc9edf
refactor(kleros-sdk): remove-path-aliasing
tractorss e698548
refactor(kleros-sdk): update-get-dispute-function-parameter-type
tractorss 93e59a1
fix(web): typing
tractorss 18ae12f
Merge branch 'dev' into feat/dynamic-context-validation-in-sdk
tractorss 0a8422f
chore: update-yarn-lock
tractorss 04c80db
chore(kleros-sdk): update-get-dispute-id-spec
tractorss 9b4e9d2
feat(kleros-sdk): better-error-handling-and-optimisations
tractorss 7d5ed21
refactor(kleros-sdk): sonar-cloud-fixes
tractorss 542a8d9
refactor(kleros-sdk): remoev-unused-import
tractorss 3d42edc
refactor(kleros-sdk): address-coderabbit-feedback
tractorss a387e77
refactor(kleros-sdk): refactor-error-classes
tractorss 56853b9
fix: test mocks
jaybuidl 52b31a3
fix(kleros-sdk): replace-graphql-request-library-with-native-fetch
tractorss cab784b
chore(kleros-sdk): use-urql-for-gql-queries
tractorss 0562712
feat(kleros-sdk): gql-client-caching
tractorss 078b233
chore(sdk): release @kleros/[email protected]
jaybuidl 128e1e5
chore(sdk): publish script
jaybuidl d2cb260
chore(sdk): release @kleros/[email protected]
jaybuidl 7b2ccd3
Merge branch 'dev' into feat/dynamic-context-validation-in-sdk
jaybuidl File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
node_modules | ||
|
||
# vite | ||
development | ||
build | ||
dist | ||
lib | ||
|
||
# misc | ||
.eslintcache | ||
.DS_Store | ||
.env | ||
.env.test | ||
.env.testnet | ||
.env.devnet | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# logs | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# @kleros/kleros-v2-sdk | ||
# @kleros/kleros-sdk | ||
|
||
_Archon's successor_ | ||
|
||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,17 @@ | ||
{ | ||
"name": "@kleros/kleros-sdk", | ||
"version": "0.1.0", | ||
"version": "2.1.4", | ||
"description": "SDK for Kleros version 2", | ||
"main": "index.ts", | ||
"repository": "[email protected]:kleros/kleros-v2.git", | ||
"author": "Kleros", | ||
"license": "MIT", | ||
"alias": { | ||
"src": "./src", | ||
"dataMappings": "./src/dataMappings" | ||
}, | ||
"main": "./lib/src/index.js", | ||
"types": "./lib/src/index.d.ts", | ||
"module": "./lib/src/index.js", | ||
"files": [ | ||
"lib/**/*", | ||
"!lib/**/test/*" | ||
], | ||
"packageManager": "[email protected]+sha256.825003a0f561ad09a3b1ac4a3b3ea6207af2796d54f62a9420520915721f5186", | ||
"engines": { | ||
"node": ">=16.0.0" | ||
|
@@ -18,24 +20,32 @@ | |
"volta": { | ||
"node": "20.11.0" | ||
}, | ||
"publishConfig": { | ||
"access": "public", | ||
"tag": "latest" | ||
}, | ||
"scripts": { | ||
"build": "your-build-script", | ||
"clean": "rimraf lib", | ||
"build": "yarn clean && tsc", | ||
"test": "vitest", | ||
"test:ui": "vitest --ui", | ||
"test:run": "vitest run" | ||
"test:run": "vitest run", | ||
"publish": "yarn npm publish" | ||
}, | ||
"devDependencies": { | ||
"@types/mustache": "^4.2.5", | ||
"@vitest/ui": "^1.1.3", | ||
"mocha": "^10.2.0", | ||
"rimraf": "^6.0.1", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.3.3", | ||
"vitest": "^1.1.3" | ||
}, | ||
"dependencies": { | ||
"@kleros/kleros-v2-contracts": "workspace:^", | ||
"@reality.eth/reality-eth-lib": "^3.2.30", | ||
"@urql/core": "^5.0.8", | ||
"mustache": "^4.2.0", | ||
"viem": "^2.21.26", | ||
"zod": "^3.22.4" | ||
} | ||
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.