permissionless 0.4.1 → 0.5.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.
- package/CHANGELOG.md +8 -0
- package/_cjs/accounts/kernel/toKernelSmartAccount.js +5 -6
- package/_cjs/accounts/kernel/toKernelSmartAccount.js.map +1 -1
- package/_cjs/accounts/kernel/utils/signMessage.js +2 -3
- package/_cjs/accounts/kernel/utils/signMessage.js.map +1 -1
- package/_cjs/accounts/safe/signUserOperation.js +2 -3
- package/_cjs/accounts/safe/signUserOperation.js.map +1 -1
- package/_cjs/accounts/safe/toSafeSmartAccount.js +4 -5
- package/_cjs/accounts/safe/toSafeSmartAccount.js.map +1 -1
- package/_cjs/actions/passkeyServer/startAuthentication.js +2 -2
- package/_cjs/actions/passkeyServer/startAuthentication.js.map +1 -1
- package/_cjs/actions/passkeyServer/startRegistration.js +3 -4
- package/_cjs/actions/passkeyServer/startRegistration.js.map +1 -1
- package/_cjs/actions/passkeyServer/verifyAuthentication.js +6 -7
- package/_cjs/actions/passkeyServer/verifyAuthentication.js.map +1 -1
- package/_cjs/actions/passkeyServer/verifyRegistration.js +5 -6
- package/_cjs/actions/passkeyServer/verifyRegistration.js.map +1 -1
- package/_cjs/utils/index.js +1 -4
- package/_cjs/utils/index.js.map +1 -1
- package/_esm/accounts/kernel/toKernelSmartAccount.js +4 -5
- package/_esm/accounts/kernel/toKernelSmartAccount.js.map +1 -1
- package/_esm/accounts/kernel/utils/signMessage.js +1 -2
- package/_esm/accounts/kernel/utils/signMessage.js.map +1 -1
- package/_esm/accounts/safe/signUserOperation.js +1 -2
- package/_esm/accounts/safe/signUserOperation.js.map +1 -1
- package/_esm/accounts/safe/toSafeSmartAccount.js +3 -4
- package/_esm/accounts/safe/toSafeSmartAccount.js.map +1 -1
- package/_esm/actions/passkeyServer/startAuthentication.js +2 -2
- package/_esm/actions/passkeyServer/startAuthentication.js.map +1 -1
- package/_esm/actions/passkeyServer/startRegistration.js +2 -3
- package/_esm/actions/passkeyServer/startRegistration.js.map +1 -1
- package/_esm/actions/passkeyServer/verifyAuthentication.js +1 -2
- package/_esm/actions/passkeyServer/verifyAuthentication.js.map +1 -1
- package/_esm/actions/passkeyServer/verifyRegistration.js +1 -2
- package/_esm/actions/passkeyServer/verifyRegistration.js.map +1 -1
- package/_esm/utils/index.js +0 -2
- package/_esm/utils/index.js.map +1 -1
- package/_types/accounts/kernel/toKernelSmartAccount.d.ts.map +1 -1
- package/_types/accounts/kernel/utils/signMessage.d.ts.map +1 -1
- package/_types/accounts/safe/signUserOperation.d.ts.map +1 -1
- package/_types/accounts/safe/toSafeSmartAccount.d.ts.map +1 -1
- package/_types/actions/passkeyServer/startAuthentication.d.ts.map +1 -1
- package/_types/actions/passkeyServer/startRegistration.d.ts.map +1 -1
- package/_types/actions/passkeyServer/verifyAuthentication.d.ts.map +1 -1
- package/_types/actions/passkeyServer/verifyRegistration.d.ts.map +1 -1
- package/_types/utils/index.d.ts +0 -1
- package/_types/utils/index.d.ts.map +1 -1
- package/accounts/kernel/toKernelSmartAccount.ts +4 -7
- package/accounts/kernel/utils/signMessage.ts +1 -2
- package/accounts/safe/signUserOperation.ts +1 -2
- package/accounts/safe/toSafeSmartAccount.ts +3 -4
- package/actions/passkeyServer/startAuthentication.ts +2 -4
- package/actions/passkeyServer/startRegistration.ts +2 -3
- package/actions/passkeyServer/verifyAuthentication.ts +1 -3
- package/actions/passkeyServer/verifyRegistration.ts +1 -2
- package/package.json +5 -8
- package/utils/index.ts +0 -3
- package/_cjs/utils/ox.js +0 -39
- package/_cjs/utils/ox.js.map +0 -1
- package/_esm/utils/ox.js +0 -41
- package/_esm/utils/ox.js.map +0 -1
- package/_types/utils/ox.d.ts +0 -14
- package/_types/utils/ox.d.ts.map +0 -1
- package/utils/ox.ts +0 -48
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toSafeSmartAccount.d.ts","sourceRoot":"","sources":["../../../accounts/safe/toSafeSmartAccount.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"toSafeSmartAccount.d.ts","sourceRoot":"","sources":["../../../accounts/safe/toSafeSmartAccount.ts"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,MAAM,EACX,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,GAAG,EACR,KAAK,cAAc,EACnB,KAAK,YAAY,EAGjB,KAAK,SAAS,EAGd,KAAK,YAAY,EAkBpB,MAAM,MAAM,CAAA;AACb,OAAO,EACH,KAAK,YAAY,EACjB,KAAK,0BAA0B,EAC/B,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,eAAe,EACf,eAAe,EAGlB,MAAM,0BAA0B,CAAA;AAQjC,OAAO,EAAE,KAAK,gBAAgB,EAAW,MAAM,wBAAwB,CAAA;AAOvE,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,OAAO,CAAA;AAkW3C,eAAO,MAAM,8BAA8B;;;;;CAgB1C,CAAA;AAED,eAAO,MAAM,8BAA8B;;;;;CAgB1C,CAAA;AAiPD,eAAO,MAAM,iBAAiB,qEAI7B,CAAA;AA0PD,wBAAgB,mBAAmB,CAAC,qBAAqB,EAAE,aAAa,iBAwBvE;AA6FD,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;CAmE/B,CAAA;AAED,KAAK,gBAAgB,CAAC,QAAQ,SAAS,OAAO,GAAG,SAAS,IACtD,QAAQ,SAAS,SAAS,GACpB;IACI,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,wBAAwB,CAAC,EAAE,OAAO,CAAA;IAElC,iBAAiB,CAAC,EAAE;QAChB,EAAE,EAAE,OAAO,CAAA;QACX,IAAI,EAAE,OAAO,CAAA;QACb,KAAK,EAAE,MAAM,CAAA;KAChB,EAAE,CAAA;IACH,WAAW,CAAC,EAAE,OAAO,EAAE,CAAA;CAC1B,GACD;IAC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AO,eAAe,EAC5B,iBAAiB,CAMpB,EACD;IAAE,IAAI,EAAE,WAAW,CAAC,0BAA0B,CAAC,MAAM,CAAC,CAAC,CAAA;CAAE,CAC5D,CAAA;AAED,MAAM,MAAM,4BAA4B,CACpC,iBAAiB,SAAS,KAAK,GAAG,KAAK,GAAG,KAAK,IAC/C,YAAY,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,CAAC,CAAA;AAEnE;;;;GAIG;AACH,wBAAsB,kBAAkB,CACpC,iBAAiB,SAAS,KAAK,GAAG,KAAK,EACvC,QAAQ,SAAS,OAAO,GAAG,SAAS,EAEpC,UAAU,EAAE,4BAA4B,CAAC,iBAAiB,EAAE,QAAQ,CAAC,GACtE,OAAO,CAAC,4BAA4B,CAAC,iBAAiB,CAAC,CAAC,CA0nB1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startAuthentication.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/startAuthentication.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"startAuthentication.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/startAuthentication.ts"],"names":[],"mappings":"AACA,OAAO,EACH,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,MAAM,EACX,KAAK,SAAS,EAEjB,MAAM,MAAM,CAAA;AACb,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAE1E,MAAM,MAAM,6BAA6B,GAAG;IACxC,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,gBAAgB,CAAC,EAAE,MAAM,CAAA;IACzB,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AAED,eAAO,MAAM,mBAAmB,uIAmB/B,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"startRegistration.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/startRegistration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"startRegistration.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/startRegistration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAC7D,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAA;AAClF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAwE1E,MAAM,MAAM,2BAA2B,GAAG;IACtC,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CACpC,CAAA;AACD,MAAM,MAAM,2BAA2B,GAAG,kCAAkC,CAAA;AAE5E,eAAO,MAAM,iBAAiB,EAAE,CAC5B,MAAM,EAAE,MAAM,CACV,SAAS,EACT,KAAK,GAAG,SAAS,EACjB,OAAO,GAAG,SAAS,EACnB,sBAAsB,CACzB,EACD,IAAI,CAAC,EAAE,2BAA2B,KACjC,OAAO,CAAC,2BAA2B,CAoCvC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyAuthentication.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/verifyAuthentication.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAClE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;
|
|
1
|
+
{"version":3,"file":"verifyAuthentication.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/verifyAuthentication.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAClE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAE1E,MAAM,MAAM,8BAA8B,GAAG;IACzC,GAAG,EAAE;QACD,EAAE,EAAE,MAAM,CAAA;QACV,KAAK,EAAE,WAAW,CAAA;QAClB,uBAAuB,EAAE,MAAM,CAAA;QAC/B,QAAQ,EAAE;YACN,iBAAiB,CAAC,EAAE,WAAW,CAAA;YAC/B,SAAS,CAAC,EAAE,WAAW,CAAA;YACvB,UAAU,CAAC,EAAE,WAAW,CAAA;YACxB,cAAc,EAAE,WAAW,CAAA;SAC9B,CAAA;QACD,yBAAyB,EAAE,MAAM,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;QACxD,IAAI,EAAE,MAAM,CAAA;KACf,CAAA;IACD,IAAI,EAAE,MAAM,CAAA;CACf,CAAA;AAED,MAAM,MAAM,8BAA8B,GAAG;IACzC,OAAO,EAAE,OAAO,CAAA;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,GAAG,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,oBAAoB,8KA+GhC,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"verifyRegistration.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/verifyRegistration.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"verifyRegistration.d.ts","sourceRoot":"","sources":["../../../actions/passkeyServer/verifyRegistration.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,MAAM,CAAA;AAClE,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,0BAA0B,CAAA;AAClF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,8BAA8B,CAAA;AAE1E,MAAM,MAAM,4BAA4B,GAAG;IACvC,UAAU,EAAE,kCAAkC,CAAA;IAC9C,OAAO,EAAE,OAAO,CAAA;CACnB,CAAA;AAED,MAAM,MAAM,4BAA4B,GAAG;IACvC,OAAO,EAAE,OAAO,CAAA;IAChB,EAAE,EAAE,MAAM,CAAA;IACV,SAAS,EAAE,GAAG,CAAA;IACd,QAAQ,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,eAAO,MAAM,kBAAkB,0KAiH9B,CAAA"}
|
package/_types/utils/index.d.ts
CHANGED
|
@@ -13,5 +13,4 @@ export { type EncodeCallDataParams, encode7579Calls } from "./encode7579Calls.js
|
|
|
13
13
|
export { type DecodeCallDataReturnType, decode7579Calls } from "./decode7579Calls.js";
|
|
14
14
|
export { type Erc20AllowanceOverrideParameters, erc20AllowanceOverride } from "./erc20AllowanceOverride.js";
|
|
15
15
|
export { type Erc20BalanceOverrideParameters, erc20BalanceOverride } from "./erc20BalanceOverride.js";
|
|
16
|
-
export { getOxExports, hasOxModule } from "./ox.js";
|
|
17
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../utils/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,wBAAwB,EAAE,MAAM,kBAAkB,CAAA;AACxE,OAAO,EAAE,wCAAwC,EAAE,MAAM,+CAA+C,CAAA;AACxG,OAAO,EACH,KAAK,4BAA4B,EACjC,kBAAkB,EACrB,MAAM,yBAAyB,CAAA;AAChC,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AAClD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAEtC,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAE9C,OAAO,EACH,KAAK,6BAA6B,EAClC,mBAAmB,EACtB,MAAM,0BAA0B,CAAA;AACjC,OAAO,EACH,KAAK,+BAA+B,EACpC,qBAAqB,EACxB,MAAM,4BAA4B,CAAA;AACnC,OAAO,EAAE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,EACzB,MAAM,6BAA6B,CAAA;AACpC,OAAO,EACH,KAAK,8BAA8B,EACnC,oBAAoB,EACvB,MAAM,2BAA2B,CAAA"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Base64, PublicKey } from "ox"
|
|
1
2
|
import {
|
|
2
3
|
type Account,
|
|
3
4
|
type Address,
|
|
@@ -38,7 +39,6 @@ import { getSenderAddress } from "../../actions/public/getSenderAddress.js"
|
|
|
38
39
|
import { encode7579Calls } from "../../utils/encode7579Calls.js"
|
|
39
40
|
import { encodeInstallModule } from "../../utils/encodeInstallModule.js"
|
|
40
41
|
import { encodeUninstallModule } from "../../utils/encodeUninstallModule.js"
|
|
41
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
42
42
|
import { type EthereumProvider, toOwner } from "../../utils/toOwner.js"
|
|
43
43
|
import { KernelInitAbi } from "./abi/KernelAccountAbi.js"
|
|
44
44
|
import {
|
|
@@ -321,11 +321,8 @@ const getValidatorData = async (owner: WebAuthnAccount | LocalAccount) => {
|
|
|
321
321
|
}
|
|
322
322
|
|
|
323
323
|
if (isWebAuthnAccount(owner)) {
|
|
324
|
-
const { PublicKey, Hex, Base64 } = await getOxExports()
|
|
325
324
|
const parsedPublicKey = PublicKey.fromHex(owner.publicKey)
|
|
326
|
-
const authenticatorIdHash = keccak256(
|
|
327
|
-
Hex.fromBytes(Base64.toBytes(owner.id))
|
|
328
|
-
)
|
|
325
|
+
const authenticatorIdHash = keccak256(Base64.toBytes(owner.id))
|
|
329
326
|
|
|
330
327
|
return encodeAbiParameters(
|
|
331
328
|
[
|
|
@@ -344,8 +341,8 @@ const getValidatorData = async (owner: WebAuthnAccount | LocalAccount) => {
|
|
|
344
341
|
],
|
|
345
342
|
[
|
|
346
343
|
{
|
|
347
|
-
x: parsedPublicKey.x,
|
|
348
|
-
y: parsedPublicKey.y
|
|
344
|
+
x: BigInt(parsedPublicKey.x),
|
|
345
|
+
y: BigInt(parsedPublicKey.y)
|
|
349
346
|
},
|
|
350
347
|
authenticatorIdHash
|
|
351
348
|
]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Signature } from "ox"
|
|
1
2
|
import {
|
|
2
3
|
type Hash,
|
|
3
4
|
type LocalAccount,
|
|
@@ -9,7 +10,6 @@ import {
|
|
|
9
10
|
} from "viem"
|
|
10
11
|
import type { WebAuthnAccount } from "viem/account-abstraction"
|
|
11
12
|
import { signMessage as _signMessage } from "viem/actions"
|
|
12
|
-
import { getOxExports } from "../../../utils/ox.js"
|
|
13
13
|
import { isWebAuthnAccount } from "./isWebAuthnAccount.js"
|
|
14
14
|
import {
|
|
15
15
|
type WrapMessageHashParams,
|
|
@@ -56,7 +56,6 @@ export async function signMessage({
|
|
|
56
56
|
const { signature: signatureData, webauthn } = await owner.sign({
|
|
57
57
|
hash: messageContent as Hash
|
|
58
58
|
})
|
|
59
|
-
const { Signature } = await getOxExports()
|
|
60
59
|
const signature = Signature.fromHex(signatureData)
|
|
61
60
|
|
|
62
61
|
// encode signature
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Signature } from "ox"
|
|
1
2
|
import {
|
|
2
3
|
type Account,
|
|
3
4
|
type Address,
|
|
@@ -16,7 +17,6 @@ import {
|
|
|
16
17
|
} from "viem"
|
|
17
18
|
import type { UserOperation, WebAuthnAccount } from "viem/account-abstraction"
|
|
18
19
|
import { toOwner } from "../../utils/index.js"
|
|
19
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
20
20
|
import type { EthereumProvider } from "../../utils/toOwner.js"
|
|
21
21
|
import {
|
|
22
22
|
EIP712_SAFE_OPERATION_TYPE_V06,
|
|
@@ -92,7 +92,6 @@ export const getWebAuthnSignature = async ({
|
|
|
92
92
|
hash
|
|
93
93
|
})
|
|
94
94
|
|
|
95
|
-
const { Signature } = await getOxExports()
|
|
96
95
|
const signature = Signature.fromHex(signatureData)
|
|
97
96
|
|
|
98
97
|
const match = webauthn.clientDataJSON.match(
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { PublicKey } from "ox"
|
|
1
2
|
import {
|
|
2
3
|
type Account,
|
|
3
4
|
type Address,
|
|
@@ -47,7 +48,6 @@ import { getAccountNonce } from "../../actions/public/getAccountNonce.js"
|
|
|
47
48
|
import { decode7579Calls } from "../../utils/decode7579Calls.js"
|
|
48
49
|
import { encode7579Calls } from "../../utils/encode7579Calls.js"
|
|
49
50
|
import { isSmartAccountDeployed } from "../../utils/isSmartAccountDeployed.js"
|
|
50
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
51
51
|
import { sortAddresses } from "../../utils/sortAddresses.js"
|
|
52
52
|
import { type EthereumProvider, toOwner } from "../../utils/toOwner.js"
|
|
53
53
|
import {
|
|
@@ -875,7 +875,6 @@ const getInitializerCode = async ({
|
|
|
875
875
|
safeWebAuthnSharedSignerAddress &&
|
|
876
876
|
safeP256VerifierAddress
|
|
877
877
|
) {
|
|
878
|
-
const { PublicKey } = await getOxExports()
|
|
879
878
|
const parsedPublicKey = PublicKey.fromHex(webAuthnOwner.publicKey)
|
|
880
879
|
|
|
881
880
|
multiCalls.push({
|
|
@@ -885,8 +884,8 @@ const getInitializerCode = async ({
|
|
|
885
884
|
functionName: "configure",
|
|
886
885
|
args: [
|
|
887
886
|
{
|
|
888
|
-
x: parsedPublicKey.x,
|
|
889
|
-
y: parsedPublicKey.y,
|
|
887
|
+
x: BigInt(parsedPublicKey.x),
|
|
888
|
+
y: BigInt(parsedPublicKey.y),
|
|
890
889
|
verifiers: BigInt(safeP256VerifierAddress)
|
|
891
890
|
}
|
|
892
891
|
]
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Base64 } from "ox"
|
|
1
2
|
import {
|
|
2
3
|
type Account,
|
|
3
4
|
type Chain,
|
|
@@ -6,7 +7,6 @@ import {
|
|
|
6
7
|
toHex
|
|
7
8
|
} from "viem"
|
|
8
9
|
import type { PasskeyServerRpcSchema } from "../../types/passkeyServer.js"
|
|
9
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
10
10
|
|
|
11
11
|
export type StartAuthenticationReturnType = {
|
|
12
12
|
challenge: string
|
|
@@ -29,9 +29,7 @@ export const startAuthentication = async (
|
|
|
29
29
|
})
|
|
30
30
|
|
|
31
31
|
return {
|
|
32
|
-
challenge: toHex(
|
|
33
|
-
(await getOxExports()).Base64.toBytes(response.challenge)
|
|
34
|
-
),
|
|
32
|
+
challenge: toHex(Base64.toBytes(response.challenge)),
|
|
35
33
|
rpId: response.rpId,
|
|
36
34
|
userVerification: response.userVerification,
|
|
37
35
|
uuid: response.uuid
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Base64 } from "ox"
|
|
1
2
|
import type { Account, Chain, Client, Transport } from "viem"
|
|
2
3
|
import type { CreateWebAuthnCredentialParameters } from "viem/account-abstraction"
|
|
3
4
|
import type { PasskeyServerRpcSchema } from "../../types/passkeyServer.js"
|
|
4
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
5
5
|
|
|
6
6
|
const validateAttestation = (attestation: unknown): boolean => {
|
|
7
7
|
return (
|
|
@@ -104,7 +104,6 @@ export const startRegistration: (
|
|
|
104
104
|
throw new Error("Invalid response format from passkey server")
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
const { Base64 } = await getOxExports()
|
|
108
107
|
const credentialOptions: StartRegistrationReturnType = {
|
|
109
108
|
attestation: response.attestation,
|
|
110
109
|
authenticatorSelection: response.authenticatorSelection,
|
|
@@ -117,7 +116,7 @@ export const startRegistration: (
|
|
|
117
116
|
rp: response.rp,
|
|
118
117
|
timeout: response.timeout,
|
|
119
118
|
user: {
|
|
120
|
-
id: Base64.toBytes(response.user.id),
|
|
119
|
+
id: new Uint8Array(Base64.toBytes(response.user.id)),
|
|
121
120
|
name: response.user.name,
|
|
122
121
|
displayName: response.user.displayName
|
|
123
122
|
}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { Base64 } from "ox"
|
|
2
2
|
import type { Account, Chain, Client, Hex, Transport } from "viem"
|
|
3
3
|
import type { PasskeyServerRpcSchema } from "../../types/passkeyServer.js"
|
|
4
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
5
4
|
|
|
6
5
|
export type VerifyAuthenticationParameters = {
|
|
7
6
|
raw: {
|
|
@@ -37,7 +36,6 @@ export const verifyAuthentication = async (
|
|
|
37
36
|
args: VerifyAuthenticationParameters
|
|
38
37
|
): Promise<VerifyAuthenticationReturnType> => {
|
|
39
38
|
const { raw, uuid } = args
|
|
40
|
-
const { Base64 } = await getOxExports()
|
|
41
39
|
|
|
42
40
|
let responseAuthenticatorData: string
|
|
43
41
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { Base64 } from "ox"
|
|
1
2
|
import type { Account, Chain, Client, Hex, Transport } from "viem"
|
|
2
3
|
import type { CreateWebAuthnCredentialReturnType } from "viem/account-abstraction"
|
|
3
4
|
import type { PasskeyServerRpcSchema } from "../../types/passkeyServer.js"
|
|
4
|
-
import { getOxExports } from "../../utils/ox.js"
|
|
5
5
|
|
|
6
6
|
export type VerifyRegistrationParameters = {
|
|
7
7
|
credential: CreateWebAuthnCredentialReturnType
|
|
@@ -25,7 +25,6 @@ export const verifyRegistration = async (
|
|
|
25
25
|
args: VerifyRegistrationParameters
|
|
26
26
|
): Promise<VerifyRegistrationReturnType> => {
|
|
27
27
|
const { credential, context } = args
|
|
28
|
-
const { Base64 } = await getOxExports()
|
|
29
28
|
|
|
30
29
|
const response = credential.raw
|
|
31
30
|
.response as unknown as AuthenticatorAttestationResponse
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "permissionless",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"author": "Pimlico",
|
|
5
5
|
"homepage": "https://docs.pimlico.io/permissionless",
|
|
6
6
|
"repository": "github:pimlicolabs/permissionless.js",
|
|
@@ -141,13 +141,10 @@
|
|
|
141
141
|
"default": "./_cjs/experimental/pimlico/index.js"
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
|
-
"
|
|
145
|
-
"
|
|
146
|
-
"ox": "^0.11.3"
|
|
144
|
+
"dependencies": {
|
|
145
|
+
"ox": "^1.8.8"
|
|
147
146
|
},
|
|
148
|
-
"
|
|
149
|
-
"
|
|
150
|
-
"optional": true
|
|
151
|
-
}
|
|
147
|
+
"peerDependencies": {
|
|
148
|
+
"viem": "^2.44.4"
|
|
152
149
|
}
|
|
153
150
|
}
|
package/utils/index.ts
CHANGED
package/_cjs/utils/ox.js
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
exports.getOxModule = getOxModule;
|
|
5
|
-
exports.hasOxModule = hasOxModule;
|
|
6
|
-
exports.getOxExports = getOxExports;
|
|
7
|
-
let oxModule = null;
|
|
8
|
-
try {
|
|
9
|
-
const importPromise = Promise.resolve().then(() => tslib_1.__importStar(require("ox")));
|
|
10
|
-
oxModule = { importPromise };
|
|
11
|
-
}
|
|
12
|
-
catch (error) {
|
|
13
|
-
// ox is not installed, this is fine for optional dependency
|
|
14
|
-
}
|
|
15
|
-
async function getOxModule() {
|
|
16
|
-
if (!oxModule) {
|
|
17
|
-
throw new Error("The 'ox' package is required for WebAuthn functionality. Please install it: npm install ox");
|
|
18
|
-
}
|
|
19
|
-
try {
|
|
20
|
-
return await oxModule.importPromise;
|
|
21
|
-
}
|
|
22
|
-
catch (error) {
|
|
23
|
-
throw new Error("The 'ox' package is required for WebAuthn functionality. Please install it: npm install ox");
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function hasOxModule() {
|
|
27
|
-
return oxModule !== null;
|
|
28
|
-
}
|
|
29
|
-
async function getOxExports() {
|
|
30
|
-
const ox = await getOxModule();
|
|
31
|
-
return {
|
|
32
|
-
Base64: ox.Base64,
|
|
33
|
-
Hex: ox.Hex,
|
|
34
|
-
PublicKey: ox.PublicKey,
|
|
35
|
-
Signature: ox.Signature,
|
|
36
|
-
WebAuthnP256: ox.WebAuthnP256
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
//# sourceMappingURL=ox.js.map
|
package/_cjs/utils/ox.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox.js","sourceRoot":"","sources":["../../utils/ox.ts"],"names":[],"mappings":";;;;;;AAKA,IAAI,QAAQ,GAAQ,IAAI,CAAA;AAGxB,IAAI,CAAC;IAED,MAAM,aAAa,6DAAU,IAAI,GAAC,CAAA;IAElC,QAAQ,GAAG,EAAE,aAAa,EAAE,CAAA;AAChC,CAAC;AAAC,OAAO,KAAK,EAAE,CAAC;IACb,4DAA4D;AAChE,CAAC;AAEM,KAAK,wBAAwB;IAChC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CACX,4FAA4F,CAC/F,CAAA;IACL,CAAC;IAED,IAAI,CAAC;QACD,OAAO,MAAM,QAAQ,CAAC,aAAa,CAAA;IACvC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,4FAA4F,CAC/F,CAAA;IACL,CAAC;AAAA,CACJ;AAED,uBAAuC;IACnC,OAAO,QAAQ,KAAK,IAAI,CAAA;AAAA,CAC3B;AAGM,KAAK,yBAAyB;IACjC,MAAM,EAAE,GAAG,MAAM,WAAW,EAAE,CAAA;IAC9B,OAAO;QACH,MAAM,EAAE,EAAE,CAAC,MAAM;QACjB,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,SAAS,EAAE,EAAE,CAAC,SAAS;QACvB,SAAS,EAAE,EAAE,CAAC,SAAS;QACvB,YAAY,EAAE,EAAE,CAAC,YAAY;KAChC,CAAA;AAAA,CACJ"}
|
package/_esm/utils/ox.js
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility module for handling optional ox imports
|
|
3
|
-
* This allows the library to work without ox being installed
|
|
4
|
-
*/
|
|
5
|
-
let oxModule = null;
|
|
6
|
-
// Try to load ox module
|
|
7
|
-
try {
|
|
8
|
-
// Use dynamic import for ESM compatibility
|
|
9
|
-
const importPromise = import("ox");
|
|
10
|
-
// Note: This will be handled in the functions that need ox
|
|
11
|
-
oxModule = { importPromise };
|
|
12
|
-
}
|
|
13
|
-
catch (error) {
|
|
14
|
-
// ox is not installed, this is fine for optional dependency
|
|
15
|
-
}
|
|
16
|
-
export async function getOxModule() {
|
|
17
|
-
if (!oxModule) {
|
|
18
|
-
throw new Error("The 'ox' package is required for WebAuthn functionality. Please install it: npm install ox");
|
|
19
|
-
}
|
|
20
|
-
try {
|
|
21
|
-
return await oxModule.importPromise;
|
|
22
|
-
}
|
|
23
|
-
catch (error) {
|
|
24
|
-
throw new Error("The 'ox' package is required for WebAuthn functionality. Please install it: npm install ox");
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
export function hasOxModule() {
|
|
28
|
-
return oxModule !== null;
|
|
29
|
-
}
|
|
30
|
-
// Helper function to get ox exports
|
|
31
|
-
export async function getOxExports() {
|
|
32
|
-
const ox = await getOxModule();
|
|
33
|
-
return {
|
|
34
|
-
Base64: ox.Base64,
|
|
35
|
-
Hex: ox.Hex,
|
|
36
|
-
PublicKey: ox.PublicKey,
|
|
37
|
-
Signature: ox.Signature,
|
|
38
|
-
WebAuthnP256: ox.WebAuthnP256
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
//# sourceMappingURL=ox.js.map
|
package/_esm/utils/ox.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox.js","sourceRoot":"","sources":["../../utils/ox.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,IAAI,QAAQ,GAAQ,IAAI,CAAA;AAExB,wBAAwB;AACxB,IAAI,CAAC;IACD,2CAA2C;IAC3C,MAAM,aAAa,GAAG,MAAM,CAAC,IAAI,CAAC,CAAA;IAClC,2DAA2D;IAC3D,QAAQ,GAAG,EAAE,aAAa,EAAE,CAAA;AAChC,CAAC;AAAC,OAAO,KAAK,EAAE,CAAC;IACb,4DAA4D;AAChE,CAAC;AAED,MAAM,CAAC,KAAK,UAAU,WAAW,GAAG;IAChC,IAAI,CAAC,QAAQ,EAAE,CAAC;QACZ,MAAM,IAAI,KAAK,CACX,4FAA4F,CAC/F,CAAA;IACL,CAAC;IAED,IAAI,CAAC;QACD,OAAO,MAAM,QAAQ,CAAC,aAAa,CAAA;IACvC,CAAC;IAAC,OAAO,KAAK,EAAE,CAAC;QACb,MAAM,IAAI,KAAK,CACX,4FAA4F,CAC/F,CAAA;IACL,CAAC;AAAA,CACJ;AAED,MAAM,UAAU,WAAW,GAAY;IACnC,OAAO,QAAQ,KAAK,IAAI,CAAA;AAAA,CAC3B;AAED,oCAAoC;AACpC,MAAM,CAAC,KAAK,UAAU,YAAY,GAAG;IACjC,MAAM,EAAE,GAAG,MAAM,WAAW,EAAE,CAAA;IAC9B,OAAO;QACH,MAAM,EAAE,EAAE,CAAC,MAAM;QACjB,GAAG,EAAE,EAAE,CAAC,GAAG;QACX,SAAS,EAAE,EAAE,CAAC,SAAS;QACvB,SAAS,EAAE,EAAE,CAAC,SAAS;QACvB,YAAY,EAAE,EAAE,CAAC,YAAY;KAChC,CAAA;AAAA,CACJ"}
|
package/_types/utils/ox.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility module for handling optional ox imports
|
|
3
|
-
* This allows the library to work without ox being installed
|
|
4
|
-
*/
|
|
5
|
-
export declare function getOxModule(): Promise<any>;
|
|
6
|
-
export declare function hasOxModule(): boolean;
|
|
7
|
-
export declare function getOxExports(): Promise<{
|
|
8
|
-
Base64: any;
|
|
9
|
-
Hex: any;
|
|
10
|
-
PublicKey: any;
|
|
11
|
-
Signature: any;
|
|
12
|
-
WebAuthnP256: any;
|
|
13
|
-
}>;
|
|
14
|
-
//# sourceMappingURL=ox.d.ts.map
|
package/_types/utils/ox.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ox.d.ts","sourceRoot":"","sources":["../../utils/ox.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAcH,wBAAsB,WAAW,iBAchC;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC;AAGD,wBAAsB,YAAY;;;;;;GASjC"}
|
package/utils/ox.ts
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility module for handling optional ox imports
|
|
3
|
-
* This allows the library to work without ox being installed
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
let oxModule: any = null
|
|
7
|
-
|
|
8
|
-
// Try to load ox module
|
|
9
|
-
try {
|
|
10
|
-
// Use dynamic import for ESM compatibility
|
|
11
|
-
const importPromise = import("ox")
|
|
12
|
-
// Note: This will be handled in the functions that need ox
|
|
13
|
-
oxModule = { importPromise }
|
|
14
|
-
} catch (error) {
|
|
15
|
-
// ox is not installed, this is fine for optional dependency
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
export async function getOxModule() {
|
|
19
|
-
if (!oxModule) {
|
|
20
|
-
throw new Error(
|
|
21
|
-
"The 'ox' package is required for WebAuthn functionality. Please install it: npm install ox"
|
|
22
|
-
)
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
try {
|
|
26
|
-
return await oxModule.importPromise
|
|
27
|
-
} catch (error) {
|
|
28
|
-
throw new Error(
|
|
29
|
-
"The 'ox' package is required for WebAuthn functionality. Please install it: npm install ox"
|
|
30
|
-
)
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export function hasOxModule(): boolean {
|
|
35
|
-
return oxModule !== null
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
// Helper function to get ox exports
|
|
39
|
-
export async function getOxExports() {
|
|
40
|
-
const ox = await getOxModule()
|
|
41
|
-
return {
|
|
42
|
-
Base64: ox.Base64,
|
|
43
|
-
Hex: ox.Hex,
|
|
44
|
-
PublicKey: ox.PublicKey,
|
|
45
|
-
Signature: ox.Signature,
|
|
46
|
-
WebAuthnP256: ox.WebAuthnP256
|
|
47
|
-
}
|
|
48
|
-
}
|