mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-28 23:50:08 +00:00
fix(native): import @noble/hashes 2 through its .js subpaths
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { sha256 } from '@noble/hashes/sha2';
|
||||
import { bytesToHex } from '@noble/hashes/utils';
|
||||
import { sha256 } from '@noble/hashes/sha2.js';
|
||||
import { bytesToHex } from '@noble/hashes/utils.js';
|
||||
import { startAuthentication } from '@simplewebauthn/browser';
|
||||
import { beforeEach, describe, expect, it, vi } from 'vitest';
|
||||
import { authApi } from '../api/client';
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { sha256 } from '@noble/hashes/sha2';
|
||||
import { bytesToHex } from '@noble/hashes/utils';
|
||||
import { sha256 } from '@noble/hashes/sha2.js';
|
||||
import { bytesToHex } from '@noble/hashes/utils.js';
|
||||
import { startAuthentication } from '@simplewebauthn/browser';
|
||||
import { authApi } from '../api/client';
|
||||
import { nativeAuthApi } from '../api/nativeAuth';
|
||||
|
||||
Reference in New Issue
Block a user