@lifi/perps-sdk-provider-ondo 2.1.0 → 2.1.1

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.
@@ -443,7 +443,7 @@ class OndoWsProvider extends perps_sdk_1.WsProviderBase {
443
443
  this.emit(`candle:${kline.m}:${interval}`, {
444
444
  channel: 'candle',
445
445
  data: {
446
- t: kline.t * 1000,
446
+ t: kline.s * 1000,
447
447
  o: String(kline.o),
448
448
  h: String(kline.h),
449
449
  l: String(kline.l),
@@ -530,7 +530,7 @@ export class OndoWsProvider extends WsProviderBase {
530
530
  this.emit(`candle:${kline.m}:${interval}`, {
531
531
  channel: 'candle',
532
532
  data: {
533
- t: kline.t * 1000,
533
+ t: kline.s * 1000,
534
534
  o: String(kline.o),
535
535
  h: String(kline.h),
536
536
  l: String(kline.l),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/perps-sdk-provider-ondo",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Ondo Perps provider plugin for @lifi/perps-sdk",
5
5
  "homepage": "https://github.com/lifinance/perps-sdk",
6
6
  "bugs": {
@@ -43,10 +43,10 @@
43
43
  "dependencies": {
44
44
  "big.js": "^7.0.1",
45
45
  "viem": "^2.48.8",
46
- "@lifi/perps-types": "^3.0.0"
46
+ "@lifi/perps-types": "^3.1.0"
47
47
  },
48
48
  "peerDependencies": {
49
- "@lifi/perps-sdk": "^4.1.0"
49
+ "@lifi/perps-sdk": "^4.2.0"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
@@ -676,7 +676,7 @@ export class OndoWsProvider extends WsProviderBase<SubState> {
676
676
  this.emit(`candle:${kline.m}:${interval}`, {
677
677
  channel: 'candle',
678
678
  data: {
679
- t: kline.t * 1000,
679
+ t: kline.s * 1000,
680
680
  o: String(kline.o),
681
681
  h: String(kline.h),
682
682
  l: String(kline.l),