diff options
| -rw-r--r-- | 100.md | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -468,7 +468,7 @@ Android intents and browsers url has limitations, so if you are using the return | |||
| 468 | - params: | 468 | - params: |
| 469 | 469 | ||
| 470 | ```js | 470 | ```js |
| 471 | const intent = `intent:${encryptedText}#Intent;scheme=nostrsigner;S.pubKey=${hex_pub_key};S.compressionType=none;S.returnType=signature;S.type=nip44_encrypt;S.callbackUrl=https://example.com/?event=;end`; | 471 | const intent = `intent:${encryptedText}#Intent;scheme=nostrsigner;S.pubKey=${hex_pub_key};S.compressionType=none;S.returnType=signature;S.type=nip04_decrypt;S.callbackUrl=https://example.com/?event=;end`; |
| 472 | 472 | ||
| 473 | window.href = intent; | 473 | window.href = intent; |
| 474 | ``` | 474 | ``` |