@farcaster/hub-web 0.9.3 → 0.9.5
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 +7 -1
- package/dist/index.js +15 -0
- package/dist/index.mjs +15 -0
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
@@ -451,7 +451,13 @@ 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,
|
457
|
+
/** TWITTER - Username of user on twitter */
|
458
|
+
TWITTER = 8,
|
459
|
+
/** GITHUB - Username of user on github */
|
460
|
+
GITHUB = 9
|
455
461
|
}
|
456
462
|
/** Type of cast */
|
457
463
|
declare enum CastType {
|
package/dist/index.js
CHANGED
@@ -3135,6 +3135,15 @@ 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 */;
|
3141
|
+
case 8:
|
3142
|
+
case "USER_DATA_TYPE_TWITTER":
|
3143
|
+
return 8 /* TWITTER */;
|
3144
|
+
case 9:
|
3145
|
+
case "USER_DATA_TYPE_GITHUB":
|
3146
|
+
return 9 /* GITHUB */;
|
3138
3147
|
default:
|
3139
3148
|
throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
|
3140
3149
|
}
|
@@ -3153,6 +3162,12 @@ function userDataTypeToJSON(object) {
|
|
3153
3162
|
return "USER_DATA_TYPE_URL";
|
3154
3163
|
case 6 /* USERNAME */:
|
3155
3164
|
return "USER_DATA_TYPE_USERNAME";
|
3165
|
+
case 7 /* LOCATION */:
|
3166
|
+
return "USER_DATA_TYPE_LOCATION";
|
3167
|
+
case 8 /* TWITTER */:
|
3168
|
+
return "USER_DATA_TYPE_TWITTER";
|
3169
|
+
case 9 /* GITHUB */:
|
3170
|
+
return "USER_DATA_TYPE_GITHUB";
|
3156
3171
|
default:
|
3157
3172
|
throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
|
3158
3173
|
}
|
package/dist/index.mjs
CHANGED
@@ -3067,6 +3067,15 @@ 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 */;
|
3073
|
+
case 8:
|
3074
|
+
case "USER_DATA_TYPE_TWITTER":
|
3075
|
+
return 8 /* TWITTER */;
|
3076
|
+
case 9:
|
3077
|
+
case "USER_DATA_TYPE_GITHUB":
|
3078
|
+
return 9 /* GITHUB */;
|
3070
3079
|
default:
|
3071
3080
|
throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
|
3072
3081
|
}
|
@@ -3085,6 +3094,12 @@ function userDataTypeToJSON(object) {
|
|
3085
3094
|
return "USER_DATA_TYPE_URL";
|
3086
3095
|
case 6 /* USERNAME */:
|
3087
3096
|
return "USER_DATA_TYPE_USERNAME";
|
3097
|
+
case 7 /* LOCATION */:
|
3098
|
+
return "USER_DATA_TYPE_LOCATION";
|
3099
|
+
case 8 /* TWITTER */:
|
3100
|
+
return "USER_DATA_TYPE_TWITTER";
|
3101
|
+
case 9 /* GITHUB */:
|
3102
|
+
return "USER_DATA_TYPE_GITHUB";
|
3088
3103
|
default:
|
3089
3104
|
throw new tsProtoGlobalThis2.Error("Unrecognized enum value " + object + " for enum UserDataType");
|
3090
3105
|
}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@farcaster/hub-web",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.5",
|
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.
|
35
|
+
"@farcaster/core": "^0.15.6",
|
36
36
|
"@improbable-eng/grpc-web": "^0.15.0",
|
37
37
|
"rxjs": "^7.8.0"
|
38
38
|
}
|