@lazycatcloud/sdk 0.1.16 → 0.1.17

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 (90) hide show
  1. package/dist/common/box.d.ts +12 -6
  2. package/dist/common/box.d.ts.map +1 -1
  3. package/dist/common/box.js +22 -39
  4. package/dist/common/box.js.map +1 -1
  5. package/dist/common/browseronly.d.ts +10 -4
  6. package/dist/common/browseronly.d.ts.map +1 -1
  7. package/dist/common/browseronly.js +25 -37
  8. package/dist/common/browseronly.js.map +1 -1
  9. package/dist/common/end_device.d.ts +13 -7
  10. package/dist/common/end_device.d.ts.map +1 -1
  11. package/dist/common/end_device.js +27 -39
  12. package/dist/common/end_device.js.map +1 -1
  13. package/dist/common/gateway.d.ts +12 -6
  14. package/dist/common/gateway.d.ts.map +1 -1
  15. package/dist/common/gateway.js +23 -37
  16. package/dist/common/gateway.js.map +1 -1
  17. package/dist/common/peripheral_device.d.ts +15 -9
  18. package/dist/common/peripheral_device.d.ts.map +1 -1
  19. package/dist/common/peripheral_device.js +22 -39
  20. package/dist/common/peripheral_device.js.map +1 -1
  21. package/dist/common/security_context.d.ts +15 -9
  22. package/dist/common/security_context.d.ts.map +1 -1
  23. package/dist/common/security_context.js +25 -39
  24. package/dist/common/security_context.js.map +1 -1
  25. package/dist/common/users.d.ts +18 -12
  26. package/dist/common/users.d.ts.map +1 -1
  27. package/dist/common/users.js +33 -47
  28. package/dist/common/users.js.map +1 -1
  29. package/dist/google/protobuf/descriptor.d.ts +1644 -1644
  30. package/dist/google/protobuf/descriptor.d.ts.map +1 -1
  31. package/dist/google/protobuf/descriptor.js +78 -95
  32. package/dist/google/protobuf/descriptor.js.map +1 -1
  33. package/dist/google/protobuf/empty.d.ts +2 -2
  34. package/dist/google/protobuf/empty.d.ts.map +1 -1
  35. package/dist/google/protobuf/empty.js +5 -25
  36. package/dist/google/protobuf/empty.js.map +1 -1
  37. package/dist/google/protobuf/timestamp.d.ts +2 -2
  38. package/dist/google/protobuf/timestamp.d.ts.map +1 -1
  39. package/dist/google/protobuf/timestamp.js +6 -29
  40. package/dist/google/protobuf/timestamp.js.map +1 -1
  41. package/dist/localdevice/clipboard.d.ts +11 -5
  42. package/dist/localdevice/clipboard.d.ts.map +1 -1
  43. package/dist/localdevice/clipboard.js +47 -53
  44. package/dist/localdevice/clipboard.js.map +1 -1
  45. package/dist/localdevice/device.d.ts +8 -2
  46. package/dist/localdevice/device.d.ts.map +1 -1
  47. package/dist/localdevice/device.js +15 -29
  48. package/dist/localdevice/device.js.map +1 -1
  49. package/dist/localdevice/dialog.d.ts +12 -6
  50. package/dist/localdevice/dialog.d.ts.map +1 -1
  51. package/dist/localdevice/dialog.js +23 -37
  52. package/dist/localdevice/dialog.js.map +1 -1
  53. package/dist/localdevice/network.d.ts +8 -2
  54. package/dist/localdevice/network.d.ts.map +1 -1
  55. package/dist/localdevice/network.js +15 -29
  56. package/dist/localdevice/network.js.map +1 -1
  57. package/dist/localdevice/photo.d.ts +27 -21
  58. package/dist/localdevice/photo.d.ts.map +1 -1
  59. package/dist/localdevice/photo.js +46 -61
  60. package/dist/localdevice/photo.js.map +1 -1
  61. package/dist/package.json +1 -1
  62. package/dist/sys/OS_snapshot.d.ts +26 -20
  63. package/dist/sys/OS_snapshot.d.ts.map +1 -1
  64. package/dist/sys/OS_snapshot.js +42 -59
  65. package/dist/sys/OS_snapshot.js.map +1 -1
  66. package/dist/sys/OS_upgrader.d.ts +13 -7
  67. package/dist/sys/OS_upgrader.d.ts.map +1 -1
  68. package/dist/sys/OS_upgrader.js +22 -39
  69. package/dist/sys/OS_upgrader.js.map +1 -1
  70. package/dist/sys/hc-core/hc-core.d.ts +35 -29
  71. package/dist/sys/hc-core/hc-core.d.ts.map +1 -1
  72. package/dist/sys/hc-core/hc-core.js +61 -69
  73. package/dist/sys/hc-core/hc-core.js.map +1 -1
  74. package/dist/sys/ingress.d.ts +17 -11
  75. package/dist/sys/ingress.d.ts.map +1 -1
  76. package/dist/sys/ingress.js +30 -47
  77. package/dist/sys/ingress.js.map +1 -1
  78. package/dist/sys/package_manager.d.ts +28 -19
  79. package/dist/sys/package_manager.d.ts.map +1 -1
  80. package/dist/sys/package_manager.js +49 -57
  81. package/dist/sys/package_manager.js.map +1 -1
  82. package/dist/sys/portal-server/portal-server.d.ts +37 -31
  83. package/dist/sys/portal-server/portal-server.d.ts.map +1 -1
  84. package/dist/sys/portal-server/portal-server.js +71 -83
  85. package/dist/sys/portal-server/portal-server.js.map +1 -1
  86. package/package.json +1 -1
  87. package/dist/common/permissions.d.ts +0 -93
  88. package/dist/common/permissions.d.ts.map +0 -1
  89. package/dist/common/permissions.js +0 -267
  90. package/dist/common/permissions.js.map +0 -1
