@aastar/sdk 0.23.0 → 0.24.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.
Files changed (105) hide show
  1. package/dist/UserClient-KYDCMAIU.js +6 -0
  2. package/dist/{UserClient-XTHQ2AP3.js.map → UserClient-KYDCMAIU.js.map} +1 -1
  3. package/dist/UserClient-S6LS3CB6.cjs +15 -0
  4. package/dist/{UserClient-J3JPDIG7.cjs.map → UserClient-S6LS3CB6.cjs.map} +1 -1
  5. package/dist/account.cjs +7 -7
  6. package/dist/account.js +2 -2
  7. package/dist/admin.cjs +3 -3
  8. package/dist/admin.js +2 -2
  9. package/dist/airaccount.cjs +102 -102
  10. package/dist/airaccount.js +2 -2
  11. package/dist/channel.cjs +6 -6
  12. package/dist/channel.js +2 -2
  13. package/dist/{chunk-V65JXHM6.js → chunk-2UC7UPHV.js} +131 -5
  14. package/dist/chunk-2UC7UPHV.js.map +1 -0
  15. package/dist/{chunk-CGKPULZX.cjs → chunk-5PH5CSM7.cjs} +16 -16
  16. package/dist/{chunk-CGKPULZX.cjs.map → chunk-5PH5CSM7.cjs.map} +1 -1
  17. package/dist/{chunk-EZC7Q3SG.js → chunk-654GQ7G7.js} +3 -3
  18. package/dist/{chunk-EZC7Q3SG.js.map → chunk-654GQ7G7.js.map} +1 -1
  19. package/dist/{chunk-W4ENVPZH.cjs → chunk-72JZKARR.cjs} +6 -6
  20. package/dist/{chunk-W4ENVPZH.cjs.map → chunk-72JZKARR.cjs.map} +1 -1
  21. package/dist/{chunk-H5EQBNC6.js → chunk-7RVONA2R.js} +8 -8
  22. package/dist/{chunk-H5EQBNC6.js.map → chunk-7RVONA2R.js.map} +1 -1
  23. package/dist/{chunk-2GZMRCQW.cjs → chunk-A4ICWCHR.cjs} +5 -5
  24. package/dist/{chunk-2GZMRCQW.cjs.map → chunk-A4ICWCHR.cjs.map} +1 -1
  25. package/dist/{chunk-6PJAHZZ2.cjs → chunk-BOVDJSMK.cjs} +26 -26
  26. package/dist/{chunk-6PJAHZZ2.cjs.map → chunk-BOVDJSMK.cjs.map} +1 -1
  27. package/dist/{chunk-5G5SB6CP.js → chunk-BYVG7MO7.js} +34 -3
  28. package/dist/chunk-BYVG7MO7.js.map +1 -0
  29. package/dist/{chunk-E37CPC2U.cjs → chunk-D667CUUS.cjs} +9 -9
  30. package/dist/{chunk-E37CPC2U.cjs.map → chunk-D667CUUS.cjs.map} +1 -1
  31. package/dist/{chunk-PFMCPSS4.js → chunk-DAMWXGKD.js} +3 -3
  32. package/dist/{chunk-PFMCPSS4.js.map → chunk-DAMWXGKD.js.map} +1 -1
  33. package/dist/{chunk-XFJSY5LG.cjs → chunk-GDH4DSVM.cjs} +12 -12
  34. package/dist/{chunk-XFJSY5LG.cjs.map → chunk-GDH4DSVM.cjs.map} +1 -1
  35. package/dist/{chunk-UULR2KA6.cjs → chunk-HNJBQR5U.cjs} +5 -5
  36. package/dist/{chunk-UULR2KA6.cjs.map → chunk-HNJBQR5U.cjs.map} +1 -1
  37. package/dist/{chunk-2DDWYKF2.js → chunk-JMW5AHLC.js} +9 -9
  38. package/dist/{chunk-2DDWYKF2.js.map → chunk-JMW5AHLC.js.map} +1 -1
  39. package/dist/{chunk-D23CZFOM.js → chunk-LDARLWS3.js} +3 -3
  40. package/dist/{chunk-D23CZFOM.js.map → chunk-LDARLWS3.js.map} +1 -1
  41. package/dist/{chunk-MFBTMF5U.cjs → chunk-MOJJ7QF6.cjs} +39 -2
  42. package/dist/{chunk-MFBTMF5U.cjs.map → chunk-MOJJ7QF6.cjs.map} +1 -1
  43. package/dist/{chunk-6I22EW6V.cjs → chunk-NVYVTCHJ.cjs} +11 -11
  44. package/dist/{chunk-6I22EW6V.cjs.map → chunk-NVYVTCHJ.cjs.map} +1 -1
  45. package/dist/{chunk-SXLWFZFX.js → chunk-PNBK2CLK.js} +3 -3
  46. package/dist/{chunk-SXLWFZFX.js.map → chunk-PNBK2CLK.js.map} +1 -1
  47. package/dist/{chunk-2UDF62XV.js → chunk-PXQDAFXD.js} +6 -6
  48. package/dist/{chunk-2UDF62XV.js.map → chunk-PXQDAFXD.js.map} +1 -1
  49. package/dist/{chunk-2WBSYPUY.js → chunk-RZ2M2RVP.js} +3 -3
  50. package/dist/{chunk-2WBSYPUY.js.map → chunk-RZ2M2RVP.js.map} +1 -1
  51. package/dist/{chunk-LAZA3JD7.cjs → chunk-VEAYV52I.cjs} +131 -5
  52. package/dist/chunk-VEAYV52I.cjs.map +1 -0
  53. package/dist/{chunk-PKYWLTIJ.cjs → chunk-VHY6R2PI.cjs} +32 -32
  54. package/dist/{chunk-PKYWLTIJ.cjs.map → chunk-VHY6R2PI.cjs.map} +1 -1
  55. package/dist/{chunk-UMTCWOQV.js → chunk-WC25H5VG.js} +4 -4
  56. package/dist/{chunk-UMTCWOQV.js.map → chunk-WC25H5VG.js.map} +1 -1
  57. package/dist/{chunk-TM2LH4ZE.js → chunk-WVJ4LQVB.js} +3 -3
  58. package/dist/{chunk-TM2LH4ZE.js.map → chunk-WVJ4LQVB.js.map} +1 -1
  59. package/dist/{chunk-UQMMEDHO.cjs → chunk-WVOJV4Q5.cjs} +4 -4
  60. package/dist/{chunk-UQMMEDHO.cjs.map → chunk-WVOJV4Q5.cjs.map} +1 -1
  61. package/dist/core.cjs +226 -202
  62. package/dist/core.d.cts +101 -1
  63. package/dist/core.d.ts +101 -1
  64. package/dist/core.js +1 -1
  65. package/dist/dapp.cjs +5 -5
  66. package/dist/dapp.js +2 -2
  67. package/dist/enduser.cjs +6 -6
  68. package/dist/enduser.js +3 -3
  69. package/dist/identity.cjs +5 -5
  70. package/dist/identity.js +2 -2
  71. package/dist/index.cjs +327 -303
  72. package/dist/index.d.cts +1 -1
  73. package/dist/index.d.ts +1 -1
  74. package/dist/index.js +15 -15
  75. package/dist/kms.cjs +102 -102
  76. package/dist/kms.d.cts +60 -1
  77. package/dist/kms.d.ts +60 -1
  78. package/dist/kms.js +2 -2
  79. package/dist/operator.cjs +6 -6
  80. package/dist/operator.js +2 -2
  81. package/dist/paymaster.cjs +15 -15
  82. package/dist/paymaster.js +2 -2
  83. package/dist/src-5URXSFKD.js +5 -0
  84. package/dist/src-5URXSFKD.js.map +1 -0
  85. package/dist/{src-HECKBVR2.cjs → src-72GWEAPA.cjs} +17 -17
  86. package/dist/src-72GWEAPA.cjs.map +1 -0
  87. package/dist/{src-4Q2WFLO2.cjs → src-N72HAQXS.cjs} +228 -204
  88. package/dist/src-N72HAQXS.cjs.map +1 -0
  89. package/dist/{src-KLP4Q2Y3.js → src-UNS5B7FX.js} +4 -4
  90. package/dist/src-UNS5B7FX.js.map +1 -0
  91. package/dist/tokens.cjs +3 -3
  92. package/dist/tokens.js +2 -2
  93. package/dist/x402.cjs +25 -25
  94. package/dist/x402.js +2 -2
  95. package/package.json +1 -1
  96. package/dist/UserClient-J3JPDIG7.cjs +0 -15
  97. package/dist/UserClient-XTHQ2AP3.js +0 -6
  98. package/dist/chunk-5G5SB6CP.js.map +0 -1
  99. package/dist/chunk-LAZA3JD7.cjs.map +0 -1
  100. package/dist/chunk-V65JXHM6.js.map +0 -1
  101. package/dist/src-2P72LYVT.js +0 -5
  102. package/dist/src-2P72LYVT.js.map +0 -1
  103. package/dist/src-4Q2WFLO2.cjs.map +0 -1
  104. package/dist/src-HECKBVR2.cjs.map +0 -1
  105. package/dist/src-KLP4Q2Y3.js.map +0 -1
