@zkproofport-app/sdk 0.2.9 → 0.2.11

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
@@ -199,7 +199,12 @@ export interface ProofRequest {
199
199
  dappIcon?: string;
200
200
  /**
201
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}.
202
+ * once it has finished — a bare custom scheme such as `mydapp://`.
203
+ *
204
+ * Not a URL, and an https origin is not accepted: opening one launches a new
205
+ * browser tab on a fresh page instead of returning the user to the tab they
206
+ * started from. A web requester therefore has nothing valid to put here and
207
+ * omits the field. See {@link ProofportSDK.createRelayRequest}.
203
208
  */
204
209
  returnScheme?: string;
205
210
  /** Unix timestamp (ms) when request was created */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zkproofport-app/sdk",
3
- "version": "0.2.9",
3
+ "version": "0.2.11",
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",