@atiproto/lexicons 0.5.0 → 0.5.1

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.
@@ -134,6 +134,10 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
134
134
  /** View of a cart record for use in API responses */
135
135
  type View = {
136
136
  $type?: 'com.atiproto.cart#view';
137
+ /**
138
+ * AT-URI of the cart record
139
+ */
140
+ uri: l.AtUriString;
137
141
  items: CartItem[];
138
142
  /**
139
143
  * ISO 4217 currency code
@@ -229,6 +229,10 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
229
229
  /** View of a user's profile settings for use in API responses */
230
230
  type View = {
231
231
  $type?: 'com.atiproto.profile#view';
232
+ /**
233
+ * AT-URI of the profile record
234
+ */
235
+ uri: l.AtUriString;
232
236
  /**
233
237
  * Whether user accepts tips (default: true)
234
238
  */
@@ -245,6 +245,10 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
245
245
  /** View of a subscription record for use in API responses */
246
246
  type View = {
247
247
  $type?: 'com.atiproto.subscription#view';
248
+ /**
249
+ * AT-URI of the subscription record
250
+ */
251
+ uri: l.AtUriString;
248
252
  /**
249
253
  * DID of the user being subscribed to
250
254
  */
@@ -271,6 +271,10 @@ export declare const $assert: (input: unknown, options?: l.ValidateOptions) => a
271
271
  /** View of a tip record for use in API responses */
272
272
  type View = {
273
273
  $type?: 'com.atiproto.tip#view';
274
+ /**
275
+ * AT-URI of the tip record
276
+ */
277
+ uri: l.AtUriString;
274
278
  /**
275
279
  * DID of the user receiving the tip
276
280
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atiproto/lexicons",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "ATProto lexicon types and utilities",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",