dash-platform-sdk 1.5.0-dev.8 → 1.5.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dash-platform-sdk",
3
- "version": "1.5.0-dev.8",
3
+ "version": "1.5.0",
4
4
  "main": "index.js",
5
5
  "description": "Lightweight SDK for accessing Dash Platform blockchain",
6
6
  "repository": {
@@ -27,7 +27,7 @@
27
27
  "@protobuf-ts/plugin": "^2.11.1",
28
28
  "@rollup/plugin-alias": "^6.0.0",
29
29
  "@rollup/plugin-commonjs": "^29.0.3",
30
- "@rollup/plugin-node-resolve": "^16.0.1",
30
+ "@rollup/plugin-node-resolve": "^16.0.1",
31
31
  "@rollup/plugin-terser": "^0.4.4",
32
32
  "@rollup/plugin-typescript": "^12.1.4",
33
33
  "@types/jest": "^29.5.14",
@@ -59,7 +59,7 @@
59
59
  "@scure/bip32": "^2.0.0",
60
60
  "@scure/bip39": "^2.0.0",
61
61
  "@scure/btc-signer": "^2.0.1",
62
- "cbor-x": "^1.6.0",
63
- "pshenmic-dpp": "2.0.0-dev.26"
62
+ "cbor2": "^2.3.0",
63
+ "pshenmic-dpp": "2.0.0-dev.29"
64
64
  }
65
65
  }
@@ -12,6 +12,14 @@ import type { GetShieldedAnchorsResponse } from "./platform.js";
12
12
  import type { GetShieldedAnchorsRequest } from "./platform.js";
13
13
  import type { GetShieldedEncryptedNotesResponse } from "./platform.js";
14
14
  import type { GetShieldedEncryptedNotesRequest } from "./platform.js";
15
+ import type { GetRecentCompactedAddressBalanceChangesResponse } from "./platform.js";
16
+ import type { GetRecentCompactedAddressBalanceChangesRequest } from "./platform.js";
17
+ import type { GetRecentAddressBalanceChangesResponse } from "./platform.js";
18
+ import type { GetRecentAddressBalanceChangesRequest } from "./platform.js";
19
+ import type { GetAddressesBranchStateResponse } from "./platform.js";
20
+ import type { GetAddressesBranchStateRequest } from "./platform.js";
21
+ import type { GetAddressesTrunkStateResponse } from "./platform.js";
22
+ import type { GetAddressesTrunkStateRequest } from "./platform.js";
15
23
  import type { GetAddressesInfosResponse } from "./platform.js";
16
24
  import type { GetAddressesInfosRequest } from "./platform.js";
17
25
  import type { GetAddressInfoResponse } from "./platform.js";
