@cloak.dev/sdk 0.1.6 → 0.1.7
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/index.cjs +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3806,7 +3806,7 @@ function chainNoteFromBase64(base64) {
|
|
|
3806
3806
|
var import_circomlibjs4 = require("circomlibjs");
|
|
3807
3807
|
var import_tweetnacl4 = __toESM(require("tweetnacl"), 1);
|
|
3808
3808
|
var IS_BROWSER = typeof window !== "undefined" || typeof globalThis.document !== "undefined";
|
|
3809
|
-
var DEFAULT_TRANSACTION_CIRCUITS_URL = "https://
|
|
3809
|
+
var DEFAULT_TRANSACTION_CIRCUITS_URL = "https://storage.googleapis.com/cloak-circuits/circuits/0.1.0";
|
|
3810
3810
|
var DEFAULT_CLOAK_RELAY_URL = "https://api.cloak.ag";
|
|
3811
3811
|
function resolveDefaultTransactionCircuitsPath() {
|
|
3812
3812
|
return DEFAULT_TRANSACTION_CIRCUITS_URL;
|
package/dist/index.d.cts
CHANGED
|
@@ -1860,7 +1860,7 @@ declare function preflightCheck(relayUrl: string, rootHex: string): Promise<{
|
|
|
1860
1860
|
* - partialWithdraw(): Withdraw with change
|
|
1861
1861
|
*/
|
|
1862
1862
|
|
|
1863
|
-
declare const DEFAULT_TRANSACTION_CIRCUITS_URL = "https://
|
|
1863
|
+
declare const DEFAULT_TRANSACTION_CIRCUITS_URL = "https://storage.googleapis.com/cloak-circuits/circuits/0.1.0";
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Set circuits base path: local directory containing `transaction_js/` and `transaction_final.zkey`,
|
|
1866
1866
|
* or an `http(s)` base URL to those artifacts (Node will download once per process to a temp dir).
|
package/dist/index.d.ts
CHANGED
|
@@ -1860,7 +1860,7 @@ declare function preflightCheck(relayUrl: string, rootHex: string): Promise<{
|
|
|
1860
1860
|
* - partialWithdraw(): Withdraw with change
|
|
1861
1861
|
*/
|
|
1862
1862
|
|
|
1863
|
-
declare const DEFAULT_TRANSACTION_CIRCUITS_URL = "https://
|
|
1863
|
+
declare const DEFAULT_TRANSACTION_CIRCUITS_URL = "https://storage.googleapis.com/cloak-circuits/circuits/0.1.0";
|
|
1864
1864
|
/**
|
|
1865
1865
|
* Set circuits base path: local directory containing `transaction_js/` and `transaction_final.zkey`,
|
|
1866
1866
|
* or an `http(s)` base URL to those artifacts (Node will download once per process to a temp dir).
|
package/dist/index.js
CHANGED
|
@@ -3403,7 +3403,7 @@ function chainNoteFromBase64(base64) {
|
|
|
3403
3403
|
import { buildPoseidon as buildPoseidon3 } from "circomlibjs";
|
|
3404
3404
|
import nacl4 from "tweetnacl";
|
|
3405
3405
|
var IS_BROWSER = typeof window !== "undefined" || typeof globalThis.document !== "undefined";
|
|
3406
|
-
var DEFAULT_TRANSACTION_CIRCUITS_URL = "https://
|
|
3406
|
+
var DEFAULT_TRANSACTION_CIRCUITS_URL = "https://storage.googleapis.com/cloak-circuits/circuits/0.1.0";
|
|
3407
3407
|
var DEFAULT_CLOAK_RELAY_URL = "https://api.cloak.ag";
|
|
3408
3408
|
function resolveDefaultTransactionCircuitsPath() {
|
|
3409
3409
|
return DEFAULT_TRANSACTION_CIRCUITS_URL;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloak.dev/sdk",
|
|
3
3
|
"description": "Shield, send, and swap on Solana privately — TypeScript SDK with UTXO-based zero-knowledge transactions",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.7",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|