@supanovaapp/sdk 0.2.37 → 0.2.38

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.
@@ -47,8 +47,8 @@ export interface CantonContextValue {
47
47
  sendTransaction: (commands: unknown, disclosedContracts?: unknown, options?: CantonSubmitPreparedOptions) => Promise<CantonQueryCompletionResponseDto>;
48
48
  /** Send transfer to another party (defaults to Canton Coin / Amulet) */
49
49
  sendCantonCoin: (receiverPartyId: string, amount: string, memo?: string, options?: CantonSendCoinOptions) => Promise<CantonQueryCompletionResponseDto>;
50
- /** Calculate transfer fee in CC for current user party */
51
- calculateTransferFee: (instrumentId?: string, instrumentAdmin?: string) => Promise<CantonCalculateTransferFeeResponseDto>;
50
+ /** Calculate transfer fee in CC (optional partyId override, receiver recommended for transfers) */
51
+ calculateTransferFee: (instrumentId?: string, instrumentAdmin?: string, partyId?: string) => Promise<CantonCalculateTransferFeeResponseDto>;
52
52
  /** Setup transfer preapproval (internal, called automatically) */
53
53
  setupTransferPreapproval: () => Promise<void>;
54
54
  /** Get pending incoming transfers */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supanovaapp/sdk",
3
- "version": "0.2.37",
3
+ "version": "0.2.38",
4
4
  "description": "React SDK for Supa Backend + Privy.io integration with Canton Network and EVM Smart Wallets support",
5
5
  "main": "./dist/index.cjs.js",
6
6
  "module": "./dist/index.esm.js",