pangea-helpers 1.0.2 → 1.0.3
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.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function animateCSS(element: string, animation: string, prefix?: string): Promise<unknown>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function displayValue(value: number, maximumFractionDigits: number): string;
|
|
2
|
+
export declare function getAmountToDisplay(amount: number, significantDigits: number, coinName: string, withCoinName?: boolean): string;
|
|
3
|
+
export declare function getDollarValue(): Promise<number>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isCurrentUrl(url: string): boolean;
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pangea-helpers",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -12,37 +12,37 @@
|
|
|
12
12
|
".": {
|
|
13
13
|
"import": "./dist/pangea-helpers.js",
|
|
14
14
|
"require": "./dist/pangea-helpers.umd.cjs",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
15
|
+
"types": "./dist/types/index.d.ts"
|
|
16
16
|
},
|
|
17
17
|
"./animation": {
|
|
18
18
|
"import": "./dist/pangea-helpers/animation.es.js",
|
|
19
19
|
"require": "./dist/pangea-helpers/animation.umd.cjs",
|
|
20
|
-
"types": "./dist/animation.d.ts"
|
|
20
|
+
"types": "./dist/types/animation.d.ts"
|
|
21
21
|
},
|
|
22
22
|
"./coins": {
|
|
23
23
|
"import": "./dist/pangea-helpers/coins.es.js",
|
|
24
24
|
"require": "./dist/pangea-helpers/coins.umd.cjs",
|
|
25
|
-
"types": "./dist/coins.d.ts"
|
|
25
|
+
"types": "./dist/types/coins.d.ts"
|
|
26
26
|
},
|
|
27
27
|
"./datetime": {
|
|
28
28
|
"import": "./dist/pangea-helpers/datetime.es.js",
|
|
29
29
|
"require": "./dist/pangea-helpers/datetime.umd.cjs",
|
|
30
|
-
"types": "./dist/datetime.d.ts"
|
|
30
|
+
"types": "./dist/types/datetime.d.ts"
|
|
31
31
|
},
|
|
32
32
|
"./object": {
|
|
33
33
|
"import": "./dist/pangea-helpers/object.es.js",
|
|
34
34
|
"require": "./dist/pangea-helpers/object.umd.cjs",
|
|
35
|
-
"types": "./dist/object.d.ts"
|
|
35
|
+
"types": "./dist/types/object.d.ts"
|
|
36
36
|
},
|
|
37
37
|
"./url": {
|
|
38
38
|
"import": "./dist/pangea-helpers/url.es.js",
|
|
39
39
|
"require": "./dist/pangea-helpers/url.umd.cjs",
|
|
40
|
-
"types": "./dist/url.d.ts"
|
|
40
|
+
"types": "./dist/types/url.d.ts"
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
|
-
"types": "./dist/index.d.ts",
|
|
43
|
+
"types": "./dist/types/index.d.ts",
|
|
44
44
|
"scripts": {
|
|
45
|
-
"build": "tsc
|
|
45
|
+
"build": "tsc && vite build",
|
|
46
46
|
"deploy": "node deploy.js"
|
|
47
47
|
},
|
|
48
48
|
"keywords": [],
|
|
@@ -64,6 +64,7 @@
|
|
|
64
64
|
"@types/node": "^20.2.5",
|
|
65
65
|
"typescript": "^5.0.2",
|
|
66
66
|
"vite": "^4.3.9",
|
|
67
|
+
"vite-plugin-dts": "^3.9.1",
|
|
67
68
|
"yarn": "^1.22.22"
|
|
68
69
|
}
|
|
69
70
|
}
|