@powfix/core-js 0.21.1 → 0.21.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.
@@ -95,7 +95,7 @@ export declare class UUID {
95
95
  * @param input - The value to parse.
96
96
  * @returns A new {@link UUID} object.
97
97
  */
98
- static from<T extends typeof UUID>(this: T, input: UuidInput | T): InstanceType<T>;
98
+ static from<T extends typeof UUID>(this: T, input: UuidInput | InstanceType<T>): InstanceType<T>;
99
99
  /** Returns the nil (all zero) UUID. */
100
100
  static nil<T extends typeof UUID>(this: T): InstanceType<T>;
101
101
  /** Returns a UUID consisting of all 0xFF bytes. */
@@ -114,7 +114,7 @@ export declare class UUID {
114
114
  */
115
115
  static compare(uuid1: UuidInput, uuid2: UuidInput): number;
116
116
  /** Raw byte representation of the UUID. */
117
- protected readonly bytes: Uint8Array;
117
+ readonly bytes: Uint8Array;
118
118
  private _str?;
119
119
  private _hex?;
120
120
  /**
@@ -95,7 +95,7 @@ export declare class UUID {
95
95
  * @param input - The value to parse.
96
96
  * @returns A new {@link UUID} object.
97
97
  */
98
- static from<T extends typeof UUID>(this: T, input: UuidInput | T): InstanceType<T>;
98
+ static from<T extends typeof UUID>(this: T, input: UuidInput | InstanceType<T>): InstanceType<T>;
99
99
  /** Returns the nil (all zero) UUID. */
100
100
  static nil<T extends typeof UUID>(this: T): InstanceType<T>;
101
101
  /** Returns a UUID consisting of all 0xFF bytes. */
@@ -114,7 +114,7 @@ export declare class UUID {
114
114
  */
115
115
  static compare(uuid1: UuidInput, uuid2: UuidInput): number;
116
116
  /** Raw byte representation of the UUID. */
117
- protected readonly bytes: Uint8Array;
117
+ readonly bytes: Uint8Array;
118
118
  private _str?;
119
119
  private _hex?;
120
120
  /**
@@ -95,7 +95,7 @@ export declare class UUID {
95
95
  * @param input - The value to parse.
96
96
  * @returns A new {@link UUID} object.
97
97
  */
98
- static from<T extends typeof UUID>(this: T, input: UuidInput | T): InstanceType<T>;
98
+ static from<T extends typeof UUID>(this: T, input: UuidInput | InstanceType<T>): InstanceType<T>;
99
99
  /** Returns the nil (all zero) UUID. */
100
100
  static nil<T extends typeof UUID>(this: T): InstanceType<T>;
101
101
  /** Returns a UUID consisting of all 0xFF bytes. */
@@ -114,7 +114,7 @@ export declare class UUID {
114
114
  */
115
115
  static compare(uuid1: UuidInput, uuid2: UuidInput): number;
116
116
  /** Raw byte representation of the UUID. */
117
- protected readonly bytes: Uint8Array;
117
+ readonly bytes: Uint8Array;
118
118
  private _str?;
119
119
  private _hex?;
120
120
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@powfix/core-js",
3
- "version": "0.21.1",
3
+ "version": "0.21.3",
4
4
  "description": "core package",
5
5
  "author": "Kwon Kyung-Min <powfix@gmail.com>",
6
6
  "private": false,