@sip-protocol/sdk 0.6.3 → 0.6.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/browser.js +3 -1
- package/dist/browser.mjs +1 -1
- package/dist/chunk-H5W3IPDU.mjs +17028 -0
- package/dist/index.js +3 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/sip.ts +2 -0
package/dist/index.js
CHANGED
|
@@ -6669,7 +6669,9 @@ var SIP = class {
|
|
|
6669
6669
|
async createIntent(params) {
|
|
6670
6670
|
const intent = await createShieldedIntent(params, {
|
|
6671
6671
|
senderAddress: this.wallet?.address,
|
|
6672
|
-
proofProvider: this.proofProvider
|
|
6672
|
+
proofProvider: this.proofProvider,
|
|
6673
|
+
// Allow placeholder signatures in demo mode for development/testing
|
|
6674
|
+
allowPlaceholders: this.config.mode === "demo"
|
|
6673
6675
|
});
|
|
6674
6676
|
return trackIntent(intent);
|
|
6675
6677
|
}
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sip-protocol/sdk",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.4",
|
|
4
4
|
"description": "Core SDK for Shielded Intents Protocol - Privacy layer for cross-chain transactions",
|
|
5
5
|
"author": "SIP Protocol <hello@sip-protocol.org>",
|
|
6
6
|
"homepage": "https://sip-protocol.org",
|
package/src/sip.ts
CHANGED
|
@@ -607,6 +607,8 @@ export class SIP {
|
|
|
607
607
|
const intent = await createShieldedIntent(params, {
|
|
608
608
|
senderAddress: this.wallet?.address,
|
|
609
609
|
proofProvider: this.proofProvider,
|
|
610
|
+
// Allow placeholder signatures in demo mode for development/testing
|
|
611
|
+
allowPlaceholders: this.config.mode === 'demo',
|
|
610
612
|
})
|
|
611
613
|
return trackIntent(intent)
|
|
612
614
|
}
|