@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/README.md +492 -154
- package/dist/ProofportSDK.d.ts +24 -3
- package/dist/deeplink.d.ts +16 -0
- package/dist/index.esm.js +97 -3
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +97 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +97 -3
- 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
|
@@ -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.
|
|
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",
|