@gainsnetwork/sdk 1.0.2-rc3 → 1.0.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.
@@ -119,7 +119,7 @@ const convertTradingPair = (pair, index) => ({
119
119
  pairIndex: index,
120
120
  feeIndex: parseInt(pair.feeIndex),
121
121
  groupIndex: parseInt(pair.groupIndex),
122
- spreadP: parseFloat(pair.spreadP) / 1e10 / 100,
122
+ spreadP: parseFloat(pair.spreadP) / 1e10,
123
123
  });
124
124
  const convertTradesAndLimitOrders = (allItems, collaterals) => allItems === null || allItems === void 0 ? void 0 : allItems.map(item => {
125
125
  return (0, exports.convertTradeContainer)(item, collaterals);
@@ -111,7 +111,7 @@
111
111
  "gToken": "0x0000000000000000000000000000000000000000"
112
112
  },
113
113
  "BTCUSD": {
114
- "gTokenOpenPnlFeed": "0xA22F7b92d81Dd74bE5ca5758DF3FccF0A4CB19cc",
114
+ "gTokenOpenPnlFeed": "0xcEc10C66d711250db67945254F79628457365CC8",
115
115
  "gToken": "0xB7Cb7cB7C3cD96e251c9bF8800B9631134BbAdc6"
116
116
  }
117
117
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gainsnetwork/sdk",
3
- "version": "1.0.2-rc3",
3
+ "version": "1.0.4",
4
4
  "description": "Gains Network SDK",
5
5
  "main": "./lib/index.js",
6
6
  "files": [