New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

rudder-sdk-js

Package Overview
Dependencies
Maintainers
1
Versions
182
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rudder-sdk-js - npm Package Compare versions

Comparing version 2.32.0 to 2.33.0

1

index.d.ts

@@ -107,2 +107,3 @@ declare module 'rudder-sdk-js' {

onLoaded?: (analytics: any) => void;
useGlobalIntegrationsConfigInEvents?: boolean; // Default is false
}

@@ -109,0 +110,0 @@

19

package.json
{
"name": "rudder-sdk-js",
"version": "2.32.0",
"version": "2.33.0",
"description": "RudderStack Javascript SDK",

@@ -8,5 +8,16 @@ "main": "index.js",

"exports": {
".": "./index.js",
"./service-worker": "./service-worker/index.js",
"./service-worker/index.es": "./service-worker/index.es.js"
".": {
"types": "./index.d.ts",
"import": "./index.es.js",
"require": "./index.js"
},
"./service-worker": {
"types": "./service-worker/index.d.ts",
"import": "./service-worker/index.es.js",
"require": "./service-worker/index.js"
},
"./service-worker/index.es": {
"types": "./service-worker/index.d.ts",
"import": "./service-worker/index.es.js"
}
},

@@ -13,0 +24,0 @@ "typesVersions": {

@@ -33,2 +33,19 @@ export { Analytics };

/**
* Represents the first argument object for flushOverride method
*/
export type FlushOverrideMessage = {
host: string;
writeKey: string;
data: {
batch: Object[],
sentAt: string;
};
headers: Record<string, string>;
reqTimeout: number;
flush: (callback?: apiCallback) => void;
done: (error?: Error) => void;
isErrorRetryable: (error: Error) => boolean;
}
/**
* Represents the constructor options object

@@ -39,2 +56,3 @@ * Example usages:

export interface constructorOptions {
timeout?: number;
flushAt?: number;

@@ -45,2 +63,3 @@ flushInterval?: number;

logLevel?: 'silly' | 'debug' | 'info' | 'error' | 'off';
flushOverride?: (message: FlushOverrideMessage) => void;
}

@@ -47,0 +66,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc