@arcanetech/privacy-sdk-stellar 0.5.0 → 0.5.1
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 +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/node.d.ts +1 -1
- package/dist/node.js +2 -2
- package/dist/node.js.map +1 -1
- package/dist/transact/index.d.ts +1 -1
- package/dist/transact/index.js +2 -2
- package/dist/transact/index.js.map +1 -1
- package/package.json +2 -2
package/dist/node.d.ts
CHANGED
|
@@ -210,7 +210,7 @@ interface StellarTransactEnvironment {
|
|
|
210
210
|
zkCircuits?: Record<string, StellarZkCircuitDefinition>;
|
|
211
211
|
/**
|
|
212
212
|
* Directory or HTTP prefix for graph / r1cs / proving-key files.
|
|
213
|
-
* Defaults to the
|
|
213
|
+
* Defaults to the CDN prefix baked into `@arcanetech/stellar-privacy-pool-zk-sdk`.
|
|
214
214
|
* Staging and local stands override this to serve files from disk.
|
|
215
215
|
*/
|
|
216
216
|
zkArtifactBaseUrl?: string;
|
package/dist/node.js
CHANGED
|
@@ -1149,8 +1149,8 @@ function resolveZkConfigNonce(transactEnvironment) {
|
|
|
1149
1149
|
}
|
|
1150
1150
|
|
|
1151
1151
|
// src/transact/zk/browser-artifact-cache.ts
|
|
1152
|
-
import {
|
|
1153
|
-
var ZK_ARTIFACT_CACHE_NAME = `privacy-sdk-stellar-zk-artifacts:${
|
|
1152
|
+
import { ZK_ARTIFACT_VERSION } from "@arcanetech/stellar-privacy-pool-zk-sdk";
|
|
1153
|
+
var ZK_ARTIFACT_CACHE_NAME = `privacy-sdk-stellar-zk-artifacts:${ZK_ARTIFACT_VERSION}`;
|
|
1154
1154
|
function isBrowserCacheApiAvailable() {
|
|
1155
1155
|
return browserCacheStorage() !== void 0;
|
|
1156
1156
|
}
|