kokio-sdk 0.0.4 → 0.0.5
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/package.json +3 -1
- package/src/abis/BeaconProxy.json +68 -975
- package/src/abis/DeviceWallet.json +909 -904
- package/src/abis/DeviceWalletFactory.json +548 -464
- package/src/abis/ESIMWallet.json +325 -325
- package/src/abis/ESIMWalletFactory.json +296 -301
- package/src/abis/LazyWalletRegistry.json +488 -493
- package/src/abis/P256Verifier.json +30 -30
- package/src/abis/Registry.json +502 -507
- package/src/config.ts +7 -1
- package/src/interface/P256VerifierClass.ts +1 -1
- package/src/interface/constantsClass.ts +1 -1
- package/src/interface/deviceWalletClass.ts +1 -1
- package/src/interface/eSIMWalletClass.ts +1 -1
- package/src/interface/eSIMWalletFactoryClass.ts +1 -1
- package/src/interface/lazyWalletRegistryClass.ts +1 -1
- package/src/interface/smartAccountClass.ts +9 -5
- package/src/interface/utilsClass.ts +1 -1
- package/src/logic/P256Verifier.ts +1 -1
- package/src/logic/account-kit/createSmartAccount.ts +69 -85
- package/src/logic/constants.ts +7 -5
- package/src/logic/deviceWallet.ts +6 -6
- package/src/logic/eSIMWallet.ts +1 -1
- package/src/logic/services/turnkeyClient.ts +193 -65
- package/src/logic/utils.ts +38 -1
- package/src/types.ts +1 -1
|
@@ -1,73 +1,73 @@
|
|
|
1
1
|
[
|
|
2
2
|
{
|
|
3
|
-
"type": "function",
|
|
4
|
-
"name": "verifySignature",
|
|
5
3
|
"inputs": [
|
|
6
4
|
{
|
|
5
|
+
"internalType": "bytes",
|
|
7
6
|
"name": "message",
|
|
8
|
-
"type": "bytes"
|
|
9
|
-
"internalType": "bytes"
|
|
7
|
+
"type": "bytes"
|
|
10
8
|
},
|
|
11
9
|
{
|
|
10
|
+
"internalType": "bool",
|
|
12
11
|
"name": "requireUserVerification",
|
|
13
|
-
"type": "bool"
|
|
14
|
-
"internalType": "bool"
|
|
12
|
+
"type": "bool"
|
|
15
13
|
},
|
|
16
14
|
{
|
|
17
|
-
"name": "webAuthnSignature",
|
|
18
|
-
"type": "tuple",
|
|
19
|
-
"internalType": "struct WebAuthnSignature",
|
|
20
15
|
"components": [
|
|
21
16
|
{
|
|
17
|
+
"internalType": "bytes",
|
|
22
18
|
"name": "authenticatorData",
|
|
23
|
-
"type": "bytes"
|
|
24
|
-
"internalType": "bytes"
|
|
19
|
+
"type": "bytes"
|
|
25
20
|
},
|
|
26
21
|
{
|
|
22
|
+
"internalType": "string",
|
|
27
23
|
"name": "clientDataJSON",
|
|
28
|
-
"type": "string"
|
|
29
|
-
"internalType": "string"
|
|
24
|
+
"type": "string"
|
|
30
25
|
},
|
|
31
26
|
{
|
|
27
|
+
"internalType": "uint256",
|
|
32
28
|
"name": "challengeIndex",
|
|
33
|
-
"type": "uint256"
|
|
34
|
-
"internalType": "uint256"
|
|
29
|
+
"type": "uint256"
|
|
35
30
|
},
|
|
36
31
|
{
|
|
32
|
+
"internalType": "uint256",
|
|
37
33
|
"name": "typeIndex",
|
|
38
|
-
"type": "uint256"
|
|
39
|
-
"internalType": "uint256"
|
|
34
|
+
"type": "uint256"
|
|
40
35
|
},
|
|
41
36
|
{
|
|
37
|
+
"internalType": "uint256",
|
|
42
38
|
"name": "r",
|
|
43
|
-
"type": "uint256"
|
|
44
|
-
"internalType": "uint256"
|
|
39
|
+
"type": "uint256"
|
|
45
40
|
},
|
|
46
41
|
{
|
|
42
|
+
"internalType": "uint256",
|
|
47
43
|
"name": "s",
|
|
48
|
-
"type": "uint256"
|
|
49
|
-
"internalType": "uint256"
|
|
44
|
+
"type": "uint256"
|
|
50
45
|
}
|
|
51
|
-
]
|
|
46
|
+
],
|
|
47
|
+
"internalType": "struct WebAuthnSignature",
|
|
48
|
+
"name": "webAuthnSignature",
|
|
49
|
+
"type": "tuple"
|
|
52
50
|
},
|
|
53
51
|
{
|
|
52
|
+
"internalType": "uint256",
|
|
54
53
|
"name": "x",
|
|
55
|
-
"type": "uint256"
|
|
56
|
-
"internalType": "uint256"
|
|
54
|
+
"type": "uint256"
|
|
57
55
|
},
|
|
58
56
|
{
|
|
57
|
+
"internalType": "uint256",
|
|
59
58
|
"name": "y",
|
|
60
|
-
"type": "uint256"
|
|
61
|
-
"internalType": "uint256"
|
|
59
|
+
"type": "uint256"
|
|
62
60
|
}
|
|
63
61
|
],
|
|
62
|
+
"name": "verifySignature",
|
|
64
63
|
"outputs": [
|
|
65
64
|
{
|
|
65
|
+
"internalType": "bool",
|
|
66
66
|
"name": "",
|
|
67
|
-
"type": "bool"
|
|
68
|
-
"internalType": "bool"
|
|
67
|
+
"type": "bool"
|
|
69
68
|
}
|
|
70
69
|
],
|
|
71
|
-
"stateMutability": "view"
|
|
70
|
+
"stateMutability": "view",
|
|
71
|
+
"type": "function"
|
|
72
72
|
}
|
|
73
|
-
]
|
|
73
|
+
]
|