package/dist/kms.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
- var chunkLAZA3JD7_cjs = require('./chunk-LAZA3JD7.cjs');
3
+ var chunkVEAYV52I_cjs = require('./chunk-VEAYV52I.cjs');
4
4
  var chunkXQROKLZI_cjs = require('./chunk-XQROKLZI.cjs');
5
- require('./chunk-MFBTMF5U.cjs');
5
+ require('./chunk-MOJJ7QF6.cjs');
6
6
  require('./chunk-MXJEULSE.cjs');
7
7
  require('./chunk-Q7SFCCGT.cjs');
8
8
 
@@ -10,403 +10,403 @@ require('./chunk-Q7SFCCGT.cjs');
10
10
 
11
11
  Object.defineProperty(exports, "ACCOUNT_ABI", {
12
12
  enumerable: true,
13
- get: function () { return chunkLAZA3JD7_cjs.ACCOUNT_ABI; }
13
+ get: function () { return chunkVEAYV52I_cjs.ACCOUNT_ABI; }
14
14
  });
15
15
  Object.defineProperty(exports, "AGENT_SESSION_KEY_VALIDATOR_ABI", {
16
16
  enumerable: true,
17
- get: function () { return chunkLAZA3JD7_cjs.AGENT_SESSION_KEY_VALIDATOR_ABI; }
17
+ get: function () { return chunkVEAYV52I_cjs.AGENT_SESSION_KEY_VALIDATOR_ABI; }
18
18
  });
19
19
  Object.defineProperty(exports, "AIRACCOUNT_ABI", {
20
20
  enumerable: true,
21
- get: function () { return chunkLAZA3JD7_cjs.AIRACCOUNT_ABI; }
21
+ get: function () { return chunkVEAYV52I_cjs.AIRACCOUNT_ABI; }
22
22
  });
23
23
  Object.defineProperty(exports, "AIRACCOUNT_ADDRESSES", {
24
24
  enumerable: true,
25
- get: function () { return chunkLAZA3JD7_cjs.AIRACCOUNT_ADDRESSES; }
25
+ get: function () { return chunkVEAYV52I_cjs.AIRACCOUNT_ADDRESSES; }
26
26
  });
27
27
  Object.defineProperty(exports, "AIRACCOUNT_FACTORY_ABI", {
28
28
  enumerable: true,
29
- get: function () { return chunkLAZA3JD7_cjs.AIRACCOUNT_FACTORY_ABI; }
29
+ get: function () { return chunkVEAYV52I_cjs.AIRACCOUNT_FACTORY_ABI; }
30
30
  });
31
31
  Object.defineProperty(exports, "AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI", {
32
32
  enumerable: true,
33
- get: function () { return chunkLAZA3JD7_cjs.AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI; }
33
+ get: function () { return chunkVEAYV52I_cjs.AIR_ACCOUNT_COMPOSITE_VALIDATOR_ABI; }
34
34
  });
35
35
  Object.defineProperty(exports, "AIR_ACCOUNT_DELEGATE_ABI", {
36
36
  enumerable: true,
37
- get: function () { return chunkLAZA3JD7_cjs.AIR_ACCOUNT_DELEGATE_ABI; }
37
+ get: function () { return chunkVEAYV52I_cjs.AIR_ACCOUNT_DELEGATE_ABI; }
38
38
  });
