@algorandfoundation/algokit-utils 7.0.0-beta.18 → 7.0.0-beta.19
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/package.json +1 -1
- package/types/app-client.d.ts +4 -1
- package/types/app-client.js +13 -0
- package/types/app-client.js.map +1 -1
- package/types/app-client.mjs +13 -0
- package/types/app-client.mjs.map +1 -1
package/types/app-client.mjs
CHANGED
|
@@ -123,6 +123,19 @@ class AppClient {
|
|
|
123
123
|
bare: this.getBareSendMethods(),
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
|
+
clone(params) {
|
|
127
|
+
return new AppClient({
|
|
128
|
+
appId: this._appId,
|
|
129
|
+
appSpec: this._appSpec,
|
|
130
|
+
algorand: this._algorand,
|
|
131
|
+
appName: this._appName,
|
|
132
|
+
defaultSender: this._defaultSender,
|
|
133
|
+
defaultSigner: this._defaultSigner,
|
|
134
|
+
approvalSourceMap: this._approvalSourceMap,
|
|
135
|
+
clearSourceMap: this._clearSourceMap,
|
|
136
|
+
...params,
|
|
137
|
+
});
|
|
138
|
+
}
|
|
126
139
|
/** Start a new `TransactionComposer` transaction group */
|
|
127
140
|
newGroup() {
|
|
128
141
|
return this._algorand.newGroup();
|