@@ -180,6 +188,22 @@ export interface IPlatformClient {
180
188
  * @generated from protobuf rpc: getAddressesInfos
181
189
  */
182
190
  getAddressesInfos(input: GetAddressesInfosRequest, options?: RpcOptions): UnaryCall<GetAddressesInfosRequest, GetAddressesInfosResponse>;
191
+ /**
192
+ * @generated from protobuf rpc: getAddressesTrunkState
193
+ */
194
+ getAddressesTrunkState(input: GetAddressesTrunkStateRequest, options?: RpcOptions): UnaryCall<GetAddressesTrunkStateRequest, GetAddressesTrunkStateResponse>;
195
+ /**
196
+ * @generated from protobuf rpc: getAddressesBranchState
197
+ */
198
+ getAddressesBranchState(input: GetAddressesBranchStateRequest, options?: RpcOptions): UnaryCall<GetAddressesBranchStateRequest, GetAddressesBranchStateResponse>;
199
+ /**
200
+ * @generated from protobuf rpc: getRecentAddressBalanceChanges
201
+ */
202
+ getRecentAddressBalanceChanges(input: GetRecentAddressBalanceChangesRequest, options?: RpcOptions): UnaryCall<GetRecentAddressBalanceChangesRequest, GetRecentAddressBalanceChangesResponse>;
203
+ /**
204
+ * @generated from protobuf rpc: getRecentCompactedAddressBalanceChanges
205
+ */
206
+ getRecentCompactedAddressBalanceChanges(input: GetRecentCompactedAddressBalanceChangesRequest, options?: RpcOptions): UnaryCall<GetRecentCompactedAddressBalanceChangesRequest, GetRecentCompactedAddressBalanceChangesResponse>;
183
207
  /**
184
208
  * @generated from protobuf rpc: getShieldedEncryptedNotes
185
209
  */
@@ -324,6 +348,22 @@ export declare class PlatformClient implements IPlatformClient, ServiceInfo {
324
348
  * @generated from protobuf rpc: getAddressesInfos
325
349
  */
326
350
  getAddressesInfos(input: GetAddressesInfosRequest, options?: RpcOptions): UnaryCall<GetAddressesInfosRequest, GetAddressesInfosResponse>;
351
+ /**
352
+ * @generated from protobuf rpc: getAddressesTrunkState
353
+ */
354
+ getAddressesTrunkState(input: GetAddressesTrunkStateRequest, options?: RpcOptions): UnaryCall<GetAddressesTrunkStateRequest, GetAddressesTrunkStateResponse>;
355
+ /**
356
+ * @generated from protobuf rpc: getAddressesBranchState
357
+ */
358
+ getAddressesBranchState(input: GetAddressesBranchStateRequest, options?: RpcOptions): UnaryCall<GetAddressesBranchStateRequest, GetAddressesBranchStateResponse>;
359
+ /**
360
+ * @generated from protobuf rpc: getRecentAddressBalanceChanges
361
+ */
362
+ getRecentAddressBalanceChanges(input: GetRecentAddressBalanceChangesRequest, options?: RpcOptions): UnaryCall<GetRecentAddressBalanceChangesRequest, GetRecentAddressBalanceChangesResponse>;
363
+ /**
364
+ * @generated from protobuf rpc: getRecentCompactedAddressBalanceChanges
365
+ */
366
+ getRecentCompactedAddressBalanceChanges(input: GetRecentCompactedAddressBalanceChangesRequest, options?: RpcOptions): UnaryCall<GetRecentCompactedAddressBalanceChangesRequest, GetRecentCompactedAddressBalanceChangesResponse>;
327
367
  /**
328
368
  * @generated from protobuf rpc: getShieldedEncryptedNotes
329
369
  */
@@ -200,46 +200,74 @@ export class PlatformClient {
200
200
  const method = this.methods[26], opt = this._transport.mergeOptions(options);
201
201
  return stackIntercept("unary", this._transport, method, opt, input);
202
202
  }
203
+ /**
204
+ * @generated from protobuf rpc: getAddressesTrunkState
205
+ */
206
+ getAddressesTrunkState(input, options) {
207
+ const method = this.methods[27], opt = this._transport.mergeOptions(options);
208
+ return stackIntercept("unary", this._transport, method, opt, input);
209
+ }
210
+ /**
211
+ * @generated from protobuf rpc: getAddressesBranchState
212
+ */
213
+ getAddressesBranchState(input, options) {
214
+ const method = this.methods[28], opt = this._transport.mergeOptions(options);
215
+ return stackIntercept("unary", this._transport, method, opt, input);
216
+ }
217
+ /**
218
+ * @generated from protobuf rpc: getRecentAddressBalanceChanges
219
+ */
220
+ getRecentAddressBalanceChanges(input, options) {
221
+ const method = this.methods[29], opt = this._transport.mergeOptions(options);
222
+ return stackIntercept("unary", this._transport, method, opt, input);
223
+ }
224
+ /**
225
+ * @generated from protobuf rpc: getRecentCompactedAddressBalanceChanges
226
+ */
227
+ getRecentCompactedAddressBalanceChanges(input, options) {
228
+ const method = this.methods[30], opt = this._transport.mergeOptions(options);
229
+ return stackIntercept("unary", this._transport, method, opt, input);
230
+ }
203
231
  /**
204
232
  * @generated from protobuf rpc: getShieldedEncryptedNotes
205
233
  */
206
234
  getShieldedEncryptedNotes(input, options) {
207
- const method = this.methods[27], opt = this._transport.mergeOptions(options);
235
+ const method = this.methods[31], opt = this._transport.mergeOptions(options);
208
236
  return stackIntercept("unary", this._transport, method, opt, input);
209
237
  }
210
238
  /**
211
239
  * @generated from protobuf rpc: getShieldedAnchors
212
240
  */
213
241
  getShieldedAnchors(input, options) {
214
- const method = this.methods[28], opt = this._transport.mergeOptions(options);
242
+ const method = this.methods[32], opt = this._transport.mergeOptions(options);
215
243
  return stackIntercept("unary", this._transport, method, opt, input);
216
244
  }
217
245
  /**
218
246
  * @generated from protobuf rpc: getMostRecentShieldedAnchor
219
247
  */
220
248
  getMostRecentShieldedAnchor(input, options) {
221
- const method = this.methods[29], opt = this._transport.mergeOptions(options);
249
+ const method = this.methods[33], opt = this._transport.mergeOptions(options);
222
250
  return stackIntercept("unary", this._transport, method, opt, input);
223
251
  }
224
252
  /**
225
253
  * @generated from protobuf rpc: getShieldedPoolState
226
254
  */
227
255
  getShieldedPoolState(input, options) {
228
- const method = this.methods[30], opt = this._transport.mergeOptions(options);
256
+ const method = this.methods[34], opt = this._transport.mergeOptions(options);
229
257
  return stackIntercept("unary", this._transport, method, opt, input);
230
258
  }
231
259
  /**
232
260
  * @generated from protobuf rpc: getShieldedNotesCount
233
261
  */
234
262
  getShieldedNotesCount(input, options) {
235
- const method = this.methods[31], opt = this._transport.mergeOptions(options);
263
+ const method = this.methods[35], opt = this._transport.mergeOptions(options);
236
264
  return stackIntercept("unary", this._transport, method, opt, input);
237
265
  }
238
266
  /**
239
267
  * @generated from protobuf rpc: getShieldedNullifiers
240
268
  */
241
269
  getShieldedNullifiers(input, options) {
242
- const method = this.methods[32], opt = this._transport.mergeOptions(options);
270
+ const method = this.methods[36], opt = this._transport.mergeOptions(options);
243
271
  return stackIntercept("unary", this._transport, method, opt, input);
244
272
  }
245
273
  }