@orderly.network/utils 2.0.3-alpha.0 → 2.0.4-alpha.0

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/dist/index.d.mts CHANGED
@@ -45,7 +45,7 @@ declare function camelCaseToUnderscoreCase(str: string): string;
45
45
  declare const findLongestCommonSubString: (str1: string, str2: string) => number;
46
46
 
47
47
  declare const windowGuard: (cb: Function) => void;
48
- declare const getGlobalObject: () => any;
48
+ declare const getGlobalObject: () => typeof globalThis;
49
49
  declare const getTimestamp: () => number;
50
50
 
51
51
  export { camelCaseToUnderscoreCase, capitalizeString, commify, commifyOptional, cutNumber, findLongestCommonSubString, getGlobalObject, getPrecisionByNumber, getTimestamp, hex2int, int2hex, isTestnet, numberToHumanStyle, parseChainIdToNumber, parseNumStr, praseChainId, praseChainIdToNumber, removeTrailingZeros, subtractDaysFromCurrentDate, timeConvertString, timestampToString, toNonExponential, todpIfNeed, transSymbolformString, windowGuard, zero };
package/dist/index.d.ts CHANGED
@@ -45,7 +45,7 @@ declare function camelCaseToUnderscoreCase(str: string): string;
45
45
  declare const findLongestCommonSubString: (str1: string, str2: string) => number;
46
46
 
47
47
  declare const windowGuard: (cb: Function) => void;
48
- declare const getGlobalObject: () => any;
48
+ declare const getGlobalObject: () => typeof globalThis;
49
49
  declare const getTimestamp: () => number;
50
50
 
51
51
  export { camelCaseToUnderscoreCase, capitalizeString, commify, commifyOptional, cutNumber, findLongestCommonSubString, getGlobalObject, getPrecisionByNumber, getTimestamp, hex2int, int2hex, isTestnet, numberToHumanStyle, parseChainIdToNumber, parseNumStr, praseChainId, praseChainIdToNumber, removeTrailingZeros, subtractDaysFromCurrentDate, timeConvertString, timestampToString, toNonExponential, todpIfNeed, transSymbolformString, windowGuard, zero };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@orderly.network/utils",
3
- "version": "2.0.3-alpha.0",
3
+ "version": "2.0.4-alpha.0",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -18,12 +18,12 @@
18
18
  "jest": "^29.6.1",
19
19
  "tsup": "^7.1.0",
20
20
  "typescript": "^5.1.6",
21
- "tsconfig": "0.3.19-alpha.0"
21
+ "tsconfig": "0.3.20-alpha.0"
22
22
  },
23
23
  "dependencies": {
24
24
  "dayjs": "^1.11.9",
25
25
  "decimal.js-light": "^2.5.1",
26
- "@orderly.network/types": "2.0.3-alpha.0"
26
+ "@orderly.network/types": "2.0.4-alpha.0"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"