@@ -1,6 +1,6 @@
1
1
  import { grpc } from "@improbable-eng/grpc-web";
2
2
  import { Empty } from "../google/protobuf/empty";
3
- import * as _m0 from "protobufjs/minimal";
3
+ import _m0 from "protobufjs/minimal";
4
4
  export declare enum AppStatus {
5
5
  NotInstalled = 0,
6
6
  Downloading = 1,
@@ -43,6 +43,7 @@ export interface InstallRequest {
43
43
  * 2. 本地若没有缓存,则会从 url 下载包,并校验包的 sha256 值
44
44
  */
45
45
  sha256: string;
46
+ subdomain?: string | undefined;
46
47
  }
47
48
  export interface UninstallRequest {
48
49
  appid: string;
@@ -126,7 +127,7 @@ export declare const PkgURL: {
126
127
  } & {
127
128
  url?: string;
128
129
  sha256?: string;
129
- } & Record<Exclude<keyof I, keyof PkgURL>, never>>(object: I): PkgURL;
130
+ } & { [K in Exclude<keyof I, keyof PkgURL>]: never; }>(object: I): PkgURL;
130
131
  };
131
132
  export declare const InstallRequest: {
132
133
  encode(message: InstallRequest, writer?: _m0.Writer): _m0.Writer;
@@ -137,11 +138,13 @@ export declare const InstallRequest: {
137
138
  appid?: string;
138
139
  url?: string;
139
140
  sha256?: string;
141
+ subdomain?: string | undefined;
140
142
  } & {
141
143
  appid?: string;
142
144
  url?: string;
143
145
  sha256?: string;
144
- } & Record<Exclude<keyof I, keyof InstallRequest>, never>>(object: I): InstallRequest;
146
+ subdomain?: string | undefined;
147
+ } & { [K in Exclude<keyof I, keyof InstallRequest>]: never; }>(object: I): InstallRequest;
145
148
  };
146
149
  export declare const UninstallRequest: {
147
150
  encode(message: UninstallRequest, writer?: _m0.Writer): _m0.Writer;
@@ -154,7 +157,7 @@ export declare const UninstallRequest: {
154
157
  } & {
155
158
  appid?: string;
156
159
  clearData?: boolean;
157
- } & Record<Exclude<keyof I, keyof UninstallRequest>, never>>(object: I): UninstallRequest;
160
+ } & { [K in Exclude<keyof I, keyof UninstallRequest>]: never; }>(object: I): UninstallRequest;
158
161
  };
159
162
  export declare const AppDownloadProgress: {
160
163
  encode(message: AppDownloadProgress, writer?: _m0.Writer): _m0.Writer;
@@ -167,7 +170,7 @@ export declare const AppDownloadProgress: {
167
170
  } & {
168
171
  current?: number;
169
172
  total?: number;
170
- } & Record<Exclude<keyof I, keyof AppDownloadProgress>, never>>(object: I): AppDownloadProgress;
173
+ } & { [K in Exclude<keyof I, keyof AppDownloadProgress>]: never; }>(object: I): AppDownloadProgress;
171
174
  };
