@seal-protocol/backendjs 0.0.98 → 0.0.103

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.
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -112,4 +112,10 @@ export interface SealOrderReservation {
112
112
  * @memberof SealOrderReservation
113
113
  */
114
114
  'salt'?: number;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof SealOrderReservation
119
+ */
120
+ 'reserverFeeRatio'?: string;
115
121
  }
@@ -17,6 +17,12 @@ import type { TypesTimestamp } from './types-timestamp';
17
17
  * @interface SealRfqQuote
18
18
  */
19
19
  export interface SealRfqQuote {
20
+ /**
21
+ *
22
+ * @type {string}
23
+ * @memberof SealRfqQuote
24
+ */
25
+ 'id'?: string;
20
26
  /**
21
27
  *
22
28
  * @type {string}
@@ -59,6 +65,12 @@ export interface SealRfqQuote {
59
65
  * @memberof SealRfqQuote
60
66
  */
61
67
  'minFillRatio'?: string;
68
+ /**
69
+ *
70
+ * @type {string}
71
+ * @memberof SealRfqQuote
72
+ */
73
+ 'nonce'?: string;
62
74
  /**
63
75
  *
64
76
  * @type {TypesTimestamp}
@@ -67,16 +79,16 @@ export interface SealRfqQuote {
67
79
  'settlementTime'?: TypesTimestamp;
68
80
  /**
69
81
  *
70
- * @type {string}
82
+ * @type {TypesTimestamp}
71
83
  * @memberof SealRfqQuote
72
84
  */
73
- 'nonce'?: string;
85
+ 'deadline'?: TypesTimestamp;
74
86
  /**
75
87
  *
76
88
  * @type {TypesTimestamp}
77
89
  * @memberof SealRfqQuote
78
90
  */
79
- 'deadline'?: TypesTimestamp;
91
+ 'submissionTime'?: TypesTimestamp;
80
92
  /**
81
93
  *
82
94
  * @type {string}
@@ -85,14 +97,14 @@ export interface SealRfqQuote {
85
97
  'signature'?: string;
86
98
  /**
87
99
  *
88
- * @type {TypesTimestamp}
100
+ * @type {SealRfqRequest}
89
101
  * @memberof SealRfqQuote
90
102
  */
91
- 'submissionTime'?: TypesTimestamp;
103
+ 'request'?: SealRfqRequest;
92
104
  /**
93
105
  *
94
- * @type {SealRfqRequest}
106
+ * @type {boolean}
95
107
  * @memberof SealRfqQuote
96
108
  */
97
- 'request'?: SealRfqRequest;
109
+ 'onChain'?: boolean;
98
110
  }
@@ -54,20 +54,26 @@ export interface SealRfqRequest {
54
54
  'tokenOut'?: string;
55
55
  /**
56
56
  *
57
- * @type {TypesTimestamp}
57
+ * @type {string}
58
58
  * @memberof SealRfqRequest
59
59
  */
60
- 'creationTime'?: TypesTimestamp;
60
+ 'depositToken'?: string;
61
+ /**
62
+ *
63
+ * @type {string}
64
+ * @memberof SealRfqRequest
65
+ */
66
+ 'minDepositAmount'?: string;
61
67
  /**
62
68
  *
63
69
  * @type {TypesTimestamp}
64
70
  * @memberof SealRfqRequest
65
71
  */
66
- 'requestDeadline'?: TypesTimestamp;
72
+ 'creationTime'?: TypesTimestamp;
67
73
  /**
68
74
  *
69
75
  * @type {TypesTimestamp}
70
76
  * @memberof SealRfqRequest
71
77
  */
72
- 'buyInDeadline'?: TypesTimestamp;
78
+ 'requestDeadline'?: TypesTimestamp;
73
79
  }
@@ -21,6 +21,18 @@ export interface SealSealContractParams {
21
21
  * @memberof SealSealContractParams
22
22
  */
23
23
  'makerFee'?: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SealSealContractParams
28
+ */
29
+ 'takerFee'?: string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SealSealContractParams
34
+ */
35
+ 'reserverFee'?: string;
24
36
  /**
25
37
  *
26
38
  * @type {string}
@@ -20,5 +20,5 @@ export interface SealSubmitQuoteResponse {
20
20
  * @type {string}
21
21
  * @memberof SealSubmitQuoteResponse
22
22
  */
23
- 'quoteHash'?: string;
23
+ 'id'?: string;
24
24
  }
