@zkpassport/sdk 0.8.6 → 0.8.8
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/cjs/index.cjs +1887 -367
- package/dist/cjs/index.d.cts +3 -1
- package/dist/esm/index.d.ts +3 -1
- package/dist/esm/index.js +1887 -367
- package/package.json +2 -2
package/dist/cjs/index.d.cts
CHANGED
|
@@ -226,16 +226,18 @@ declare class ZKPassport {
|
|
|
226
226
|
* @param logo The logo of your service
|
|
227
227
|
* @param purpose To explain what you want to do with the user's data
|
|
228
228
|
* @param scope Scope this request to a specific use case
|
|
229
|
+
* @param projectID The project ID of your service
|
|
229
230
|
* @param validity How many seconds ago the proof checking the expiry date of the ID should have been generated
|
|
230
231
|
* @param devMode Whether to enable dev mode. This will allow you to verify mock proofs (i.e. from ZKR)
|
|
231
232
|
* @returns The query builder object.
|
|
232
233
|
*/
|
|
233
|
-
request({ name, logo, purpose, scope, mode, validity, devMode, topicOverride, keyPairOverride, cloudProverUrl, bridgeUrl, }: {
|
|
234
|
+
request({ name, logo, purpose, scope, projectID, mode, validity, devMode, topicOverride, keyPairOverride, cloudProverUrl, bridgeUrl, }: {
|
|
234
235
|
name: string;
|
|
235
236
|
logo: string;
|
|
236
237
|
purpose: string;
|
|
237
238
|
scope?: string;
|
|
238
239
|
mode?: ProofMode;
|
|
240
|
+
projectID?: string;
|
|
239
241
|
validity?: number;
|
|
240
242
|
devMode?: boolean;
|
|
241
243
|
topicOverride?: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -226,16 +226,18 @@ declare class ZKPassport {
|
|
|
226
226
|
* @param logo The logo of your service
|
|
227
227
|
* @param purpose To explain what you want to do with the user's data
|
|
228
228
|
* @param scope Scope this request to a specific use case
|
|
229
|
+
* @param projectID The project ID of your service
|
|
229
230
|
* @param validity How many seconds ago the proof checking the expiry date of the ID should have been generated
|
|
230
231
|
* @param devMode Whether to enable dev mode. This will allow you to verify mock proofs (i.e. from ZKR)
|
|
231
232
|
* @returns The query builder object.
|
|
232
233
|
*/
|
|
233
|
-
request({ name, logo, purpose, scope, mode, validity, devMode, topicOverride, keyPairOverride, cloudProverUrl, bridgeUrl, }: {
|
|
234
|
+
request({ name, logo, purpose, scope, projectID, mode, validity, devMode, topicOverride, keyPairOverride, cloudProverUrl, bridgeUrl, }: {
|
|
234
235
|
name: string;
|
|
235
236
|
logo: string;
|
|
236
237
|
purpose: string;
|
|
237
238
|
scope?: string;
|
|
238
239
|
mode?: ProofMode;
|
|
240
|
+
projectID?: string;
|
|
239
241
|
validity?: number;
|
|
240
242
|
devMode?: boolean;
|
|
241
243
|
topicOverride?: string;
|