172
175
  export declare const AppInfo: {
173
176
  encode(message: AppInfo, writer?: _m0.Writer): _m0.Writer;
@@ -201,9 +204,9 @@ export declare const AppInfo: {
201
204
  } & {
202
205
  current?: number;
203
206
  total?: number;
204
- } & Record<Exclude<keyof I["downloadProgress"], keyof AppDownloadProgress>, never>;
207
+ } & { [K in Exclude<keyof I["downloadProgress"], keyof AppDownloadProgress>]: never; };
205
208
  uninstallable?: boolean | undefined;
206
- } & Record<Exclude<keyof I, keyof AppInfo>, never>>(object: I): AppInfo;
209
+ } & { [K_1 in Exclude<keyof I, keyof AppInfo>]: never; }>(object: I): AppInfo;
207
210
  };
208
211
  export declare const QueryApplicationRequest: {
209
212
  encode(message: QueryApplicationRequest, writer?: _m0.Writer): _m0.Writer;
@@ -213,8 +216,8 @@ export declare const QueryApplicationRequest: {
213
216
  fromPartial<I extends {
214
217
  appidList?: string[];
215
218
  } & {
216
- appidList?: string[] & string[] & Record<Exclude<keyof I["appidList"], keyof string[]>, never>;
217
- } & Record<Exclude<keyof I, "appidList">, never>>(object: I): QueryApplicationRequest;
219
+ appidList?: string[] & string[] & { [K in Exclude<keyof I["appidList"], keyof string[]>]: never; };
220
+ } & { [K_1 in Exclude<keyof I, "appidList">]: never; }>(object: I): QueryApplicationRequest;
218
221
  };
219
222
  export declare const QueryApplicationResponse: {
220
223
  encode(message: QueryApplicationResponse, writer?: _m0.Writer): _m0.Writer;
@@ -277,9 +280,9 @@ export declare const QueryApplicationResponse: {
277
280
  } & {
278
281
  current?: number;
279
282
  total?: number;
280
- } & Record<Exclude<keyof I["infoList"][number]["downloadProgress"], keyof AppDownloadProgress>, never>;
283
+ } & { [K in Exclude<keyof I["infoList"][number]["downloadProgress"], keyof AppDownloadProgress>]: never; };
281
284
  uninstallable?: boolean | undefined;
282
- } & Record<Exclude<keyof I["infoList"][number], keyof AppInfo>, never>)[] & Record<Exclude<keyof I["infoList"], keyof {
285
+ } & { [K_1 in Exclude<keyof I["infoList"][number], keyof AppInfo>]: never; })[] & { [K_2 in Exclude<keyof I["infoList"], keyof {
283
286
  appid?: string;
284
287
  status?: AppStatus;
285
288
  version?: string | undefined;
@@ -292,8 +295,8 @@ export declare const QueryApplicationResponse: {
292
295
  total?: number;
293
296
  };
294
297
  uninstallable?: boolean | undefined;
295
- }[]>, never>;
296
- } & Record<Exclude<keyof I, "infoList">, never>>(object: I): QueryApplicationResponse;
298
+ }[]>]: never; };
299
+ } & { [K_3 in Exclude<keyof I, "infoList">]: never; }>(object: I): QueryApplicationResponse;
297
300
  };
298
301
  export declare const QueryAppStorageUsageRequest: {
299
302
  encode(message: QueryAppStorageUsageRequest, writer?: _m0.Writer): _m0.Writer;
@@ -314,7 +317,7 @@ export declare const QueryAppStorageUsageRequest: {
314
317
  needCache?: boolean;
315
318
  needTmp?: boolean;
316
319
  needUserdata?: boolean;
317
- } & Record<Exclude<keyof I, keyof QueryAppStorageUsageRequest>, never>>(object: I): QueryAppStorageUsageRequest;
320
+ } & { [K in Exclude<keyof I, keyof QueryAppStorageUsageRequest>]: never; }>(object: I): QueryAppStorageUsageRequest;
318
321
  };
