@ekhein/lamda-node-sdk 1.0.3 → 2.0.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.
Files changed (159) hide show
  1. package/dist/src/constants/activity.flag.d.ts +22 -0
  2. package/dist/src/constants/activity.flag.js +22 -0
  3. package/dist/src/constants/android.intent.d.ts +56 -0
  4. package/dist/src/constants/android.intent.js +56 -0
  5. package/dist/src/constants/android.permission.d.ts +30 -0
  6. package/dist/src/constants/android.permission.js +30 -0
  7. package/dist/src/constants/index.d.ts +3 -0
  8. package/dist/src/constants/index.js +3 -0
  9. package/dist/src/decorators/inject.decorator.d.ts +2 -0
  10. package/dist/src/decorators/inject.decorator.js +15 -0
  11. package/dist/src/exceptions/remoteCall.exception.d.ts +7 -0
  12. package/dist/src/exceptions/remoteCall.exception.js +12 -0
  13. package/dist/src/exceptions/timeout.exception.d.ts +4 -0
  14. package/dist/src/exceptions/timeout.exception.js +6 -0
  15. package/dist/src/interceptor/remoteException.Interceptor.d.ts +2 -0
  16. package/dist/src/interceptor/remoteException.Interceptor.js +13 -0
  17. package/dist/{main.d.ts → src/main.d.ts} +9 -21
  18. package/dist/src/main.js +135 -0
  19. package/dist/src/rpc/application.d.ts +136 -0
  20. package/dist/src/rpc/application.js +1537 -0
  21. package/dist/src/rpc/debug.d.ts +19 -0
  22. package/dist/src/rpc/debug.js +56 -0
  23. package/dist/{rpc → src/rpc}/file.d.ts +11 -13
  24. package/dist/src/rpc/file.js +373 -0
  25. package/dist/src/rpc/google/protobuf/any.d.ts +20 -0
  26. package/dist/src/rpc/google/protobuf/any.js +98 -0
  27. package/dist/src/rpc/google/protobuf/empty.d.ts +18 -0
  28. package/dist/src/rpc/google/protobuf/empty.js +39 -0
  29. package/dist/{rpc → src/rpc}/google/protobuf/struct.d.ts +19 -21
  30. package/dist/src/rpc/google/protobuf/struct.js +438 -0
  31. package/dist/src/rpc/policy.d.ts +22 -0
  32. package/dist/src/rpc/policy.js +103 -0
  33. package/dist/src/rpc/proxy.d.ts +106 -0
  34. package/dist/src/rpc/proxy.js +774 -0
  35. package/dist/{rpc → src/rpc}/services.d.ts +421 -424
  36. package/dist/src/rpc/services.js +1493 -0
  37. package/dist/src/rpc/settings.d.ts +29 -0
  38. package/dist/src/rpc/settings.js +125 -0
  39. package/dist/src/rpc/shell.d.ts +34 -0
  40. package/dist/src/rpc/shell.js +294 -0
  41. package/dist/{rpc → src/rpc}/status.d.ts +17 -19
  42. package/dist/src/rpc/status.js +896 -0
  43. package/dist/src/rpc/storage.d.ts +22 -0
  44. package/dist/src/rpc/storage.js +128 -0
  45. package/dist/src/rpc/types.d.ts +34 -0
  46. package/dist/src/rpc/types.js +281 -0
  47. package/dist/{rpc → src/rpc}/uiautomator.d.ts +87 -89
  48. package/dist/src/rpc/uiautomator.js +5350 -0
  49. package/dist/src/rpc/util.d.ts +101 -0
  50. package/dist/src/rpc/util.js +1158 -0
  51. package/dist/{rpc → src/rpc}/wifi.d.ts +23 -25
  52. package/dist/src/rpc/wifi.js +971 -0
  53. package/package.json +5 -10
  54. package/dist/chunk-3JBDAA2H.js +0 -439
  55. package/dist/chunk-4AHM55IO.js +0 -1172
  56. package/dist/chunk-4NKGYNMS.js +0 -116
  57. package/dist/chunk-6HD35RPW.js +0 -5370
  58. package/dist/chunk-76Y3OVVH.js +0 -1602
  59. package/dist/chunk-7XF22HAW.js +0 -907
  60. package/dist/chunk-7YGA6EOV.js +0 -109
  61. package/dist/chunk-ADS4GRIL.js +0 -14
  62. package/dist/chunk-FSLE4VGI.js +0 -48
  63. package/dist/chunk-H7Z6XFBF.js +0 -134
  64. package/dist/chunk-KJKSI2WL.js +0 -62
  65. package/dist/chunk-O52JGDU7.js +0 -800
  66. package/dist/chunk-ORXTTWPB.js +0 -379
  67. package/dist/chunk-OZJH6SR7.js +0 -20
  68. package/dist/chunk-P53F45YO.js +0 -64
  69. package/dist/chunk-QXMPY6EE.js +0 -289
  70. package/dist/chunk-SBFKX3ZY.js +0 -1554
  71. package/dist/chunk-WFQEBPE6.js +0 -300
  72. package/dist/chunk-X4LTH2UN.js +0 -983
  73. package/dist/chunk-XAX5BZL3.js +0 -132
  74. package/dist/chunk-ZXF5DGTC.js +0 -45
  75. package/dist/constants/activity.flag.cjs +0 -92
  76. package/dist/constants/activity.flag.d.cts +0 -24
  77. package/dist/constants/activity.flag.d.ts +0 -24
  78. package/dist/constants/activity.flag.js +0 -49
  79. package/dist/constants/android.intent.cjs +0 -194
  80. package/dist/constants/android.intent.d.cts +0 -58
  81. package/dist/constants/android.intent.d.ts +0 -58
  82. package/dist/constants/android.intent.js +0 -117
  83. package/dist/constants/android.permission.cjs +0 -116
  84. package/dist/constants/android.permission.d.cts +0 -32
  85. package/dist/constants/android.permission.d.ts +0 -32
  86. package/dist/constants/android.permission.js +0 -65
  87. package/dist/constants/index.cjs +0 -356
  88. package/dist/constants/index.d.cts +0 -3
  89. package/dist/constants/index.d.ts +0 -3
  90. package/dist/constants/index.js +0 -225
  91. package/dist/decorators/inject.decorator.cjs +0 -43
  92. package/dist/decorators/inject.decorator.d.cts +0 -5
  93. package/dist/decorators/inject.decorator.d.ts +0 -5
  94. package/dist/decorators/inject.decorator.js +0 -7
  95. package/dist/main.cjs +0 -11969
  96. package/dist/main.d.cts +0 -37
  97. package/dist/main.js +0 -112
  98. package/dist/rpc/application.cjs +0 -2019
  99. package/dist/rpc/application.d.cts +0 -138
  100. package/dist/rpc/application.d.ts +0 -138
  101. package/dist/rpc/application.js +0 -50
  102. package/dist/rpc/debug.cjs +0 -86
  103. package/dist/rpc/debug.d.cts +0 -21
  104. package/dist/rpc/debug.d.ts +0 -21
  105. package/dist/rpc/debug.js +0 -9
  106. package/dist/rpc/file.cjs +0 -405
  107. package/dist/rpc/file.d.cts +0 -40
  108. package/dist/rpc/file.js +0 -13
  109. package/dist/rpc/google/protobuf/any.cjs +0 -126
  110. package/dist/rpc/google/protobuf/any.d.cts +0 -22
  111. package/dist/rpc/google/protobuf/any.d.ts +0 -22
  112. package/dist/rpc/google/protobuf/any.js +0 -103
  113. package/dist/rpc/google/protobuf/empty.cjs +0 -69
  114. package/dist/rpc/google/protobuf/empty.d.cts +0 -20
  115. package/dist/rpc/google/protobuf/empty.d.ts +0 -20
  116. package/dist/rpc/google/protobuf/empty.js +0 -9
  117. package/dist/rpc/google/protobuf/struct.cjs +0 -469
  118. package/dist/rpc/google/protobuf/struct.d.cts +0 -65
  119. package/dist/rpc/google/protobuf/struct.js +0 -21
  120. package/dist/rpc/policy.cjs +0 -133
  121. package/dist/rpc/policy.d.cts +0 -24
  122. package/dist/rpc/policy.d.ts +0 -24
  123. package/dist/rpc/policy.js +0 -9
  124. package/dist/rpc/proxy.cjs +0 -1109
  125. package/dist/rpc/proxy.d.cts +0 -108
  126. package/dist/rpc/proxy.d.ts +0 -108
  127. package/dist/rpc/proxy.js +0 -49
  128. package/dist/rpc/services.cjs +0 -11898
  129. package/dist/rpc/services.d.cts +0 -1920
  130. package/dist/rpc/services.js +0 -48
  131. package/dist/rpc/settings.cjs +0 -161
  132. package/dist/rpc/settings.d.cts +0 -31
  133. package/dist/rpc/settings.d.ts +0 -31
  134. package/dist/rpc/settings.js +0 -15
  135. package/dist/rpc/shell.cjs +0 -326
  136. package/dist/rpc/shell.d.cts +0 -36
  137. package/dist/rpc/shell.d.ts +0 -36
  138. package/dist/rpc/shell.js +0 -13
  139. package/dist/rpc/status.cjs +0 -936
  140. package/dist/rpc/status.d.cts +0 -76
  141. package/dist/rpc/status.js +0 -19
  142. package/dist/rpc/storage.cjs +0 -156
  143. package/dist/rpc/storage.d.cts +0 -24
  144. package/dist/rpc/storage.d.ts +0 -24
  145. package/dist/rpc/storage.js +0 -9
  146. package/dist/rpc/types.cjs +0 -317
  147. package/dist/rpc/types.d.cts +0 -36
  148. package/dist/rpc/types.d.ts +0 -36
  149. package/dist/rpc/types.js +0 -17
  150. package/dist/rpc/uiautomator.cjs +0 -5446
  151. package/dist/rpc/uiautomator.d.cts +0 -618
  152. package/dist/rpc/uiautomator.js +0 -113
  153. package/dist/rpc/util.cjs +0 -1212
  154. package/dist/rpc/util.d.cts +0 -103
  155. package/dist/rpc/util.d.ts +0 -103
  156. package/dist/rpc/util.js +0 -41
  157. package/dist/rpc/wifi.cjs +0 -1015
  158. package/dist/rpc/wifi.d.cts +0 -84
  159. package/dist/rpc/wifi.js +0 -25
