@depthhq/maker-sdk 0.1.5 → 0.1.6
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/dist/index.js +1 -1
- package/dist/index.node.js +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -27632,7 +27632,7 @@ class MakerClient {
|
|
|
27632
27632
|
return this.ownerClient;
|
|
27633
27633
|
}
|
|
27634
27634
|
get funding() {
|
|
27635
|
-
return new FundingClient(this.program, this.options.connection, this.options.maker, (name2, offset2) => this.queue(name2, offset2));
|
|
27635
|
+
return new FundingClient(this.program, this.options.connection, this.options.maker, (name2, offset2) => this.queue(name2, offset2), this.options.settlement ?? (this.options.environment && this.options.environment !== "localnet" ? "keeper" : "wallet"));
|
|
27636
27636
|
}
|
|
27637
27637
|
get recovery() {
|
|
27638
27638
|
return new DepthRecovery(this.program, this.options.connection, this.options.maker);
|
package/dist/index.node.js
CHANGED
|
@@ -26153,7 +26153,7 @@ class MakerClient {
|
|
|
26153
26153
|
return this.ownerClient;
|
|
26154
26154
|
}
|
|
26155
26155
|
get funding() {
|
|
26156
|
-
return new FundingClient(this.program, this.options.connection, this.options.maker, (name2, offset2) => this.queue(name2, offset2));
|
|
26156
|
+
return new FundingClient(this.program, this.options.connection, this.options.maker, (name2, offset2) => this.queue(name2, offset2), this.options.settlement ?? (this.options.environment && this.options.environment !== "localnet" ? "keeper" : "wallet"));
|
|
26157
26157
|
}
|
|
26158
26158
|
get recovery() {
|
|
26159
26159
|
return new DepthRecovery(this.program, this.options.connection, this.options.maker);
|