viem 2.47.0 → 2.47.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/CHANGELOG.md +12 -0
- package/_cjs/errors/version.js +1 -1
- package/_cjs/tempo/Account.js +1 -1
- package/_esm/errors/version.js +1 -1
- package/_esm/tempo/Account.js +1 -1
- package/_types/errors/version.d.ts +1 -1
- package/errors/version.ts +1 -1
- package/package.json +1 -1
- package/tempo/Account.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# viem
|
|
2
2
|
|
|
3
|
+
## 2.47.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`1b522780cd9c24339a2d01dbc6ee9638ebf7143c`](https://github.com/wevm/viem/commit/1b522780cd9c24339a2d01dbc6ee9638ebf7143c) Thanks [@jxom](https://github.com/jxom)! - Updated `ox` to `0.14.1`.
|
|
8
|
+
|
|
9
|
+
## 2.47.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- [#4383](https://github.com/wevm/viem/pull/4383) [`66457cbb5de7a3086732f9016af798c9ec5222a5`](https://github.com/wevm/viem/commit/66457cbb5de7a3086732f9016af798c9ec5222a5) Thanks [@jxom](https://github.com/jxom)! - Changed default `internal_version` on access keys to `v2`.
|
|
14
|
+
|
|
3
15
|
## 2.47.0
|
|
4
16
|
|
|
5
17
|
### Minor Changes
|
package/_cjs/errors/version.js
CHANGED
package/_cjs/tempo/Account.js
CHANGED
|
@@ -153,7 +153,7 @@ async function signKeyAuthorization(account, parameters) {
|
|
|
153
153
|
});
|
|
154
154
|
}
|
|
155
155
|
function fromBase(parameters) {
|
|
156
|
-
const { keyType = 'secp256k1', parentAddress, source = 'privateKey', internal_version = '
|
|
156
|
+
const { keyType = 'secp256k1', parentAddress, source = 'privateKey', internal_version = 'v2', } = parameters;
|
|
157
157
|
const address = parentAddress ?? Address.fromPublicKey(parameters.publicKey);
|
|
158
158
|
const publicKey = PublicKey.toHex(parameters.publicKey, {
|
|
159
159
|
includePrefix: false,
|
package/_esm/errors/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const version = '2.47.
|
|
1
|
+
export const version = '2.47.2';
|
|
2
2
|
//# sourceMappingURL=version.js.map
|
package/_esm/tempo/Account.js
CHANGED
|
@@ -258,7 +258,7 @@ export async function signKeyAuthorization(account, parameters) {
|
|
|
258
258
|
/** @internal */
|
|
259
259
|
// biome-ignore lint/correctness/noUnusedVariables: _
|
|
260
260
|
function fromBase(parameters) {
|
|
261
|
-
const { keyType = 'secp256k1', parentAddress, source = 'privateKey', internal_version = '
|
|
261
|
+
const { keyType = 'secp256k1', parentAddress, source = 'privateKey', internal_version = 'v2', } = parameters;
|
|
262
262
|
const address = parentAddress ?? Address.fromPublicKey(parameters.publicKey);
|
|
263
263
|
const publicKey = PublicKey.toHex(parameters.publicKey, {
|
|
264
264
|
includePrefix: false,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.47.
|
|
1
|
+
export declare const version = "2.47.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/errors/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '2.47.
|
|
1
|
+
export const version = '2.47.2'
|
package/package.json
CHANGED
package/tempo/Account.ts
CHANGED
|
@@ -421,7 +421,7 @@ function fromBase(parameters: fromBase.Parameters): Account_base {
|
|
|
421
421
|
keyType = 'secp256k1',
|
|
422
422
|
parentAddress,
|
|
423
423
|
source = 'privateKey',
|
|
424
|
-
internal_version = '
|
|
424
|
+
internal_version = 'v2',
|
|
425
425
|
} = parameters
|
|
426
426
|
|
|
427
427
|
const address = parentAddress ?? Address.fromPublicKey(parameters.publicKey)
|