big.esm 1.2.1 → 1.2.2
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/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
## [1.2.2](https://github.com/dschewchenko/big.esm/compare/v1.2.1...v1.2.2) (2023-05-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* import name for types generation ([e41cbf5](https://github.com/dschewchenko/big.esm/commit/e41cbf573d55f46e5baf8ee661483dbcf8dcf289))
|
|
7
|
+
|
|
1
8
|
## [1.2.1](https://github.com/dschewchenko/big.esm/compare/v1.2.0...v1.2.1) (2023-05-28)
|
|
2
9
|
|
|
3
10
|
|
package/dist/index.d.ts
CHANGED
|
@@ -12,6 +12,6 @@ export { compareBig } from "./operations/compare";
|
|
|
12
12
|
export { isBigObject } from "./utils/is-big-object";
|
|
13
13
|
export { isNumericValue } from "./utils/numeric";
|
|
14
14
|
export { alignScale } from "./utils/align-scale";
|
|
15
|
-
export { createBig } from "./utils/create
|
|
16
|
-
export { cloneBig } from "./utils/clone
|
|
17
|
-
export { fromString } from "./utils/from-string
|
|
15
|
+
export { createBig } from "./utils/create";
|
|
16
|
+
export { cloneBig } from "./utils/clone";
|
|
17
|
+
export { fromString } from "./utils/from-string";
|
package/dist/utils/clone.d.ts
CHANGED
package/dist/utils/create.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Big } from "../big
|
|
2
|
-
import type { BigObject, PossibleNumber } from "../types
|
|
1
|
+
import { Big } from "../big";
|
|
2
|
+
import type { BigObject, PossibleNumber } from "../types";
|
|
3
3
|
/**
|
|
4
4
|
* Creates a new Big instance from the given value.
|
|
5
5
|
* If the value is already a Big instance, it returns the value itself.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BigObject } from "../types
|
|
2
|
-
import type { Big } from "../big
|
|
1
|
+
import type { BigObject } from "../types";
|
|
2
|
+
import type { Big } from "../big";
|
|
3
3
|
/**
|
|
4
4
|
* Determines if the value is a BigObject. A BigObject is an object with a value property of type bigint and a scale property of type number. It usually represents a Big instance.
|
|
5
5
|
*
|