39
39
  Object.defineProperty(exports, "AIR_ACCOUNT_DELEGATE_ADDRESS", {
40
40
  enumerable: true,
41
- get: function () { return chunkLAZA3JD7_cjs.AIR_ACCOUNT_DELEGATE_ADDRESS; }
41
+ get: function () { return chunkVEAYV52I_cjs.AIR_ACCOUNT_DELEGATE_ADDRESS; }
42
42
  });
43
43
  Object.defineProperty(exports, "ALG_ID", {
44
44
  enumerable: true,
45
- get: function () { return chunkLAZA3JD7_cjs.ALG_ID; }
45
+ get: function () { return chunkVEAYV52I_cjs.ALG_ID; }
46
46
  });
47
47
  Object.defineProperty(exports, "AccountManager", {
48
48
  enumerable: true,
49
- get: function () { return chunkLAZA3JD7_cjs.AccountManager; }
49
+ get: function () { return chunkVEAYV52I_cjs.AccountManager; }
50
50
  });
51
51
  Object.defineProperty(exports, "AgentRegistryService", {
52
52
  enumerable: true,
53
- get: function () { return chunkLAZA3JD7_cjs.AgentRegistryService; }
53
+ get: function () { return chunkVEAYV52I_cjs.AgentRegistryService; }
54
54
  });
55
55
  Object.defineProperty(exports, "AirAccountServerClient", {
56
56
  enumerable: true,
57
- get: function () { return chunkLAZA3JD7_cjs.AirAccountServerClient; }
57
+ get: function () { return chunkVEAYV52I_cjs.AirAccountServerClient; }
58
58
  });
59
59
  Object.defineProperty(exports, "BLSSignatureService", {
60
60
  enumerable: true,
61
- get: function () { return chunkLAZA3JD7_cjs.BLSSignatureService; }
61
+ get: function () { return chunkVEAYV52I_cjs.BLSSignatureService; }
62
62
  });
63
63
  Object.defineProperty(exports, "CALLDATA_PARSER_REGISTRY_ABI", {
64
64
  enumerable: true,
65
- get: function () { return chunkLAZA3JD7_cjs.CALLDATA_PARSER_REGISTRY_ABI; }
65
+ get: function () { return chunkVEAYV52I_cjs.CALLDATA_PARSER_REGISTRY_ABI; }
66
66
  });
67
67
  Object.defineProperty(exports, "ConsoleLogger", {
68
68
  enumerable: true,
69
- get: function () { return chunkLAZA3JD7_cjs.ConsoleLogger; }
69
+ get: function () { return chunkVEAYV52I_cjs.ConsoleLogger; }
70
70
  });
71
71
  Object.defineProperty(exports, "DEFAULT_CREDENTIAL_ID", {
72
72
  enumerable: true,
73
- get: function () { return chunkLAZA3JD7_cjs.DEFAULT_CREDENTIAL_ID; }
73
+ get: function () { return chunkVEAYV52I_cjs.DEFAULT_CREDENTIAL_ID; }
74
74
  });
75
75
  Object.defineProperty(exports, "DEFAULT_KMS_ENDPOINT", {
76
76
  enumerable: true,
77
- get: function () { return chunkLAZA3JD7_cjs.DEFAULT_KMS_ENDPOINT; }
77
+ get: function () { return chunkVEAYV52I_cjs.DEFAULT_KMS_ENDPOINT; }
78
78
  });
79
79
  Object.defineProperty(exports, "DEFAULT_ORIGIN", {
80
80
  enumerable: true,
81
- get: function () { return chunkLAZA3JD7_cjs.DEFAULT_ORIGIN; }
81
+ get: function () { return chunkVEAYV52I_cjs.DEFAULT_ORIGIN; }
82
82
  });
83
83
  Object.defineProperty(exports, "DEFAULT_RP_ID", {
84
84
  enumerable: true,
85
- get: function () { return chunkLAZA3JD7_cjs.DEFAULT_RP_ID; }
85
+ get: function () { return chunkVEAYV52I_cjs.DEFAULT_RP_ID; }
86
86
  });
87
87
  Object.defineProperty(exports, "DvtPendingConfirmationError", {
88
88
  enumerable: true,
89
- get: function () { return chunkLAZA3JD7_cjs.DvtPendingConfirmationError; }
89
+ get: function () { return chunkVEAYV52I_cjs.DvtPendingConfirmationError; }
90
90
  });
91
91
  Object.defineProperty(exports, "EIP7702DelegateService", {
92
92
  enumerable: true,
93
- get: function () { return chunkLAZA3JD7_cjs.EIP7702DelegateService; }
93
+ get: function () { return chunkVEAYV52I_cjs.EIP7702DelegateService; }
94
94
  });
95
95
  Object.defineProperty(exports, "ENTRYPOINT_ABI_V6", {
96
96
  enumerable: true,
97
- get: function () { return chunkLAZA3JD7_cjs.ENTRYPOINT_ABI_V6; }
97
+ get: function () { return chunkVEAYV52I_cjs.ENTRYPOINT_ABI_V6; }
98
98
  });
99
99
  Object.defineProperty(exports, "ENTRYPOINT_ABI_V7_V8", {
100
100
  enumerable: true,
101
- get: function () { return chunkLAZA3JD7_cjs.ENTRYPOINT_ABI_V7_V8; }
101
+ get: function () { return chunkVEAYV52I_cjs.ENTRYPOINT_ABI_V7_V8; }
102
102
  });
103
103
  Object.defineProperty(exports, "ENTRYPOINT_ADDRESSES", {
104
104
  enumerable: true,
105
- get: function () { return chunkLAZA3JD7_cjs.ENTRYPOINT_ADDRESSES; }
105
+ get: function () { return chunkVEAYV52I_cjs.ENTRYPOINT_ADDRESSES; }
106
106
  });
107
107
  Object.defineProperty(exports, "ERC20_ABI", {
108
108
  enumerable: true,
109
- get: function () { return chunkLAZA3JD7_cjs.ERC20_ABI; }
109
+ get: function () { return chunkVEAYV52I_cjs.ERC20_ABI; }
110
110
  });
