@rhinestone/sdk 0.13.6 → 0.14.0
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.
|
@@ -246,7 +246,7 @@ async function signUserOp(config, sourceChain, targetChain, accountAddress, sign
|
|
|
246
246
|
async function submitUserOp(config, sourceChain, targetChain, userOp, signature, orderPath) {
|
|
247
247
|
if (!orderPath) {
|
|
248
248
|
const publicClient = (0, viem_1.createPublicClient)({
|
|
249
|
-
chain:
|
|
249
|
+
chain: sourceChain,
|
|
250
250
|
transport: (0, viem_1.http)(),
|
|
251
251
|
});
|
|
252
252
|
const bundlerClient = (0, utils_1.getBundlerClient)(config, publicClient);
|
|
@@ -28,7 +28,7 @@ const index_1 = require("./index");
|
|
|
28
28
|
};
|
|
29
29
|
const setup = (0, index_1.getSetup)(config);
|
|
30
30
|
(0, vitest_1.expect)(setup.validators).toHaveLength(1);
|
|
31
|
-
(0, vitest_1.expect)(setup.validators[0].address).toBe('
|
|
31
|
+
(0, vitest_1.expect)(setup.validators[0].address).toBe('0x7ab16ff354acb328452f1d445b3ddee9a91e9e69');
|
|
32
32
|
(0, vitest_1.expect)(setup.validators[0].type).toBe(1n);
|
|
33
33
|
});
|
|
34
34
|
(0, vitest_1.test)('should use smart session validator when sessions are enabled', () => {
|
|
@@ -11,7 +11,7 @@ const viem_1 = require("viem");
|
|
|
11
11
|
const common_1 = require("../common");
|
|
12
12
|
const OWNABLE_VALIDATOR_ADDRESS = '0x2483DA3A338895199E5e538530213157e931Bf06';
|
|
13
13
|
exports.OWNABLE_VALIDATOR_ADDRESS = OWNABLE_VALIDATOR_ADDRESS;
|
|
14
|
-
const WEBAUTHN_VALIDATOR_ADDRESS = '
|
|
14
|
+
const WEBAUTHN_VALIDATOR_ADDRESS = '0x7ab16ff354acb328452f1d445b3ddee9a91e9e69';
|
|
15
15
|
exports.WEBAUTHN_VALIDATOR_ADDRESS = WEBAUTHN_VALIDATOR_ADDRESS;
|
|
16
16
|
const SOCIAL_RECOVERY_VALIDATOR_ADDRESS = '0xA04D053b3C8021e8D5bF641816c42dAA75D8b597';
|
|
17
17
|
const ECDSA_MOCK_SIGNATURE = '0x81d4b4981670cb18f99f0b4a66446df1bf5b204d24cfcb659bf38ba27a4359b5711649ec2423c5e1247245eba2964679b6a1dbb85c992ae40b9b00c6935b02ff1b';
|
|
@@ -45,7 +45,7 @@ const core_1 = require("./core");
|
|
|
45
45
|
});
|
|
46
46
|
(0, vitest_1.expect)(validator.type).toEqual(common_1.MODULE_TYPE_ID_VALIDATOR);
|
|
47
47
|
(0, vitest_1.expect)((0, viem_1.isAddress)(validator.address)).toEqual(true);
|
|
48
|
-
(0, vitest_1.expect)(validator.address).toEqual('
|
|
48
|
+
(0, vitest_1.expect)(validator.address).toEqual('0x7ab16ff354acb328452f1d445b3ddee9a91e9e69');
|
|
49
49
|
(0, vitest_1.expect)(validator.initData).toEqual('0x580a9af0569ad3905b26a703201b358aa0904236642ebe79b22a19d00d3737637d46f725a5427ae45a9569259bf67e1e16b187d7b3ad1ed70138c4f0409677d19c9a01073b202db2ed56e604ad11db557d8c3ad75181619597f21b830f2da82a');
|
|
50
50
|
});
|
|
51
51
|
});
|