@fivenorth/loop-sdk 0.7.1 → 0.7.2
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 +9 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2209,7 +2209,10 @@ class Connection {
|
|
|
2209
2209
|
party_id: data?.party_id,
|
|
2210
2210
|
auth_token: authToken,
|
|
2211
2211
|
public_key: data?.public_key,
|
|
2212
|
-
email
|
|
2212
|
+
email,
|
|
2213
|
+
has_preapproval: data?.has_preapproval,
|
|
2214
|
+
has_merge_delegation: data?.has_merge_delegation,
|
|
2215
|
+
usdc_bridge_access: data?.usdc_bridge_access
|
|
2213
2216
|
};
|
|
2214
2217
|
return account;
|
|
2215
2218
|
}
|
|
@@ -2345,10 +2348,13 @@ class Provider {
|
|
|
2345
2348
|
this.requests.set(message.request_id, message);
|
|
2346
2349
|
}
|
|
2347
2350
|
}
|
|
2348
|
-
|
|
2351
|
+
getHolding() {
|
|
2349
2352
|
return this.connection.getHolding(this.auth_token);
|
|
2350
2353
|
}
|
|
2351
|
-
|
|
2354
|
+
getAccount() {
|
|
2355
|
+
return this.connection.verifySession(this.auth_token);
|
|
2356
|
+
}
|
|
2357
|
+
getActiveContracts(params) {
|
|
2352
2358
|
return this.connection.getActiveContracts(this.auth_token, params);
|
|
2353
2359
|
}
|
|
2354
2360
|
async submitTransaction(payload, options) {
|