@xylabs/eth-address 2.11.11 → 2.11.13
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 +6 -6
- package/dist/browser/spec/EthAddress.spec.js +0 -10
- package/dist/browser/spec/EthAddress.spec.js.map +0 -1
- package/dist/node/spec/EthAddress.spec.js +0 -11
- package/dist/node/spec/EthAddress.spec.js.map +0 -1
- package/dist/node/spec/EthAddress.spec.mjs +0 -10
- package/dist/node/spec/EthAddress.spec.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
"esm"
|
|
43
43
|
],
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@xylabs/assert": "~2.11.
|
|
46
|
-
"@xylabs/bignumber": "~2.11.
|
|
45
|
+
"@xylabs/assert": "~2.11.13",
|
|
46
|
+
"@xylabs/bignumber": "~2.11.13"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@xylabs/ts-scripts-yarn3": "^3.0.
|
|
50
|
-
"@xylabs/tsconfig": "^3.0.
|
|
51
|
-
"@xylabs/tsconfig-jest": "^3.0.
|
|
49
|
+
"@xylabs/ts-scripts-yarn3": "^3.0.62",
|
|
50
|
+
"@xylabs/tsconfig": "^3.0.62",
|
|
51
|
+
"@xylabs/tsconfig-jest": "^3.0.62",
|
|
52
52
|
"typescript": "^5.2.2"
|
|
53
53
|
},
|
|
54
54
|
"publishConfig": {
|
|
@@ -59,6 +59,6 @@
|
|
|
59
59
|
"url": "https://github.com/xylabs/sdk-js.git"
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": false,
|
|
62
|
-
"version": "2.11.
|
|
62
|
+
"version": "2.11.13",
|
|
63
63
|
"packageManager": "yarn@3.3.1"
|
|
64
64
|
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EthAddress } from "../EthAddress";
|
|
2
|
-
describe("EthAddress", () => {
|
|
3
|
-
test("checking happy path", () => {
|
|
4
|
-
const addressString = "7284b6A4233B8B05910F2CbF7dBf6715325F6fCb".toLowerCase();
|
|
5
|
-
const address = EthAddress.fromString(addressString, 16);
|
|
6
|
-
expect(address?.toString()).toBe(`0x${addressString}`);
|
|
7
|
-
expect(address?.toShortString()).toBe("0x72...cb");
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=EthAddress.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/spec/EthAddress.spec.ts"],"sourcesContent":["import { EthAddress } from '../EthAddress'\n\ndescribe('EthAddress', () => {\n test('checking happy path', () => {\n const addressString = '7284b6A4233B8B05910F2CbF7dBf6715325F6fCb'.toLowerCase()\n const address = EthAddress.fromString(addressString, 16)\n expect(address?.toString()).toBe(`0x${addressString}`)\n expect(address?.toShortString()).toBe('0x72...cb')\n })\n})\n"],"mappings":"AAAA,SAAS,kBAAkB;AAE3B,SAAS,cAAc,MAAM;AAC3B,OAAK,uBAAuB,MAAM;AAChC,UAAM,gBAAgB,2CAA2C,YAAY;AAC7E,UAAM,UAAU,WAAW,WAAW,eAAe,EAAE;AACvD,WAAO,SAAS,SAAS,CAAC,EAAE,KAAK,KAAK,aAAa,EAAE;AACrD,WAAO,SAAS,cAAc,CAAC,EAAE,KAAK,WAAW;AAAA,EACnD,CAAC;AACH,CAAC;","names":[]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var import_EthAddress = require("../EthAddress");
|
|
3
|
-
describe("EthAddress", () => {
|
|
4
|
-
test("checking happy path", () => {
|
|
5
|
-
const addressString = "7284b6A4233B8B05910F2CbF7dBf6715325F6fCb".toLowerCase();
|
|
6
|
-
const address = import_EthAddress.EthAddress.fromString(addressString, 16);
|
|
7
|
-
expect(address?.toString()).toBe(`0x${addressString}`);
|
|
8
|
-
expect(address?.toShortString()).toBe("0x72...cb");
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=EthAddress.spec.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/spec/EthAddress.spec.ts"],"sourcesContent":["import { EthAddress } from '../EthAddress'\n\ndescribe('EthAddress', () => {\n test('checking happy path', () => {\n const addressString = '7284b6A4233B8B05910F2CbF7dBf6715325F6fCb'.toLowerCase()\n const address = EthAddress.fromString(addressString, 16)\n expect(address?.toString()).toBe(`0x${addressString}`)\n expect(address?.toShortString()).toBe('0x72...cb')\n })\n})\n"],"mappings":";AAAA,wBAA2B;AAE3B,SAAS,cAAc,MAAM;AAC3B,OAAK,uBAAuB,MAAM;AAChC,UAAM,gBAAgB,2CAA2C,YAAY;AAC7E,UAAM,UAAU,6BAAW,WAAW,eAAe,EAAE;AACvD,WAAO,SAAS,SAAS,CAAC,EAAE,KAAK,KAAK,aAAa,EAAE;AACrD,WAAO,SAAS,cAAc,CAAC,EAAE,KAAK,WAAW;AAAA,EACnD,CAAC;AACH,CAAC;","names":[]}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { EthAddress } from "../EthAddress";
|
|
2
|
-
describe("EthAddress", () => {
|
|
3
|
-
test("checking happy path", () => {
|
|
4
|
-
const addressString = "7284b6A4233B8B05910F2CbF7dBf6715325F6fCb".toLowerCase();
|
|
5
|
-
const address = EthAddress.fromString(addressString, 16);
|
|
6
|
-
expect(address?.toString()).toBe(`0x${addressString}`);
|
|
7
|
-
expect(address?.toShortString()).toBe("0x72...cb");
|
|
8
|
-
});
|
|
9
|
-
});
|
|
10
|
-
//# sourceMappingURL=EthAddress.spec.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/spec/EthAddress.spec.ts"],"sourcesContent":["import { EthAddress } from '../EthAddress'\n\ndescribe('EthAddress', () => {\n test('checking happy path', () => {\n const addressString = '7284b6A4233B8B05910F2CbF7dBf6715325F6fCb'.toLowerCase()\n const address = EthAddress.fromString(addressString, 16)\n expect(address?.toString()).toBe(`0x${addressString}`)\n expect(address?.toShortString()).toBe('0x72...cb')\n })\n})\n"],"mappings":"AAAA,SAAS,kBAAkB;AAE3B,SAAS,cAAc,MAAM;AAC3B,OAAK,uBAAuB,MAAM;AAChC,UAAM,gBAAgB,2CAA2C,YAAY;AAC7E,UAAM,UAAU,WAAW,WAAW,eAAe,EAAE;AACvD,WAAO,SAAS,SAAS,CAAC,EAAE,KAAK,KAAK,aAAa,EAAE;AACrD,WAAO,SAAS,cAAc,CAAC,EAAE,KAAK,WAAW;AAAA,EACnD,CAAC;AACH,CAAC;","names":[]}
|