@celo/buy-identity 0.4.2 → 0.5.1

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/dist/types.d.ts CHANGED
@@ -35,8 +35,8 @@ export type VerificationRequest = {
35
35
  * Which Self hub to verify against: false = mainnet (real passports),
36
36
  * true = staging (mock passports), `'either'` = try both.
37
37
  *
38
- * `'either'` exists so one deployment can serve hackathon participants using
39
- * mock passports alongside real users, which a single verifier cannot do —
38
+ * `'either'` exists so one deployment can serve testers using mock
39
+ * passports alongside real users, which a single verifier cannot do —
40
40
  * see `verifyProof`.
41
41
  */
42
42
  mockPassport: boolean | 'either';
package/dist/verify.d.ts CHANGED
@@ -36,8 +36,8 @@ export declare function decodeUserDefinedData(hex: string | undefined): string |
36
36
  * `InvalidRoot: Onchain root does not exist`, an error about WHERE the root was
37
37
  * looked for, not about the proof being bad.
38
38
  *
39
- * Trying both is what lets one deployment serve hackathon participants with
40
- * mock passports and real users at the same time. It costs an extra hub read
39
+ * Trying both is what lets one deployment serve testers with mock
40
+ * passports and real users at the same time. It costs an extra hub read
41
41
  * only on the miss, and it is safe because the two cannot be confused: the
42
42
  * scope commitment is `hashEndpointWithScope(endpoint, scope)` — endpointType
43
43
  * is NOT in it — so a proof that validates against a hub validates for this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@celo/buy-identity",
3
- "version": "0.4.2",
3
+ "version": "0.5.1",
4
4
  "description": "buy identity — Self.xyz soft-KYC integration (off-chain proof verification + attestation cache)",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
@@ -18,7 +18,7 @@
18
18
  ],
19
19
  "dependencies": {
20
20
  "qrcode-terminal": "^0.12.0",
21
- "@celo/buy-keystore": "0.4.2"
21
+ "@celo/buy-keystore": "0.5.1"
22
22
  },
23
23
  "devDependencies": {
24
24
  "@selfxyz/core": "1.1.0-beta.7",