@thesingularitynetwork/darkswap-sdk 0.2.3 → 0.2.6

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.
@@ -74,6 +74,8 @@ export declare class BridgeCreateOrderService {
74
74
  protected _darkSwapOfSourceChain: DarkSwap;
75
75
  protected _darkSwapOfDestChain: DarkSwap;
76
76
  constructor(_darkSwapOfSourceChain: DarkSwap, _darkSwapOfDestChain: DarkSwap);
77
+ private getCanonicalTokenAddress;
78
+ private getBridgeFee;
77
79
  prepare(address: string, sourceChainId: number, sourceAsset: string, sourceAmount: bigint, canonicalId: string, bridgeFee: bigint, destChainId: number, depositAsset: string, depositAmount: bigint, swapInAsset: string, swapInAmount: bigint, signature: string): Promise<{
78
80
  context: BridgeCreateOrderContext;
79
81
  swapMessage: DarkSwapMessage;
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
7
- "version": "0.2.3",
7
+ "version": "0.2.6",
8
8
  "description": "DarkSwap SDK for browser and Node.js",
9
9
  "main": "dist/index.js",
10
10
  "typings": "dist/index.d.ts",