@stackframe/stack-shared 2.4.6 → 2.4.7
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.
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the first argument passed to it, but compilers won't be able to optimize it out. This is useful in some cases where compiler warnings go awry; for example, when importing things that may not exist (but are guaranteed to exist at runtime).
|
|
3
|
+
*/
|
|
4
|
+
export declare function scrambleDuringCompileTime<T>(t: T): T;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the first argument passed to it, but compilers won't be able to optimize it out. This is useful in some cases where compiler warnings go awry; for example, when importing things that may not exist (but are guaranteed to exist at runtime).
|
|
3
|
+
*/
|
|
4
|
+
export function scrambleDuringCompileTime(t) {
|
|
5
|
+
return t;
|
|
6
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stackframe/stack-shared",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.7",
|
|
4
4
|
"main": "./dist/index.js",
|
|
5
5
|
"types": "./dist/index.d.ts",
|
|
6
6
|
"files": [
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"jose": "^5.2.2",
|
|
25
25
|
"oauth4webapi": "^2.10.3",
|
|
26
26
|
"uuid": "^9.0.1",
|
|
27
|
-
"@stackframe/stack-sc": "1.5.
|
|
27
|
+
"@stackframe/stack-sc": "1.5.3"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/bcrypt": "^5.0.2",
|