recast-navigation 0.29.2 → 0.31.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/README.md +2 -2
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -3,7 +3,6 @@
3
3
  [![Version](https://img.shields.io/npm/v/recast-navigation?style=for-the-badge)](https://www.npmjs.com/package/recast-navigation)
4
4
  ![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/isaac-mason/recast-navigation-js/release.yml?style=for-the-badge)
5
5
  [![Downloads](https://img.shields.io/npm/dt/recast-navigation.svg?style=for-the-badge)](https://www.npmjs.com/package/recast-navigation)
6
- [![Bundle Size](https://img.shields.io/bundlephobia/min/recast-navigation?style=for-the-badge&label=bundle%20size)](https://bundlephobia.com/result?p=recast-navigation)
7
6
 
8
7
  # recast-navigation-js
9
8
 
@@ -308,7 +307,8 @@ agent.resetMoveTarget();
308
307
  /* get information about the agent */
309
308
  const agentPosition = agent.position();
310
309
  const agentVelocity = agent.velocity();
311
- const agentNextTargetPath = agent.nextTargetPath();
310
+ const agentTarget = agent.target();
311
+ const agentNextTargetInPath = agent.nextTargetInPath();
312
312
  const agentState = agent.state();
313
313
  const agentCorners = agent.corners();
314
314
  const agentParameters = agent.parameters();
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "email": "isaac@isaacmason.com",
19
19
  "url": "https://isaacmason.com/"
20
20
  },
21
- "version": "0.29.2",
21
+ "version": "0.31.0",
22
22
  "license": "MIT",
23
23
  "homepage": "https://github.com/isaac-mason/recast-navigation-js",
24
24
  "bugs": {
@@ -67,9 +67,9 @@
67
67
  "lint": "eslint --ext .ts src"
68
68
  },
69
69
  "dependencies": {
70
- "@recast-navigation/core": "0.29.2",
71
- "@recast-navigation/generators": "0.29.2",
72
- "@recast-navigation/three": "0.29.2"
70
+ "@recast-navigation/core": "0.31.0",
71
+ "@recast-navigation/generators": "0.31.0",
72
+ "@recast-navigation/three": "0.31.0"
73
73
  },
74
74
  "devDependencies": {
75
75
  "@babel/core": "^7.24.5",