Skip to content

Commit

Permalink
feat: remove check
Browse files Browse the repository at this point in the history
  • Loading branch information
Tienisto committed Sep 22, 2024
1 parent aaf6e42 commit df552a4
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/tempoId.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
import * as crypto from 'crypto';

if (!crypto || typeof crypto.getRandomValues !== 'function') {
throw new Error('Web Crypto API is not available.');
}

// Predefined alphabets
const Alphabet = {
numbers: '0123456789',
Expand Down

0 comments on commit df552a4

Please sign in to comment.