@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 +1 -1
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/types/api.d.ts +2 -2
- package/dist/esm/version.d.ts +1 -1
- package/dist/esm/version.js +1 -1
- package/dist/types/types/api.d.ts +2 -2
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
- package/src/types/api.ts +2 -2
- package/src/version.ts +1 -1
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
|
|
40
|
+
SDK sends it as an assertion only when your `apiKey` is non-empty.
|
|
41
41
|
|
|
42
42
|
## Quick start
|
|
43
43
|
|
package/dist/cjs/version.d.ts
CHANGED
package/dist/cjs/version.js
CHANGED
package/dist/esm/types/api.d.ts
CHANGED
|
@@ -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
|
|
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
|
|
78
|
+
* `apiKey` is non-empty. The backend rejects an integrator that disagrees
|
|
79
79
|
* with the key.
|
|
80
80
|
*/
|
|
81
81
|
integrator?: string;
|
package/dist/esm/version.d.ts
CHANGED
package/dist/esm/version.js
CHANGED
|
@@ -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
|
|
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
|
|
78
|
+
* `apiKey` is non-empty. The backend rejects an integrator that disagrees
|
|
79
79
|
* with the key.
|
|
80
80
|
*/
|
|
81
81
|
integrator?: string;
|
package/dist/types/version.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lifi/perps-sdk",
|
|
3
|
-
"version": "0.0.0-preview-
|
|
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": "^
|
|
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
|
|
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
|
|
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