@wagmi/core 3.3.0 → 3.3.1

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.
@@ -1,2 +1,2 @@
1
- export const version = '3.3.0';
1
+ export const version = '3.3.1';
2
2
  //# sourceMappingURL=version.js.map
@@ -1,2 +1,2 @@
1
- export declare const version = "3.3.0";
1
+ export declare const version = "3.3.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wagmi/core",
3
3
  "description": "VanillaJS library for Ethereum",
4
- "version": "3.3.0",
4
+ "version": "3.3.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -200,22 +200,24 @@ function serializeCredential(
200
200
  ...('getAuthenticatorData' in response &&
201
201
  typeof response.getAuthenticatorData === 'function' && {
202
202
  authenticatorData: Base64.fromBytes(
203
- new Uint8Array(response.getAuthenticatorData() as ArrayBuffer),
203
+ new Uint8Array(
204
+ response.getAuthenticatorData.call(response) as ArrayBuffer,
205
+ ),
204
206
  ),
205
207
  }),
206
208
  ...('getPublicKey' in response &&
207
209
  typeof response.getPublicKey === 'function' && {
208
210
  publicKey: Base64.fromBytes(
209
- new Uint8Array(response.getPublicKey() as ArrayBuffer),
211
+ new Uint8Array(response.getPublicKey.call(response) as ArrayBuffer),
210
212
  ),
211
213
  }),
212
214
  ...('getPublicKeyAlgorithm' in response &&
213
215
  typeof response.getPublicKeyAlgorithm === 'function' && {
214
- publicKeyAlgorithm: response.getPublicKeyAlgorithm(),
216
+ publicKeyAlgorithm: response.getPublicKeyAlgorithm.call(response),
215
217
  }),
216
218
  ...('getTransports' in response &&
217
219
  typeof response.getTransports === 'function' && {
218
- transports: response.getTransports(),
220
+ transports: response.getTransports.call(response),
219
221
  }),
220
222
  ...('authenticatorData' in response && {
221
223
  authenticatorData: Base64.fromBytes(
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const version = '3.3.0'
1
+ export const version = '3.3.1'