@@ -0,0 +1,84 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SealSubmitRfqQuoteRequest
16
+ */
17
+ export interface SealSubmitRfqQuoteRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealSubmitRfqQuoteRequest
22
+ */
23
+ 'requestId': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SealSubmitRfqQuoteRequest
28
+ */
29
+ 'offerer': string;
30
+ /**
31
+ *
32
+ * @type {string}
33
+ * @memberof SealSubmitRfqQuoteRequest
34
+ */
35
+ 'amountIn': string;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof SealSubmitRfqQuoteRequest
40
+ */
41
+ 'amountOut': string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof SealSubmitRfqQuoteRequest
46
+ */
47
+ 'depositToken': string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof SealSubmitRfqQuoteRequest
52
+ */
53
+ 'depositAmount': string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof SealSubmitRfqQuoteRequest
58
+ */
59
+ 'minFillRatio': string;
60
+ /**
61
+ *
62
+ * @type {number}
63
+ * @memberof SealSubmitRfqQuoteRequest
64
+ */
65
+ 'settlementTime': number;
66
+ /**
67
+ *
68
+ * @type {string}
69
+ * @memberof SealSubmitRfqQuoteRequest
70
+ */
71
+ 'nonce': string;
72
+ /**
73
+ *
74
+ * @type {number}
75
+ * @memberof SealSubmitRfqQuoteRequest
76
+ */
77
+ 'deadline': number;
78
+ /**
79
+ *
80
+ * @type {string}
81
+ * @memberof SealSubmitRfqQuoteRequest
82
+ */
83
+ 'signature': string;
84
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,24 @@
1
+ /**
2
+ * seal/seal.proto
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: version not set
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SealSubmitRfqQuoteResponse
16
+ */
17
+ export interface SealSubmitRfqQuoteResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SealSubmitRfqQuoteResponse
22
+ */
23
+ 'id'?: string;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * seal/seal.proto
6
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
7
+ *
8
+ * The version of the OpenAPI document: version not set
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -51,10 +51,4 @@ export interface SealSubmitRfqRequest {
51
51
  * @memberof SealSubmitRfqRequest
52
52
  */
53
53
  'requestDeadline': number;
54
- /**
55
- *
56
- * @type {number}
57
- * @memberof SealSubmitRfqRequest
58
- */
59
- 'buyInDeadline'?: number;
60
54
  }
@@ -17,7 +17,6 @@
17
17
  export declare enum TypesRfqQuoteOrderByProperty {
18
18
  RfqQuoteOrderByPropertyUnspecified = "RfqQuoteOrderByProperty_UNSPECIFIED",
19
19
  RfqQuoteOrderByPropertyId = "RfqQuoteOrderByProperty_ID",
20
- RfqQuoteOrderByPropertySubmissionTime = "RfqQuoteOrderByProperty_SUBMISSION_TIME",
21
20
  RfqQuoteOrderByPropertySettlementTime = "RfqQuoteOrderByProperty_SETTLEMENT_TIME",
22
21
  RfqQuoteOrderByPropertyDeadline = "RfqQuoteOrderByProperty_DEADLINE"
23
22
  }
@@ -23,7 +23,6 @@ var TypesRfqQuoteOrderByProperty;
23
23
  (function (TypesRfqQuoteOrderByProperty) {
24
24
  TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyUnspecified"] = "RfqQuoteOrderByProperty_UNSPECIFIED";
25
25
  TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyId"] = "RfqQuoteOrderByProperty_ID";
26
- TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertySubmissionTime"] = "RfqQuoteOrderByProperty_SUBMISSION_TIME";
27
26
  TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertySettlementTime"] = "RfqQuoteOrderByProperty_SETTLEMENT_TIME";
28
27
  TypesRfqQuoteOrderByProperty["RfqQuoteOrderByPropertyDeadline"] = "RfqQuoteOrderByProperty_DEADLINE";
29
28
  })(TypesRfqQuoteOrderByProperty || (exports.TypesRfqQuoteOrderByProperty = TypesRfqQuoteOrderByProperty = {}));
@@ -18,6 +18,5 @@ export declare enum TypesRfqRequestsOrderByProperty {
18
18
  RfqRequestsOrderByPropertyUnspecified = "RfqRequestsOrderByProperty_UNSPECIFIED",
19
19
  RfqRequestsOrderByPropertyId = "RfqRequestsOrderByProperty_ID",
20
20
  RfqRequestsOrderByPropertyCreationTime = "RfqRequestsOrderByProperty_CREATION_TIME",
21
- RfqRequestsOrderByPropertyRequestDeadline = "RfqRequestsOrderByProperty_REQUEST_DEADLINE",
22
- RfqRequestsOrderByPropertyBuyInDeadline = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE"
21
+ RfqRequestsOrderByPropertyRequestDeadline = "RfqRequestsOrderByProperty_REQUEST_DEADLINE"
23
22
  }
@@ -25,5 +25,4 @@ var TypesRfqRequestsOrderByProperty;
25
25
  TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyId"] = "RfqRequestsOrderByProperty_ID";
26
26
  TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyCreationTime"] = "RfqRequestsOrderByProperty_CREATION_TIME";
27
27
  TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyRequestDeadline"] = "RfqRequestsOrderByProperty_REQUEST_DEADLINE";
28
- TypesRfqRequestsOrderByProperty["RfqRequestsOrderByPropertyBuyInDeadline"] = "RfqRequestsOrderByProperty_BUY_IN_DEADLINE";
29
28
  })(TypesRfqRequestsOrderByProperty || (exports.TypesRfqRequestsOrderByProperty = TypesRfqRequestsOrderByProperty = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seal-protocol/backendjs",
3
- "version": "0.0.98",
3
+ "version": "0.0.103",
4
4
  "description": "Javascript SDK for Seal Backend",
5
5
  "author": "amin <amin@refractedlabs.com>",
6
6
  "homepage": "https://github.com/seal-protocol/backend/tree/main/ts-client#readme",