319
322
  export declare const AppStorageUsage: {
320
323
  encode(message: AppStorageUsage, writer?: _m0.Writer): _m0.Writer;
@@ -338,8 +341,8 @@ export declare const AppStorageUsage: {
338
341
  [x: string]: number;
339
342
  } & {
340
343
  [x: string]: number;
341
- } & Record<Exclude<keyof I["userdata"], string | number>, never>;
342
- } & Record<Exclude<keyof I, keyof AppStorageUsage>, never>>(object: I): AppStorageUsage;
344
+ } & { [K in Exclude<keyof I["userdata"], string | number>]: never; };
345
+ } & { [K_1 in Exclude<keyof I, keyof AppStorageUsage>]: never; }>(object: I): AppStorageUsage;
343
346
  };
344
347
  export declare const AppStorageUsage_UserdataEntry: {
345
348
  encode(message: AppStorageUsage_UserdataEntry, writer?: _m0.Writer): _m0.Writer;
@@ -352,7 +355,7 @@ export declare const AppStorageUsage_UserdataEntry: {
352
355
  } & {
353
356
  key?: string;
354
357
  value?: number;
355
- } & Record<Exclude<keyof I, keyof AppStorageUsage_UserdataEntry>, never>>(object: I): AppStorageUsage_UserdataEntry;
358
+ } & { [K in Exclude<keyof I, keyof AppStorageUsage_UserdataEntry>]: never; }>(object: I): AppStorageUsage_UserdataEntry;
356
359
  };
357
360
  export declare const SetUserPermissionsRequest: {
358
361
  encode(message: SetUserPermissionsRequest, writer?: _m0.Writer): _m0.Writer;
@@ -367,7 +370,7 @@ export declare const SetUserPermissionsRequest: {
367
370
  uid?: string;
368
371
  allowInstallApp?: boolean;
369
372
  allowUninstallApp?: boolean;
370
- } & Record<Exclude<keyof I, keyof SetUserPermissionsRequest>, never>>(object: I): SetUserPermissionsRequest;
373
+ } & { [K in Exclude<keyof I, keyof SetUserPermissionsRequest>]: never; }>(object: I): SetUserPermissionsRequest;
371
374
  };
372
375
  export declare const Appid: {
373
376
  encode(message: Appid, writer?: _m0.Writer): _m0.Writer;
@@ -378,7 +381,7 @@ export declare const Appid: {
378
381
  appid?: string;
379
382
  } & {
380
383
  appid?: string;
381
- } & Record<Exclude<keyof I, "appid">, never>>(object: I): Appid;
384
+ } & { [K in Exclude<keyof I, "appid">]: never; }>(object: I): Appid;
382
385
  };
383
386
  export interface PackageManager {
384
387
  /** 根据 URL 和 校验码(可选),安装应用 */
@@ -428,6 +431,7 @@ export declare class GrpcWebImpl {
428
431
  transport?: grpc.TransportFactory;
429
432
  debug?: boolean;
430
433
  metadata?: grpc.Metadata;
434
+ upStreamRetryCodes?: number[];
431
435
  });
432
436
  unary<T extends UnaryMethodDefinitionish>(methodDesc: T, _request: any, metadata: grpc.Metadata | undefined): Promise<any>;
433
437
  }
@@ -435,5 +439,10 @@ declare type Builtin = Date | Function | Uint8Array | string | number | boolean
435
439
  declare type DeepPartial<T> = T extends Builtin ? T : T extends Array<infer U> ? Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
436
440
  [K in keyof T]?: DeepPartial<T[K]>;
437
441
  } : Partial<T>;
442
+ export declare class GrpcWebError extends Error {
443
+ code: grpc.Code;
444
+ metadata: grpc.Metadata;
445
+ constructor(message: string, code: grpc.Code, metadata: grpc.Metadata);
446
+ }
438
447
  export {};
