@keplr-wallet/unit 0.12.165-rc.0 → 0.12.165-rc.1
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/build/int-pretty.spec.js
CHANGED
@@ -202,7 +202,7 @@ describe("Test IntPretty", () => {
|
|
202
202
|
}
|
203
203
|
}
|
204
204
|
});
|
205
|
-
it("Test the add
|
205
|
+
it("Test the add calculation of IntPretty", () => {
|
206
206
|
const params = [
|
207
207
|
{
|
208
208
|
base: new int_1.Int(0),
|
@@ -280,7 +280,7 @@ describe("Test IntPretty", () => {
|
|
280
280
|
expect(pretty.toString()).toBe(param.str);
|
281
281
|
}
|
282
282
|
});
|
283
|
-
it("Test the sub
|
283
|
+
it("Test the sub calculation of IntPretty", () => {
|
284
284
|
const params = [
|
285
285
|
{
|
286
286
|
base: new int_1.Int(0),
|
@@ -357,7 +357,7 @@ describe("Test IntPretty", () => {
|
|
357
357
|
expect(pretty.toString()).toBe(param.str);
|
358
358
|
}
|
359
359
|
});
|
360
|
-
it("Test the mul
|
360
|
+
it("Test the mul calculation of IntPretty", () => {
|
361
361
|
const params = [
|
362
362
|
{
|
363
363
|
base: new int_1.Int(0),
|
@@ -436,7 +436,7 @@ describe("Test IntPretty", () => {
|
|
436
436
|
expect(pretty.toString()).toBe(param.str);
|
437
437
|
}
|
438
438
|
});
|
439
|
-
it("Test the quo
|
439
|
+
it("Test the quo calculation of IntPretty", () => {
|
440
440
|
expect(() => {
|
441
441
|
new int_pretty_1.IntPretty(new decimal_1.Dec("1")).quo(new int_pretty_1.IntPretty(new int_1.Int(0)));
|
442
442
|
}).toThrow();
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@keplr-wallet/unit",
|
3
|
-
"version": "0.12.165-rc.
|
3
|
+
"version": "0.12.165-rc.1",
|
4
4
|
"main": "build/index.js",
|
5
5
|
"author": "chainapsis",
|
6
6
|
"license": "Apache-2.0",
|
@@ -16,9 +16,9 @@
|
|
16
16
|
"lint-fix": "eslint --fix \"src/**/*\" && prettier --write \"src/**/*\""
|
17
17
|
},
|
18
18
|
"dependencies": {
|
19
|
-
"@keplr-wallet/types": "0.12.165-rc.
|
19
|
+
"@keplr-wallet/types": "0.12.165-rc.1",
|
20
20
|
"big-integer": "^1.6.48",
|
21
21
|
"utility-types": "^3.10.0"
|
22
22
|
},
|
23
|
-
"gitHead": "
|
23
|
+
"gitHead": "6d7ddf5e167ba039eec5e7369e05cc82677d3508"
|
24
24
|
}
|
package/src/int-pretty.spec.ts
CHANGED
@@ -231,7 +231,7 @@ describe("Test IntPretty", () => {
|
|
231
231
|
}
|
232
232
|
});
|
233
233
|
|
234
|
-
it("Test the add
|
234
|
+
it("Test the add calculation of IntPretty", () => {
|
235
235
|
const params: {
|
236
236
|
base: Dec | Int;
|
237
237
|
target: Dec | Int;
|
@@ -316,7 +316,7 @@ describe("Test IntPretty", () => {
|
|
316
316
|
}
|
317
317
|
});
|
318
318
|
|
319
|
-
it("Test the sub
|
319
|
+
it("Test the sub calculation of IntPretty", () => {
|
320
320
|
const params: {
|
321
321
|
base: Dec | Int;
|
322
322
|
target: Dec | Int;
|
@@ -400,7 +400,7 @@ describe("Test IntPretty", () => {
|
|
400
400
|
}
|
401
401
|
});
|
402
402
|
|
403
|
-
it("Test the mul
|
403
|
+
it("Test the mul calculation of IntPretty", () => {
|
404
404
|
const params: {
|
405
405
|
base: Dec | Int;
|
406
406
|
target: Dec | Int;
|
@@ -486,7 +486,7 @@ describe("Test IntPretty", () => {
|
|
486
486
|
}
|
487
487
|
});
|
488
488
|
|
489
|
-
it("Test the quo
|
489
|
+
it("Test the quo calculation of IntPretty", () => {
|
490
490
|
expect(() => {
|
491
491
|
new IntPretty(new Dec("1")).quo(new IntPretty(new Int(0)));
|
492
492
|
}).toThrow();
|