viem 2.24.1 → 2.24.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 CHANGED
@@ -1,5 +1,11 @@
1
1
  # viem
2
2
 
3
+ ## 2.24.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#3517](https://github.com/wevm/viem/pull/3517) [`3032dca3e57f5f7c5647ddc9fdbdbc6c7ec8f694`](https://github.com/wevm/viem/commit/3032dca3e57f5f7c5647ddc9fdbdbc6c7ec8f694) Thanks [@jxom](https://github.com/jxom)! - Added missing deprecated `viem/experimental` exports.
8
+
3
9
  ## 2.24.1
4
10
 
5
11
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.version = void 0;
4
- exports.version = '2.24.1';
4
+ exports.version = '2.24.2';
5
5
  //# sourceMappingURL=version.js.map
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.erc7821Actions = exports.erc7739Actions = exports.erc7715Actions = exports.grantPermissions = exports.eip5792Actions = exports.writeContracts = exports.waitForCallsStatus = exports.WaitForCallsStatusTimeoutError = exports.showCallsStatus = exports.getCallsStatus = exports.sendCalls = exports.getCapabilities = void 0;
3
+ exports.erc7821Actions = exports.erc7739Actions = exports.erc7715Actions = exports.grantPermissions = exports.verifyAuthorization = exports.serializeAuthorizationList = exports.recoverAuthorizationAddress = exports.hashAuthorization = exports.signAuthorization = exports.prepareAuthorization = exports.eip7702Actions = exports.eip5792Actions = exports.writeContracts = exports.waitForCallsStatus = exports.WaitForCallsStatusTimeoutError = exports.showCallsStatus = exports.getCallsStatus = exports.sendCalls = exports.getCapabilities = void 0;
4
4
  var getCapabilities_js_1 = require("./eip5792/actions/getCapabilities.js");
5
5
  Object.defineProperty(exports, "getCapabilities", { enumerable: true, get: function () { return getCapabilities_js_1.getCapabilities; } });
6
6
  var sendCalls_js_1 = require("./eip5792/actions/sendCalls.js");
@@ -16,6 +16,20 @@ var writeContracts_js_1 = require("./eip5792/actions/writeContracts.js");
16
16
  Object.defineProperty(exports, "writeContracts", { enumerable: true, get: function () { return writeContracts_js_1.writeContracts; } });
17
17
  var eip5792_js_1 = require("./eip5792/decorators/eip5792.js");
18
18
  Object.defineProperty(exports, "eip5792Actions", { enumerable: true, get: function () { return eip5792_js_1.eip5792Actions; } });
19
+ var wallet_js_1 = require("../clients/decorators/wallet.js");
20
+ Object.defineProperty(exports, "eip7702Actions", { enumerable: true, get: function () { return wallet_js_1.walletActions; } });
21
+ var prepareAuthorization_js_1 = require("../actions/wallet/prepareAuthorization.js");
22
+ Object.defineProperty(exports, "prepareAuthorization", { enumerable: true, get: function () { return prepareAuthorization_js_1.prepareAuthorization; } });
23
+ var signAuthorization_js_1 = require("../actions/wallet/signAuthorization.js");
24
+ Object.defineProperty(exports, "signAuthorization", { enumerable: true, get: function () { return signAuthorization_js_1.signAuthorization; } });
25
+ var hashAuthorization_js_1 = require("../utils/authorization/hashAuthorization.js");
26
+ Object.defineProperty(exports, "hashAuthorization", { enumerable: true, get: function () { return hashAuthorization_js_1.hashAuthorization; } });
27
+ var recoverAuthorizationAddress_js_1 = require("../utils/authorization/recoverAuthorizationAddress.js");
28
+ Object.defineProperty(exports, "recoverAuthorizationAddress", { enumerable: true, get: function () { return recoverAuthorizationAddress_js_1.recoverAuthorizationAddress; } });
29
+ var serializeAuthorizationList_js_1 = require("../utils/authorization/serializeAuthorizationList.js");
30
+ Object.defineProperty(exports, "serializeAuthorizationList", { enumerable: true, get: function () { return serializeAuthorizationList_js_1.serializeAuthorizationList; } });
31
+ var verifyAuthorization_js_1 = require("../utils/authorization/verifyAuthorization.js");
32
+ Object.defineProperty(exports, "verifyAuthorization", { enumerable: true, get: function () { return verifyAuthorization_js_1.verifyAuthorization; } });
19
33
  var grantPermissions_js_1 = require("./erc7715/actions/grantPermissions.js");
