@lifi/perps-sdk 0.0.0-preview-d0c0a79 → 0.0.0-preview-3a40a77

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
@@ -37,7 +37,7 @@ pnpm add @lifi/perps-sdk @lifi/perps-sdk-provider-hyperliquid
37
37
  anonymous requests. The `develop.li.quest` and `staging.li.quest` hosts require
38
38
  a key. Get a key from the [LI.FI Partner Portal](https://portal.li.fi/); it
39
39
  identifies your integration to the backend. `integrator` is optional too: the
40
- SDK sends it as an assertion only when you also set `apiKey`.
40
+ SDK sends it as an assertion only when your `apiKey` is non-empty.
41
41
 
42
42
  ## Quick start
43
43
 
@@ -1,3 +1,3 @@
1
1
  export declare const name = "@lifi/perps-sdk";
2
- export declare const version = "0.0.0-preview-d0c0a79";
2
+ export declare const version = "0.0.0-preview-3a40a77";
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 = '0.0.0-preview-d0c0a79';
5
+ exports.version = '0.0.0-preview-3a40a77';
6
6
  //# sourceMappingURL=version.js.map
@@ -11,7 +11,7 @@ import type { PerpsProviderPlugin } from './provider.js';
11
11
  export interface PerpsConfig {
12
12
  /**
13
13
  * Optional integrator assertion. Sent as `x-lifi-integrator` only when
14
- * `apiKey` is also set. The backend rejects an integrator that disagrees
14
+ * `apiKey` is non-empty. The backend rejects an integrator that disagrees
15
15
  * with the key.
16
16
  */
17
17
  integrator?: string;
@@ -75,7 +75,7 @@ export interface PerpsConfig {
75
75
  export interface PerpsClientOptions {
76
76
  /**
77
77
  * Optional integrator assertion. Sent as `x-lifi-integrator` only when
78
- * `apiKey` is also set. The backend rejects an integrator that disagrees
78
+ * `apiKey` is non-empty. The backend rejects an integrator that disagrees
79
79
  * with the key.
80
80
  */
81
81
  integrator?: string;
@@ -9,5 +9,5 @@ export declare const name = "@lifi/perps-sdk";
9
9
  *
10
10
  * @public
11
11
  */
12
- export declare const version = "0.0.0-preview-d0c0a79";
12
+ export declare const version = "0.0.0-preview-3a40a77";
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 = '0.0.0-preview-d0c0a79';
12
+ export const version = '0.0.0-preview-3a40a77';
13
13
  //# sourceMappingURL=version.js.map
@@ -11,7 +11,7 @@ import type { PerpsProviderPlugin } from './provider.js';
11
11
  export interface PerpsConfig {
12
12
  /**
13
13
  * Optional integrator assertion. Sent as `x-lifi-integrator` only when
14
- * `apiKey` is also set. The backend rejects an integrator that disagrees
14
+ * `apiKey` is non-empty. The backend rejects an integrator that disagrees
15
15
  * with the key.
16
16
  */
17
17
  integrator?: string;
@@ -75,7 +75,7 @@ export interface PerpsConfig {
75
75
  export interface PerpsClientOptions {
76
76
  /**
77
77
  * Optional integrator assertion. Sent as `x-lifi-integrator` only when
78
- * `apiKey` is also set. The backend rejects an integrator that disagrees
78
+ * `apiKey` is non-empty. The backend rejects an integrator that disagrees
79
79
  * with the key.
80
80
  */
81
81
  integrator?: string;
@@ -9,5 +9,5 @@ export declare const name = "@lifi/perps-sdk";
9
9
  *
10
10
  * @public
11
11
  */
12
- export declare const version = "0.0.0-preview-d0c0a79";
12
+ export declare const version = "0.0.0-preview-3a40a77";
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": "0.0.0-preview-d0c0a79",
3
+ "version": "0.0.0-preview-3a40a77",
4
4
  "description": "LI.FI Perps SDK for perpetuals trading",
5
5
  "homepage": "https://github.com/lifinance/perps-sdk",
6
6
  "bugs": {
@@ -46,7 +46,7 @@
46
46
  "big.js": "^7.0.1",
47
47
  "partysocket": "^1.1.19",
48
48
  "viem": "^2.55.18",
49
- "@lifi/perps-types": "^11.5.0"
49
+ "@lifi/perps-types": "^0.0.0-preview-3a40a77"
50
50
  },
51
51
  "publishConfig": {
52
52
  "access": "public"
package/src/types/api.ts CHANGED
@@ -37,7 +37,7 @@ import type { PerpsProviderPlugin } from './provider.js'
37
37
  export interface PerpsConfig {
38
38
  /**
39
39
  * Optional integrator assertion. Sent as `x-lifi-integrator` only when
40
- * `apiKey` is also set. The backend rejects an integrator that disagrees
40
+ * `apiKey` is non-empty. The backend rejects an integrator that disagrees
41
41
  * with the key.
42
42
  */
43
43
  integrator?: string
@@ -102,7 +102,7 @@ export interface PerpsConfig {
102
102
  export interface PerpsClientOptions {
103
103
  /**
104
104
  * Optional integrator assertion. Sent as `x-lifi-integrator` only when
105
- * `apiKey` is also set. The backend rejects an integrator that disagrees
105
+ * `apiKey` is non-empty. The backend rejects an integrator that disagrees
106
106
  * with the key.
107
107
  */
108
108
  integrator?: string
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 = '0.0.0-preview-d0c0a79'
13
+ export const version = '0.0.0-preview-3a40a77'