111
111
  Object.defineProperty(exports, "ERC8004Service", {
112
112
  enumerable: true,
113
- get: function () { return chunkLAZA3JD7_cjs.ERC8004Service; }
113
+ get: function () { return chunkVEAYV52I_cjs.ERC8004Service; }
114
114
  });
115
115
  Object.defineProperty(exports, "ERC8004_ADDRESSES", {
116
116
  enumerable: true,
117
- get: function () { return chunkLAZA3JD7_cjs.ERC8004_ADDRESSES; }
117
+ get: function () { return chunkVEAYV52I_cjs.ERC8004_ADDRESSES; }
118
118
  });
119
119
  Object.defineProperty(exports, "EXECUTE_BATCH_SELECTOR", {
120
120
  enumerable: true,
121
- get: function () { return chunkLAZA3JD7_cjs.EXECUTE_BATCH_SELECTOR; }
121
+ get: function () { return chunkVEAYV52I_cjs.EXECUTE_BATCH_SELECTOR; }
122
122
  });
123
123
  Object.defineProperty(exports, "EXECUTE_SELECTOR", {
124
124
  enumerable: true,
125
- get: function () { return chunkLAZA3JD7_cjs.EXECUTE_SELECTOR; }
125
+ get: function () { return chunkVEAYV52I_cjs.EXECUTE_SELECTOR; }
126
126
  });
127
127
  Object.defineProperty(exports, "EXECUTE_USER_OP_SELECTOR", {
128
128
  enumerable: true,
129
- get: function () { return chunkLAZA3JD7_cjs.EXECUTE_USER_OP_SELECTOR; }
129
+ get: function () { return chunkVEAYV52I_cjs.EXECUTE_USER_OP_SELECTOR; }
130
130
  });
131
131
  Object.defineProperty(exports, "EntryPointVersion", {
132
132
  enumerable: true,
133
- get: function () { return chunkLAZA3JD7_cjs.EntryPointVersion; }
133
+ get: function () { return chunkVEAYV52I_cjs.EntryPointVersion; }
134
134
  });
135
135
  Object.defineProperty(exports, "EthereumProvider", {
136
136
  enumerable: true,
137
- get: function () { return chunkLAZA3JD7_cjs.EthereumProvider; }
137
+ get: function () { return chunkVEAYV52I_cjs.EthereumProvider; }
138
138
  });
139
139
  Object.defineProperty(exports, "FACTORY_ABI_V6", {
140
140
  enumerable: true,
141
- get: function () { return chunkLAZA3JD7_cjs.FACTORY_ABI_V6; }
141
+ get: function () { return chunkVEAYV52I_cjs.FACTORY_ABI_V6; }
142
142
  });
143
143
  Object.defineProperty(exports, "FACTORY_ABI_V7_V8", {
144
144
  enumerable: true,
145
- get: function () { return chunkLAZA3JD7_cjs.FACTORY_ABI_V7_V8; }
145
+ get: function () { return chunkVEAYV52I_cjs.FACTORY_ABI_V7_V8; }
146
146
  });
147
147
  Object.defineProperty(exports, "FORCE_EXIT_MODULE_ABI", {
148
148
  enumerable: true,
149
- get: function () { return chunkLAZA3JD7_cjs.FORCE_EXIT_MODULE_ABI; }
149
+ get: function () { return chunkVEAYV52I_cjs.FORCE_EXIT_MODULE_ABI; }
150
150
  });
151
151
  Object.defineProperty(exports, "ForceExitService", {
152
152
  enumerable: true,
153
- get: function () { return chunkLAZA3JD7_cjs.ForceExitService; }
153
+ get: function () { return chunkVEAYV52I_cjs.ForceExitService; }
154
154
  });
155
155
  Object.defineProperty(exports, "GLOBAL_GUARD_ABI", {
156
156
  enumerable: true,
157
- get: function () { return chunkLAZA3JD7_cjs.GLOBAL_GUARD_ABI; }
157
+ get: function () { return chunkVEAYV52I_cjs.GLOBAL_GUARD_ABI; }
158
158
  });
159
159
  Object.defineProperty(exports, "GuardChecker", {
160
160
  enumerable: true,
161
- get: function () { return chunkLAZA3JD7_cjs.GuardChecker; }
161
+ get: function () { return chunkVEAYV52I_cjs.GuardChecker; }
162
162
  });
163
163
  Object.defineProperty(exports, "GuardStateReader", {
164
164
  enumerable: true,
165
- get: function () { return chunkLAZA3JD7_cjs.GuardStateReader; }
165
+ get: function () { return chunkVEAYV52I_cjs.GuardStateReader; }
166
166
  });
167
167
  Object.defineProperty(exports, "KmsAgentService", {
168
168
  enumerable: true,
169
- get: function () { return chunkLAZA3JD7_cjs.KmsAgentService; }
169
+ get: function () { return chunkVEAYV52I_cjs.KmsAgentService; }
170
170
  });
171
171
  Object.defineProperty(exports, "KmsHttpClient", {
172
172
  enumerable: true,
173
- get: function () { return chunkLAZA3JD7_cjs.KmsHttpClient; }
173
+ get: function () { return chunkVEAYV52I_cjs.KmsHttpClient; }
174
174
  });
175
175
  Object.defineProperty(exports, "KmsManager", {
176
176
  enumerable: true,
177
- get: function () { return chunkLAZA3JD7_cjs.KmsManager; }
177
+ get: function () { return chunkVEAYV52I_cjs.KmsManager; }
178
178
  });
179
179
  Object.defineProperty(exports, "KmsMonitorService", {
180
180
  enumerable: true,
181
- get: function () { return chunkLAZA3JD7_cjs.KmsMonitorService; }
181
+ get: function () { return chunkVEAYV52I_cjs.KmsMonitorService; }
182
182
  });
183
183
  Object.defineProperty(exports, "KmsPaymentSigner", {
184
184
  enumerable: true,
185
- get: function () { return chunkLAZA3JD7_cjs.KmsPaymentSigner; }
185
+ get: function () { return chunkVEAYV52I_cjs.KmsPaymentSigner; }
186
186
  });
