@naturalcycles/js-lib 14.270.0 → 14.270.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/dist/types.d.ts CHANGED
@@ -196,6 +196,13 @@ export type IsoDateTime = Branded<string, 'IsoDateTime'>;
196
196
  * @example '2023-09'
197
197
  */
198
198
  export type MonthId = string;
199
+ /**
200
+ * Identifies IANA timezone name.
201
+ * Branded type.
202
+ *
203
+ * @example 'America/New_York'
204
+ */
205
+ export type IanaTimezone = Branded<string, 'IanaTimezone'>;
199
206
  /**
200
207
  * Branded UnixTimestamp in seconds.
201
208
  * Extends (compatible with) `number`.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/js-lib",
3
- "version": "14.270.0",
3
+ "version": "14.270.1",
4
4
  "scripts": {
5
5
  "prepare": "husky",
6
6
  "build": "dev-lib build-esm-cjs",
package/src/types.ts CHANGED
@@ -254,6 +254,14 @@ export type IsoDateTime = Branded<string, 'IsoDateTime'>
254
254
  */
255
255
  export type MonthId = string
256
256
 
257
+ /**
258
+ * Identifies IANA timezone name.
259
+ * Branded type.
260
+ *
261
+ * @example 'America/New_York'
262
+ */
263
+ export type IanaTimezone = Branded<string, 'IanaTimezone'>
264
+
257
265
  /**
258
266
  * Branded UnixTimestamp in seconds.
259
267
  * Extends (compatible with) `number`.