@lifi/types 17.83.0-alpha.1 → 17.83.0-alpha.2
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/package.json +1 -1
- package/src/_cjs/step.js.map +1 -1
- package/src/_esm/step.js.map +1 -1
- package/src/_types/step.d.ts +27 -36
- package/src/_types/step.d.ts.map +1 -1
- package/src/step.ts +35 -36
package/package.json
CHANGED
package/src/_cjs/step.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.js","sourceRoot":"","sources":["../step.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../step.ts"],"names":[],"mappings":";;;AA6OA,gCAEC;AAED,kCAEC;AAED,wCAEC;AAED,oCAEC;AAhHY,QAAA,SAAS,GAAG;IACvB,MAAM;IACN,MAAM;IACN,OAAO;IACP,UAAU;IACV,QAAQ;CACA,CAAA;AA4FV,SAAgB,UAAU,CAAC,IAAU;IACnC,OAAO,IAAI,CAAC,IAAI,KAAK,MAAM,CAAA;AAC7B,CAAC;AAED,SAAgB,WAAW,CAAC,IAAU;IACpC,OAAO,IAAI,CAAC,IAAI,KAAK,OAAO,CAAA;AAC9B,CAAC;AAED,SAAgB,cAAc,CAAC,IAAU;IACvC,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAA;AACjC,CAAC;AAED,SAAgB,YAAY,CAAC,IAAU;IACrC,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAA;AAC/B,CAAC"}
|
package/src/_esm/step.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.js","sourceRoot":"","sources":["../step.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"step.js","sourceRoot":"","sources":["../step.ts"],"names":[],"mappings":"AA0IA,OAAO;AACP,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,MAAM;IACN,MAAM;IACN,OAAO;IACP,UAAU;IACV,QAAQ;CACA,CAAA;AA4FV,MAAM,UAAU,UAAU,CAAC,IAAU;IACnC,OAAO,IAAI,CAAC,IAAI,KAAK,MAAM,CAAA;AAC7B,CAAC;AAED,MAAM,UAAU,WAAW,CAAC,IAAU;IACpC,OAAO,IAAI,CAAC,IAAI,KAAK,OAAO,CAAA;AAC9B,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,IAAU;IACvC,OAAO,IAAI,CAAC,IAAI,KAAK,UAAU,CAAA;AACjC,CAAC;AAED,MAAM,UAAU,YAAY,CAAC,IAAU;IACrC,OAAO,IAAI,CAAC,IAAI,KAAK,QAAQ,CAAA;AAC/B,CAAC"}
|
package/src/_types/step.d.ts
CHANGED
|
@@ -18,8 +18,7 @@ import type { Token } from './tokens/index.js';
|
|
|
18
18
|
*/
|
|
19
19
|
export type FeeSplitType = 'FIXED' | 'SHARED' | 'DYNAMIC' | 'INTERMEDIARY' | 'DISTRIBUTION';
|
|
20
20
|
export interface FeeRecipient {
|
|
21
|
-
/**
|
|
22
|
-
* Recipient identifier. Polymorphic — interpret in conjunction with `type`:
|
|
21
|
+
/** Recipient identifier. Polymorphic — interpret in conjunction with `type`:
|
|
23
22
|
* - `'lifi'` for the LI.FI platform recipient,
|
|
24
23
|
* - the integrator id (e.g. `'jumper'`) for the integrator recipient,
|
|
25
24
|
* - the intermediary id (e.g. `'mesh'`) when `type === 'INTERMEDIARY'`,
|
|
@@ -27,20 +26,38 @@ export interface FeeRecipient {
|
|
|
27
26
|
*
|
|
28
27
|
* Do not display this value directly in user-facing UI without
|
|
29
28
|
* `type`-aware formatting — for `DISTRIBUTION` rows the value is a
|
|
30
|
-
* raw hex address.
|
|
31
|
-
*/
|
|
29
|
+
* raw hex address. */
|
|
32
30
|
name: string;
|
|
33
|
-
/** Absolute fee amount, in source token base units (string-encoded). */
|
|
31
|
+
/** Absolute fee amount, a big number in source token base units (string-encoded). */
|
|
34
32
|
fee: string;
|
|
35
|
-
/**
|
|
36
|
-
* Fee calculation type. Absent when not statically determinable (e.g.
|
|
33
|
+
/** Fee calculation type. Absent when not statically determinable (e.g.
|
|
37
34
|
* an integrator entry whose `feeType` could not be resolved from the
|
|
38
|
-
* matching planned fee cost). Consumers should null-check before reading.
|
|
39
|
-
*/
|
|
35
|
+
* matching planned fee cost). Consumers should null-check before reading. */
|
|
40
36
|
type?: FeeSplitType;
|
|
41
37
|
/** Recipient wallet address on the source chain. */
|
|
42
38
|
walletAddress?: string;
|
|
43
39
|
}
|
|
40
|
+
export interface FeeSplit {
|
|
41
|
+
/** LI.FI's slice of THIS `FeeCost.amount`. */
|
|
42
|
+
lifiFee: string;
|
|
43
|
+
/** The integrator's slice of THIS `FeeCost.amount` — the integrator's
|
|
44
|
+
* portion only, NOT including any intermediary or distribution amounts. */
|
|
45
|
+
integratorFee: string;
|
|
46
|
+
/** The intermediary's slice of THIS `FeeCost.amount` when an intermediary
|
|
47
|
+
* participates in the split. Absent otherwise. */
|
|
48
|
+
intermediaryFee?: string;
|
|
49
|
+
/** Per-recipient breakdown of THIS `FeeCost.amount`. Source of truth for
|
|
50
|
+
* new consumers — the aggregate fields above are disjoint slices kept
|
|
51
|
+
* for backward compatibility with 2-recipient consumers.
|
|
52
|
+
*
|
|
53
|
+
* Note: partner-specified distribution recipients are emitted as
|
|
54
|
+
* separate `FeeCost` entries (one per receiver, `name: "Fee Forward"`)
|
|
55
|
+
* at quote/route estimation time. At status-response time the same
|
|
56
|
+
* recipients may appear merged on the integrator's `FeeCost` for
|
|
57
|
+
* compactness. Iterate `estimate.feeCosts[]` to discover all
|
|
58
|
+
* recipients across both shapes. */
|
|
59
|
+
recipients?: FeeRecipient[];
|
|
60
|
+
}
|
|
44
61
|
export interface FeeCost {
|
|
45
62
|
name: string;
|
|
46
63
|
description: string;
|
|
@@ -49,33 +66,7 @@ export interface FeeCost {
|
|
|
49
66
|
amount: string;
|
|
50
67
|
amountUSD: string;
|
|
51
68
|
included: boolean;
|
|
52
|
-
feeSplit?:
|
|
53
|
-
/** LI.FI's slice of THIS `FeeCost.amount`. */
|
|
54
|
-
lifiFee: string;
|
|
55
|
-
/**
|
|
56
|
-
* The integrator's slice of THIS `FeeCost.amount` — the integrator's
|
|
57
|
-
* portion only, NOT including any intermediary or distribution amounts.
|
|
58
|
-
*/
|
|
59
|
-
integratorFee: string;
|
|
60
|
-
/**
|
|
61
|
-
* The intermediary's slice of THIS `FeeCost.amount` when an intermediary
|
|
62
|
-
* participates in the split. Absent otherwise.
|
|
63
|
-
*/
|
|
64
|
-
intermediaryFee?: string;
|
|
65
|
-
/**
|
|
66
|
-
* Per-recipient breakdown of THIS `FeeCost.amount`. Source of truth for
|
|
67
|
-
* new consumers — the aggregate fields above are disjoint slices kept
|
|
68
|
-
* for backward compatibility with 2-recipient consumers.
|
|
69
|
-
*
|
|
70
|
-
* Note: partner-specified distribution recipients are emitted as
|
|
71
|
-
* separate `FeeCost` entries (one per receiver, `name: "Fee Forward"`)
|
|
72
|
-
* at quote/route estimation time. At status-response time the same
|
|
73
|
-
* recipients may appear merged on the integrator's `FeeCost` for
|
|
74
|
-
* compactness. Iterate `estimate.feeCosts[]` to discover all
|
|
75
|
-
* recipients across both shapes.
|
|
76
|
-
*/
|
|
77
|
-
recipients?: FeeRecipient[];
|
|
78
|
-
};
|
|
69
|
+
feeSplit?: FeeSplit;
|
|
79
70
|
}
|
|
80
71
|
export interface GasCost {
|
|
81
72
|
type: 'SUM' | 'APPROVE' | 'SEND' | 'FEE';
|
package/src/_types/step.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../step.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,kBAAkB,EAClB,eAAe,EACf,aAAa,EACd,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAA;AAE9C;;;;;;;;;;;;;;;GAeG;AACH,MAAM,MAAM,YAAY,GACpB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ANGED
|
@@ -30,8 +30,7 @@ export type FeeSplitType =
|
|
|
30
30
|
| 'DISTRIBUTION'
|
|
31
31
|
|
|
32
32
|
export interface FeeRecipient {
|
|
33
|
-
/**
|
|
34
|
-
* Recipient identifier. Polymorphic — interpret in conjunction with `type`:
|
|
33
|
+
/** Recipient identifier. Polymorphic — interpret in conjunction with `type`:
|
|
35
34
|
* - `'lifi'` for the LI.FI platform recipient,
|
|
36
35
|
* - the integrator id (e.g. `'jumper'`) for the integrator recipient,
|
|
37
36
|
* - the intermediary id (e.g. `'mesh'`) when `type === 'INTERMEDIARY'`,
|
|
@@ -39,21 +38,46 @@ export interface FeeRecipient {
|
|
|
39
38
|
*
|
|
40
39
|
* Do not display this value directly in user-facing UI without
|
|
41
40
|
* `type`-aware formatting — for `DISTRIBUTION` rows the value is a
|
|
42
|
-
* raw hex address.
|
|
43
|
-
*/
|
|
41
|
+
* raw hex address. */
|
|
44
42
|
name: string
|
|
45
|
-
|
|
43
|
+
|
|
44
|
+
/** Absolute fee amount, a big number in source token base units (string-encoded). */
|
|
46
45
|
fee: string
|
|
47
|
-
|
|
48
|
-
|
|
46
|
+
|
|
47
|
+
/** Fee calculation type. Absent when not statically determinable (e.g.
|
|
49
48
|
* an integrator entry whose `feeType` could not be resolved from the
|
|
50
|
-
* matching planned fee cost). Consumers should null-check before reading.
|
|
51
|
-
*/
|
|
49
|
+
* matching planned fee cost). Consumers should null-check before reading. */
|
|
52
50
|
type?: FeeSplitType
|
|
51
|
+
|
|
53
52
|
/** Recipient wallet address on the source chain. */
|
|
54
53
|
walletAddress?: string
|
|
55
54
|
}
|
|
56
55
|
|
|
56
|
+
export interface FeeSplit {
|
|
57
|
+
/** LI.FI's slice of THIS `FeeCost.amount`. */
|
|
58
|
+
lifiFee: string
|
|
59
|
+
|
|
60
|
+
/** The integrator's slice of THIS `FeeCost.amount` — the integrator's
|
|
61
|
+
* portion only, NOT including any intermediary or distribution amounts. */
|
|
62
|
+
integratorFee: string
|
|
63
|
+
|
|
64
|
+
/** The intermediary's slice of THIS `FeeCost.amount` when an intermediary
|
|
65
|
+
* participates in the split. Absent otherwise. */
|
|
66
|
+
intermediaryFee?: string
|
|
67
|
+
|
|
68
|
+
/** Per-recipient breakdown of THIS `FeeCost.amount`. Source of truth for
|
|
69
|
+
* new consumers — the aggregate fields above are disjoint slices kept
|
|
70
|
+
* for backward compatibility with 2-recipient consumers.
|
|
71
|
+
*
|
|
72
|
+
* Note: partner-specified distribution recipients are emitted as
|
|
73
|
+
* separate `FeeCost` entries (one per receiver, `name: "Fee Forward"`)
|
|
74
|
+
* at quote/route estimation time. At status-response time the same
|
|
75
|
+
* recipients may appear merged on the integrator's `FeeCost` for
|
|
76
|
+
* compactness. Iterate `estimate.feeCosts[]` to discover all
|
|
77
|
+
* recipients across both shapes. */
|
|
78
|
+
recipients?: FeeRecipient[]
|
|
79
|
+
}
|
|
80
|
+
|
|
57
81
|
export interface FeeCost {
|
|
58
82
|
name: string
|
|
59
83
|
description: string
|
|
@@ -62,33 +86,8 @@ export interface FeeCost {
|
|
|
62
86
|
amount: string
|
|
63
87
|
amountUSD: string
|
|
64
88
|
included: boolean
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
lifiFee: string
|
|
68
|
-
/**
|
|
69
|
-
* The integrator's slice of THIS `FeeCost.amount` — the integrator's
|
|
70
|
-
* portion only, NOT including any intermediary or distribution amounts.
|
|
71
|
-
*/
|
|
72
|
-
integratorFee: string
|
|
73
|
-
/**
|
|
74
|
-
* The intermediary's slice of THIS `FeeCost.amount` when an intermediary
|
|
75
|
-
* participates in the split. Absent otherwise.
|
|
76
|
-
*/
|
|
77
|
-
intermediaryFee?: string
|
|
78
|
-
/**
|
|
79
|
-
* Per-recipient breakdown of THIS `FeeCost.amount`. Source of truth for
|
|
80
|
-
* new consumers — the aggregate fields above are disjoint slices kept
|
|
81
|
-
* for backward compatibility with 2-recipient consumers.
|
|
82
|
-
*
|
|
83
|
-
* Note: partner-specified distribution recipients are emitted as
|
|
84
|
-
* separate `FeeCost` entries (one per receiver, `name: "Fee Forward"`)
|
|
85
|
-
* at quote/route estimation time. At status-response time the same
|
|
86
|
-
* recipients may appear merged on the integrator's `FeeCost` for
|
|
87
|
-
* compactness. Iterate `estimate.feeCosts[]` to discover all
|
|
88
|
-
* recipients across both shapes.
|
|
89
|
-
*/
|
|
90
|
-
recipients?: FeeRecipient[]
|
|
91
|
-
}
|
|
89
|
+
|
|
90
|
+
feeSplit?: FeeSplit
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
export interface GasCost {
|