@salesforce/lds-drafts 1.124.2 → 1.124.4

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.
@@ -1,5 +1,5 @@
1
- /**
2
- * Generates a time-ordered, unique id to associate with a DraftAction. Ensures
3
- * no collisions with existing draft action IDs.
4
- */
5
- export declare function generateUniqueDraftActionId(existingIds: string[]): string;
1
+ /**
2
+ * Generates a time-ordered, unique id to associate with a DraftAction. Ensures
3
+ * no collisions with existing draft action IDs.
4
+ */
5
+ export declare function generateUniqueDraftActionId(existingIds: string[]): string;
@@ -1,24 +1,24 @@
1
- declare const keys: {
2
- (o: object): string[];
3
- (o: {}): string[];
4
- }, create: {
5
- (o: object | null): any;
6
- (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
7
- }, assign: {
8
- <T extends {}, U>(target: T, source: U): T & U;
9
- <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
10
- <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
11
- (target: object, ...sources: any[]): any;
12
- }, values: {
13
- <T>(o: {
14
- [s: string]: T;
15
- } | ArrayLike<T>): T[];
16
- (o: {}): any[];
17
- };
18
- declare const stringify: {
19
- (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
20
- (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
21
- }, parse: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any;
22
- declare const shift: () => any;
23
- declare const isArray: (arg: any) => arg is any[];
24
- export { keys as ObjectKeys, create as ObjectCreate, assign as ObjectAssign, values as ObjectValues, stringify as JSONStringify, parse as JSONParse, shift as ArrayPrototypeShift, isArray as ArrayIsArray, };
1
+ declare const keys: {
2
+ (o: object): string[];
3
+ (o: {}): string[];
4
+ }, create: {
5
+ (o: object | null): any;
6
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
7
+ }, assign: {
8
+ <T extends {}, U>(target: T, source: U): T & U;
9
+ <T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
10
+ <T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
11
+ (target: object, ...sources: any[]): any;
12
+ }, values: {
13
+ <T>(o: {
14
+ [s: string]: T;
15
+ } | ArrayLike<T>): T[];
16
+ (o: {}): any[];
17
+ };
18
+ declare const stringify: {
19
+ (value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
20
+ (value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
21
+ }, parse: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any;
22
+ declare const shift: () => any;
23
+ declare const isArray: (arg: any) => arg is any[];
24
+ export { keys as ObjectKeys, create as ObjectCreate, assign as ObjectAssign, values as ObjectValues, stringify as JSONStringify, parse as JSONParse, shift as ArrayPrototypeShift, isArray as ArrayIsArray, };
package/package.json CHANGED
@@ -1,18 +1,18 @@
1
1
  {
2
2
  "name": "@salesforce/lds-drafts",
3
- "version": "1.124.2",
3
+ "version": "1.124.4",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "LDS Drafts",
6
6
  "main": "dist/ldsDrafts.js",
7
7
  "module": "dist/ldsDrafts.js",
8
- "types": "dist/main.d.ts",
8
+ "types": "dist/types/main.d.ts",
9
9
  "files": [
10
10
  "dist"
11
11
  ],
12
12
  "exports": {
13
13
  ".": {
14
14
  "import": "./dist/ldsDrafts.js",
15
- "types": "./dist/main.d.ts",
15
+ "types": "./dist/types/main.d.ts",
16
16
  "default": "./dist/ldsDrafts.js"
17
17
  }
18
18
  },