@xoxno/sdk-js 1.0.126 → 1.0.129
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 +0 -3
- package/dist/index.bundled.d.cts +12 -14
- package/dist/index.bundled.d.ts +12 -14
- package/dist/index.cjs +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/sdk/stellar/lending.d.ts +11 -1
- package/dist/sdk/swagger.d.ts +1 -13
- package/package.json +5 -2
|
@@ -88,6 +88,14 @@ export interface StellarBorrowBatchArgs {
|
|
|
88
88
|
export interface StellarWithdrawBatchArgs {
|
|
89
89
|
accountNonce: number;
|
|
90
90
|
withdrawals: ReadonlyArray<StellarTokenAmount>;
|
|
91
|
+
/**
|
|
92
|
+
* Optional recipient override (`C...` or `G...`). The pool pays the
|
|
93
|
+
* withdrawn tokens to this address instead of the caller. Omit for the
|
|
94
|
+
* standard flow — the contract arg is still sent, encoded as
|
|
95
|
+
* `Option::None` (ScVal void), which the controller resolves to the
|
|
96
|
+
* caller.
|
|
97
|
+
*/
|
|
98
|
+
to?: string;
|
|
91
99
|
}
|
|
92
100
|
export interface StellarRepayBatchArgs {
|
|
93
101
|
accountNonce: number;
|
|
@@ -109,7 +117,9 @@ export declare function buildStellarBorrowBatchTx(opts: StellarBuilderOptions, a
|
|
|
109
117
|
export declare function buildStellarBorrowTx(opts: StellarBuilderOptions, args: BorrowArgs): BuiltStellarTx;
|
|
110
118
|
export declare function buildStellarWithdrawBatchTx(opts: StellarBuilderOptions, args: StellarWithdrawBatchArgs): BuiltStellarTx;
|
|
111
119
|
/**
|
|
112
|
-
* withdraw(caller, account_id: u64, withdrawals: Vec<(Address, i128)
|
|
120
|
+
* withdraw(caller, account_id: u64, withdrawals: Vec<(Address, i128)>,
|
|
121
|
+
* to: Option<Address>) — `to` is always sent; absent means the caller
|
|
122
|
+
* receives the funds.
|
|
113
123
|
*/
|
|
114
124
|
export declare function buildStellarWithdrawTx(opts: StellarBuilderOptions, args: WithdrawArgs): BuiltStellarTx;
|
|
115
125
|
export declare function buildStellarRepayBatchTx(opts: StellarBuilderOptions, args: StellarRepayBatchArgs): BuiltStellarTx;
|
package/dist/sdk/swagger.d.ts
CHANGED
|
@@ -376,9 +376,7 @@ export declare const endpoints: {
|
|
|
376
376
|
readonly output: LendingAccountProfile[];
|
|
377
377
|
};
|
|
378
378
|
readonly "/lending/market/indexes": {
|
|
379
|
-
readonly input: {
|
|
380
|
-
chain?: ActivityChain[];
|
|
381
|
-
};
|
|
379
|
+
readonly input: {};
|
|
382
380
|
readonly output: Record<string, LendingIndexesDto>;
|
|
383
381
|
};
|
|
384
382
|
readonly "/user/lending/position/:identifier": {
|
|
@@ -1137,16 +1135,6 @@ export declare const endpoints: {
|
|
|
1137
1135
|
};
|
|
1138
1136
|
readonly output: AnalyticsVolumeDto[];
|
|
1139
1137
|
};
|
|
1140
|
-
readonly "/collections/analytics/volume": {
|
|
1141
|
-
readonly input: {
|
|
1142
|
-
collections: string;
|
|
1143
|
-
startTime?: string;
|
|
1144
|
-
endTime?: string;
|
|
1145
|
-
bin?: string;
|
|
1146
|
-
chain: ActivityChain[];
|
|
1147
|
-
};
|
|
1148
|
-
readonly output: Record<string, AnalyticsVolumeDto[]>;
|
|
1149
|
-
};
|
|
1150
1138
|
readonly "/user/:address/analytics/volume": {
|
|
1151
1139
|
readonly input: {};
|
|
1152
1140
|
readonly output: UserAnalyticsDto;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xoxno/sdk-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.129",
|
|
4
4
|
"description": "The SDK to interact with the XOXNO Protocol!",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -74,6 +74,7 @@
|
|
|
74
74
|
"@nestjs/swagger": "^11.4.4",
|
|
75
75
|
"@semantic-release/changelog": "^6.0.3",
|
|
76
76
|
"@semantic-release/git": "^10.0.1",
|
|
77
|
+
"@stellar/stellar-sdk": "^15.0.1",
|
|
77
78
|
"@swc/cli": "^0.8.0",
|
|
78
79
|
"@swc/core": "^1.15.11",
|
|
79
80
|
"@types/jest": "^30.0.0",
|
|
@@ -103,7 +104,9 @@
|
|
|
103
104
|
"dependencies": {
|
|
104
105
|
"@multiversx/sdk-core": "^15.3.2",
|
|
105
106
|
"@multiversx/sdk-network-providers": "^2.9.3",
|
|
106
|
-
"@stellar/stellar-sdk": "^15.0.1",
|
|
107
107
|
"@xoxno/types": "^1.0.410"
|
|
108
|
+
},
|
|
109
|
+
"peerDependencies": {
|
|
110
|
+
"@stellar/stellar-sdk": "^15.0.0"
|
|
108
111
|
}
|
|
109
112
|
}
|