@lifi/perps-sdk 33.2.0 → 34.0.0

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/README.md CHANGED
@@ -121,6 +121,9 @@ settled funding history of one market, oldest point first. Pick `range` from
121
121
 
122
122
  - Each rate is a signed fraction for one hour, the unit of
123
123
  `MarketContext.funding.rate`. A positive rate means that the long pays.
124
+ - A window with no settled rate has no key in `rate`. The rate is absent,
125
+ not `null` and not zero. A measured zero rate is a decimal string, for
126
+ example `'0'`. Code that reads a window rate must handle `undefined`.
124
127
  - An average does not include the open hour. The live rate of the open hour
125
128
  stays in `MarketContext.funding`.
126
129
  - `coveredFrom` is the first settled funding. A window that starts before it
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@lifi/perps-sdk";
2
- export declare const version = "33.2.0";
2
+ export declare const version = "34.0.0";
3
3
  //# sourceMappingURL=version.d.ts.map
@@ -2,5 +2,5 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = exports.name = void 0;
4
4
  exports.name = '@lifi/perps-sdk';
5
- exports.version = '33.2.0';
5
+ exports.version = '34.0.0';
6
6
  //# sourceMappingURL=version.js.map
@@ -9,5 +9,5 @@ export declare const name = "@lifi/perps-sdk";
9
9
  *
10
10
  * @public
11
11
  */
12
- export declare const version = "33.2.0";
12
+ export declare const version = "34.0.0";
13
13
  //# sourceMappingURL=version.d.ts.map
@@ -9,5 +9,5 @@ export const name = '@lifi/perps-sdk';
9
9
  *
10
10
  * @public
11
11
  */
12
- export const version = '33.2.0';
12
+ export const version = '34.0.0';
13
13
  //# sourceMappingURL=version.js.map
@@ -9,5 +9,5 @@ export declare const name = "@lifi/perps-sdk";
9
9
  *
10
10
  * @public
11
11
  */
12
- export declare const version = "33.2.0";
12
+ export declare const version = "34.0.0";
13
13
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lifi/perps-sdk",
3
- "version": "33.2.0",
3
+ "version": "34.0.0",
4
4
  "description": "LI.FI Perps SDK for perpetuals trading",
5
5
  "homepage": "https://github.com/lifinance/perps-sdk",
6
6
  "bugs": {
@@ -45,7 +45,7 @@
45
45
  "@lifi/types": "^18.3.0",
46
46
  "big.js": "^7.0.1",
47
47
  "partysocket": "^1.1.19",
48
- "@lifi/perps-types": "^29.1.0"
48
+ "@lifi/perps-types": "^30.0.0"
49
49
  },
50
50
  "peerDependencies": {
51
51
  "viem": ">=2.57.11 <2.57.12"
package/src/version.ts CHANGED
@@ -10,4 +10,4 @@ export const name = '@lifi/perps-sdk'
10
10
  *
11
11
  * @public
12
12
  */
13
- export const version = '33.2.0'
13
+ export const version = '34.0.0'