@@ -1,138 +0,0 @@
1
- import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
-
3
- declare const protobufPackage = "lamda.rpc";
4
- declare enum GrantType {
5
- GRANT_ALLOW = 0,
6
- GRANT_DENY = 1,
7
- GRANT_IGNORE = 2,
8
- UNRECOGNIZED = -1
9
- }
10
- declare function grantTypeFromJSON(object: any): GrantType;
11
- declare function grantTypeToJSON(object: GrantType): string;
12
- declare enum DataEncode {
13
- DATA_ENCODE_NONE = 0,
14
- DATA_ENCODE_ZLIB = 1,
15
- UNRECOGNIZED = -1
16
- }
17
- declare function dataEncodeFromJSON(object: any): DataEncode;
18
- declare function dataEncodeToJSON(object: DataEncode): string;
19
- declare enum ScriptRuntime {
20
- RUNTIME_QJS = 0,
21
- RUNTIME_V8 = 1,
22
- UNRECOGNIZED = -1
23
- }
24
- declare function scriptRuntimeFromJSON(object: any): ScriptRuntime;
25
- declare function scriptRuntimeToJSON(object: ScriptRuntime): string;
26
- interface ApplicationRequest {
27
- name: string;
28
- permission: string;
29
- mode: GrantType;
30
- path: string;
31
- user: number;
32
- }
33
- declare const ApplicationRequest: MessageFns<ApplicationRequest>;
34
- interface ApplicationActivityRequest {
35
- package: string;
36
- action: string;
37
- category: string;
38
- component: string;
39
- extras: {
40
- [key: string]: any;
41
- } | undefined;
42
- categories: string[];
43
- flags: number;
44
- debug: boolean;
45
- data: string;
46
- user: number;
47
- }
48
- declare const ApplicationActivityRequest: MessageFns<ApplicationActivityRequest>;
49
- interface ApplicationActivityInfo {
50
- package: string;
51
- action: string;
52
- category: string;
53
- component: string;
54
- extras: {
55
- [key: string]: any;
56
- } | undefined;
57
- categories: string[];
58
- flags: number;
59
- debug: boolean;
60
- data: string;
61
- user: number;
62
- }
63
- declare const ApplicationActivityInfo: MessageFns<ApplicationActivityInfo>;
64
- interface ApplicationActivityInfoList {
65
- activities: ApplicationActivityInfo[];
66
- }
67
- declare const ApplicationActivityInfoList: MessageFns<ApplicationActivityInfoList>;
68
- interface ApplicationPermissions {
69
- permissions: string[];
70
- }
71
- declare const ApplicationPermissions: MessageFns<ApplicationPermissions>;
72
- interface ApplicationInfo {
73
- packageName: string;
74
- uid: number;
75
- enabled: boolean;
76
- processName: string;
77
- sourceDir: string;
78
- dataDir: string;
79
- baseRevisionCode: number;
80
- firstInstallTime: number;
81
- lastUpdateTime: number;
82
- versionCode: number;
83
- versionName: string;
84
- activity: string;
85
- user: number;
86
- }
87
- declare const ApplicationInfo: MessageFns<ApplicationInfo>;
88
- interface ApplicationProcess {
89
- packages: string[];
90
- processName: string;
91
- uid: number;
92
- pid: number;
93
- }
94
- declare const ApplicationProcess: MessageFns<ApplicationProcess>;
95
- interface ApplicationProcesses {
96
- processes: ApplicationProcess[];
97
- }
98
- declare const ApplicationProcesses: MessageFns<ApplicationProcesses>;
99
- interface ApplicationPkgNames {
100
- names: string[];
101
- }
102
- declare const ApplicationPkgNames: MessageFns<ApplicationPkgNames>;
103
- interface HookRequest {
104
- package: string;
105
- script: Uint8Array;
106
- runtime: ScriptRuntime;
107
- destination: string;
108
- encode: DataEncode;
109
- standup: number;
110
- spawn: boolean;
111
- user: number;
112
- }
113
- declare const HookRequest: MessageFns<HookRequest>;
114
- interface HookRpcRequest {
115
- package: string;
116
- callinfo: string;
117
- user: number;
118
- }
119
- declare const HookRpcRequest: MessageFns<HookRpcRequest>;
120
- interface HookRpcResponse {
121
- package: string;
122
- callresult: string;
123
- }
124
- declare const HookRpcResponse: MessageFns<HookRpcResponse>;
125
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
126
- type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
127
- [K in keyof T]?: DeepPartial<T[K]>;
128
- } : Partial<T>;
129
- interface MessageFns<T> {
130
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
131
- decode(input: BinaryReader | Uint8Array, length?: number): T;
132
- fromJSON(object: any): T;
133
- toJSON(message: T): unknown;
134
- create(base?: DeepPartial<T>): T;
135
- fromPartial(object: DeepPartial<T>): T;
136
- }
137
-
138
- export { ApplicationActivityInfo, ApplicationActivityInfoList, ApplicationActivityRequest, ApplicationInfo, ApplicationPermissions, ApplicationPkgNames, ApplicationProcess, ApplicationProcesses, ApplicationRequest, DataEncode, type DeepPartial, GrantType, HookRequest, HookRpcRequest, HookRpcResponse, type MessageFns, ScriptRuntime, dataEncodeFromJSON, dataEncodeToJSON, grantTypeFromJSON, grantTypeToJSON, protobufPackage, scriptRuntimeFromJSON, scriptRuntimeToJSON };
@@ -1,138 +0,0 @@
1
- import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
-
3
- declare const protobufPackage = "lamda.rpc";
4
- declare enum GrantType {
5
- GRANT_ALLOW = 0,
6
- GRANT_DENY = 1,
7
- GRANT_IGNORE = 2,
8
- UNRECOGNIZED = -1
9
- }
10
- declare function grantTypeFromJSON(object: any): GrantType;
11
- declare function grantTypeToJSON(object: GrantType): string;
12
- declare enum DataEncode {
13
- DATA_ENCODE_NONE = 0,
14
- DATA_ENCODE_ZLIB = 1,
15
- UNRECOGNIZED = -1
16
- }
17
- declare function dataEncodeFromJSON(object: any): DataEncode;
18
- declare function dataEncodeToJSON(object: DataEncode): string;
19
- declare enum ScriptRuntime {
20
- RUNTIME_QJS = 0,
21
- RUNTIME_V8 = 1,
22
- UNRECOGNIZED = -1
23
- }
24
- declare function scriptRuntimeFromJSON(object: any): ScriptRuntime;
25
- declare function scriptRuntimeToJSON(object: ScriptRuntime): string;
26
- interface ApplicationRequest {
27
- name: string;
28
- permission: string;
29
- mode: GrantType;
30
- path: string;
31
- user: number;
32
- }
33
- declare const ApplicationRequest: MessageFns<ApplicationRequest>;
34
- interface ApplicationActivityRequest {
35
- package: string;
36
- action: string;
37
- category: string;
38
- component: string;
39
- extras: {
40
- [key: string]: any;
41
- } | undefined;
42
- categories: string[];
43
- flags: number;
44
- debug: boolean;
45
- data: string;
46
- user: number;
47
- }
48
- declare const ApplicationActivityRequest: MessageFns<ApplicationActivityRequest>;
49
- interface ApplicationActivityInfo {
50
- package: string;
51
- action: string;
52
- category: string;
53
- component: string;
54
- extras: {
55
- [key: string]: any;
56
- } | undefined;
57
- categories: string[];
58
- flags: number;
59
- debug: boolean;
60
- data: string;
61
- user: number;
62
- }
63
- declare const ApplicationActivityInfo: MessageFns<ApplicationActivityInfo>;
64
- interface ApplicationActivityInfoList {
65
- activities: ApplicationActivityInfo[];
66
- }
67
- declare const ApplicationActivityInfoList: MessageFns<ApplicationActivityInfoList>;
68
- interface ApplicationPermissions {
69
- permissions: string[];
70
- }
71
- declare const ApplicationPermissions: MessageFns<ApplicationPermissions>;
72
- interface ApplicationInfo {
73
- packageName: string;
74
- uid: number;
75
- enabled: boolean;
76
- processName: string;
77
- sourceDir: string;
78
- dataDir: string;
79
- baseRevisionCode: number;
80
- firstInstallTime: number;
81
- lastUpdateTime: number;
82
- versionCode: number;
83
- versionName: string;
84
- activity: string;
85
- user: number;
86
- }
87
- declare const ApplicationInfo: MessageFns<ApplicationInfo>;
88
- interface ApplicationProcess {
89
- packages: string[];
90
- processName: string;
91
- uid: number;
92
- pid: number;
93
- }
94
- declare const ApplicationProcess: MessageFns<ApplicationProcess>;
95
- interface ApplicationProcesses {
96
- processes: ApplicationProcess[];
97
- }
98
- declare const ApplicationProcesses: MessageFns<ApplicationProcesses>;
99
- interface ApplicationPkgNames {
100
- names: string[];
101
- }
102
- declare const ApplicationPkgNames: MessageFns<ApplicationPkgNames>;
103
- interface HookRequest {
104
- package: string;
105
- script: Uint8Array;
106
- runtime: ScriptRuntime;
107
- destination: string;
108
- encode: DataEncode;
109
- standup: number;
110
- spawn: boolean;
111
- user: number;
112
- }
113
- declare const HookRequest: MessageFns<HookRequest>;
114
- interface HookRpcRequest {
115
- package: string;
116
- callinfo: string;
117
- user: number;
118
- }
119
- declare const HookRpcRequest: MessageFns<HookRpcRequest>;
120
- interface HookRpcResponse {
121
- package: string;
122
- callresult: string;
123
- }
124
- declare const HookRpcResponse: MessageFns<HookRpcResponse>;
125
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
126
- type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
127
- [K in keyof T]?: DeepPartial<T[K]>;
128
- } : Partial<T>;
129
- interface MessageFns<T> {
130
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
131
- decode(input: BinaryReader | Uint8Array, length?: number): T;
132
- fromJSON(object: any): T;
133
- toJSON(message: T): unknown;
134
- create(base?: DeepPartial<T>): T;
135
- fromPartial(object: DeepPartial<T>): T;
136
- }
137
-
138
- export { ApplicationActivityInfo, ApplicationActivityInfoList, ApplicationActivityRequest, ApplicationInfo, ApplicationPermissions, ApplicationPkgNames, ApplicationProcess, ApplicationProcesses, ApplicationRequest, DataEncode, type DeepPartial, GrantType, HookRequest, HookRpcRequest, HookRpcResponse, type MessageFns, ScriptRuntime, dataEncodeFromJSON, dataEncodeToJSON, grantTypeFromJSON, grantTypeToJSON, protobufPackage, scriptRuntimeFromJSON, scriptRuntimeToJSON };
@@ -1,50 +0,0 @@
1
- import {
2
- ApplicationActivityInfo,
3
- ApplicationActivityInfoList,
4
- ApplicationActivityRequest,
5
- ApplicationInfo,
6
- ApplicationPermissions,
7
- ApplicationPkgNames,
8
- ApplicationProcess,
9
- ApplicationProcesses,
10
- ApplicationRequest,
11
- DataEncode,
12
- GrantType,
13
- HookRequest,
14
- HookRpcRequest,
15
- HookRpcResponse,
16
- ScriptRuntime,
17
- dataEncodeFromJSON,
18
- dataEncodeToJSON,
19
- grantTypeFromJSON,
20
- grantTypeToJSON,
21
- protobufPackage,
22
- scriptRuntimeFromJSON,
23
- scriptRuntimeToJSON
24
- } from "../chunk-SBFKX3ZY.js";
25
- import "../chunk-3JBDAA2H.js";
26
- import "../chunk-ADS4GRIL.js";
27
- export {
28
- ApplicationActivityInfo,
29
- ApplicationActivityInfoList,
30
- ApplicationActivityRequest,
31
- ApplicationInfo,
32
- ApplicationPermissions,
33
- ApplicationPkgNames,
34
- ApplicationProcess,
35
- ApplicationProcesses,
36
- ApplicationRequest,
37
- DataEncode,
38
- GrantType,
39
- HookRequest,
40
- HookRpcRequest,
41
- HookRpcResponse,
42
- ScriptRuntime,
43
- dataEncodeFromJSON,
44
- dataEncodeToJSON,
45
- grantTypeFromJSON,
46
- grantTypeToJSON,
47
- protobufPackage,
48
- scriptRuntimeFromJSON,
49
- scriptRuntimeToJSON
50
- };
@@ -1,86 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
-
19
- // src/rpc/debug.ts
20
- var debug_exports = {};
21
- __export(debug_exports, {
22
- ADBDConfigRequest: () => ADBDConfigRequest,
23
- protobufPackage: () => protobufPackage
24
- });
25
- module.exports = __toCommonJS(debug_exports);
26
- var import_wire = require("@bufbuild/protobuf/wire");
27
- var protobufPackage = "lamda.rpc";
28
- function createBaseADBDConfigRequest() {
29
- return { adbPubkey: "" };
30
- }
31
- var ADBDConfigRequest = {
32
- encode(message, writer = new import_wire.BinaryWriter()) {
33
- if (message.adbPubkey !== "") {
34
- writer.uint32(10).string(message.adbPubkey);
35
- }
36
- return writer;
37
- },
38
- decode(input, length) {
39
- const reader = input instanceof import_wire.BinaryReader ? input : new import_wire.BinaryReader(input);
40
- let end = length === void 0 ? reader.len : reader.pos + length;
41
- const message = createBaseADBDConfigRequest();
42
- while (reader.pos < end) {
43
- const tag = reader.uint32();
44
- switch (tag >>> 3) {
45
- case 1: {
46
- if (tag !== 10) {
47
- break;
48
- }
49
- message.adbPubkey = reader.string();
50
- continue;
51
- }
52
- }
53
- if ((tag & 7) === 4 || tag === 0) {
54
- break;
55
- }
56
- reader.skip(tag & 7);
57
- }
58
- return message;
59
- },
60
- fromJSON(object) {
61
- return { adbPubkey: isSet(object.adbPubkey) ? globalThis.String(object.adbPubkey) : "" };
62
- },
63
- toJSON(message) {
64
- const obj = {};
65
- if (message.adbPubkey !== "") {
66
- obj.adbPubkey = message.adbPubkey;
67
- }
68
- return obj;
69
- },
70
- create(base) {
71
- return ADBDConfigRequest.fromPartial(base ?? {});
72
- },
73
- fromPartial(object) {
74
- const message = createBaseADBDConfigRequest();
75
- message.adbPubkey = object.adbPubkey ?? "";
76
- return message;
77
- }
78
- };
79
- function isSet(value) {
80
- return value !== null && value !== void 0;
81
- }
82
- // Annotate the CommonJS export names for ESM import in node:
83
- 0 && (module.exports = {
84
- ADBDConfigRequest,
85
- protobufPackage
86
- });
@@ -1,21 +0,0 @@
1
- import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
-
3
- declare const protobufPackage = "lamda.rpc";
4
- interface ADBDConfigRequest {
5
- adbPubkey: string;
6
- }
7
- declare const ADBDConfigRequest: MessageFns<ADBDConfigRequest>;
8
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
9
- type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
10
- [K in keyof T]?: DeepPartial<T[K]>;
11
- } : Partial<T>;
12
- interface MessageFns<T> {
13
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
14
- decode(input: BinaryReader | Uint8Array, length?: number): T;
15
- fromJSON(object: any): T;
16
- toJSON(message: T): unknown;
17
- create(base?: DeepPartial<T>): T;
18
- fromPartial(object: DeepPartial<T>): T;
19
- }
20
-
21
- export { ADBDConfigRequest, type DeepPartial, type MessageFns, protobufPackage };
@@ -1,21 +0,0 @@
1
- import { BinaryWriter, BinaryReader } from '@bufbuild/protobuf/wire';
2
-
3
- declare const protobufPackage = "lamda.rpc";
4
- interface ADBDConfigRequest {
5
- adbPubkey: string;
6
- }
7
- declare const ADBDConfigRequest: MessageFns<ADBDConfigRequest>;
8
- type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
9
- type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
10
- [K in keyof T]?: DeepPartial<T[K]>;
11
- } : Partial<T>;
12
- interface MessageFns<T> {
13
- encode(message: T, writer?: BinaryWriter): BinaryWriter;
14
- decode(input: BinaryReader | Uint8Array, length?: number): T;
15
- fromJSON(object: any): T;
16
- toJSON(message: T): unknown;
17
- create(base?: DeepPartial<T>): T;
18
- fromPartial(object: DeepPartial<T>): T;
19
- }
20
-
21
- export { ADBDConfigRequest, type DeepPartial, type MessageFns, protobufPackage };
package/dist/rpc/debug.js DELETED
@@ -1,9 +0,0 @@
1
- import {
2
- ADBDConfigRequest,
3
- protobufPackage
4
- } from "../chunk-KJKSI2WL.js";
5
- import "../chunk-ADS4GRIL.js";
6
- export {
7
- ADBDConfigRequest,
8
- protobufPackage
9
- };