@expofp/utils 3.0.0-alpha.3 → 3.0.0-alpha.4

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/utils",
3
- "version": "3.0.0-alpha.3",
3
+ "version": "3.0.0-alpha.4",
4
4
  "type": "module",
5
5
  "description": "ExpoFP SDK internal: shared utilities",
6
6
  "license": "MIT",
@@ -1,2 +0,0 @@
1
- export declare function importRuntimeJsonModule<T = unknown>(fileName: string): Promise<T>;
2
- //# sourceMappingURL=importRuntimeJsonFile.d.ts.map
@@ -1,10 +0,0 @@
1
- import debug from 'debug';
2
- import { importJsonModule } from './importJsonModule.js';
3
- const log = debug('efp:utils:importRuntimeJsonModule');
4
- export async function importRuntimeJsonModule(fileName) {
5
- // ignore because vite may rewrite '.' to data:...
6
- const baseUrl = new URL(/* @vite-ignore */ '.', import.meta.url).href;
7
- const url = new URL(fileName, baseUrl);
8
- log('Loading runtime JSON from', url.href);
9
- return await importJsonModule(url.href);
10
- }