@veltdev/react 1.0.99 → 1.0.100
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/cjs/index.js +15 -3
- package/cjs/index.js.map +1 -1
- package/cjs/types/components/Snippyly/Snippyly.d.ts +3 -1
- package/cjs/types/loadSnippyly.d.ts +1 -1
- package/esm/index.js +15 -3
- package/esm/index.js.map +1 -1
- package/esm/types/components/Snippyly/Snippyly.d.ts +3 -1
- package/esm/types/loadSnippyly.d.ts +1 -1
- package/index.d.ts +3 -1
- package/package.json +1 -1
|
@@ -2,7 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { Config, Velt } from '@veltdev/types';
|
|
3
3
|
export interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
4
4
|
apiKey: string;
|
|
5
|
-
config?: Config
|
|
5
|
+
config?: Config & {
|
|
6
|
+
proxyDomain?: string;
|
|
7
|
+
};
|
|
6
8
|
user?: any;
|
|
7
9
|
documentId?: string;
|
|
8
10
|
language?: string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const loadVelt: (callback: Function, version?: string, staging?: boolean, develop?: boolean) => void;
|
|
1
|
+
declare const loadVelt: (callback: Function, version?: string, staging?: boolean, develop?: boolean, proxyDomain?: string) => void;
|
|
2
2
|
export default loadVelt;
|
package/index.d.ts
CHANGED
|
@@ -4,7 +4,9 @@ import { Config, Velt, User, UserOptions, Location as Location$1, CommentElement
|
|
|
4
4
|
|
|
5
5
|
interface IVeltProps extends React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement> {
|
|
6
6
|
apiKey: string;
|
|
7
|
-
config?: Config
|
|
7
|
+
config?: Config & {
|
|
8
|
+
proxyDomain?: string;
|
|
9
|
+
};
|
|
8
10
|
user?: any;
|
|
9
11
|
documentId?: string;
|
|
10
12
|
language?: string;
|