@volr/react 0.1.123 → 0.1.124
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/dist/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -19619,7 +19619,8 @@ async function enrollPasskey(params) {
|
|
|
19619
19619
|
credentialId
|
|
19620
19620
|
},
|
|
19621
19621
|
address,
|
|
19622
|
-
platform
|
|
19622
|
+
platform,
|
|
19623
|
+
rpId
|
|
19623
19624
|
});
|
|
19624
19625
|
return {
|
|
19625
19626
|
credentialId,
|
|
@@ -19807,7 +19808,15 @@ function createBackendMpcTransport(params) {
|
|
|
19807
19808
|
|
|
19808
19809
|
// src/headless/wallet-provider.ts
|
|
19809
19810
|
async function registerWalletProvider(params) {
|
|
19810
|
-
const {
|
|
19811
|
+
const {
|
|
19812
|
+
client,
|
|
19813
|
+
keyStorageType,
|
|
19814
|
+
address,
|
|
19815
|
+
rpId = typeof window !== "undefined" ? window.location.hostname : "localhost",
|
|
19816
|
+
credentialId,
|
|
19817
|
+
blobUrl,
|
|
19818
|
+
prfInput
|
|
19819
|
+
} = params;
|
|
19811
19820
|
if (!keyStorageType) {
|
|
19812
19821
|
throw new Error("keyStorageType is required");
|
|
19813
19822
|
}
|
|
@@ -19828,6 +19837,7 @@ async function registerWalletProvider(params) {
|
|
|
19828
19837
|
await client.post("/wallet/provider/register", {
|
|
19829
19838
|
keyStorageType,
|
|
19830
19839
|
address,
|
|
19840
|
+
rpId,
|
|
19831
19841
|
...keyStorageType === "passkey" && {
|
|
19832
19842
|
credentialId,
|
|
19833
19843
|
blobUrl,
|