20
34
  Object.defineProperty(exports, "grantPermissions", { enumerable: true, get: function () { return grantPermissions_js_1.grantPermissions; } });
21
35
  var erc7715_js_1 = require("./erc7715/decorators/erc7715.js");
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":";;;AACA,2EAK6C;AAD3C,qHAAA,eAAe,OAAA;AAEjB,+DAKuC;AADrC,yGAAA,SAAS,OAAA;AAEX,yEAK4C;AAD1C,mHAAA,cAAc,OAAA;AAEhB,2EAK6C;AAD3C,qHAAA,eAAe,OAAA;AAEjB,iFAOgD;AAF9C,uIAAA,8BAA8B,OAAA;AAC9B,2HAAA,kBAAkB,OAAA;AAEpB,yEAM4C;AAD1C,mHAAA,cAAc,OAAA;AAEhB,8DAGwC;AADtC,4GAAA,cAAc,OAAA;AAGhB,6EAI8C;AAD5C,uHAAA,gBAAgB,OAAA;AAElB,8DAGwC;AADtC,4GAAA,cAAc,OAAA;AAGhB,8DAIwC;AADtC,4GAAA,cAAc,OAAA;AAGhB,8DAGwC;AADtC,4GAAA,cAAc,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":";;;AACA,2EAK6C;AAD3C,qHAAA,eAAe,OAAA;AAEjB,+DAKuC;AADrC,yGAAA,SAAS,OAAA;AAEX,yEAK4C;AAD1C,mHAAA,cAAc,OAAA;AAEhB,2EAK6C;AAD3C,qHAAA,eAAe,OAAA;AAEjB,iFAOgD;AAF9C,uIAAA,8BAA8B,OAAA;AAC9B,2HAAA,kBAAkB,OAAA;AAEpB,yEAM4C;AAD1C,mHAAA,cAAc,OAAA;AAEhB,8DAGwC;AADtC,4GAAA,cAAc,OAAA;AAGhB,6DAKwC;AADtC,2GAAA,aAAa,OAAkB;AAEjC,qFASkD;AADhD,+HAAA,oBAAoB,OAAA;AAEtB,+EAS+C;AAD7C,yHAAA,iBAAiB,OAAA;AAsBnB,oFASoD;AADlD,yHAAA,iBAAiB,OAAA;AAEnB,wGAS8D;AAD5D,6IAAA,2BAA2B,OAAA;AAE7B,sGAO6D;AAD3D,2IAAA,0BAA0B,OAAA;AAE5B,wFASsD;AADpD,6HAAA,mBAAmB,OAAA;AAGrB,6EAI8C;AAD5C,uHAAA,gBAAgB,OAAA;AAElB,8DAGwC;AADtC,4GAAA,cAAc,OAAA;AAGhB,8DAIwC;AADtC,4GAAA,cAAc,OAAA;AAGhB,8DAGwC;AADtC,4GAAA,cAAc,OAAA"}
@@ -1,2 +1,2 @@
1
- export const version = '2.24.1';
1
+ export const version = '2.24.2';
2
2
  //# sourceMappingURL=version.js.map
@@ -6,6 +6,29 @@ export { showCallsStatus, } from './eip5792/actions/showCallsStatus.js';
6
6
  export { WaitForCallsStatusTimeoutError, waitForCallsStatus, } from './eip5792/actions/waitForCallsStatus.js';
7
7
  export { writeContracts, } from './eip5792/actions/writeContracts.js';