439
448
  //# sourceMappingURL=package_manager.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"package_manager.d.ts","sourceRoot":"","sources":["../../sys/package_manager.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,0BAA0B,CAAC;AAChD,OAAO,EAAE,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAGjD,OAAO,KAAK,GAAG,MAAM,oBAAoB,CAAC;AAE1C,oBAAY,SAAS;IACnB,YAAY,IAAI;IAChB,WAAW,IAAI;IACf,MAAM,IAAI;IACV,UAAU,IAAI;IACd,SAAS,IAAI;IACb,MAAM,IAAI;IACV,YAAY,KAAK;CAClB;AA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ACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,GAAG,SAAS,GAClC,OAAO,CAAC,GAAG,CAAC;CA+BhB;AAaD,aAAK,OAAO,GACR,IAAI,GACJ,QAAQ,GACR,UAAU,GACV,MAAM,GACN,MAAM,GACN,OAAO,GACP,SAAS,CAAC;AAEd,aAAK,WAAW,CAAC,CAAC,IAAI,CAAC,SAAS,OAAO,GACnC,CAAC,GACD,CAAC,SAAS,KAAK,CAAC,MAAM,CAAC,CAAC,GACxB,KAAK,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GACrB,CAAC,SAAS,aAAa,CAAC,MAAM,CAAC,CAAC,GAChC,aAAa,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,GAC7B,CAAC,SAAS,EAAE,GACZ;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;CAAE,GACtC,OAAO,CAAC,CAAC,CAAC,CAAC;AA6Bf,qBAAa,YAAa,SAAQ,KAAK;IAG5B,IAAI,EAAE,IAAI,CAAC,IAAI;IACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;gBAF9B,OAAO,EAAE,MAAM,EACR,IAAI,EAAE,IAAI,CAAC,IAAI,EACf,QAAQ,EAAE,IAAI,CAAC,QAAQ;CAIjC"}
@@ -1,38 +1,15 @@
1
1
  "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || function (mod) {
19
- if (mod && mod.__esModule) return mod;
20
- var result = {};
21
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
- __setModuleDefault(result, mod);
23
- return result;
24
- };
25
2
  var __importDefault = (this && this.__importDefault) || function (mod) {
26
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
27
4
  };
28
5
  Object.defineProperty(exports, "__esModule", { value: true });
29
- exports.GrpcWebImpl = exports.PackageManagerPauseAppDownloadDesc = exports.PackageManagerSetUserPermissionsDesc = exports.PackageManagerQueryAppStorageUsageDesc = exports.PackageManagerQueryApplicationDesc = exports.PackageManagerUninstallDesc = exports.PackageManagerInstallDesc = exports.PackageManagerDesc = exports.PackageManagerClientImpl = exports.Appid = exports.SetUserPermissionsRequest = exports.AppStorageUsage_UserdataEntry = exports.AppStorageUsage = exports.QueryAppStorageUsageRequest = exports.QueryApplicationResponse = exports.QueryApplicationRequest = exports.AppInfo = exports.AppDownloadProgress = exports.UninstallRequest = exports.InstallRequest = exports.PkgURL = exports.appStatusToJSON = exports.appStatusFromJSON = exports.AppStatus = void 0;
6
+ exports.GrpcWebError = exports.GrpcWebImpl = exports.PackageManagerPauseAppDownloadDesc = exports.PackageManagerSetUserPermissionsDesc = exports.PackageManagerQueryAppStorageUsageDesc = exports.PackageManagerQueryApplicationDesc = exports.PackageManagerUninstallDesc = exports.PackageManagerInstallDesc = exports.PackageManagerDesc = exports.PackageManagerClientImpl = exports.Appid = exports.SetUserPermissionsRequest = exports.AppStorageUsage_UserdataEntry = exports.AppStorageUsage = exports.QueryAppStorageUsageRequest = exports.QueryApplicationResponse = exports.QueryApplicationRequest = exports.AppInfo = exports.AppDownloadProgress = exports.UninstallRequest = exports.InstallRequest = exports.PkgURL = exports.appStatusToJSON = exports.appStatusFromJSON = exports.AppStatus = void 0;
30
7
  /* eslint-disable */
31
8
  const grpc_web_1 = require("@improbable-eng/grpc-web");
32
9
  const empty_1 = require("../google/protobuf/empty");
33
10
  const browser_headers_1 = require("browser-headers");
34
11
  const long_1 = __importDefault(require("long"));
35
- const _m0 = __importStar(require("protobufjs/minimal"));
12
+ const minimal_1 = __importDefault(require("protobufjs/minimal"));
36
13
  var AppStatus;
