@zkproofport-app/sdk 0.2.4 → 0.2.6
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 +28 -7
- package/dist/constants.d.ts +17 -14
- package/dist/index.esm.js +23 -20
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +23 -20
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +23 -20
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +4 -4
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -75,21 +75,21 @@ export interface CoinbaseCountryInputs {
|
|
|
75
75
|
/**
|
|
76
76
|
* Input parameters for OIDC Domain attestation circuit.
|
|
77
77
|
*
|
|
78
|
-
* This circuit proves a user's email domain affiliation via
|
|
78
|
+
* This circuit proves a user's email domain affiliation via OIDC Sign-In
|
|
79
79
|
* without revealing the full email address. The mobile app handles
|
|
80
80
|
* authentication and proof generation entirely on-device.
|
|
81
81
|
*
|
|
82
82
|
* @property domain - Email domain to prove (e.g., "google.com", "company.com")
|
|
83
83
|
* @property scope - Application-specific identifier for proof uniqueness (e.g., dapp domain)
|
|
84
84
|
* @property provider - OIDC workspace provider name for organization membership verification.
|
|
85
|
-
* When set, the mobile app verifies the user's account is managed by the specified provider
|
|
86
|
-
* (
|
|
85
|
+
* When set, the mobile app verifies the user's account is managed by the specified provider.
|
|
86
|
+
* Supported: `'google'` (Google Workspace `hd` claim), `'microsoft'` (Microsoft 365 `tid` claim).
|
|
87
87
|
* Omit for general email domain verification without organization membership check.
|
|
88
88
|
*/
|
|
89
89
|
export interface OidcDomainInputs {
|
|
90
90
|
domain: string;
|
|
91
91
|
scope: string;
|
|
92
|
-
provider?:
|
|
92
|
+
provider?: 'google' | 'microsoft';
|
|
93
93
|
}
|
|
94
94
|
/**
|
|
95
95
|
* Empty input type for circuits that retrieve all data from the mobile app.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zkproofport-app/sdk",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.6",
|
|
4
4
|
"description": "ZKProofport SDK for requesting zero-knowledge proofs from the ZKProofport mobile app and verifying them on-chain",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.esm.js",
|