@expofp/resolve 3.0.0-alpha.9 → 3.0.0

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.
Files changed (2) hide show
  1. package/dist/resolve.js +2 -2
  2. package/package.json +2 -2
package/dist/resolve.js CHANGED
@@ -1,4 +1,4 @@
1
- import { importJsonModule } from '@expofp/utils';
1
+ import { importJson } from '@expofp/utils';
2
2
  const globalResolveCache = new Map();
3
3
  // TODO: use json pointer lib to resolve within documents
4
4
  export async function resolve(data, options) {
@@ -12,6 +12,6 @@ export async function resolve(data, options) {
12
12
  return data;
13
13
  // throw new Error('resolve: data is not a $ref object');
14
14
  }
15
- const module = await importJsonModule(data.$ref, importOptions);
15
+ const module = await importJson(data.$ref, importOptions);
16
16
  return module;
17
17
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@expofp/resolve",
3
- "version": "3.0.0-alpha.9",
3
+ "version": "3.0.0",
4
4
  "type": "module",
5
5
  "description": "ExpoFP SDK internal: asset and resource resolution",
6
6
  "license": "MIT",
@@ -26,6 +26,6 @@
26
26
  ],
27
27
  "dependencies": {
28
28
  "tslib": "^2.3.0",
29
- "@expofp/utils": "3.0.0-alpha.9"
29
+ "@expofp/utils": "3.0.0"
30
30
  }
31
31
  }