@hypercerts-org/sdk-core 0.6.0-beta.0 → 0.8.0-beta.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.
package/dist/types.d.ts CHANGED
@@ -1395,11 +1395,11 @@ interface CreateHypercertParams {
1395
1395
  */
1396
1396
  description?: string;
1397
1397
  /**
1398
- * Spatial Reference System identifier.
1398
+ * Spatial Reference System identifier (required if location is provided).
1399
1399
  *
1400
1400
  * @example "EPSG:4326" for WGS84
1401
1401
  */
1402
- srs?: string;
1402
+ srs: string;
1403
1403
  /**
1404
1404
  * GeoJSON file as a Blob for precise boundaries.
1405
1405
  */
@@ -1876,13 +1876,18 @@ interface HypercertOperations extends EventEmitter<HypercertEvents> {
1876
1876
  *
1877
1877
  * @param uri - AT-URI of the hypercert
1878
1878
  * @param location - Location data
1879
+ * @param location.value - Location value (address, coordinates, or description)
1880
+ * @param location.srs - Spatial Reference System (required). Use 'EPSG:4326' for WGS84 lat/lon coordinates.
1881
+ * @param location.name - Optional human-readable location name
1882
+ * @param location.description - Optional description of the location
1883
+ * @param location.geojson - Optional GeoJSON blob for precise boundaries
1879
1884
  * @returns Promise resolving to location record result
1880
1885
  */
1881
1886
  attachLocation(uri: string, location: {
1882
1887
  value: string;
1883
1888
  name?: string;
1884
1889
  description?: string;
1885
- srs?: string;
1890
+ srs: string;
1886
1891
  geojson?: Blob;
1887
1892
  }): Promise<CreateResult>;
1888
1893
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hypercerts-org/sdk-core",
3
- "version": "0.6.0-beta.0",
3
+ "version": "0.8.0-beta.0",
4
4
  "description": "Framework-agnostic ATProto SDK core for authentication, repository operations, and lexicon management",
5
5
  "main": "dist/index.cjs",
6
6
  "repository": {
@@ -79,7 +79,7 @@
79
79
  "@atproto/oauth-client-node": "^0.3.12",
80
80
  "eventemitter3": "^5.0.1",
81
81
  "zod": "^3.24.4",
82
- "@hypercerts-org/lexicon": "0.5.0-beta.0"
82
+ "@hypercerts-org/lexicon": "0.8.0-beta.0"
83
83
  },
84
84
  "scripts": {
85
85
  "test": "vitest",