187
187
  Object.defineProperty(exports, "KmsSessionService", {
188
188
  enumerable: true,
189
- get: function () { return chunkLAZA3JD7_cjs.KmsSessionService; }
189
+ get: function () { return chunkVEAYV52I_cjs.KmsSessionService; }
190
190
  });
191
191
  Object.defineProperty(exports, "KmsSigner", {
192
192
  enumerable: true,
193
- get: function () { return chunkLAZA3JD7_cjs.KmsSigner; }
193
+ get: function () { return chunkVEAYV52I_cjs.KmsSigner; }
194
194
  });
195
195
  Object.defineProperty(exports, "L2_TYPE", {
196
196
  enumerable: true,
197
- get: function () { return chunkLAZA3JD7_cjs.L2_TYPE; }
197
+ get: function () { return chunkVEAYV52I_cjs.L2_TYPE; }
198
198
  });
199
199
  Object.defineProperty(exports, "LocalWalletSigner", {
200
200
  enumerable: true,
201
- get: function () { return chunkLAZA3JD7_cjs.LocalWalletSigner; }
201
+ get: function () { return chunkVEAYV52I_cjs.LocalWalletSigner; }
202
202
  });
203
203
  Object.defineProperty(exports, "MAX_GUARDIANS", {
204
204
  enumerable: true,
205
- get: function () { return chunkLAZA3JD7_cjs.MAX_GUARDIANS; }
205
+ get: function () { return chunkVEAYV52I_cjs.MAX_GUARDIANS; }
206
206
  });
207
207
  Object.defineProperty(exports, "MODULE_TYPE", {
208
208
  enumerable: true,
209
- get: function () { return chunkLAZA3JD7_cjs.MODULE_TYPE; }
209
+ get: function () { return chunkVEAYV52I_cjs.MODULE_TYPE; }
210
210
  });
211
211
  Object.defineProperty(exports, "MemoryStorage", {
212
212
  enumerable: true,
213
- get: function () { return chunkLAZA3JD7_cjs.MemoryStorage; }
213
+ get: function () { return chunkVEAYV52I_cjs.MemoryStorage; }
214
214
  });
215
215
  Object.defineProperty(exports, "ModuleManager", {
216
216
  enumerable: true,
217
- get: function () { return chunkLAZA3JD7_cjs.ModuleManager; }
217
+ get: function () { return chunkVEAYV52I_cjs.ModuleManager; }
218
218
  });
219
219
  Object.defineProperty(exports, "P256PasskeySigner", {
220
220
  enumerable: true,
221
- get: function () { return chunkLAZA3JD7_cjs.P256PasskeySigner; }
221
+ get: function () { return chunkVEAYV52I_cjs.P256PasskeySigner; }
222
222
  });
223
223
  Object.defineProperty(exports, "PaymasterManager", {
224
224
  enumerable: true,
225
- get: function () { return chunkLAZA3JD7_cjs.PaymasterManager; }
225
+ get: function () { return chunkVEAYV52I_cjs.PaymasterManager; }
226
226
  });
227
227
  Object.defineProperty(exports, "PaymasterPriceStalenessError", {
228
228
  enumerable: true,
229
- get: function () { return chunkLAZA3JD7_cjs.PaymasterPriceStalenessError; }
229
+ get: function () { return chunkVEAYV52I_cjs.PaymasterPriceStalenessError; }
230
230
  });
231
231
  Object.defineProperty(exports, "RECOVERY_THRESHOLD", {
232
232
  enumerable: true,
233
- get: function () { return chunkLAZA3JD7_cjs.RECOVERY_THRESHOLD; }
233
+ get: function () { return chunkVEAYV52I_cjs.RECOVERY_THRESHOLD; }
234
234
  });
235
235
  Object.defineProperty(exports, "RECOVERY_TIMELOCK_SECONDS", {
236
236
  enumerable: true,
237
- get: function () { return chunkLAZA3JD7_cjs.RECOVERY_TIMELOCK_SECONDS; }
237
+ get: function () { return chunkVEAYV52I_cjs.RECOVERY_TIMELOCK_SECONDS; }
238
238
  });
239
239
  Object.defineProperty(exports, "RecoveryService", {
240
240
  enumerable: true,
241
- get: function () { return chunkLAZA3JD7_cjs.RecoveryService; }
241
+ get: function () { return chunkVEAYV52I_cjs.RecoveryService; }
242
242
  });
243
243
  Object.defineProperty(exports, "SESSION_KEY_VALIDATOR_ABI", {
244
244
  enumerable: true,
245
- get: function () { return chunkLAZA3JD7_cjs.SESSION_KEY_VALIDATOR_ABI; }
245
+ get: function () { return chunkVEAYV52I_cjs.SESSION_KEY_VALIDATOR_ABI; }
246
246
  });
247
247
  Object.defineProperty(exports, "SessionKeyService", {
248
248
  enumerable: true,
249
- get: function () { return chunkLAZA3JD7_cjs.SessionKeyService; }
249
+ get: function () { return chunkVEAYV52I_cjs.SessionKeyService; }
250
250
  });
251
251
  Object.defineProperty(exports, "SilentLogger", {
252
252
  enumerable: true,
253
- get: function () { return chunkLAZA3JD7_cjs.SilentLogger; }
253
+ get: function () { return chunkVEAYV52I_cjs.SilentLogger; }
254
254
  });
255
255
  Object.defineProperty(exports, "TIER_GUARD_HOOK_ABI", {
256
256
  enumerable: true,
257
- get: function () { return chunkLAZA3JD7_cjs.TIER_GUARD_HOOK_ABI; }
257
+ get: function () { return chunkVEAYV52I_cjs.TIER_GUARD_HOOK_ABI; }
258
258
  });
259
259
  Object.defineProperty(exports, "TokenService", {
260
260
  enumerable: true,
261
- get: function () { return chunkLAZA3JD7_cjs.TokenService; }
261
+ get: function () { return chunkVEAYV52I_cjs.TokenService; }
262
262
  });
263
263
  Object.defineProperty(exports, "TransferManager", {
264
264
  enumerable: true,
265
- get: function () { return chunkLAZA3JD7_cjs.TransferManager; }
265
+ get: function () { return chunkVEAYV52I_cjs.TransferManager; }
266
266
  });
