@cloak.dev/sdk 0.2.3-staging.fdea6cd → 0.2.4
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 +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1436,7 +1436,7 @@ function parseStrictViewingKeyChallenge(response, userPubkey, viewingKeyHex) {
|
|
|
1436
1436
|
|
|
1437
1437
|
// src/config/relay.ts
|
|
1438
1438
|
var CLOAK_PRODUCTION_RELAY_URL = "https://api.cloak.ag";
|
|
1439
|
-
var RELAY_ORIGIN_ALLOWLIST = [
|
|
1439
|
+
var RELAY_ORIGIN_ALLOWLIST = [CLOAK_PRODUCTION_RELAY_URL];
|
|
1440
1440
|
var ABSOLUTE_URL = /^[a-z][a-z0-9+.-]*:\/\//i;
|
|
1441
1441
|
var LOOPBACK_IPV4 = /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
|
|
1442
1442
|
var THIS_NETWORK_IPV4 = /^0\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
|
|
@@ -12903,7 +12903,7 @@ async function withShieldRetries(attempt, hooks = {}) {
|
|
|
12903
12903
|
}
|
|
12904
12904
|
|
|
12905
12905
|
// src/index.ts
|
|
12906
|
-
var VERSION = "0.2.
|
|
12906
|
+
var VERSION = "0.2.4";
|
|
12907
12907
|
var SCANNER_SUPPORTS_TRANSACT_SWAP = true;
|
|
12908
12908
|
// Annotate the CommonJS export names for ESM import in node:
|
|
12909
12909
|
0 && (module.exports = {
|
package/dist/index.d.cts
CHANGED
|
@@ -5631,7 +5631,7 @@ declare function withShieldRetries<T>(attempt: (attemptNo: number) => Promise<T>
|
|
|
5631
5631
|
* @packageDocumentation
|
|
5632
5632
|
*/
|
|
5633
5633
|
|
|
5634
|
-
declare const VERSION = "0.2.
|
|
5634
|
+
declare const VERSION = "0.2.4";
|
|
5635
5635
|
/** True when scanner supports TransactSwap (tag 1). Check this to verify the correct SDK bundle is loaded. */
|
|
5636
5636
|
declare const SCANNER_SUPPORTS_TRANSACT_SWAP = true;
|
|
5637
5637
|
|
package/dist/index.d.ts
CHANGED
|
@@ -5631,7 +5631,7 @@ declare function withShieldRetries<T>(attempt: (attemptNo: number) => Promise<T>
|
|
|
5631
5631
|
* @packageDocumentation
|
|
5632
5632
|
*/
|
|
5633
5633
|
|
|
5634
|
-
declare const VERSION = "0.2.
|
|
5634
|
+
declare const VERSION = "0.2.4";
|
|
5635
5635
|
/** True when scanner supports TransactSwap (tag 1). Check this to verify the correct SDK bundle is loaded. */
|
|
5636
5636
|
declare const SCANNER_SUPPORTS_TRANSACT_SWAP = true;
|
|
5637
5637
|
|
package/dist/index.js
CHANGED
|
@@ -621,7 +621,7 @@ function parseStrictViewingKeyChallenge(response, userPubkey, viewingKeyHex) {
|
|
|
621
621
|
|
|
622
622
|
// src/config/relay.ts
|
|
623
623
|
var CLOAK_PRODUCTION_RELAY_URL = "https://api.cloak.ag";
|
|
624
|
-
var RELAY_ORIGIN_ALLOWLIST = [
|
|
624
|
+
var RELAY_ORIGIN_ALLOWLIST = [CLOAK_PRODUCTION_RELAY_URL];
|
|
625
625
|
var ABSOLUTE_URL = /^[a-z][a-z0-9+.-]*:\/\//i;
|
|
626
626
|
var LOOPBACK_IPV4 = /^127\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
|
|
627
627
|
var THIS_NETWORK_IPV4 = /^0\.\d{1,3}\.\d{1,3}\.\d{1,3}$/;
|
|
@@ -12104,7 +12104,7 @@ async function withShieldRetries(attempt, hooks = {}) {
|
|
|
12104
12104
|
}
|
|
12105
12105
|
|
|
12106
12106
|
// src/index.ts
|
|
12107
|
-
var VERSION = "0.2.
|
|
12107
|
+
var VERSION = "0.2.4";
|
|
12108
12108
|
var SCANNER_SUPPORTS_TRANSACT_SWAP = true;
|
|
12109
12109
|
export {
|
|
12110
12110
|
BRIDGE_ESCROW_LABEL,
|
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.2.
|
|
4
|
+
"version": "0.2.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs",
|
|
7
7
|
"module": "dist/index.js",
|