@zkproofport-app/sdk 0.2.10 → 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/README.md +52 -28
- package/dist/ProofportSDK.d.ts +22 -8
- package/dist/deeplink.d.ts +70 -0
- package/dist/index.esm.js +130 -16
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +130 -16
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +130 -16
- package/dist/index.mjs.map +1 -1
- package/dist/types.d.ts +6 -1
- package/package.json +1 -1
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
|
|
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.
|
|
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",
|