castled-js-sdk 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/index.d.ts +2 -2
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/service-worker/index.es.js +1 -1
- package/service-worker/index.js +2 -2
package/README.md
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
npm install castled-js-sdk --save
|
7
7
|
```
|
8
8
|
|
9
|
-
**Note that this NPM module is only meant to be used for a browser installation**. If you want to integrate with your Node.js application, refer to the [**Node.js repository**](https://github.com/
|
9
|
+
**Note that this NPM module is only meant to be used for a browser installation**. If you want to integrate with your Node.js application, refer to the [**Node.js repository**](https://github.com/castledio/castled-node-sdk).
|
10
10
|
<br><br>
|
11
11
|
|
12
12
|
**IMPORTANT**: You should run the following code snippet only once and use the exported object throughout your project (e.g. Node module caching):
|
package/index.d.ts
CHANGED
@@ -83,7 +83,7 @@ declare module 'castled-js-sdk' {
|
|
83
83
|
*/
|
84
84
|
interface loadOptions {
|
85
85
|
integrations?: integrationOptions;
|
86
|
-
// defaults to
|
86
|
+
// defaults to api.castled.io
|
87
87
|
configUrl?: string;
|
88
88
|
queueOptions?: queueOptions;
|
89
89
|
// Defaults to true
|
@@ -104,7 +104,7 @@ declare module 'castled-js-sdk' {
|
|
104
104
|
cookieConsentManager?: cookieConsentManager;
|
105
105
|
anonymousIdOptions?: anonymousIdOptions;
|
106
106
|
userIdOptions?: userIdOptions;
|
107
|
-
// defaults to https://cdn.
|
107
|
+
// defaults to https://cdn.castled.io/js/v1.1/js-integrations
|
108
108
|
destSDKBaseURL?: string;
|
109
109
|
sessions?: {
|
110
110
|
autoTrack?: boolean; // Defaults to true
|