Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
223 commits
Select commit Hold shift + click to select a range
062cd95
Added #112 sign with cosignatories
rg911 Apr 25, 2019
0bfebd1
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
2a6921b
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
b61577f
Updated parameter name
rg911 Apr 29, 2019
8880b88
updated nem2-lib version
rg911 May 2, 2019
b59194f
Merge branch 'master' into task/g112_sign_with_cosignatories
evias May 2, 2019
281945b
Added #112 sign with cosignatories
rg911 Apr 25, 2019
17b7bda
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
7808a68
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
1249d54
Updated parameter name
rg911 Apr 29, 2019
4baad78
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jun 17, 2019
03cf6b8
merged lates master
rg911 Jun 17, 2019
e5bc363
Added #112 sign with cosignatories
rg911 Apr 25, 2019
9303995
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
1d1305c
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
9d765ac
Updated parameter name
rg911 Apr 29, 2019
53a536d
fixed merge issue
rg911 Jun 20, 2019
1531e10
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jun 20, 2019
b169e04
Added #112 sign with cosignatories
rg911 Apr 25, 2019
ce2fd04
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
227567b
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
1e5adfa
Updated parameter name
rg911 Apr 29, 2019
f875202
merged lates master
rg911 Jun 17, 2019
23bed5c
Added #112 sign with cosignatories
rg911 Apr 25, 2019
fc50039
fixed merge issue
rg911 Jun 20, 2019
f71f864
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jun 20, 2019
71e459b
Merge branch 'master' into task/g112_sign_with_cosignatories
evias Jun 21, 2019
4ca819f
Added #112 sign with cosignatories
rg911 Apr 25, 2019
e1a36d2
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
eb05e25
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
2ec055f
Updated parameter name
rg911 Apr 29, 2019
5e9ba53
merged lates master
rg911 Jun 17, 2019
a3ae31a
Added #112 sign with cosignatories
rg911 Apr 25, 2019
8204596
fixed merge issue
rg911 Jun 20, 2019
0077518
Added #112 sign with cosignatories
rg911 Apr 25, 2019
a760a6f
merged lates master
rg911 Jun 17, 2019
320043e
Added #112 sign with cosignatories
rg911 Apr 25, 2019
9bbb70d
fixed merge issue
rg911 Jun 20, 2019
b4e97c0
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jun 21, 2019
29d4e13
Added #112 sign with cosignatories
rg911 Apr 25, 2019
35404f9
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
7ad6fd7
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
9d2d787
Updated parameter name
rg911 Apr 29, 2019
ad15f6c
merged lates master
rg911 Jun 17, 2019
989e01e
Added #112 sign with cosignatories
rg911 Apr 25, 2019
5e19731
fixed merge issue
rg911 Jun 20, 2019
824f425
Added #112 sign with cosignatories
rg911 Apr 25, 2019
1ec3ecd
merged lates master
rg911 Jun 17, 2019
14894ac
Added #112 sign with cosignatories
rg911 Apr 25, 2019
ca47b97
fixed merge issue
rg911 Jun 20, 2019
d1092a3
Added #112 sign with cosignatories
rg911 Apr 25, 2019
f1ee787
merged lates master
rg911 Jun 17, 2019
dfc7a83
Added #112 sign with cosignatories
rg911 Apr 25, 2019
a753b8b
fixed merge issue
rg911 Jun 20, 2019
b2ef1a2
Added #112 sign with cosignatories
rg911 Apr 25, 2019
47b6cc9
merged lates master
rg911 Jun 17, 2019
c1126be
Added #112 sign with cosignatories
rg911 Apr 25, 2019
aa4c4d2
fixed merge issue
rg911 Jun 20, 2019
1d6edec
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jun 28, 2019
51bdce0
Added #192 Updated AccountPropertyTransaction Names
rg911 Jun 30, 2019
65eff2c
Renamed accountEntityType to accountOperation
rg911 Jun 30, 2019
07217d4
More renames
rg911 Jun 30, 2019
0551bad
Added #112 sign with cosignatories
rg911 Apr 25, 2019
2102d92
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
330b253
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
b038c2e
Updated parameter name
rg911 Apr 29, 2019
c848375
Added #112 sign with cosignatories
rg911 Apr 25, 2019
7f74088
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
961dfcc
Updated parameter name
rg911 Apr 29, 2019
2f5286d
merged lates master
rg911 Jun 17, 2019
d5208d3
Added #112 sign with cosignatories
rg911 Apr 25, 2019
c5f946c
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
cbc51e6
Updated parameter name
rg911 Apr 29, 2019
550daef
fixed merge issue
rg911 Jun 20, 2019
a779952
Added #112 sign with cosignatories
rg911 Apr 25, 2019
8a088dc
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
eff9e6d
Updated parameter name
rg911 Apr 29, 2019
af82d30
merged lates master
rg911 Jun 17, 2019
a601653
Added #112 sign with cosignatories
rg911 Apr 25, 2019
995ec28
fixed merge issue
rg911 Jun 20, 2019
56a9cb1
Added #112 sign with cosignatories
rg911 Apr 25, 2019
8287e79
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
fa060b1
Updated parameter name
rg911 Apr 29, 2019
8b5ecb5
merged lates master
rg911 Jun 17, 2019
c3a6a1a
Added #112 sign with cosignatories
rg911 Apr 25, 2019
e531026
fixed merge issue
rg911 Jun 20, 2019
b5c4014
Added #112 sign with cosignatories
rg911 Apr 25, 2019
c8fffad
merged lates master
rg911 Jun 17, 2019
904a7d6
Added #112 sign with cosignatories
rg911 Apr 25, 2019
e3a798e
fixed merge issue
rg911 Jun 20, 2019
1af3004
Added #112 sign with cosignatories
rg911 Apr 25, 2019
56a6708
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
1ccb690
Updated parameter name
rg911 Apr 29, 2019
9db55dc
merged lates master
rg911 Jun 17, 2019
55a4060
Added #112 sign with cosignatories
rg911 Apr 25, 2019
f5d3f11
fixed merge issue
rg911 Jun 20, 2019
015a85a
Added #112 sign with cosignatories
rg911 Apr 25, 2019
7aba5f7
merged lates master
rg911 Jun 17, 2019
13ce53b
Added #112 sign with cosignatories
rg911 Apr 25, 2019
2359c3c
fixed merge issue
rg911 Jun 20, 2019
da85be0
Added #112 sign with cosignatories
rg911 Apr 25, 2019
92ca131
merged lates master
rg911 Jun 17, 2019
4e5c52f
Added #112 sign with cosignatories
rg911 Apr 25, 2019
9af1a67
fixed merge issue
rg911 Jun 20, 2019
90ff59d
Added #112 sign with cosignatories
rg911 Apr 25, 2019
a588644
merged lates master
rg911 Jun 17, 2019
badc3c7
Added #112 sign with cosignatories
rg911 Apr 25, 2019
50810b8
fixed merge issue
rg911 Jun 20, 2019
beb76fc
Updated signSchema
rg911 Jul 3, 2019
0dd6a91
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jul 3, 2019
5f96061
fixed merged conflict issue
rg911 Jul 3, 2019
f6f598e
Added #192 Updated AccountPropertyTransaction Names
rg911 Jun 30, 2019
006d745
Renamed accountEntityType to accountOperation
rg911 Jun 30, 2019
8a1bfd9
More renames
rg911 Jun 30, 2019
ed029d7
Merge branch 'task/g192_rename_account_property_tx' of github.com:rg9…
rg911 Jul 3, 2019
4e1280f
Merge branch 'master' into task/g192_rename_account_property_tx
evias Jul 3, 2019
825b35f
Merge branch 'master' into task/g112_sign_with_cosignatories
evias Jul 3, 2019
6a0c7c0
Added #112 sign with cosignatories
rg911 Apr 25, 2019
bbecc40
Changed to sign cosign transaction to use payload instead of hash
rg911 Apr 26, 2019
f83eee3
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
b2bfd67
Updated parameter name
rg911 Apr 29, 2019
964ec04
Added #112 sign with cosignatories
rg911 Apr 25, 2019
83c9c5a
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
d3813da
Updated parameter name
rg911 Apr 29, 2019
3ea0c91
merged lates master
rg911 Jun 17, 2019
d3a0340
Added #112 sign with cosignatories
rg911 Apr 25, 2019
9f1d6b9
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
97092c1
Updated parameter name
rg911 Apr 29, 2019
8534059
fixed merge issue
rg911 Jun 20, 2019
2afb42f
Added #112 sign with cosignatories
rg911 Apr 25, 2019
a14aa54
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
0c33133
Updated parameter name
rg911 Apr 29, 2019
b6f9a2e
merged lates master
rg911 Jun 17, 2019
a162b45
Added #112 sign with cosignatories
rg911 Apr 25, 2019
f1215c9
fixed merge issue
rg911 Jun 20, 2019
2b77c3a
Added #112 sign with cosignatories
rg911 Apr 25, 2019
c570a80
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
95b1d62
Updated parameter name
rg911 Apr 29, 2019
f1ed232
merged lates master
rg911 Jun 17, 2019
aca5534
Added #112 sign with cosignatories
rg911 Apr 25, 2019
6baeeb6
fixed merge issue
rg911 Jun 20, 2019
89f154e
Added #112 sign with cosignatories
rg911 Apr 25, 2019
70912df
merged lates master
rg911 Jun 17, 2019
a755a4a
Added #112 sign with cosignatories
rg911 Apr 25, 2019
2564a1e
fixed merge issue
rg911 Jun 20, 2019
cdbd801
Added #112 sign with cosignatories
rg911 Apr 25, 2019
550362a
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
d3efb97
Updated parameter name
rg911 Apr 29, 2019
8761a93
merged lates master
rg911 Jun 17, 2019
cb63ace
Added #112 sign with cosignatories
rg911 Apr 25, 2019
1972675
fixed merge issue
rg911 Jun 20, 2019
38fa9b2
Added #112 sign with cosignatories
rg911 Apr 25, 2019
0a81b71
merged lates master
rg911 Jun 17, 2019
c7a3cf9
Added #112 sign with cosignatories
rg911 Apr 25, 2019
3c98598
fixed merge issue
rg911 Jun 20, 2019
f9d2b2d
Added #112 sign with cosignatories
rg911 Apr 25, 2019
307cc20
merged lates master
rg911 Jun 17, 2019
c5bafdc
Added #112 sign with cosignatories
rg911 Apr 25, 2019
4edc84b
fixed merge issue
rg911 Jun 20, 2019
9a66501
Added #112 sign with cosignatories
rg911 Apr 25, 2019
d3df4cb
merged lates master
rg911 Jun 17, 2019
b06b72e
Added #112 sign with cosignatories
rg911 Apr 25, 2019
f6baeac
fixed merge issue
rg911 Jun 20, 2019
5da60f0
Added #112 sign with cosignatories
rg911 Apr 25, 2019
6404861
Added #112 sign with cosignatories
rg911 Apr 25, 2019
39b9ded
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
baef289
Updated parameter name
rg911 Apr 29, 2019
f8bb079
merged lates master
rg911 Jun 17, 2019
0f0c8cf
Added #112 sign with cosignatories
rg911 Apr 25, 2019
7a16a5b
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
5442c87
Updated parameter name
rg911 Apr 29, 2019
650342b
fixed merge issue
rg911 Jun 20, 2019
2b267c0
Added #112 sign with cosignatories
rg911 Apr 25, 2019
c9f0f97
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
d3e419a
Updated parameter name
rg911 Apr 29, 2019
040f56f
merged lates master
rg911 Jun 17, 2019
863cd20
Added #112 sign with cosignatories
rg911 Apr 25, 2019
1db6923
fixed merge issue
rg911 Jun 20, 2019
f901015
Added #112 sign with cosignatories
rg911 Apr 25, 2019
72958b1
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
6371a2b
Updated parameter name
rg911 Apr 29, 2019
3bc0866
merged lates master
rg911 Jun 17, 2019
57b00db
Added #112 sign with cosignatories
rg911 Apr 25, 2019
c8153ab
fixed merge issue
rg911 Jun 20, 2019
10b6e01
Added #112 sign with cosignatories
rg911 Apr 25, 2019
6f439ec
merged lates master
rg911 Jun 17, 2019
1de12f7
Added #112 sign with cosignatories
rg911 Apr 25, 2019
fca7908
fixed merge issue
rg911 Jun 20, 2019
6681a98
Added #112 sign with cosignatories
rg911 Apr 25, 2019
61aaacd
Renamed signTransactionWithCosignedTransactions to eliminate confusions
rg911 Apr 29, 2019
cd3521a
Updated parameter name
rg911 Apr 29, 2019
9a0cb8c
merged lates master
rg911 Jun 17, 2019
1cbfca9
Added #112 sign with cosignatories
rg911 Apr 25, 2019
c91e98a
fixed merge issue
rg911 Jun 20, 2019
1ff5c5f
Added #112 sign with cosignatories
rg911 Apr 25, 2019
554e2e6
merged lates master
rg911 Jun 17, 2019
5dd9a78
Added #112 sign with cosignatories
rg911 Apr 25, 2019
873070a
fixed merge issue
rg911 Jun 20, 2019
03416cb
Added #112 sign with cosignatories
rg911 Apr 25, 2019
e14679a
merged lates master
rg911 Jun 17, 2019
17f30f6
Added #112 sign with cosignatories
rg911 Apr 25, 2019
cb4a6cf
fixed merge issue
rg911 Jun 20, 2019
13e271f
Added #112 sign with cosignatories
rg911 Apr 25, 2019
d64ea91
merged lates master
rg911 Jun 17, 2019
f22ce75
Added #112 sign with cosignatories
rg911 Apr 25, 2019
296c10c
fixed merge issue
rg911 Jun 20, 2019
cadb688
Updated signSchema
rg911 Jul 3, 2019
13f04a1
fixed merged conflict issue
rg911 Jul 3, 2019
88bce96
resolved rebase conflict
rg911 Jul 3, 2019
84a061b
Merge branch 'task/g112_sign_with_cosignatories' of github.com:rg911/…
rg911 Jul 3, 2019
dff0235
Merge pull request #131 from rg911/task/g112_sign_with_cosignatories
evias Jul 3, 2019
2049100
added information for v0.13.0 with elephant compatibility
evias Jul 3, 2019
0ed6b14
v0.13.0: base compatibility for Elephant protocol upgrade
evias Jul 3, 2019
ed28463
Merge pull request #197 from evias/master
evias Jul 3, 2019
5f37d3f
Applied new DTOs from nem2-doc
rg911 Jul 8, 2019
98f57d5
Added #192 Updated AccountPropertyTransaction Names
rg911 Jun 30, 2019
3a2ead6
Renamed accountEntityType to accountOperation
rg911 Jun 30, 2019
881bfdf
More renames
rg911 Jun 30, 2019
508e24f
Added #192 Updated AccountPropertyTransaction Names
rg911 Jun 30, 2019
3d06a57
Renamed accountEntityType to accountOperation
rg911 Jun 30, 2019
155aa1a
More renames
rg911 Jun 30, 2019
f34231a
Applied new DTOs from nem2-doc
rg911 Jul 8, 2019
f7dc9cf
Merge branch 'task/g192_rename_account_property_tx' of github.com:rg9…
rg911 Jul 8, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ All notable changes to this project will be documented in this file.

