threedviewer 2.4.0 → 2.4.1
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/simple-viewer.es.js +970 -966
- package/dist/simple-viewer.umd.js +61 -61
- package/dist/utils/uuid.d.ts +10 -0
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generate a UUID v4 compatible string without using crypto dependency
|
|
3
|
+
* Format: xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx
|
|
4
|
+
* where x is any hexadecimal digit and y is one of 8, 9, A, or B
|
|
5
|
+
*
|
|
6
|
+
* IMPORTANT: This implementation uses Math.random() which is NOT cryptographically secure.
|
|
7
|
+
* For security-sensitive applications or public-facing IDs, use crypto.randomUUID() instead.
|
|
8
|
+
* This implementation is suitable for internal IDs, test environments, and non-security contexts.
|
|
9
|
+
*/
|
|
10
|
+
export declare function generateUUID(): string;
|