267
267
  Object.defineProperty(exports, "VALIDATOR_ABI", {
268
268
  enumerable: true,
269
- get: function () { return chunkLAZA3JD7_cjs.VALIDATOR_ABI; }
269
+ get: function () { return chunkVEAYV52I_cjs.VALIDATOR_ABI; }
270
270
  });
271
271
  Object.defineProperty(exports, "WEIGHT_CHANGE_EXPIRY_SECONDS", {
272
272
  enumerable: true,
273
- get: function () { return chunkLAZA3JD7_cjs.WEIGHT_CHANGE_EXPIRY_SECONDS; }
273
+ get: function () { return chunkVEAYV52I_cjs.WEIGHT_CHANGE_EXPIRY_SECONDS; }
274
274
  });
275
275
  Object.defineProperty(exports, "WEIGHT_CHANGE_THRESHOLD", {
276
276
  enumerable: true,
277
- get: function () { return chunkLAZA3JD7_cjs.WEIGHT_CHANGE_THRESHOLD; }
277
+ get: function () { return chunkVEAYV52I_cjs.WEIGHT_CHANGE_THRESHOLD; }
278
278
  });
279
279
  Object.defineProperty(exports, "WEIGHT_CHANGE_TIMELOCK_SECONDS", {
280
280
  enumerable: true,
281
- get: function () { return chunkLAZA3JD7_cjs.WEIGHT_CHANGE_TIMELOCK_SECONDS; }
281
+ get: function () { return chunkVEAYV52I_cjs.WEIGHT_CHANGE_TIMELOCK_SECONDS; }
282
282
  });
283
283
  Object.defineProperty(exports, "WalletManager", {
284
284
  enumerable: true,
285
- get: function () { return chunkLAZA3JD7_cjs.WalletManager; }
285
+ get: function () { return chunkVEAYV52I_cjs.WalletManager; }
286
286
  });
287
287
  Object.defineProperty(exports, "WeightedSignatureService", {
288
288
  enumerable: true,
289
- get: function () { return chunkLAZA3JD7_cjs.WeightedSignatureService; }
289
+ get: function () { return chunkVEAYV52I_cjs.WeightedSignatureService; }
290
290
  });
291
291
  Object.defineProperty(exports, "YAAAServerClient", {
292
292
  enumerable: true,
293
- get: function () { return chunkLAZA3JD7_cjs.YAAAServerClient; }
293
+ get: function () { return chunkVEAYV52I_cjs.YAAAServerClient; }
294
294
  });
295
295
  Object.defineProperty(exports, "base64UrlDecode", {
296
296
  enumerable: true,
297
- get: function () { return chunkLAZA3JD7_cjs.base64UrlDecode; }
297
+ get: function () { return chunkVEAYV52I_cjs.base64UrlDecode; }
298
298
  });
299
299
  Object.defineProperty(exports, "base64UrlEncode", {
300
300
  enumerable: true,
301
- get: function () { return chunkLAZA3JD7_cjs.base64UrlEncode; }
301
+ get: function () { return chunkVEAYV52I_cjs.base64UrlEncode; }
302
302
  });
303
303
  Object.defineProperty(exports, "beginAuthenticationChallenge", {
304
304
  enumerable: true,
305
- get: function () { return chunkLAZA3JD7_cjs.beginAuthenticationChallenge; }
305
+ get: function () { return chunkVEAYV52I_cjs.beginAuthenticationChallenge; }
306
306
  });
307
307
  Object.defineProperty(exports, "beginGrantSessionChallenge", {
308
308
  enumerable: true,
309
- get: function () { return chunkLAZA3JD7_cjs.beginGrantSessionChallenge; }
309
+ get: function () { return chunkVEAYV52I_cjs.beginGrantSessionChallenge; }
310
310
  });
311
311
  Object.defineProperty(exports, "buildAuthenticationCredential", {
312
312
  enumerable: true,
313
- get: function () { return chunkLAZA3JD7_cjs.buildAuthenticationCredential; }
313
+ get: function () { return chunkVEAYV52I_cjs.buildAuthenticationCredential; }
314
314
  });
315
315
  Object.defineProperty(exports, "buildAuthenticatorData", {
316
316
  enumerable: true,
317
- get: function () { return chunkLAZA3JD7_cjs.buildAuthenticatorData; }
317
+ get: function () { return chunkVEAYV52I_cjs.buildAuthenticatorData; }
318
318
  });
319
319
  Object.defineProperty(exports, "buildClientDataJSON", {
320
320
  enumerable: true,
321
- get: function () { return chunkLAZA3JD7_cjs.buildClientDataJSON; }
321
+ get: function () { return chunkVEAYV52I_cjs.buildClientDataJSON; }
322
322
  });
323
323
  Object.defineProperty(exports, "buildFullInitConfig", {
324
324
  enumerable: true,
325
- get: function () { return chunkLAZA3JD7_cjs.buildFullInitConfig; }
325
+ get: function () { return chunkVEAYV52I_cjs.buildFullInitConfig; }
326
326
  });
327
327
  Object.defineProperty(exports, "buildInstallModuleHash", {
328
328
  enumerable: true,
329
- get: function () { return chunkLAZA3JD7_cjs.buildInstallModuleHash; }
329
+ get: function () { return chunkVEAYV52I_cjs.buildInstallModuleHash; }
330
330
  });
331
331
  Object.defineProperty(exports, "buildUninstallModuleHash", {
332
332
  enumerable: true,
333
- get: function () { return chunkLAZA3JD7_cjs.buildUninstallModuleHash; }
333
+ get: function () { return chunkVEAYV52I_cjs.buildUninstallModuleHash; }
334
334
  });
335
335
  Object.defineProperty(exports, "computeOapdSalt", {
336
336
  enumerable: true,
337
- get: function () { return chunkLAZA3JD7_cjs.computeOapdSalt; }
337
+ get: function () { return chunkVEAYV52I_cjs.computeOapdSalt; }
338
338
  });
339
339
  Object.defineProperty(exports, "erc8004AddressesForChain", {
340
340
  enumerable: true,
341
- get: function () { return chunkLAZA3JD7_cjs.erc8004AddressesForChain; }
341
+ get: function () { return chunkVEAYV52I_cjs.erc8004AddressesForChain; }
342
342
  });
