@farcaster/hub-web 0.9.3 → 0.9.4

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/index.d.ts CHANGED
@@ -451,7 +451,9 @@ declare enum UserDataType {
451
451
  /** URL - URL of the user */
452
452
  URL = 5,
453
453
  /** USERNAME - Preferred Name for the user */
454
- USERNAME = 6
454
+ USERNAME = 6,
455
+ /** LOCATION - Current location for the user */
456
+ LOCATION = 7
455
457
  }
456
458
  /** Type of cast */
457
459
  declare enum CastType {
package/dist/index.js CHANGED
@@ -3135,6 +3135,9 @@ function userDataTypeFromJSON(object) {
3135
3135
  case 6:
3136
3136
  case "USER_DATA_TYPE_USERNAME":
3137
3137
  return 6 /* USERNAME */;
3138
+ case 7:
3139
+ case "USER_DATA_TYPE_LOCATION":
3140
+ return 7 /* LOCATION */;
3138
3141
  default:
3139
3142
  throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
3140
3143
  }
@@ -3153,6 +3156,8 @@ function userDataTypeToJSON(object) {
3153
3156
  return "USER_DATA_TYPE_URL";
3154
3157
  case 6 /* USERNAME */:
3155
3158
  return "USER_DATA_TYPE_USERNAME";
3159
+ case 7 /* LOCATION */:
3160
+ return "USER_DATA_TYPE_LOCATION";
3156
3161
  default:
3157
3162
  throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
3158
3163
  }
package/dist/index.mjs CHANGED
@@ -3067,6 +3067,9 @@ function userDataTypeFromJSON(object) {
3067
3067
  case 6:
3068
3068
  case "USER_DATA_TYPE_USERNAME":
3069
3069
  return 6 /* USERNAME */;
3070
+ case 7:
3071
+ case "USER_DATA_TYPE_LOCATION":
3072
+ return 7 /* LOCATION */;
3070
3073
  default:
3071
3074
  throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
3072
3075
  }
@@ -3085,6 +3088,8 @@ function userDataTypeToJSON(object) {
3085
3088
  return "USER_DATA_TYPE_URL";
3086
3089
  case 6 /* USERNAME */:
3087
3090
  return "USER_DATA_TYPE_USERNAME";
3091
+ case 7 /* LOCATION */:
3092
+ return "USER_DATA_TYPE_LOCATION";
3088
3093
  default:
3089
3094
  throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
3090
3095
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farcaster/hub-web",
3
- "version": "0.9.3",
3
+ "version": "0.9.4",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",
@@ -32,7 +32,7 @@
32
32
  "ts-proto": "^1.146.0"
33
33
  },
34
34
  "dependencies": {
35
- "@farcaster/core": "^0.15.3",
35
+ "@farcaster/core": "^0.15.5",
36
36
  "@improbable-eng/grpc-web": "^0.15.0",
37
37
  "rxjs": "^7.8.0"
38
38
  }