@channelpayments/node-sdk 1.129.0 → 1.131.0
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.
|
@@ -245,7 +245,7 @@ export declare class ChannelPaymentsApi extends runtime.BaseAPI {
|
|
|
245
245
|
*/
|
|
246
246
|
searchReturns(requestParameters: SearchReturnsRequest): Promise<Array<TransactionReturnsSearchEntity>>;
|
|
247
247
|
/**
|
|
248
|
-
* Search
|
|
248
|
+
* Search transactions by query params
|
|
249
249
|
* Search transactions
|
|
250
250
|
*/
|
|
251
251
|
searchTransactions(requestParameters: SearchTransactionsRequest): Promise<TransactionsSearchEntity>;
|
package/dist/cjs/runtime.js
CHANGED
|
@@ -100,7 +100,7 @@ class BaseAPI {
|
|
|
100
100
|
createFetchParams(context) {
|
|
101
101
|
return __awaiter(this, void 0, void 0, function* () {
|
|
102
102
|
Object.keys(context.headers).forEach(key => context.headers[key] === undefined ? delete context.headers[key] : {});
|
|
103
|
-
context.headers['user-agent'] = "@channelpayments/node-sdk/v1.
|
|
103
|
+
context.headers['user-agent'] = "@channelpayments/node-sdk/v1.131.0";
|
|
104
104
|
const token = this.generateAuthToken();
|
|
105
105
|
context.headers['Authorization'] = `Bearer ${token}`;
|
|
106
106
|
let url = this.url + context.path;
|
|
@@ -245,7 +245,7 @@ export declare class ChannelPaymentsApi extends runtime.BaseAPI {
|
|
|
245
245
|
*/
|
|
246
246
|
searchReturns(requestParameters: SearchReturnsRequest): Promise<Array<TransactionReturnsSearchEntity>>;
|
|
247
247
|
/**
|
|
248
|
-
* Search
|
|
248
|
+
* Search transactions by query params
|
|
249
249
|
* Search transactions
|
|
250
250
|
*/
|
|
251
251
|
searchTransactions(requestParameters: SearchTransactionsRequest): Promise<TransactionsSearchEntity>;
|
|
@@ -1731,7 +1731,7 @@ export class ChannelPaymentsApi extends runtime.BaseAPI {
|
|
|
1731
1731
|
return await response.value();
|
|
1732
1732
|
}
|
|
1733
1733
|
/**
|
|
1734
|
-
* Search
|
|
1734
|
+
* Search transactions by query params
|
|
1735
1735
|
* Search transactions
|
|
1736
1736
|
*/
|
|
1737
1737
|
async searchTransactions(requestParameters) {
|
package/dist/mjs/runtime.js
CHANGED
|
@@ -64,7 +64,7 @@ export class BaseAPI {
|
|
|
64
64
|
}
|
|
65
65
|
async createFetchParams(context) {
|
|
66
66
|
Object.keys(context.headers).forEach(key => context.headers[key] === undefined ? delete context.headers[key] : {});
|
|
67
|
-
context.headers['user-agent'] = "@channelpayments/node-sdk/v1.
|
|
67
|
+
context.headers['user-agent'] = "@channelpayments/node-sdk/v1.131.0";
|
|
68
68
|
const token = this.generateAuthToken();
|
|
69
69
|
context.headers['Authorization'] = `Bearer ${token}`;
|
|
70
70
|
let url = this.url + context.path;
|