343
343
  Object.defineProperty(exports, "getOapdAddress", {
344
344
  enumerable: true,
345
- get: function () { return chunkLAZA3JD7_cjs.getOapdAddress; }
345
+ get: function () { return chunkVEAYV52I_cjs.getOapdAddress; }
346
346
  });
347
347
  Object.defineProperty(exports, "getOapdAddressWithChainId", {
348
348
  enumerable: true,
349
- get: function () { return chunkLAZA3JD7_cjs.getOapdAddressWithChainId; }
349
+ get: function () { return chunkVEAYV52I_cjs.getOapdAddressWithChainId; }
350
350
  });
351
351
  Object.defineProperty(exports, "initConfigFromRecord", {
352
352
  enumerable: true,
353
- get: function () { return chunkLAZA3JD7_cjs.initConfigFromRecord; }
353
+ get: function () { return chunkVEAYV52I_cjs.initConfigFromRecord; }
354
354
  });
355
355
  Object.defineProperty(exports, "initConfigToTuple", {
356
356
  enumerable: true,
357
- get: function () { return chunkLAZA3JD7_cjs.initConfigToTuple; }
357
+ get: function () { return chunkVEAYV52I_cjs.initConfigToTuple; }
358
358
  });
359
359
  Object.defineProperty(exports, "isExecuteUserOpWrapped", {
360
360
  enumerable: true,
361
- get: function () { return chunkLAZA3JD7_cjs.isExecuteUserOpWrapped; }
361
+ get: function () { return chunkVEAYV52I_cjs.isExecuteUserOpWrapped; }
362
362
  });
363
363
  Object.defineProperty(exports, "isOapdDeployed", {
364
364
  enumerable: true,
365
- get: function () { return chunkLAZA3JD7_cjs.isOapdDeployed; }
365
+ get: function () { return chunkVEAYV52I_cjs.isOapdDeployed; }
366
366
  });
367
367
  Object.defineProperty(exports, "isPendingConfirmation", {
368
368
  enumerable: true,
369
- get: function () { return chunkLAZA3JD7_cjs.isPendingConfirmation; }
369
+ get: function () { return chunkVEAYV52I_cjs.isPendingConfirmation; }
370
370
  });
371
371
  Object.defineProperty(exports, "packP256SessionSignature", {
372
372
  enumerable: true,
373
- get: function () { return chunkLAZA3JD7_cjs.packP256SessionSignature; }
373
+ get: function () { return chunkVEAYV52I_cjs.packP256SessionSignature; }
374
374
  });
375
375
  Object.defineProperty(exports, "packSecp256k1SessionSignature", {
376
376
  enumerable: true,
377
- get: function () { return chunkLAZA3JD7_cjs.packSecp256k1SessionSignature; }
377
+ get: function () { return chunkVEAYV52I_cjs.packSecp256k1SessionSignature; }
378
378
  });
379
379
  Object.defineProperty(exports, "runAuthenticationCeremony", {
380
380
  enumerable: true,
381
- get: function () { return chunkLAZA3JD7_cjs.runAuthenticationCeremony; }
381
+ get: function () { return chunkVEAYV52I_cjs.runAuthenticationCeremony; }
382
382
  });
383
383
  Object.defineProperty(exports, "runGrantSessionCeremony", {
384
384
  enumerable: true,
385
- get: function () { return chunkLAZA3JD7_cjs.runGrantSessionCeremony; }
385
+ get: function () { return chunkVEAYV52I_cjs.runGrantSessionCeremony; }
386
386
  });
387
387
  Object.defineProperty(exports, "runWebAuthnCeremony", {
388
388
  enumerable: true,
389
- get: function () { return chunkLAZA3JD7_cjs.runWebAuthnCeremony; }
389
+ get: function () { return chunkVEAYV52I_cjs.runWebAuthnCeremony; }
390
390
  });
391
391
  Object.defineProperty(exports, "sepoliaV07Config", {
392
392
  enumerable: true,
393
- get: function () { return chunkLAZA3JD7_cjs.sepoliaV07Config; }
393
+ get: function () { return chunkVEAYV52I_cjs.sepoliaV07Config; }
394
394
  });
395
395
  Object.defineProperty(exports, "serializeGuardianSpecs", {
396
396
  enumerable: true,
397
- get: function () { return chunkLAZA3JD7_cjs.serializeGuardianSpecs; }
397
+ get: function () { return chunkVEAYV52I_cjs.serializeGuardianSpecs; }
398
398
  });
399
399
  Object.defineProperty(exports, "toGuardianSpecs", {
400
400
  enumerable: true,
401
- get: function () { return chunkLAZA3JD7_cjs.toGuardianSpecs; }
401
+ get: function () { return chunkVEAYV52I_cjs.toGuardianSpecs; }
402
402
  });
403
403
  Object.defineProperty(exports, "validateConfig", {
404
404
  enumerable: true,
405
- get: function () { return chunkLAZA3JD7_cjs.validateConfig; }
405
+ get: function () { return chunkVEAYV52I_cjs.validateConfig; }
406
406
  });
407
407
  Object.defineProperty(exports, "wrapExecuteUserOp", {
408
408
  enumerable: true,
409
- get: function () { return chunkLAZA3JD7_cjs.wrapExecuteUserOp; }
409
+ get: function () { return chunkVEAYV52I_cjs.wrapExecuteUserOp; }
410
410
  });
