-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/zk-passport/openpassport int…
…o dev
- Loading branch information
Showing
27 changed files
with
352 additions
and
93 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,14 @@ | ||
import { OpenPassportVerifierReport } from './src/OpenPassportVerifierReport'; | ||
import { OpenPassportVerifier } from './src/OpenPassportVerifier'; | ||
import { countryCodes } from '../../common/src/constants/constants'; | ||
import { | ||
OpenPassportAttestation, | ||
OpenPassportDynamicAttestation, | ||
} from '../../common/src/utils/openPassportAttestation'; | ||
export { | ||
OpenPassportVerifier, | ||
OpenPassportAttestation, | ||
OpenPassportDynamicAttestation, | ||
OpenPassportVerifierReport, | ||
countryCodes, | ||
}; |
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,79 @@ | ||
{ | ||
"name": "@openpassport/core", | ||
"version": "0.0.4", | ||
"main": "dist/sdk/core/index.js", | ||
"types": "dist/sdk/core/index.d.ts", | ||
"license": "MIT", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/zk-passport/openpassport" | ||
}, | ||
"author": "turnoffthiscomputer", | ||
"dependencies": { | ||
"@types/react": "^18.3.4", | ||
"@types/react-dom": "^18.3.0", | ||
"@types/uuid": "^10.0.0", | ||
"elliptic": "^6.5.7", | ||
"fs": "^0.0.1-security", | ||
"js-sha1": "^0.7.0", | ||
"js-sha256": "^0.11.0", | ||
"js-sha512": "^0.9.0", | ||
"lottie-react": "^2.4.0", | ||
"msgpack-lite": "^0.1.26", | ||
"next": "^14.2.8", | ||
"node-forge": "https://github.com/remicolin/forge", | ||
"pako": "^2.1.0", | ||
"pkijs": "^3.2.4", | ||
"poseidon-lite": "^0.2.0", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0", | ||
"snarkjs": "^0.7.4", | ||
"uuid": "^10.0.0", | ||
"zlib": "^1.0.5", | ||
"@zk-kit/imt": "https://gitpkg.now.sh/0xturboblitz/zk-kit/packages/imt?6d417675" | ||
}, | ||
"devDependencies": { | ||
"@types/chai": "^4.3.6", | ||
"@types/chai-as-promised": "^7.1.8", | ||
"@types/circomlibjs": "^0.1.6", | ||
"@types/expect": "^24.3.0", | ||
"@types/mocha": "^10.0.6", | ||
"@types/node": "^20.11.19", | ||
"@types/node-forge": "^1.3.5", | ||
"@types/pako": "^2.0.3", | ||
"@types/snarkjs": "^0.7.8", | ||
"asn1js": "^3.0.5", | ||
"axios": "^1.7.2", | ||
"chai": "^4.3.8", | ||
"chai-as-promised": "^7.1.1", | ||
"dotenv": "^16.4.5", | ||
"mocha": "^10.3.0", | ||
"prettier": "^3.3.3", | ||
"ts-loader": "^9.5.1", | ||
"ts-mocha": "^10.0.0", | ||
"ts-node": "^10.9.2", | ||
"typescript": "^5.4.5" | ||
}, | ||
"scripts": { | ||
"build": "tsc", | ||
"prepublishOnly": "npm run build", | ||
"test": "yarn ts-mocha -p ./tsconfig.json tests/openPassportVerifier.test.ts --exit", | ||
"install-sdk": "cd ../common && yarn && cd ../sdk && yarn", | ||
"download-circuits": "cd ../circuits && ./scripts/download_circuits_from_aws.sh && cd ../sdk", | ||
"format": "prettier --write .", | ||
"lint": "prettier --check ." | ||
}, | ||
"files": [ | ||
"dist", | ||
"common", | ||
"circuits/**/*.json" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"peerDependencies": { | ||
"lottie-react": "^2.4.0", | ||
"react": "^18.0.0", | ||
"react-dom": "^18.0.0" | ||
} | ||
} |
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
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
File renamed without changes.
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
File renamed without changes.
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
4 changes: 2 additions & 2 deletions
4
sdk/src/QRcode/OpenPassportQRcode.d.ts → sdk/qrcode/OpenPassportQRcode.d.ts
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
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
Oops, something went wrong.