@fairblock/stabletrust 2.0.16 → 2.0.17
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/package.json +2 -2
- package/src/ibe.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fairblock/stabletrust",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.17",
|
|
4
4
|
"description": "SDK for confidential transfers using homomorphic encryption and zero-knowledge proofs",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"types": "src/withdrawal-fees.d.ts",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"@noble/bls12-381": "^1.4.0",
|
|
48
48
|
"@noble/hashes": "^1.3.2",
|
|
49
49
|
"@stablelib/chacha20poly1305": "^1.0.1",
|
|
50
|
-
"axios": "^1.
|
|
50
|
+
"axios": "^1.20.0",
|
|
51
51
|
"dotenv": "^17.2.3",
|
|
52
52
|
"ethers": "^6.17.0"
|
|
53
53
|
},
|
package/src/ibe.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { timelockEncrypt } from "./vendor/ts-ibe/index.js";
|
|
2
2
|
|
|
3
3
|
const IBE_PUBKEY_URL =
|
|
4
|
-
"https://
|
|
4
|
+
"https://api-mainnet.fairblock.network/fairyring/keyshare/pubkey";
|
|
5
5
|
|
|
6
6
|
// Bound the IBE public-key fetch. Without this, a slow or hung endpoint (a
|
|
7
7
|
// socket that accepts the connection but never responds) would block the fetch
|