@zkproofport-app/sdk 0.2.3 → 0.2.4
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 +31 -5
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +5 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -81,10 +81,15 @@ export interface CoinbaseCountryInputs {
|
|
|
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
|
+
* @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
|
+
* (e.g., Google Workspace `hd` claim). Currently supported: `'google'`.
|
|
87
|
+
* Omit for general email domain verification without organization membership check.
|
|
84
88
|
*/
|
|
85
89
|
export interface OidcDomainInputs {
|
|
86
90
|
domain: string;
|
|
87
91
|
scope: string;
|
|
92
|
+
provider?: string;
|
|
88
93
|
}
|
|
89
94
|
/**
|
|
90
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.4",
|
|
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",
|