8
8
  export { eip5792Actions, } from './eip5792/decorators/eip5792.js';
9
+ export {
10
+ /** @deprecated This is no longer experimental – use `import { createWalletClient } from 'viem'` or `import { walletActions } from 'viem'` instead. */
11
+ walletActions as eip7702Actions, } from '../clients/decorators/wallet.js';
12
+ export {
13
+ /** @deprecated This is no longer experimental – use `import { prepareAuthorization } from 'viem/actions'` instead. */
14
+ prepareAuthorization, } from '../actions/wallet/prepareAuthorization.js';
15
+ export {
16
+ /** @deprecated This is no longer experimental – use `import { signAuthorization } from 'viem/actions'` instead. */
17
+ signAuthorization, } from '../actions/wallet/signAuthorization.js';
18
+ export {} from '../types/authorization.js';
19
+ export {} from '../types/rpc.js';
20
+ export {
21
+ /** @deprecated This is no longer experimental – use `import { hashAuthorization } from 'viem/utils'` instead. */
22
+ hashAuthorization, } from '../utils/authorization/hashAuthorization.js';
23
+ export {
24
+ /** @deprecated This is no longer experimental – use `import { recoverAuthorizationAddress } from 'viem/utils'` instead. */
25
+ recoverAuthorizationAddress, } from '../utils/authorization/recoverAuthorizationAddress.js';
26
+ export {
27
+ /** @deprecated This is no longer experimental – use `import { serializeAuthorizationList } from 'viem/utils'` instead. */
28
+ serializeAuthorizationList, } from '../utils/authorization/serializeAuthorizationList.js';
29
+ export {
30
+ /** @deprecated This is no longer experimental – use `import { verifyAuthorization } from 'viem/utils'` instead. */
31
+ verifyAuthorization, } from '../utils/authorization/verifyAuthorization.js';
9
32
  export { grantPermissions, } from './erc7715/actions/grantPermissions.js';
10
33
  export { erc7715Actions, } from './erc7715/decorators/erc7715.js';
11
34
  export { erc7739Actions, } from './erc7739/decorators/erc7739.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EAIL,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAIL,SAAS,GACV,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAIL,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAIL,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAKL,8BAA8B,EAC9B,kBAAkB,GACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAKL,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAEL,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EAGL,gBAAgB,GACjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAEL,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EAGL,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EAEL,cAAc,GACf,MAAM,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AAAA,gEAAgE;AAChE,OAAO,EAIL,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAIL,SAAS,GACV,MAAM,gCAAgC,CAAA;AACvC,OAAO,EAIL,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAIL,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EAKL,8BAA8B,EAC9B,kBAAkB,GACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EAKL,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EAEL,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO;AAGL,sJAAsJ;AACtJ,aAAa,IAAI,cAAc,GAChC,MAAM,iCAAiC,CAAA;AACxC,OAAO;AAOL,sHAAsH;AACtH,oBAAoB,GACrB,MAAM,2CAA2C,CAAA;AAClD,OAAO;AAOL,mHAAmH;AACnH,iBAAiB,GAClB,MAAM,wCAAwC,CAAA;AAC/C,OAAO,EAaN,MAAM,2BAA2B,CAAA;AAClC,OAAO,EAKN,MAAM,iBAAiB,CAAA;AACxB,OAAO;AAOL,iHAAiH;AACjH,iBAAiB,GAClB,MAAM,6CAA6C,CAAA;AACpD,OAAO;AAOL,2HAA2H;AAC3H,2BAA2B,GAC5B,MAAM,uDAAuD,CAAA;AAC9D,OAAO;AAKL,0HAA0H;AAC1H,0BAA0B,GAC3B,MAAM,sDAAsD,CAAA;AAC7D,OAAO;AAOL,mHAAmH;AACnH,mBAAmB,GACpB,MAAM,+CAA+C,CAAA;AAEtD,OAAO,EAGL,gBAAgB,GACjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EAEL,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EAGL,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EAEL,cAAc,GACf,MAAM,iCAAiC,CAAA"}
