@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/transact/index.d.ts
CHANGED
|
@@ -167,7 +167,7 @@ interface StellarTransactEnvironment {
|
|
|
167
167
|
zkCircuits?: Record<string, StellarZkCircuitDefinition>;
|
|
168
168
|
/**
|
|
169
169
|
* Directory or HTTP prefix for graph / r1cs / proving-key files.
|
|
170
|
-
* Defaults to the
|
|
170
|
+
* Defaults to the CDN prefix baked into `@arcanetech/stellar-privacy-pool-zk-sdk`.
|
|
171
171
|
* Staging and local stands override this to serve files from disk.
|
|
172
172
|
*/
|
|
173
173
|
zkArtifactBaseUrl?: string;
|
package/dist/transact/index.js
CHANGED
|
@@ -702,8 +702,8 @@ function resolveZkConfigNonce(transactEnvironment) {
|
|
|
702
702
|
}
|
|
703
703
|
|
|
704
704
|
// src/transact/zk/browser-artifact-cache.ts
|
|
705
|
-
import {
|
|
706
|
-
var ZK_ARTIFACT_CACHE_NAME = `privacy-sdk-stellar-zk-artifacts:${
|
|
705
|
+
import { ZK_ARTIFACT_VERSION } from "@arcanetech/stellar-privacy-pool-zk-sdk";
|
|
706
|
+
var ZK_ARTIFACT_CACHE_NAME = `privacy-sdk-stellar-zk-artifacts:${ZK_ARTIFACT_VERSION}`;
|
|
707
707
|
function isBrowserCacheApiAvailable() {
|
|
708
708
|
return browserCacheStorage() !== void 0;
|
|
709
709
|
}
|