@hylid/call 4.0.0-alpha.21 → 4.0.0-alpha.22

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.
@@ -153,7 +153,7 @@ function getAsyncApi(apiName, jsapi, _options) {
153
153
  }
154
154
  });
155
155
  // @ts-ignore
156
- if (!jsapi) return my.call(api, options);
156
+ if (!jsapi) return my.call(apiName, options);
157
157
  if (typeof jsapi !== 'function') {
158
158
  return options.fail(createError('INVALID', apiName));
159
159
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@hylid/call",
3
- "version": "4.0.0-alpha.21",
3
+ "version": "4.0.0-alpha.22",
4
4
  "main": "lib/index.js",
5
5
  "files": [
6
6
  "lib"
7
7
  ],
8
8
  "dependencies": {
9
- "@hylid/env": "^4.0.0-alpha.21",
10
- "@hylid/types": "^4.0.0-alpha.21"
9
+ "@hylid/env": "^4.0.0-alpha.22",
10
+ "@hylid/types": "^4.0.0-alpha.22"
11
11
  },
12
12
  "publishConfig": {
13
13
  "access": "public"