carbon-js-sdk 0.3.43-beta.1 → 0.3.43-beta.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.
@@ -112,13 +112,13 @@ class CarbonWallet {
112
112
  static withKeplr(keplr, chainInfo, keplrKey, opts = {}) {
113
113
  const signer = provider_1.KeplrAccount.createKeplrSigner(keplr, chainInfo, keplrKey);
114
114
  const publicKeyBase64 = Buffer.from(keplrKey.pubKey).toString("base64");
115
- const wallet = CarbonWallet.withSigner(signer, publicKeyBase64, opts);
115
+ const wallet = CarbonWallet.withSigner(signer, publicKeyBase64, Object.assign(Object.assign({}, opts), { providerAgent: 'keplr-extension' }));
116
116
  return wallet;
117
117
  }
118
118
  static withLeap(leap, chainId, leapKey, opts = {}) {
119
119
  const signer = provider_1.LeapAccount.createLeapSigner(leap, chainId);
120
120
  const publicKeyBase64 = Buffer.from(leapKey.pubKey).toString("base64");
121
- const wallet = CarbonWallet.withSigner(signer, publicKeyBase64, opts);
121
+ const wallet = CarbonWallet.withSigner(signer, publicKeyBase64, Object.assign(Object.assign({}, opts), { providerAgent: 'leap-extension' }));
122
122
  return wallet;
123
123
  }
124
124
  static withAddress(bech32Address, opts = {}) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-js-sdk",
3
- "version": "0.3.43-beta.1+9b7d6890ce06",
3
+ "version": "0.3.43-beta.2+394fdb0bcc23",
4
4
  "description": "TypeScript SDK for Carbon blockchain",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",