@@ -1,2 +1,2 @@
1
- export declare const version = "2.24.1";
1
+ export declare const version = "2.24.2";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -5,6 +5,81 @@ export { type ShowCallsStatusErrorType, type ShowCallsStatusParameters, type Sho
5
5
  export { type WaitForCallsStatusErrorType, type WaitForCallsStatusParameters, type WaitForCallsStatusReturnType, type WaitForCallsStatusTimeoutErrorType, WaitForCallsStatusTimeoutError, waitForCallsStatus, } from './eip5792/actions/waitForCallsStatus.js';
6
6
  export { type WriteContractsErrorType, type WriteContractsParameters, type WriteContractsReturnType, type WriteContractFunctionParameters, writeContracts, } from './eip5792/actions/writeContracts.js';
7
7
  export { type Eip5792Actions, eip5792Actions, } from './eip5792/decorators/eip5792.js';
8
+ export {
9
+ /** @deprecated This is no longer experimental – use `import type { WalletActions } from 'viem'` instead. */
10
+ type WalletActions as Eip7702Actions,
11
+ /** @deprecated This is no longer experimental – use `import { createWalletClient } from 'viem'` or `import { walletActions } from 'viem'` instead. */
12
+ walletActions as eip7702Actions, } from '../clients/decorators/wallet.js';
13
+ export {
14
+ /** @deprecated This is no longer experimental – use `import type { PrepareAuthorizationParameters } from 'viem/actions'` instead. */
15
+ type PrepareAuthorizationParameters,
16
+ /** @deprecated This is no longer experimental – use `import type { PrepareAuthorizationReturnType } from 'viem/actions'` instead. */
17
+ type PrepareAuthorizationReturnType,
18
+ /** @deprecated This is no longer experimental – use `import type { PrepareAuthorizationErrorType } from 'viem/actions'` instead. */
19
+ type PrepareAuthorizationErrorType,
20
+ /** @deprecated This is no longer experimental – use `import { prepareAuthorization } from 'viem/actions'` instead. */
21
+ prepareAuthorization, } from '../actions/wallet/prepareAuthorization.js';
22
+ export {
23
+ /** @deprecated This is no longer experimental – use `import type { SignAuthorizationParameters } from 'viem/actions'` instead. */
24
+ type SignAuthorizationParameters,
25
+ /** @deprecated This is no longer experimental – use `import type { SignAuthorizationReturnType } from 'viem/actions'` instead. */
26
+ type SignAuthorizationReturnType,
27
+ /** @deprecated This is no longer experimental – use `import type { SignAuthorizationErrorType } from 'viem/actions'` instead. */
28
+ type SignAuthorizationErrorType,
29
+ /** @deprecated This is no longer experimental – use `import { signAuthorization } from 'viem/actions'` instead. */
30
+ signAuthorization, } from '../actions/wallet/signAuthorization.js';
31
+ export {
32
+ /** @deprecated This is no longer experimental – use `import type { Authorization } from 'viem'` instead. */
33
+ type Authorization,
34
+ /** @deprecated This is no longer experimental – use `import type { SignedAuthorization } from 'viem'` instead. */
35
+ type SignedAuthorization,
36
+ /** @deprecated This is no longer experimental – use `import type { AuthorizationList } from 'viem'` instead. */
37
+ type AuthorizationList,
38
+ /** @deprecated This is no longer experimental – use `import type { SignedAuthorizationList } from 'viem'` instead. */
39
+ type SignedAuthorizationList,
40
+ /** @deprecated This is no longer experimental – use `import type { SerializedAuthorization } from 'viem'` instead. */
41
+ type SerializedAuthorization,
42
+ /** @deprecated This is no longer experimental – use `import type { SerializedAuthorizationList } from 'viem'` instead. */
43
+ type SerializedAuthorizationList, } from '../types/authorization.js';
44
+ export {
45
+ /** @deprecated This is no longer experimental – use `import type { RpcAuthorizationList } from 'viem'` instead. */
46
+ type RpcAuthorizationList,
47
+ /** @deprecated This is no longer experimental – use `import type { RpcAuthorization } from 'viem'` instead. */
48
+ type RpcAuthorization, } from '../types/rpc.js';
49
+ export {
50
+ /** @deprecated This is no longer experimental – use `import type { HashAuthorizationParameters } from 'viem/utils'` instead. */
51
+ type HashAuthorizationParameters,
52
+ /** @deprecated This is no longer experimental – use `import type { HashAuthorizationReturnType } from 'viem/utils'` instead. */
53
+ type HashAuthorizationReturnType,
54
+ /** @deprecated This is no longer experimental – use `import type { HashAuthorizationErrorType } from 'viem/utils'` instead. */
55
+ type HashAuthorizationErrorType,
56
+ /** @deprecated This is no longer experimental – use `import { hashAuthorization } from 'viem/utils'` instead. */
57
+ hashAuthorization, } from '../utils/authorization/hashAuthorization.js';
58
+ export {
59
+ /** @deprecated This is no longer experimental – use `import type { RecoverAuthorizationAddressParameters } from 'viem/utils'` instead. */
60
+ type RecoverAuthorizationAddressParameters,
61
+ /** @deprecated This is no longer experimental – use `import type { RecoverAuthorizationAddressReturnType } from 'viem/utils'` instead. */
62
+ type RecoverAuthorizationAddressReturnType,
63
+ /** @deprecated This is no longer experimental – use `import type { RecoverAuthorizationAddressErrorType } from 'viem/utils'` instead. */
64
+ type RecoverAuthorizationAddressErrorType,
65
+ /** @deprecated This is no longer experimental – use `import { recoverAuthorizationAddress } from 'viem/utils'` instead. */
66
+ recoverAuthorizationAddress, } from '../utils/authorization/recoverAuthorizationAddress.js';
67
+ export {
68
+ /** @deprecated This is no longer experimental – use `import type { SerializeAuthorizationListReturnType } from 'viem/utils'` instead. */
69
+ type SerializeAuthorizationListReturnType,
70
+ /** @deprecated This is no longer experimental – use `import type { SerializeAuthorizationListErrorType } from 'viem/utils'` instead. */
71
+ type SerializeAuthorizationListErrorType,
72
+ /** @deprecated This is no longer experimental – use `import { serializeAuthorizationList } from 'viem/utils'` instead. */
73
+ serializeAuthorizationList, } from '../utils/authorization/serializeAuthorizationList.js';
74
+ export {
75
+ /** @deprecated This is no longer experimental – use `import type { VerifyAuthorizationParameters } from 'viem/utils'` instead. */
76
+ type VerifyAuthorizationParameters,
77
+ /** @deprecated This is no longer experimental – use `import type { VerifyAuthorizationReturnType } from 'viem/utils'` instead. */
78
+ type VerifyAuthorizationReturnType,
79
+ /** @deprecated This is no longer experimental – use `import type { VerifyAuthorizationErrorType } from 'viem/utils'` instead. */
80
+ type VerifyAuthorizationErrorType,
81
+ /** @deprecated This is no longer experimental – use `import { verifyAuthorization } from 'viem/utils'` instead. */
82
+ verifyAuthorization, } from '../utils/authorization/verifyAuthorization.js';
8
83
  export { type GrantPermissionsParameters, type GrantPermissionsReturnType, grantPermissions, } from './erc7715/actions/grantPermissions.js';
9
84
  export { type Erc7715Actions, erc7715Actions, } from './erc7715/decorators/erc7715.js';
10
85
  export { type Erc7739Actions, type Erc7739ActionsParameters, erc7739Actions, } from './erc7739/decorators/erc7739.js';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,SAAS,GACV,MAAM,gCAAgC,CAAA;AACvC,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,yBAAyB,EAC9B,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,2BAA2B,EAChC,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,kCAAkC,EACvC,8BAA8B,EAC9B,kBAAkB,GACnB,MAAM,yCAAyC,CAAA;AAChD,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,+BAA+B,EACpC,cAAc,GACf,MAAM,qCAAqC,CAAA;AAC5C,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,gBAAgB,GACjB,MAAM,uCAAuC,CAAA;AAC9C,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,cAAc,EACnB,KAAK,wBAAwB,EAC7B,cAAc,GACf,MAAM,iCAAiC,CAAA;AAExC,OAAO,EACL,KAAK,cAAc,EACnB,cAAc,GACf,MAAM,iCAAiC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../experimental/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,eAAe,GAChB,MAAM,sCAAsC,CAAA;AAC7C,OAAO,EACL,KAAK,kBAAkB,EACvB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,EACxB,SAAS,GACV,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export const version = '2.24.2'
@@ -43,6 +43,91 @@ export {
43
43
  eip5792Actions,
44
44
  } from './eip5792/decorators/eip5792.js'
45
45
 
46
+ export {
47
+ /** @deprecated This is no longer experimental – use `import type { WalletActions } from 'viem'` instead. */
48
+ type WalletActions as Eip7702Actions,
49
+ /** @deprecated This is no longer experimental – use `import { createWalletClient } from 'viem'` or `import { walletActions } from 'viem'` instead. */
50
+ walletActions as eip7702Actions,
51
+ } from '../clients/decorators/wallet.js'
52
+ export {
53
+ /** @deprecated This is no longer experimental – use `import type { PrepareAuthorizationParameters } from 'viem/actions'` instead. */
54
+ type PrepareAuthorizationParameters,
55
+ /** @deprecated This is no longer experimental – use `import type { PrepareAuthorizationReturnType } from 'viem/actions'` instead. */
56
+ type PrepareAuthorizationReturnType,
57
+ /** @deprecated This is no longer experimental – use `import type { PrepareAuthorizationErrorType } from 'viem/actions'` instead. */
58
+ type PrepareAuthorizationErrorType,
59
+ /** @deprecated This is no longer experimental – use `import { prepareAuthorization } from 'viem/actions'` instead. */
60
+ prepareAuthorization,
61
+ } from '../actions/wallet/prepareAuthorization.js'
62
+ export {
63
+ /** @deprecated This is no longer experimental – use `import type { SignAuthorizationParameters } from 'viem/actions'` instead. */
64
+ type SignAuthorizationParameters,
65
+ /** @deprecated This is no longer experimental – use `import type { SignAuthorizationReturnType } from 'viem/actions'` instead. */
66
+ type SignAuthorizationReturnType,
67
+ /** @deprecated This is no longer experimental – use `import type { SignAuthorizationErrorType } from 'viem/actions'` instead. */
68
+ type SignAuthorizationErrorType,
69
+ /** @deprecated This is no longer experimental – use `import { signAuthorization } from 'viem/actions'` instead. */
70
+ signAuthorization,
71
+ } from '../actions/wallet/signAuthorization.js'
72
+ export {
73
+ /** @deprecated This is no longer experimental – use `import type { Authorization } from 'viem'` instead. */
74
+ type Authorization,
75
+ /** @deprecated This is no longer experimental – use `import type { SignedAuthorization } from 'viem'` instead. */
76
+ type SignedAuthorization,
77
+ /** @deprecated This is no longer experimental – use `import type { AuthorizationList } from 'viem'` instead. */
78
+ type AuthorizationList,
79
+ /** @deprecated This is no longer experimental – use `import type { SignedAuthorizationList } from 'viem'` instead. */
80
+ type SignedAuthorizationList,
81
+ /** @deprecated This is no longer experimental – use `import type { SerializedAuthorization } from 'viem'` instead. */
82
+ type SerializedAuthorization,
83
+ /** @deprecated This is no longer experimental – use `import type { SerializedAuthorizationList } from 'viem'` instead. */
84
+ type SerializedAuthorizationList,
85
+ } from '../types/authorization.js'
86
+ export {
87
+ /** @deprecated This is no longer experimental – use `import type { RpcAuthorizationList } from 'viem'` instead. */
88
+ type RpcAuthorizationList,
89
+ /** @deprecated This is no longer experimental – use `import type { RpcAuthorization } from 'viem'` instead. */
90
+ type RpcAuthorization,
91
+ } from '../types/rpc.js'
92
+ export {
93
+ /** @deprecated This is no longer experimental – use `import type { HashAuthorizationParameters } from 'viem/utils'` instead. */
94
+ type HashAuthorizationParameters,
95
+ /** @deprecated This is no longer experimental – use `import type { HashAuthorizationReturnType } from 'viem/utils'` instead. */
96
+ type HashAuthorizationReturnType,
97
+ /** @deprecated This is no longer experimental – use `import type { HashAuthorizationErrorType } from 'viem/utils'` instead. */
98
+ type HashAuthorizationErrorType,
99
+ /** @deprecated This is no longer experimental – use `import { hashAuthorization } from 'viem/utils'` instead. */
100
+ hashAuthorization,
101
+ } from '../utils/authorization/hashAuthorization.js'
102
+ export {
103
+ /** @deprecated This is no longer experimental – use `import type { RecoverAuthorizationAddressParameters } from 'viem/utils'` instead. */
104
+ type RecoverAuthorizationAddressParameters,
105
+ /** @deprecated This is no longer experimental – use `import type { RecoverAuthorizationAddressReturnType } from 'viem/utils'` instead. */
106
+ type RecoverAuthorizationAddressReturnType,
107
+ /** @deprecated This is no longer experimental – use `import type { RecoverAuthorizationAddressErrorType } from 'viem/utils'` instead. */
108
+ type RecoverAuthorizationAddressErrorType,
109
+ /** @deprecated This is no longer experimental – use `import { recoverAuthorizationAddress } from 'viem/utils'` instead. */
110
+ recoverAuthorizationAddress,
111
+ } from '../utils/authorization/recoverAuthorizationAddress.js'
112
+ export {
113
+ /** @deprecated This is no longer experimental – use `import type { SerializeAuthorizationListReturnType } from 'viem/utils'` instead. */
114
+ type SerializeAuthorizationListReturnType,
115
+ /** @deprecated This is no longer experimental – use `import type { SerializeAuthorizationListErrorType } from 'viem/utils'` instead. */
116
+ type SerializeAuthorizationListErrorType,
117
+ /** @deprecated This is no longer experimental – use `import { serializeAuthorizationList } from 'viem/utils'` instead. */
118
+ serializeAuthorizationList,
119
+ } from '../utils/authorization/serializeAuthorizationList.js'
120
+ export {
121
+ /** @deprecated This is no longer experimental – use `import type { VerifyAuthorizationParameters } from 'viem/utils'` instead. */
122
+ type VerifyAuthorizationParameters,
123
+ /** @deprecated This is no longer experimental – use `import type { VerifyAuthorizationReturnType } from 'viem/utils'` instead. */
124
+ type VerifyAuthorizationReturnType,
125
+ /** @deprecated This is no longer experimental – use `import type { VerifyAuthorizationErrorType } from 'viem/utils'` instead. */
126
+ type VerifyAuthorizationErrorType,
127
+ /** @deprecated This is no longer experimental – use `import { verifyAuthorization } from 'viem/utils'` instead. */
128
+ verifyAuthorization,
129
+ } from '../utils/authorization/verifyAuthorization.js'
130
+
46
131
  export {
47
132
  type GrantPermissionsParameters,
48
133
  type GrantPermissionsReturnType,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "viem",
3
3
  "description": "TypeScript Interface for Ethereum",
4
- "version": "2.24.1",
4
+ "version": "2.24.2",
5
5
  "main": "./_cjs/index.js",
6
6
  "module": "./_esm/index.js",
7
7
  "types": "./_types/index.d.ts",