dash-platform-sdk 1.4.0-dev.14 → 1.4.0-dev.16

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.4.0-dev.14",
3
+ "version": "1.4.0-dev.16",
4
4
  "main": "index.js",
5
5
  "description": "Lightweight SDK for accessing Dash Platform blockchain",
6
6
  "repository": {
@@ -11,7 +11,7 @@ describe('DataContract', () => {
11
11
  ownerIdentifier = 'GARSAVFMjXx8HpQFaNJMqBV7MBgMK4br5UESsB4S31Ec';
12
12
  identityNonce = BigInt(11);
13
13
  config = {
14
- $format_version: '1',
14
+ $formatVersion: '1',
15
15
  canBeDeleted: true,
16
16
  readonly: true,
17
17
  keepsHistory: false,
@@ -5,16 +5,16 @@ describe('PlatformAddress', () => {
5
5
  sdk = new DashPlatformSDK({ network: 'testnet' });
6
6
  });
7
7
  test('getAddressInfo', async () => {
8
- const info = await sdk.platformAddresses.getAddressInfo('tdashevo1qpgz9hk6tkn5zj3653s8qkjmk9439qkf0gl4yxxw');
8
+ const info = await sdk.platformAddresses.getAddressInfo('tdash1kzg5azscav69z7m6dfzr9ner0a5vt7pn9ca4sz8d');
9
9
  expect(info.balance).toBeDefined();
10
10
  expect(info.nonce).toBeDefined();
11
11
  expect(info.address).toBeDefined();
12
12
  });
13
13
  test('getAddressesInfos', async () => {
14
14
  const addresses = [
15
- 'tdashevo1qpgz9hk6tkn5zj3653s8qkjmk9439qkf0gl4yxxw',
16
- 'tdashevo1qq79z66rh34l4u2axlz3jv34zwshggnenut9k093',
17
- 'tdashevo1qpwyg4khd0rh8px5cjphv9wx38psl6hma5krg9gk'
15
+ 'tdash1kzg5azscav69z7m6dfzr9ner0a5vt7pn9ca4sz8d',
16
+ 'tdash1kqr3cxhgel75ru0yrhj5eq8j8jt92m5enqrfajxw',
17
+ 'tdash1kq9plfyacx9q26dtaxgwuw9lt78nyu2mzc3xwcxv'
18
18
  ];
19
19
  const info = await sdk.platformAddresses.getAddressesInfos(addresses);
20
20
  expect(info).toHaveLength(addresses.length);
package/types.d.ts CHANGED
@@ -125,7 +125,7 @@ export interface ContestedResourceVoteState {
125
125
  finishedVoteInfo?: FinishedVoteInfo;
126
126
  }
127
127
  export interface DataContractConfig {
128
- $format_version: string;
128
+ $formatVersion: string;
129
129
  canBeDeleted: boolean;
130
130
  readonly: boolean;
131
131
  keepsHistory: boolean;
package/types.js CHANGED
@@ -1,4 +1,4 @@
1
- export { CoreScriptWASM, DocumentWASM, IdentifierWASM, TokenPricingScheduleWASM, StateTransitionWASM, BatchTransitionWASM, IdentityPublicKeyWASM, PrivateKeyWASM, DataContractUpdateTransitionWASM, IdentityWASM, IdentityUpdateTransitionWASM, IdentityCreditTransferWASM, MasternodeVoteTransitionWASM } from 'pshenmic-dpp';
1
+ export { CoreScriptWASM, DocumentWASM, GasFeesPaidByWASM, IdentifierWASM, KeyType, Purpose, SecurityLevel, TokenEmergencyActionWASM, TokenPricingScheduleWASM, StateTransitionWASM, BatchTransitionWASM, IdentityPublicKeyWASM, PrivateKeyWASM, DataContractUpdateTransitionWASM, IdentityWASM, IdentityUpdateTransitionWASM, IdentityCreditTransferWASM, MasternodeVoteTransitionWASM } from 'pshenmic-dpp';
2
2
  export { DashPlatformSDK } from './src/DashPlatformSDK.js';
3
3
  export var ContestedStateResultType;
4
4
  (function (ContestedStateResultType) {