@umbra-privacy/sdk 3.0.0 → 4.0.0

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 CHANGED
@@ -26,20 +26,21 @@ var sha3_js = require('@noble/hashes/sha3.js');
26
26
  var umbraCodama = require('@umbra-privacy/umbra-codama');
27
27
 
28
28
  // src/umbra/constants.ts
29
- var UMBRA_MESSAGE_TO_SIGN = `Umbra Protocol – User Consent & Acknowledgement
29
+ var UMBRA_MESSAGE_TO_SIGN = `
30
+ Umbra Protocol – User Consent & Acknowledgement
30
31
 
31
32
  Please read carefully before continuing. Umbra is a non-custodial, open-source protocol. Umbra does not hold, control, manage, or access your digital assets, private keys, viewing keys, transactions, or personal data. All interactions with the Umbra protocol occur through autonomous smart contracts and wallet-signed transactions executed directly on the blockchain.
32
33
 
33
34
  By using the Umbra protocol, you acknowledge and agree that:
34
35
 
35
36
  1. You are solely responsible for managing your wallet, private keys, privacy settings, viewing key disclosures, and any transactions or interactions you authorize.
36
- 2. Blockchain transactions are generally irreversible, and smart contracts may contain bugs, vulnerabilities, or unintended behavior.
37
+ 2.Blockchain transactions are generally irreversible, and smart contracts may contain bugs, vulnerabilities, or unintended behavior.
37
38
  3. Errors, misuse, misconfiguration, third-party tools, relayers, or loss of keys may result in permanent and unrecoverable loss of assets or privacy.
38
39
  4. Privacy features are designed to enhance confidentiality but do not guarantee absolute or unconditional anonymity.
39
40
  5. Transactions may involve independent relayers or third-party infrastructure that Umbra does not operate, control, or supervise.
40
41
  6. By clicking "I Agree", you confirm that you have read, understood, and accepted all applicable terms, policies, risk disclosures, notices, and other documentation governing your access to and use of the Umbra protocol, as published or made available by Umbra from time to time.
41
-
42
- You acknowledge that such documentation may be updated or modified, and that continued access to or use of the Umbra Protocol constitutes acceptance of the then-current versions. If you do not agree, do not proceed and discontinue use of the Umbra protocol.`;
42
+ You acknowledge that such documentation may be updated or modified, and that continued access to or use of the Umbra Protocol constitutes acceptance of the then-current versions. If you do not agree, do not proceed and discontinue use of the Umbra protocol.
43
+ `;
43
44
  var FEE_OFFSETS = {
44
45
  /**
45
46
  * Offset used in `FeeVault` PDA derivation for the unified protocol fees pool.