@prosopo/procaptcha 0.1.13 → 0.1.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -3
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
1
|
# Procaptcha
|
|
2
2
|
|
|
3
|
-
Contains interfaces for accessing the Prosopo [protocol](https://github.com/prosopo/protocol/) contract,
|
|
3
|
+
Contains interfaces for accessing the Prosopo [protocol](https://github.com/prosopo/protocol/) contract,
|
|
4
|
+
Prosopo [provider](https://github.com/prosopo/provider) API and the captcha client state via the `ProsopoCaptchaClient`
|
|
5
|
+
, `ProsopoCaptchaApi` and `ProsopoCaptchaStateClient` classes.
|
|
4
6
|
|
|
5
7
|
## Prerequisites
|
|
6
8
|
|
|
7
|
-
The Dapp smart contract account must
|
|
9
|
+
The Dapp smart contract account must
|
|
10
|
+
be [registered](https://github.com/prosopo/protocol/blob/5cb282a911522bfbf29d34d1830badee3eecec83/contracts/lib.rs#L698-L737)
|
|
11
|
+
in the Prosopo [protocol](https://github.com/prosopo/protocol/) contract in order to interact with the Prosopo protocol.
|
|
12
|
+
You can complete Dapp registration by navigating to [polkadot-js apps](https://polkadot.js.org/apps/) and using the
|
|
13
|
+
contracts page.
|
|
8
14
|
|
|
9
15
|

|
|
10
16
|
|
|
11
17
|
## Usage
|
|
12
18
|
|
|
13
|
-
This repository can be imported into any JavaScript framework and used to create a CAPTCHA User Interface. See, for
|
|
19
|
+
This repository can be imported into any JavaScript framework and used to create a CAPTCHA User Interface. See, for
|
|
20
|
+
example, the [procaptcha-react](https://github.com/prosopo/procaptcha-react) repository.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@prosopo/procaptcha",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.15",
|
|
4
4
|
"author": "PROSOPO LIMITED <info@prosopo.io>",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -24,10 +24,10 @@
|
|
|
24
24
|
"@polkadot/types": "10.9.1",
|
|
25
25
|
"@polkadot/util": "12.3.2",
|
|
26
26
|
"@polkadot/util-crypto": "12.3.2",
|
|
27
|
-
"@prosopo/api": "^0.1.
|
|
28
|
-
"@prosopo/contract": "^0.1.
|
|
29
|
-
"@prosopo/types": "^0.1.
|
|
30
|
-
"@prosopo/common": "^0.1.
|
|
27
|
+
"@prosopo/api": "^0.1.15",
|
|
28
|
+
"@prosopo/contract": "^0.1.15",
|
|
29
|
+
"@prosopo/types": "^0.1.15",
|
|
30
|
+
"@prosopo/common": "^0.1.15",
|
|
31
31
|
"axios": "^0.27.2"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|