Skip to content

Commit 0c4c2f4

Browse files
Merge pull request #56 from multiversx/SERVICES-1158-multiversx-rebranding
[SERVICES-1158] multiversx rebranding
2 parents 4df473b + fe5970b commit 0c4c2f4

File tree

62 files changed

+153
-153
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+153
-153
lines changed

package-lock.json

Lines changed: 81 additions & 81 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
2-
"name": "@multiversx/erdjs-dex",
3-
"version": "0.2.15",
2+
"name": "@multiversx/sdk-dex",
3+
"version": "0.2.16",
44
"description": "Utilities modules for xExchange interactions",
55
"author": "MultiversX",
66
"repository": {
77
"type": "git",
8-
"url": "https://github.com/multiversx/mx-sdk-erdjs-dex.git"
8+
"url": "https://github.com/multiversx/mx-sdk-js-dex.git"
99
},
1010
"license": "MIT",
1111
"files": [
@@ -32,7 +32,7 @@
3232
"typescript": "4.6.4"
3333
},
3434
"dependencies": {
35-
"@elrondnetwork/erdjs": "^11.1.0",
35+
"@multiversx/sdk-core": "^11.2.0",
3636
"bignumber.js": "9.0.1"
3737
}
3838
}

src/attributes-decoder/energy/energy.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import {
55
FieldDefinition,
66
StructType,
77
U64Type,
8-
} from '@elrondnetwork/erdjs/out';
8+
} from '@multiversx/sdk-core/out';
99
import BigNumber from 'bignumber.js';
1010
import { EnergyType } from './energy.type';
1111

src/attributes-decoder/esdt-token-payment/esdt.token.payment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
StructType,
88
TokenIdentifierType,
99
U64Type,
10-
} from '@elrondnetwork/erdjs/out';
10+
} from '@multiversx/sdk-core/out';
1111
import { EsdtTokenPaymentType } from './esdt.token.payment.type';
1212

1313
export class EsdtTokenPayment {

src/attributes-decoder/farm/farm.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
FieldDefinition,
55
StructType,
66
U64Type,
7-
} from '@elrondnetwork/erdjs/out';
7+
} from '@multiversx/sdk-core/out';
88
import { FarmTokenAttributesType } from './farm.token.types';
99

1010
export class FarmTokenAttributes {

src/attributes-decoder/farm/farm.v1.2.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
StructType,
77
U64Type,
88
U8Type,
9-
} from '@elrondnetwork/erdjs';
9+
} from '@multiversx/sdk-core';
1010
import { FarmTokenAttributesV1_3 } from './farm.v1.3.token';
1111
import { FarmTokenAttributesTypeV1_2 } from './farm.token.types';
1212

src/attributes-decoder/farm/farm.v1.3.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import {
44
FieldDefinition,
55
StructType,
66
U64Type,
7-
} from '@elrondnetwork/erdjs';
7+
} from '@multiversx/sdk-core';
88
import { FarmTokenAttributes } from './farm.token';
99
import { FarmTokenAttributesTypeV1_3 } from './farm.token.types';
1010

src/attributes-decoder/farm/farm.v2.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import {
33
BinaryCodec,
44
FieldDefinition,
55
StructType,
6-
} from '@elrondnetwork/erdjs/out';
6+
} from '@multiversx/sdk-core/out';
77
import { FarmTokenAttributes } from './farm.token';
88
import { FarmTokenAttributesTypeV2 } from './farm.token.types';
99

src/attributes-decoder/locked-assets/locked.asset.token.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
StructType,
77
U64Type,
88
U8Type,
9-
} from '@elrondnetwork/erdjs/out';
9+
} from '@multiversx/sdk-core/out';
1010
import BigNumber from 'bignumber.js';
1111
import {
1212
LockedAssetAttributesType,

src/attributes-decoder/locked-token-wrapper/wrapped.locked.token.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ import {
33
FieldDefinition,
44
StructType,
55
U64Type,
6-
} from '@elrondnetwork/erdjs/out';
6+
} from '@multiversx/sdk-core/out';
77
import { WrappedLockedTokenType } from './wrapped.lock.token.types';
88

99
export class WrappedLockedTokenAttributes {
1010
lockedTokenNonce: number;
1111

12-
constructor(init: {
13-
lockedTokenNonce: number;
14-
}) {
12+
constructor(init: { lockedTokenNonce: number }) {
1513
this.lockedTokenNonce = init.lockedTokenNonce;
1614
}
1715

@@ -35,7 +33,9 @@ export class WrappedLockedTokenAttributes {
3533

3634
const structType = WrappedLockedTokenAttributes.getStructure();
3735
const [decoded] = codec.decodeNested(attributesBuffer, structType);
38-
return WrappedLockedTokenAttributes.fromDecodedAttributes(decoded.valueOf());
36+
return WrappedLockedTokenAttributes.fromDecodedAttributes(
37+
decoded.valueOf(),
38+
);
3939
}
4040

4141
static getStructure(): StructType {

0 commit comments

Comments
 (0)