dash-platform-sdk 1.5.0-dev.10 → 1.5.0-dev.11

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.10",
3
+ "version": "1.5.0-dev.11",
4
4
  "main": "index.js",
5
5
  "description": "Lightweight SDK for accessing Dash Platform blockchain",
6
6
  "repository": {
@@ -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",
62
+ "cbor2": "^2.3.0",
63
63
  "pshenmic-dpp": "2.0.0-dev.29"
64
64
  }
65
65
  }
@@ -4,7 +4,7 @@ import { DAPI_DEFAULT_LIMIT, LATEST_PLATFORM_VERSION } from '../constants.js';
4
4
  import { getQuorumPublicKey } from '../utils/getQuorumPublicKey.js';
5
5
  import bytesToHex from '../utils/bytesToHex.js';
6
6
  import verifyTenderdashProof from '../utils/verifyTenderdashProof.js';
7
- import { encode } from 'cbor-x';
7
+ import { encode } from 'cbor2';
8
8
  import getDataContractByIdentifier from '../dataContracts/getDataContractByIdentifier.js';
9
9
  export default async function query(grpcPool, dataContractId, documentTypeName, where, orderBy, limit = 100, startAt, startAfter) {
10
10
  let start;