The changelog format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [0.13.0] - 03-Jul-2019

**Milestone**: Elephant

- Added SignSchema to make KeyPair generation compatible with either of Catapult and NIS.
- Added SignSchema with KECCAK_REVERSED_KEY and SHA3. The SDK by default uses SHA3 which is the Catapult signature schema.
- Fixed transaction versions back to version 1
- Added `signTransactionGivenSignatures` to cope with off chain aggregated complete transaction co signing.

## [0.12.4] - 03-Jul-2019

**Milestone**: Dragon
Expand Down Expand Up @@ -143,7 +152,7 @@ The changelog format is based on [Keep a Changelog](https://keepachangelog.com/e
**Milestone**: Alpaca

- Initial code release.

[0.13.0]: https://github.com/nemtech/nem2-sdk-typescript-javascript/compare/v0.12.4...v0.13.0
[0.12.4]: https://github.com/nemtech/nem2-sdk-typescript-javascript/compare/v0.12.3...v0.12.4
[0.12.3]: https://github.com/nemtech/nem2-sdk-typescript-javascript/compare/v0.12.2...v0.12.3
[0.12.2]: https://github.com/nemtech/nem2-sdk-typescript-javascript/compare/v0.12.1...v0.12.2
Expand Down
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ with the NEM2 (a.k.a Catapult)

## Important Notes

### _Elephant Network Compatibility (catapult-server@0.5.0.1)

Due to a network upgrade with [catapult-server@elephant](https://github.com/nemtech/catapult-server/releases/tag/v0.5.0.1) version, **it is recommended to use this package's 0.13.0 version and upwards to use this package with Dragon versioned networks**.

The upgrade to this package's [version v0.13.0](https://github.com/nemtech/nem2-sdk-typescript-javascript/releases/tag/v0.13.0) is mandatory for **dragon compatibility**.

### _Dragon_ Network Compatibility (catapult-server@0.4.0.1)

Due to a network upgrade with [catapult-server@dragon](https://github.com/nemtech/catapult-server/releases/tag/v0.4.0.1) version, **it is recommended to use this package's 0.12.4 version and upwards to use this package with Dragon versioned networks**.
Expand Down
46 changes: 23 additions & 23 deletions e2e/infrastructure/AccountHttp.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ import {AccountHttp} from '../../src/infrastructure/AccountHttp';
import { Listener, TransactionHttp } from '../../src/infrastructure/infrastructure';
import { Account } from '../../src/model/account/Account';
import {Address} from '../../src/model/account/Address';
import { PropertyModificationType } from '../../src/model/account/PropertyModificationType';
import { PropertyType } from '../../src/model/account/PropertyType';
import { RestrictionModificationType } from '../../src/model/account/RestrictionModificationType';
import { RestrictionType } from '../../src/model/account/RestrictionType';
import {PublicAccount} from '../../src/model/account/PublicAccount';
import {NetworkType} from '../../src/model/blockchain/NetworkType';
import { NetworkCurrencyMosaic } from '../../src/model/mosaic/NetworkCurrencyMosaic';
import { AliasActionType } from '../../src/model/namespace/AliasActionType';
import { NamespaceId } from '../../src/model/namespace/NamespaceId';
import { AccountPropertyModification } from '../../src/model/transaction/AccountPropertyModification';
import { AccountPropertyTransaction } from '../../src/model/transaction/AccountPropertyTransaction';
import { AccountRestrictionModification } from '../../src/model/transaction/AccountRestrictionModification';
import { AccountRestrictionTransaction } from '../../src/model/transaction/AccountRestrictionTransaction';
import { AddressAliasTransaction } from '../../src/model/transaction/AddressAliasTransaction';
import { AggregateTransaction } from '../../src/model/transaction/AggregateTransaction';
import { Deadline } from '../../src/model/transaction/Deadline';
Expand Down Expand Up @@ -193,14 +193,14 @@ describe('AccountHttp', () => {
return listener.close();
});

it('Announce AccountPropertyTransaction', (done) => {
const addressPropertyFilter = AccountPropertyModification.createForAddress(
PropertyModificationType.Add,
it('Announce AccountRestrictionTransaction', (done) => {
const addressPropertyFilter = AccountRestrictionModification.createForAddress(
RestrictionModificationType.Add,
account3.address,
);
const addressModification = AccountPropertyTransaction.createAddressPropertyModificationTransaction(
const addressModification = AccountRestrictionTransaction.createAddressRestrictionModificationTransaction(
Deadline.create(),
PropertyType.BlockAddress,
RestrictionType.BlockAddress,
[addressPropertyFilter],
NetworkType.MIJIN_TEST,
);
Expand Down Expand Up @@ -282,22 +282,22 @@ describe('AccountHttp', () => {
});
});

describe('getAccountProperty', () => {
it('should call getAccountProperty successfully', (done) => {
describe('getAccountRestrictions', () => {
it('should call getAccountRestrictions successfully', (done) => {
setTimeout(() => {
accountHttp.getAccountProperties(accountAddress).subscribe((accountProperty) => {
deepEqual(accountProperty.accountProperties.address, accountAddress);
accountHttp.getAccountRestrictions(accountAddress).subscribe((accountRestrictions) => {
deepEqual(accountRestrictions.accountRestrictions.address, accountAddress);
done();
});
}, 1000);
});
});

describe('getAccountProperties', () => {
it('should call getAccountProperties successfully', (done) => {
describe('getAccountRestrictions', () => {
it('should call getAccountRestrictions successfully', (done) => {
setTimeout(() => {
accountHttp.getAccountPropertiesFromAccounts([accountAddress]).subscribe((accountProperties) => {
deepEqual(accountProperties[0]!.accountProperties.address, accountAddress);
accountHttp.getAccountRestrictionsFromAccounts([accountAddress]).subscribe((accountRestrictions) => {
deepEqual(accountRestrictions[0]!.accountRestrictions.address, accountAddress);
done();
});
}, 1000);
Expand Down Expand Up @@ -409,7 +409,7 @@ describe('AccountHttp', () => {
transactionHttp.announce(signedTransaction);
});
});
describe('Remove test AccountProperty - Address', () => {
describe('Remove test AccountRestriction - Address', () => {
let listener: Listener;
before (() => {
listener = new Listener(config.apiUrl);
Expand All @@ -419,14 +419,14 @@ describe('AccountHttp', () => {
return listener.close();
});

it('Announce AccountPropertyTransaction', (done) => {
const addressPropertyFilter = AccountPropertyModification.createForAddress(
PropertyModificationType.Remove,
it('Announce AccountRestrictionTransaction', (done) => {
const addressPropertyFilter = AccountRestrictionModification.createForAddress(
RestrictionModificationType.Remove,
account3.address,
);
const addressModification = AccountPropertyTransaction.createAddressPropertyModificationTransaction(
const addressModification = AccountRestrictionTransaction.createAddressRestrictionModificationTransaction(
Deadline.create(),
PropertyType.BlockAddress,
RestrictionType.BlockAddress,
[addressPropertyFilter],
NetworkType.MIJIN_TEST,
);
Expand Down
Loading