castled-js-sdk 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
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/ht-sdks/events-sdk-node).
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 us-east-1.hightouch-events.com
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.hightouch-events.com/js/v1.1/js-integrations
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