411
411
  Object.defineProperty(exports, "ALG_BLS", {
412
412
  enumerable: true,
package/dist/kms.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { y as UserOperation, P as PackedUserOperation, j as BLSSignatureData, w as TierLevel$1, T as TierConfig, p as GuardStatus, v as PreCheckResult } from './tier-router-DeeVg69O.cjs';
2
2
  export { A as ALG_BLS, a as ALG_CUMULATIVE_T2, b as ALG_CUMULATIVE_T3, c as ALG_ECDSA, d as ALG_P256, e as AirAccountClient, f as AirAccountConfig, g as AlgId, B as BLSConfig, h as BLSManager, i as BLSNode, k as BeginAuthenticationResponse, l as BeginRegistrationResponse, m as BeginTransactionVerificationResponse, C as CryptoUtil, n as CumulativeT2SignatureData, o as CumulativeT3SignatureData, D as DEFAULT_PASSKEY_ROUTES, E as ERC4337Utils, G as GasEstimate, q as PasskeyAuthenticationParams, r as PasskeyInfo, s as PasskeyManager, t as PasskeyRegistrationParams, u as PasskeyRoutes, x as TransactionVerificationParams, U as UserOpBuilder, Y as YAAAClient, z as YAAAConfig, F as algIdForTier, H as resolveTier } from './tier-router-DeeVg69O.cjs';
3
3
  import { AxiosRequestConfig } from 'axios';
4
- import { PublicClient, Address, Abi, Hex, WalletClient } from 'viem';
4
+ import { PublicClient, Address, Abi, Hex, WalletClient, Hash } from 'viem';
5
5
  import { I as InitConfig, G as GuardianSpec } from './initConfig-D8jgrcDb.cjs';
6
6
 
7
7
  /**
@@ -1043,6 +1043,8 @@ declare class EthereumProvider {
1043
1043
  getProvider(): PublicClient;
1044
1044
  /** Returns the viem PublicClient bound to the bundler RPC (raw .request only). */
1045
1045
  getBundlerProvider(): PublicClient;
1046
+ /** EVM chain id from the validated ServerConfig (deterministic — no RPC round-trip). */
1047
+ getChainId(): number;
1046
1048
  /**
1047
1049
  * Raw bundler JSON-RPC call. The bundler exposes non-standard methods
1048
1050
  * (eth_sendUserOperation, pimlico_getUserOperationGasPrice, ...) that are not in
@@ -1174,6 +1176,17 @@ declare function serializeGuardianSpecs(specs: readonly GuardianSpec[]): Seriali
1174
1176
  */
1175
1177
  declare function initConfigFromRecord(record: AccountRecord): InitConfig;
1176
1178
 
1179
+ /**
1180
+ * Result of {@link AccountManager.ensureValidatorRouter}.
1181
+ * `set: true` only when an on-chain `setValidator(router)` tx was actually sent (`tx`
1182
+ * carries the hash). `set: false` is a no-op with a `reason` explaining the decision.
1183
+ */
1184
+ interface EnsureValidatorRouterResult {
1185
+ set: boolean;
1186
+ reason?: string;
1187
+ tx?: Hash;
1188
+ router?: Address;
1189
+ }
1177
1190
  /**
1178
1191
  * Account manager — extracted from NestJS AccountService.
1179
1192
  * Creates and retrieves smart accounts without framework dependencies.
@@ -1308,6 +1321,52 @@ declare class AccountManager {
1308
1321
  salt?: number | bigint;
1309
1322
  entryPointVersion?: EntryPointVersion;
1310
1323
  }): Promise<AccountRecord>;
1324
+ /**
1325
+ * Gap B — wire the validator router for an account that approved a ROUTER-DELEGATED signature
1326
+ * algorithm (BLS 0x01, cumulative T2 0x04, T3 0x05, weighted 0x07, session 0x08, ...). Such an
1327
+ * account's `_validateTripleSignature` / `_callBLSValidator` return `1` (FAIL) while
1328
+ * `validator() == address(0)`, so the algorithm is non-functional until the owner calls
1329
+ * `setValidator(router)` (onlyOwner, SET-ONCE). Inline algIds (ECDSA 0x02, P256 0x03, COMBINED_T1
1330
+ * 0x06) need no router and are a no-op here.
1331
+ *
1332
+ * MUST be called AFTER the account is deployed (setValidator is onlyOwner and needs code) — the
1333
+ * lazy/counterfactual deploy path cannot setValidator at predict-time. Idempotent: re-running after
1334
+ * the validator is set is a no-op (`reason: 'validator already set'`).
1335
+ *
1336
+ * On-chain access matches the rest of this package: reads via the EthereumProvider's PublicClient
1337
+ * (`getAccountContract(...).read.validator()` and `getProvider().getCode()`); the state-changing
1338
+ * `setValidator` is sent through a caller-supplied `WalletClient` whose account is the owner —
1339
+ * the same convention used by `PaymasterManager.updatePrice` / `ForceExitService` (this manager's
1340
+ * narrow `ISignerAdapter` only EIP-191 personal-signs and cannot send transactions).
1341
+ *
1342
+ * @param userId the account owner's user id (storage key)
1343
+ * @param opts.router override the router address (defaults to the chain's canonical
1344
+ * `aaStarValidator`); pass to target a non-canonical router
1345
+ * @param opts.walletClient viem WalletClient signing as the account OWNER — REQUIRED to send the tx
1346
+ */
1347
+ ensureValidatorRouter(userId: string, opts?: {
1348
+ router?: Address;
1349
+ walletClient?: WalletClient;
1350
+ }): Promise<EnsureValidatorRouterResult>;
1351
+ /**
1352
+ * Gap B (complete auto-wiring): deploy a router-delegated account AND set its validator router in
1353
+ * ONE call, so a BLS / cumulative / session-key account is immediately functional — no separate
1354
+ * manual `ensureValidatorRouter` step. The factory's lazy first-UserOp deploy cannot bootstrap such
1355
+ * an account (its own algorithm can't validate until the router is wired), so this performs an
1356
+ * explicit `factory.createAccount(owner, salt, config)` deploy (if the account has no code yet),
1357
+ * waits for it, then wires `setValidator(router)`. Both txs go through the caller-supplied owner/
1358
+ * deployer `WalletClient` (this manager holds no transaction signer). For inline algIds (ECDSA/P256/
1359
+ * COMBINED_T1) the validator step is a documented no-op.
1360
+ *
1361
+ * @returns `{ deployTx?, validator }` — `deployTx` is undefined if the account was already deployed.
1362
+ */
1363
+ deployAndWireValidator(userId: string, opts: {
1364
+ walletClient: WalletClient;
1365
+ router?: Address;
1366
+ }): Promise<{
1367
+ deployTx?: Hash;
1368
+ validator: EnsureValidatorRouterResult;
1369
+ }>;
1311
1370
  }
1312
1371
 
1313
1372
  /**