@glassly/cloud-protocol 0.3.7-beta.889 → 0.3.7-beta.896

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/package.json +1 -1
  2. package/src/maps.ts +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glassly/cloud-protocol",
3
- "version": "0.3.7-beta.889",
3
+ "version": "0.3.7-beta.896",
4
4
  "type": "module",
5
5
  "main": "./src/index.ts",
6
6
  "exports": {
package/src/maps.ts CHANGED
@@ -158,6 +158,8 @@ export const placeSuggestionSchema = z.object({
158
158
  mainText: z.string(),
159
159
  /** Secondary line, e.g. "66 Mint St, San Francisco". Empty when none. */
160
160
  secondaryText: z.string(),
161
+ /** Straight-line distance from `near`, when the request carried one. */
162
+ distanceMeters: z.number().optional(),
161
163
  });
162
164
  export type PlaceSuggestion = z.infer<typeof placeSuggestionSchema>;
163
165