Skip to content

Commit bf87df7

Browse files
committed
Release 0.0.427
1 parent cbcaa33 commit bf87df7

7 files changed

Lines changed: 20 additions & 20 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@syndicateio/syndicate-node",
3-
"version": "0.0.426",
3+
"version": "0.0.427",
44
"private": false,
55
"repository": "https://github.com/SyndicateProtocol/syndicate-node",
66
"main": "./index.js",
@@ -11,9 +11,9 @@
1111
"prepack": "cp -rv dist/. ."
1212
},
1313
"dependencies": {
14-
"@ungap/url-search-params": "0.2.2",
1514
"url-join": "4.0.1",
1615
"@types/url-join": "4.0.1",
16+
"@ungap/url-search-params": "0.2.2",
1717
"js-base64": "3.7.2",
1818
"axios": "0.27.2"
1919
},

src/Client.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
*/
44

55
import * as core from "./core";
6-
import { Funding } from "./api/resources/funding/client/Client";
76
import { Transact } from "./api/resources/transact/client/Client";
7+
import { Funding } from "./api/resources/funding/client/Client";
88
import { Wallet } from "./api/resources/wallet/client/Client";
99

1010
export declare namespace SyndicateClient {
@@ -20,18 +20,18 @@ export declare namespace SyndicateClient {
2020
export class SyndicateClient {
2121
constructor(protected readonly _options: SyndicateClient.Options) {}
2222

23-
protected _funding: Funding | undefined;
24-
25-
public get funding(): Funding {
26-
return (this._funding ??= new Funding(this._options));
27-
}
28-
2923
protected _transact: Transact | undefined;
3024

3125
public get transact(): Transact {
3226
return (this._transact ??= new Transact(this._options));
3327
}
3428

29+
protected _funding: Funding | undefined;
30+
31+
public get funding(): Funding {
32+
return (this._funding ??= new Funding(this._options));
33+
}
34+
3535
protected _wallet: Wallet | undefined;
3636

3737
public get wallet(): Wallet {

src/api/resources/funding/client/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export class Funding {
4848
Authorization: await this._getAuthorizationHeader(),
4949
"X-Fern-Language": "JavaScript",
5050
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
51-
"X-Fern-SDK-Version": "0.0.426",
51+
"X-Fern-SDK-Version": "0.0.427",
5252
},
5353
contentType: "application/json",
5454
queryParameters: _queryParams,

src/api/resources/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export * as funding from "./funding";
21
export * as transact from "./transact";
2+
export * as funding from "./funding";
33
export * as wallet from "./wallet";

src/api/resources/transact/client/Client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export class Transact {
4040
Authorization: await this._getAuthorizationHeader(),
4141
"X-Fern-Language": "JavaScript",
4242
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
43-
"X-Fern-SDK-Version": "0.0.426",
43+
"X-Fern-SDK-Version": "0.0.427",
4444
},
4545
contentType: "application/json",
4646
body: await serializers.transact.SendTransactionRequest.jsonOrThrow(request, {

src/api/resources/wallet/client/Client.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ export class Wallet {
3838
Authorization: await this._getAuthorizationHeader(),
3939
"X-Fern-Language": "JavaScript",
4040
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
41-
"X-Fern-SDK-Version": "0.0.426",
41+
"X-Fern-SDK-Version": "0.0.427",
4242
},
4343
contentType: "application/json",
4444
body: await serializers.wallet.CreateWalletRequest.jsonOrThrow(request, {
@@ -104,7 +104,7 @@ export class Wallet {
104104
Authorization: await this._getAuthorizationHeader(),
105105
"X-Fern-Language": "JavaScript",
106106
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
107-
"X-Fern-SDK-Version": "0.0.426",
107+
"X-Fern-SDK-Version": "0.0.427",
108108
},
109109
contentType: "application/json",
110110
body: await serializers.wallet.RetireWalletRequest.jsonOrThrow(request, {
@@ -167,7 +167,7 @@ export class Wallet {
167167
Authorization: await this._getAuthorizationHeader(),
168168
"X-Fern-Language": "JavaScript",
169169
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
170-
"X-Fern-SDK-Version": "0.0.426",
170+
"X-Fern-SDK-Version": "0.0.427",
171171
},
172172
contentType: "application/json",
173173
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
@@ -242,7 +242,7 @@ export class Wallet {
242242
Authorization: await this._getAuthorizationHeader(),
243243
"X-Fern-Language": "JavaScript",
244244
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
245-
"X-Fern-SDK-Version": "0.0.426",
245+
"X-Fern-SDK-Version": "0.0.427",
246246
},
247247
contentType: "application/json",
248248
queryParameters: _queryParams,
@@ -306,7 +306,7 @@ export class Wallet {
306306
Authorization: await this._getAuthorizationHeader(),
307307
"X-Fern-Language": "JavaScript",
308308
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
309-
"X-Fern-SDK-Version": "0.0.426",
309+
"X-Fern-SDK-Version": "0.0.427",
310310
},
311311
contentType: "application/json",
312312
queryParameters: _queryParams,
@@ -391,7 +391,7 @@ export class Wallet {
391391
Authorization: await this._getAuthorizationHeader(),
392392
"X-Fern-Language": "JavaScript",
393393
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
394-
"X-Fern-SDK-Version": "0.0.426",
394+
"X-Fern-SDK-Version": "0.0.427",
395395
},
396396
contentType: "application/json",
397397
queryParameters: _queryParams,
@@ -442,7 +442,7 @@ export class Wallet {
442442
Authorization: await this._getAuthorizationHeader(),
443443
"X-Fern-Language": "JavaScript",
444444
"X-Fern-SDK-Name": "@syndicateio/syndicate-node",
445-
"X-Fern-SDK-Version": "0.0.426",
445+
"X-Fern-SDK-Version": "0.0.427",
446446
},
447447
contentType: "application/json",
448448
timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
export * as funding from "./funding";
21
export * as transact from "./transact";
2+
export * as funding from "./funding";
33
export * as wallet from "./wallet";

0 commit comments

Comments
 (0)