-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: add d-notif-project * fix: added validator class and fix api route * fix: fix nx test and lint commands * fix: remove hardcoded node url * fix: fix notifs * fix: temp - downgrade to goerli * fix: add sample dapp * fix: change d-node-notif to dnode * fix: fix nrwl config * fix: fix test changes * chore: added example dapp * fix: fix list trx * fix: version bump * chore: fix dapp issues * fix: list channel subscribers * chore: bump version * chore: fix dapp * fix: change from goerli to sepolia * fix: add dev contract * chore: fix dapp * test: fix test cases * chore: bump version * chore: fix dapp * chore: fix dnode dapp * chore: fix dapp css * chore: fix dapp * fix: fix list api * chore: bump version * chore: add pagination and loader to dapp * chore: fix page limit * test: added subscription test cases
- Loading branch information
Showing
136 changed files
with
48,727 additions
and
22,863 deletions.
There are no files selected for viewing
This file contains 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,10 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"@nrwl/web/babel", | ||
{ | ||
"useBuiltIns": "usage" | ||
} | ||
] | ||
] | ||
} |
This file contains 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,18 @@ | ||
{ | ||
"extends": ["../../.eslintrc.json"], | ||
"ignorePatterns": ["!**/*", "node_modules"], | ||
"overrides": [ | ||
{ | ||
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.ts", "*.tsx"], | ||
"rules": {} | ||
}, | ||
{ | ||
"files": ["*.js", "*.jsx"], | ||
"rules": {} | ||
} | ||
] | ||
} |
This file contains 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,7 @@ | ||
# dnode | ||
|
||
This library was generated with [Nx](https://nx.dev). | ||
|
||
## Building | ||
|
||
Run `nx build dnode` to build the library. |
This file contains 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,43 @@ | ||
{ | ||
"name": "@pushprotocol/dnode", | ||
"version": "0.0.6", | ||
"type": "commonjs", | ||
"publishConfig": { | ||
"registry": "https://registry.npmjs.org/" | ||
}, | ||
"peerDependencies": { | ||
"ethers": "^5.0.0 || ^6.0.0" | ||
}, | ||
"peerDependenciesMeta": { | ||
"ethers": { | ||
"optional": true | ||
} | ||
}, | ||
"dependencies": { | ||
"@metamask/eth-sig-util": "^5.0.2", | ||
"buffer": "^6.0.3", | ||
"crypto-js": "^4.1.1", | ||
"immer": "^10.0.2", | ||
"joi": "^17.9.2", | ||
"lru-cache": "^10.1.0", | ||
"openpgp": "^5.5.0", | ||
"socket.io-client": "^4.7.2", | ||
"viem": "^2.13.1" | ||
}, | ||
"scripts": { | ||
"test": "TS_NODE_PROJECT='./tsconfig.mocha.json' NODE_OPTIONS='--loader ts-node/esm' DOTENV_CONFIG_PATH='./tests/.env' mocha -r ts-node/register -r dotenv/config 'tests/**/*.test.ts' --timeout 1200000 --require tests/root.ts --serial" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.3.4", | ||
"@types/chai-as-promised": "^7.1.5", | ||
"@types/crypto-js": "^4.1.1", | ||
"@types/mocha": "^10.0.1", | ||
"chai": "^4.3.7", | ||
"chai-as-promised": "^7.1.1", | ||
"envfile": "^7.1.0", | ||
"mocha": "^10.2.0", | ||
"mocha-typescript": "^1.1.17", | ||
"ts-node": "^10.9.1", | ||
"typescript": "^5.0.2" | ||
} | ||
} |
This file contains 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,57 @@ | ||
{ | ||
"$schema": "../../node_modules/nx/schemas/project-schema.json", | ||
"sourceRoot": "packages/dnode/src", | ||
"projectType": "library", | ||
"targets": { | ||
"build": { | ||
"executor": "@nrwl/js:tsc", | ||
"outputs": ["{options.outputPath}"], | ||
"options": { | ||
"outputPath": "dist/packages/dnode", | ||
"main": "packages/dnode/src/index.ts", | ||
"tsConfig": "packages/dnode/tsconfig.lib.json", | ||
"assets": ["packages/dnode/*.md"] | ||
} | ||
}, | ||
"lint": { | ||
"executor": "@nrwl/linter:eslint", | ||
"outputs": ["{options.outputFile}"], | ||
"options": { | ||
"lintFilePatterns": ["packages/dnode/**/*.ts"] | ||
} | ||
}, | ||
"test": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"outputs": ["coverage/packages/dnode"], | ||
"options": { | ||
"commands": ["cd packages/dnode && yarn run test"], | ||
"passWithNoTests": true | ||
} | ||
}, | ||
"ci-version": { | ||
"executor": "@jscutlery/semver:version", | ||
"options": { | ||
"preset": "angular", | ||
"commitMessageFormat": "ci(${projectName}): 🎉 cut release to ${projectName}-v${version}", | ||
"postTargets": ["dnode:build", "dnode:ci-publish"] | ||
} | ||
}, | ||
"ci-version-beta": { | ||
"executor": "@jscutlery/semver:version", | ||
"options": { | ||
"preset": "angular", | ||
"commitMessageFormat": "ci(${projectName}): 🎉 cut beta release to ${projectName}-v${version}", | ||
"postTargets": ["dnode:build", "dnode:ci-publish"], | ||
"version": "prerelease", | ||
"preid": "alpha" | ||
} | ||
}, | ||
"ci-publish": { | ||
"executor": "@nrwl/workspace:run-commands", | ||
"options": { | ||
"command": "node tools/scripts/publish.mjs dnode" | ||
} | ||
} | ||
}, | ||
"tags": [] | ||
} |
This file contains 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 @@ | ||
export * from './lib'; |
Oops, something went wrong.