@veltdev/react 5.0.3 → 6.0.0-beta.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/cjs/index.js +4 -4
- package/cjs/index.js.map +1 -1
- package/cjs/types/constants.d.ts +1 -1
- package/esm/index.js +4 -4
- package/esm/index.js.map +1 -1
- package/esm/types/constants.d.ts +1 -1
- package/package.json +1 -1
package/cjs/types/constants.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const VELT_SDK_VERSION = "
|
|
2
|
+
export declare const VELT_SDK_VERSION = "6.0.0-beta.1";
|
|
3
3
|
export declare const VELT_SDK_INIT_EVENT = "onVeltInit";
|
|
4
4
|
export declare const VELT_TAB_ID = "veltTabId";
|
|
5
5
|
export declare const INTEGRITY_MAP: Record<string, string>;
|
package/esm/index.js
CHANGED
|
@@ -132,10 +132,10 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
132
132
|
// No script tag exists - this is the first component to request Velt
|
|
133
133
|
var script = document.createElement('script');
|
|
134
134
|
if (staging) {
|
|
135
|
-
script.src = "https://
|
|
135
|
+
script.src = "https://serveprivatenpmpackage-4mfhcuyw2q-uc.a.run.app/sdk-staging/lib/sdk@".concat(version, "/velt.js");
|
|
136
136
|
}
|
|
137
137
|
else if (develop) {
|
|
138
|
-
script.src = "https://
|
|
138
|
+
script.src = "https://serveprivatenpmpackage-4mfhcuyw2q-uc.a.run.app/sdk-dev/lib/sdk@".concat(version, "/velt.js");
|
|
139
139
|
}
|
|
140
140
|
else {
|
|
141
141
|
if (proxyDomain) {
|
|
@@ -204,13 +204,13 @@ var loadVelt = function (callback, version, staging, develop, proxyDomain, integ
|
|
|
204
204
|
};
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
var VELT_SDK_VERSION = '
|
|
207
|
+
var VELT_SDK_VERSION = '6.0.0-beta.1';
|
|
208
208
|
var VELT_SDK_INIT_EVENT = 'onVeltInit';
|
|
209
209
|
var VELT_TAB_ID = 'veltTabId';
|
|
210
210
|
// integrity map for the Velt SDK
|
|
211
211
|
// Note: generate integrity hashes with: https://www.srihash.org/
|
|
212
212
|
var INTEGRITY_MAP = {
|
|
213
|
-
'
|
|
213
|
+
'6.0.0-beta.1': 'sha384-hJ2H17veXzOVB8U4hkb4VHBU2z0jluhpIuuK4JgX+bMIfdxYixOdzqtTjfMRZqti',
|
|
214
214
|
};
|
|
215
215
|
|
|
216
216
|
var validProps = ['veltIf', 'veltClass', 'className', 'variant'];
|