37
14
  (function (AppStatus) {
38
15
  AppStatus[AppStatus["NotInstalled"] = 0] = "NotInstalled";
@@ -94,7 +71,7 @@ function createBasePkgURL() {
94
71
  return { url: "", sha256: "" };
95
72
  }
96
73
  exports.PkgURL = {
97
- encode(message, writer = _m0.Writer.create()) {
74
+ encode(message, writer = minimal_1.default.Writer.create()) {
98
75
  if (message.url !== "") {
99
76
  writer.uint32(10).string(message.url);
100
77
  }
@@ -104,7 +81,7 @@ exports.PkgURL = {
104
81
  return writer;
105
82
  },
106
83
  decode(input, length) {
107
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
84
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
108
85
  let end = length === undefined ? reader.len : reader.pos + length;
109
86
  const message = createBasePkgURL();
110
87
  while (reader.pos < end) {
@@ -144,10 +121,10 @@ exports.PkgURL = {
144
121
  },
145
122
  };
146
123
  function createBaseInstallRequest() {
147
- return { appid: "", url: "", sha256: "" };
124
+ return { appid: "", url: "", sha256: "", subdomain: undefined };
148
125
  }
149
126
  exports.InstallRequest = {
150
- encode(message, writer = _m0.Writer.create()) {
127
+ encode(message, writer = minimal_1.default.Writer.create()) {
151
128
  if (message.appid !== "") {
152
129
  writer.uint32(10).string(message.appid);
153
130
  }
@@ -157,10 +134,13 @@ exports.InstallRequest = {
157
134
  if (message.sha256 !== "") {
158
135
  writer.uint32(26).string(message.sha256);
159
136
  }
137
+ if (message.subdomain !== undefined) {
138
+ writer.uint32(34).string(message.subdomain);
139
+ }
160
140
  return writer;
161
141
  },
162
142
  decode(input, length) {
163
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
143
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
164
144
  let end = length === undefined ? reader.len : reader.pos + length;
165
145
  const message = createBaseInstallRequest();
166
146
  while (reader.pos < end) {
@@ -175,6 +155,9 @@ exports.InstallRequest = {
175
155
  case 3:
176
156
  message.sha256 = reader.string();
177
157
  break;
158
+ case 4:
159
+ message.subdomain = reader.string();
160
+ break;
178
161
  default:
179
162
  reader.skipType(tag & 7);
180
163
  break;
@@ -187,6 +170,7 @@ exports.InstallRequest = {
187
170
  appid: isSet(object.appid) ? String(object.appid) : "",
188
171
  url: isSet(object.url) ? String(object.url) : "",
189
172
  sha256: isSet(object.sha256) ? String(object.sha256) : "",
173
+ subdomain: isSet(object.subdomain) ? String(object.subdomain) : undefined,
190
174
  };
191
175
  },
192
176
  toJSON(message) {
@@ -194,14 +178,16 @@ exports.InstallRequest = {
194
178
  message.appid !== undefined && (obj.appid = message.appid);
195
179
  message.url !== undefined && (obj.url = message.url);
196
180
  message.sha256 !== undefined && (obj.sha256 = message.sha256);
181
+ message.subdomain !== undefined && (obj.subdomain = message.subdomain);
197
182
  return obj;
198
183
  },
199
184
  fromPartial(object) {
200
- var _a, _b, _c;
185
+ var _a, _b, _c, _d;
201
186
  const message = createBaseInstallRequest();
202
187
  message.appid = (_a = object.appid) !== null && _a !== void 0 ? _a : "";
203
188
  message.url = (_b = object.url) !== null && _b !== void 0 ? _b : "";
204
189
  message.sha256 = (_c = object.sha256) !== null && _c !== void 0 ? _c : "";
190
+ message.subdomain = (_d = object.subdomain) !== null && _d !== void 0 ? _d : undefined;
205
191
  return message;
206
192
  },
207
193
  };
@@ -209,7 +195,7 @@ function createBaseUninstallRequest() {
209
195
  return { appid: "", clearData: false };
210
196
  }
211
197
  exports.UninstallRequest = {
212
- encode(message, writer = _m0.Writer.create()) {
198
+ encode(message, writer = minimal_1.default.Writer.create()) {
213
199
  if (message.appid !== "") {
214
200
  writer.uint32(10).string(message.appid);
215
201
  }
@@ -219,7 +205,7 @@ exports.UninstallRequest = {
219
205
  return writer;
220
206
  },
221
207
  decode(input, length) {
222
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
208
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
223
209
  let end = length === undefined ? reader.len : reader.pos + length;
224
210
  const message = createBaseUninstallRequest();
225
211
  while (reader.pos < end) {
@@ -262,7 +248,7 @@ function createBaseAppDownloadProgress() {
262
248
  return { current: 0, total: 0 };
263
249
  }
264
250
  exports.AppDownloadProgress = {
265
- encode(message, writer = _m0.Writer.create()) {
251
+ encode(message, writer = minimal_1.default.Writer.create()) {
266
252
  if (message.current !== 0) {
267
253
  writer.uint32(8).uint64(message.current);
268
254
  }
@@ -272,7 +258,7 @@ exports.AppDownloadProgress = {
272
258
  return writer;
273
259
  },
274
260
  decode(input, length) {
275
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
261
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
276
262
  let end = length === undefined ? reader.len : reader.pos + length;
277
263
  const message = createBaseAppDownloadProgress();
278
264
  while (reader.pos < end) {
@@ -326,7 +312,7 @@ function createBaseAppInfo() {
326
312
  };
327
313
  }
328
314
  exports.AppInfo = {
329
- encode(message, writer = _m0.Writer.create()) {
315
+ encode(message, writer = minimal_1.default.Writer.create()) {
330
316
  if (message.appid !== "") {
331
317
  writer.uint32(10).string(message.appid);
332
318
  }
@@ -357,7 +343,7 @@ exports.AppInfo = {
357
343
  return writer;
358
344
  },
359
345
  decode(input, length) {
360
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
346
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
361
347
  let end = length === undefined ? reader.len : reader.pos + length;
362
348
  const message = createBaseAppInfo();
363
349
  while (reader.pos < end) {
@@ -457,14 +443,14 @@ function createBaseQueryApplicationRequest() {
457
443
  return { appidList: [] };
458
444
  }
459
445
  exports.QueryApplicationRequest = {
460
- encode(message, writer = _m0.Writer.create()) {
446
+ encode(message, writer = minimal_1.default.Writer.create()) {
461
447
  for (const v of message.appidList) {
462
448
  writer.uint32(10).string(v);
463
449
  }
464
450
  return writer;
465
451
  },
466
452
  decode(input, length) {
467
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
453
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
468
454
  let end = length === undefined ? reader.len : reader.pos + length;
469
455
  const message = createBaseQueryApplicationRequest();
470
456
  while (reader.pos < end) {
@@ -508,14 +494,14 @@ function createBaseQueryApplicationResponse() {
508
494
  return { infoList: [] };
509
495
  }
510
496
  exports.QueryApplicationResponse = {
511
- encode(message, writer = _m0.Writer.create()) {
497
+ encode(message, writer = minimal_1.default.Writer.create()) {
512
498
  for (const v of message.infoList) {
513
499
  exports.AppInfo.encode(v, writer.uint32(10).fork()).ldelim();
514
500
  }
515
501
  return writer;
516
502
  },
517
503
  decode(input, length) {
518
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
504
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
519
505
  let end = length === undefined ? reader.len : reader.pos + length;
520
506
  const message = createBaseQueryApplicationResponse();
521
507
  while (reader.pos < end) {
@@ -567,7 +553,7 @@ function createBaseQueryAppStorageUsageRequest() {
567
553
  };
568
554
  }
569
555
  exports.QueryAppStorageUsageRequest = {
570
- encode(message, writer = _m0.Writer.create()) {
556
+ encode(message, writer = minimal_1.default.Writer.create()) {
571
557
  if (message.appid !== "") {
572
558
  writer.uint32(10).string(message.appid);
573
559
  }
@@ -589,7 +575,7 @@ exports.QueryAppStorageUsageRequest = {
589
575
  return writer;
590
576
  },
591
577
  decode(input, length) {
592
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
578
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
593
579
  let end = length === undefined ? reader.len : reader.pos + length;
594
580
  const message = createBaseQueryAppStorageUsageRequest();
595
581
  while (reader.pos < end) {
@@ -659,7 +645,7 @@ function createBaseAppStorageUsage() {
659
645
  return { pkg: 0, data: 0, cache: 0, tmp: 0, userdata: {} };
660
646
  }
661
647
  exports.AppStorageUsage = {
662
- encode(message, writer = _m0.Writer.create()) {
648
+ encode(message, writer = minimal_1.default.Writer.create()) {
663
649
  if (message.pkg !== 0) {
664
650
  writer.uint32(8).uint64(message.pkg);
665
651
  }
@@ -678,7 +664,7 @@ exports.AppStorageUsage = {
678
664
  return writer;
679
665
  },
680
666
  decode(input, length) {
681
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
667
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
682
668
  let end = length === undefined ? reader.len : reader.pos + length;
683
669
  const message = createBaseAppStorageUsage();
684
670
  while (reader.pos < end) {
@@ -757,7 +743,7 @@ function createBaseAppStorageUsage_UserdataEntry() {
757
743
  return { key: "", value: 0 };
758
744
  }
759
745
  exports.AppStorageUsage_UserdataEntry = {
760
- encode(message, writer = _m0.Writer.create()) {
746
+ encode(message, writer = minimal_1.default.Writer.create()) {
761
747
  if (message.key !== "") {
762
748
  writer.uint32(10).string(message.key);
763
749
  }
@@ -767,7 +753,7 @@ exports.AppStorageUsage_UserdataEntry = {
767
753
  return writer;
768
754
  },
769
755
  decode(input, length) {
770
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
756
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
771
757
  let end = length === undefined ? reader.len : reader.pos + length;
772
758
  const message = createBaseAppStorageUsage_UserdataEntry();
773
759
  while (reader.pos < end) {
@@ -810,7 +796,7 @@ function createBaseSetUserPermissionsRequest() {
810
796
  return { uid: "", allowInstallApp: false, allowUninstallApp: false };
811
797
  }
812
798
  exports.SetUserPermissionsRequest = {
813
- encode(message, writer = _m0.Writer.create()) {
799
+ encode(message, writer = minimal_1.default.Writer.create()) {
814
800
  if (message.uid !== "") {
815
801
  writer.uint32(10).string(message.uid);
816
802
  }
@@ -823,7 +809,7 @@ exports.SetUserPermissionsRequest = {
823
809
  return writer;
824
810
  },
825
811
  decode(input, length) {
826
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
812
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
827
813
  let end = length === undefined ? reader.len : reader.pos + length;
828
814
  const message = createBaseSetUserPermissionsRequest();
829
815
  while (reader.pos < end) {
@@ -878,14 +864,14 @@ function createBaseAppid() {
878
864
  return { appid: "" };
879
865
  }
880
866
  exports.Appid = {
881
- encode(message, writer = _m0.Writer.create()) {
867
+ encode(message, writer = minimal_1.default.Writer.create()) {
882
868
  if (message.appid !== "") {
883
869
  writer.uint32(10).string(message.appid);
884
870
  }
885
871
  return writer;
886
872
  },
887
873
  decode(input, length) {
888
- const reader = input instanceof _m0.Reader ? input : new _m0.Reader(input);
874
+ const reader = input instanceof minimal_1.default.Reader ? input : new minimal_1.default.Reader(input);
889
875
  let end = length === undefined ? reader.len : reader.pos + length;
890
876
  const message = createBaseAppid();
891
877
  while (reader.pos < end) {
@@ -1082,9 +1068,7 @@ class GrpcWebImpl {
1082
1068
  resolve(response.message);
1083
1069
  }
1084
1070
  else {
1085
- const err = new Error(response.statusMessage);
1086
- err.code = response.status;
1087
- err.metadata = response.trailers;
1071
+ const err = new GrpcWebError(response.statusMessage, response.status, response.trailers);
1088
1072
  reject(err);
1089
1073
  }
1090
1074
  },
@@ -1110,9 +1094,9 @@ function longToNumber(long) {
1110
1094
  }
1111
1095
  return long.toNumber();
1112
1096
  }
1113
- if (_m0.util.Long !== long_1.default) {
1114
- _m0.util.Long = long_1.default;
1115
- _m0.configure();
1097
+ if (minimal_1.default.util.Long !== long_1.default) {
1098
+ minimal_1.default.util.Long = long_1.default;
1099
+ minimal_1.default.configure();
1116
1100
  }
1117
1101
  function isObject(value) {
1118
1102
  return typeof value === "object" && value !== null;
@@ -1120,4 +1104,12 @@ function isObject(value) {
1120
1104
  function isSet(value) {
1121
1105
  return value !== null && value !== undefined;
1122
1106
  }
1107
+ class GrpcWebError extends Error {
1108
+ constructor(message, code, metadata) {
1109
+ super(message);
1110
+ this.code = code;
1111
+ this.metadata = metadata;
1112
+ }
1113
+ }
1114
+ exports.GrpcWebError = GrpcWebError;
1123
1115
  //# sourceMappingURL=package_manager.js.map