@w3ux/utils 0.8.0-alpha.2 → 0.9.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.
Files changed (3) hide show
  1. package/package.json +5 -5
  2. package/unit.d.cts +1 -1
  3. package/unit.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w3ux/utils",
3
- "version": "0.8.0-alpha.2",
3
+ "version": "0.9.0",
4
4
  "license": "GPL-3.0-only",
5
5
  "dependencies": {
6
6
  "@polkadot/util": "^13.1.1",
@@ -15,12 +15,12 @@
15
15
  "require": "./index.cjs"
16
16
  },
17
17
  "./util": {
18
- "import": "./util/index.js",
19
- "require": "./util/index.cjs"
18
+ "import": "./util/index.js",
19
+ "require": "./util/index.cjs"
20
20
  },
21
21
  "./util-crypto": {
22
- "import": "./util-crypto/index.js",
23
- "require": "./util-crypto/index.cjs"
22
+ "import": "./util-crypto/index.js",
23
+ "require": "./util-crypto/index.cjs"
24
24
  }
25
25
  }
26
26
  }
package/unit.d.cts CHANGED
@@ -79,7 +79,7 @@ declare const removeVarFromUrlHash: (key: string) => void;
79
79
  * @name sortWithNull
80
80
  * @summary Sorts an array with nulls last.
81
81
  */
82
- declare const sortWithNull: (ascending: boolean) => (a: AnyJson, b: AnyJson) => 1 | 0 | -1;
82
+ declare const sortWithNull: (ascending: boolean) => (a: AnyJson, b: AnyJson) => 0 | 1 | -1;
83
83
  /**
84
84
  * @name applyWidthAsPadding
85
85
  * @summary Applies width of subject to paddingRight of container.
package/unit.d.ts CHANGED
@@ -79,7 +79,7 @@ declare const removeVarFromUrlHash: (key: string) => void;
79
79
  * @name sortWithNull
80
80
  * @summary Sorts an array with nulls last.
81
81
  */
82
- declare const sortWithNull: (ascending: boolean) => (a: AnyJson, b: AnyJson) => 1 | 0 | -1;
82
+ declare const sortWithNull: (ascending: boolean) => (a: AnyJson, b: AnyJson) => 0 | 1 | -1;
83
83
  /**
84
84
  * @name applyWidthAsPadding
85
85
  * @summary Applies width of subject to paddingRight of container.