@aurum-sdk/core 0.2.2-canary.0 → 0.2.2
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/{chunk-THE7QLMS.mjs → chunk-DPFIEHZ6.mjs} +2 -2
- package/dist/{chunk-THE7QLMS.mjs.map → chunk-DPFIEHZ6.mjs.map} +1 -1
- package/dist/{chunk-K6PG2PDF.js → chunk-FRA6K6V4.js} +2 -2
- package/dist/{chunk-K6PG2PDF.js.map → chunk-FRA6K6V4.js.map} +1 -1
- package/dist/index.js +50 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -9
- package/dist/index.mjs.map +1 -1
- package/dist/widgets.js +12 -12
- package/dist/widgets.mjs +1 -1
- package/package.json +8 -9
package/dist/index.mjs
CHANGED
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
useAurumStore,
|
|
14
14
|
useNavigation,
|
|
15
15
|
waitForStoreHydration
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-DPFIEHZ6.mjs";
|
|
17
17
|
|
|
18
18
|
// src/AurumCore.ts
|
|
19
19
|
import { checksumAddress } from "viem";
|
|
@@ -1368,14 +1368,9 @@ var _EmailAdapter = class _EmailAdapter {
|
|
|
1368
1368
|
sentryLogger.error("Email is not available");
|
|
1369
1369
|
throw new Error("Email is not available");
|
|
1370
1370
|
}
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
return authResult;
|
|
1375
|
-
} catch (error) {
|
|
1376
|
-
sentryLogger.error("Failed to start email authentication", { error });
|
|
1377
|
-
throw error;
|
|
1378
|
-
}
|
|
1371
|
+
const { signInWithEmail } = await import("@coinbase/cdp-core");
|
|
1372
|
+
const authResult = await signInWithEmail({ email });
|
|
1373
|
+
return authResult;
|
|
1379
1374
|
}
|
|
1380
1375
|
async emailAuthVerify(flowId, otp) {
|
|
1381
1376
|
if (!flowId || !otp) {
|