@zkproofport-app/sdk 0.2.8 → 0.2.10

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
@@ -197,6 +197,11 @@ export interface ProofRequest {
197
197
  dappName?: string;
198
198
  /** Optional: DApp icon URL displayed in mobile app UI */
199
199
  dappIcon?: string;
200
+ /**
201
+ * Optional: which app the ZKProofport app should bring back to the foreground
202
+ * once it has finished. Not a URL — see {@link ProofportSDK.createRelayRequest}.
203
+ */
204
+ returnScheme?: string;
200
205
  /** Unix timestamp (ms) when request was created */
201
206
  createdAt: number;
202
207
  /** Optional: Unix timestamp (ms) when request expires */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkproofport-app/sdk",
3
- "version": "0.2.8",
3
+ "version": "0.2.10",
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",