Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@objectiv/plugin-application-context

Package Overview
Dependencies
Maintainers
2
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@objectiv/plugin-application-context - npm Package Compare versions

Comparing version 0.0.24-next.12 to 0.0.24

2

dist/esm/index.js

@@ -1,2 +0,2 @@

var t={name:"@objectiv/plugin-application-context",version:"0.0.24-next.12",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.24-next.12","@objectiv/testing-tools":"^0.0.24-next.12",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.24-next.12","@objectiv/tracker-core":"^0.0.24-next.12"}};import{makeApplicationContext as n}from"@objectiv/tracker-core";var o=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(e){this.applicationContext=n({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${e.applicationId}`),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}enrich(e){var i;this.initialized||(i=globalThis.objectiv.devTools)==null||i.TrackerConsole.error(`\uFF62objectiv:${this.pluginName}\uFF63 Cannot enrich. Make sure to initialize the plugin first.`),this.applicationContext&&e.global_contexts.push(this.applicationContext)}isUsable(){return!0}};globalThis.objectiv=globalThis.objectiv??{};globalThis.objectiv.versions=globalThis.objectiv.versions??new Map;globalThis.objectiv.versions.set(t.name,t.version);export{o as ApplicationContextPlugin};
var i={name:"@objectiv/plugin-application-context",version:"0.0.24",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.24","@objectiv/testing-tools":"^0.0.24",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.24","@objectiv/tracker-core":"^0.0.24"}};import{makeApplicationContext as a}from"@objectiv/tracker-core";var o=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(e){this.applicationContext=a({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${e.applicationId}`),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}enrich(e){var t;this.initialized||(t=globalThis.objectiv.devTools)==null||t.TrackerConsole.error(`\uFF62objectiv:${this.pluginName}\uFF63 Cannot enrich. Make sure to initialize the plugin first.`),this.applicationContext&&e.global_contexts.push(this.applicationContext)}isUsable(){return!0}};globalThis.objectiv=globalThis.objectiv??{};globalThis.objectiv.versions=globalThis.objectiv.versions??new Map;globalThis.objectiv.versions.set(i.name,i.version);export{o as ApplicationContextPlugin};
//# sourceMappingURL=index.js.map

@@ -1,2 +0,2 @@

"use strict";var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var b=(t,e)=>{for(var i in e)s(t,i,{get:e[i],enumerable:!0})},v=(t,e,i,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of p(e))!d.call(t,o)&&o!==i&&s(t,o,{get:()=>e[o],enumerable:!(l=r(e,o))||l.enumerable});return t};var g=t=>v(s({},"__esModule",{value:!0}),t);var h={};b(h,{ApplicationContextPlugin:()=>a});module.exports=g(h);var n={name:"@objectiv/plugin-application-context",version:"0.0.24-next.12",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.24-next.12","@objectiv/testing-tools":"^0.0.24-next.12",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.24-next.12","@objectiv/tracker-core":"^0.0.24-next.12"}};var c=require("@objectiv/tracker-core"),a=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(e){this.applicationContext=(0,c.makeApplicationContext)({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${e.applicationId}`),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}enrich(e){var i;this.initialized||(i=globalThis.objectiv.devTools)==null||i.TrackerConsole.error(`\uFF62objectiv:${this.pluginName}\uFF63 Cannot enrich. Make sure to initialize the plugin first.`),this.applicationContext&&e.global_contexts.push(this.applicationContext)}isUsable(){return!0}};globalThis.objectiv=globalThis.objectiv??{};globalThis.objectiv.versions=globalThis.objectiv.versions??new Map;globalThis.objectiv.versions.set(n.name,n.version);0&&(module.exports={ApplicationContextPlugin});
"use strict";var s=Object.defineProperty;var r=Object.getOwnPropertyDescriptor;var p=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var b=(i,e)=>{for(var t in e)s(i,t,{get:e[t],enumerable:!0})},v=(i,e,t,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let o of p(e))!d.call(i,o)&&o!==t&&s(i,o,{get:()=>e[o],enumerable:!(l=r(e,o))||l.enumerable});return i};var g=i=>v(s({},"__esModule",{value:!0}),i);var h={};b(h,{ApplicationContextPlugin:()=>n});module.exports=g(h);var a={name:"@objectiv/plugin-application-context",version:"0.0.24",description:"Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",license:"Apache-2.0",homepage:"https://objectiv.io",keywords:["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],repository:{type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},bugs:"https://github.com/objectiv/objectiv-analytics/issues",contributors:[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],main:"./dist/index.js",module:"./dist/esm/index.js",types:"./dist/index.d.ts",files:["dist"],exports:{".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},scripts:{build:"tsup src/index.ts --format cjs,esm --legacy-output --minify --dts --sourcemap --clean","deploy:verdaccio":"npm publish",prettify:"prettier --write .",tsc:"tsc --noEmit",test:"jest --silent","test:ci":"jest --silent --ci","test:coverage":"jest --silent --coverage",depcheck:"npx depcheck"},devDependencies:{"@objectiv/developer-tools":"^0.0.24","@objectiv/testing-tools":"^0.0.24",jest:"^28.1.3",prettier:"^2.7.1","ts-jest":"^28.0.7",tsup:"^6.2.1",typescript:"^4.7.4"},peerDependencies:{"@objectiv/schema":"^0.0.24","@objectiv/tracker-core":"^0.0.24"}};var c=require("@objectiv/tracker-core"),n=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(e){this.applicationContext=(0,c.makeApplicationContext)({id:e.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${e.applicationId}`),globalThis.objectiv.devTools.TrackerConsole.group("Application Context:"),globalThis.objectiv.devTools.TrackerConsole.log(this.applicationContext),globalThis.objectiv.devTools.TrackerConsole.groupEnd(),globalThis.objectiv.devTools.TrackerConsole.groupEnd())}enrich(e){var t;this.initialized||(t=globalThis.objectiv.devTools)==null||t.TrackerConsole.error(`\uFF62objectiv:${this.pluginName}\uFF63 Cannot enrich. Make sure to initialize the plugin first.`),this.applicationContext&&e.global_contexts.push(this.applicationContext)}isUsable(){return!0}};globalThis.objectiv=globalThis.objectiv??{};globalThis.objectiv.versions=globalThis.objectiv.versions??new Map;globalThis.objectiv.versions.set(a.name,a.version);0&&(module.exports={ApplicationContextPlugin});
//# sourceMappingURL=index.js.map
{
"name": "@objectiv/plugin-application-context",
"version": "0.0.24-next.12",
"version": "0.0.24",
"description": "Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",

@@ -54,4 +54,4 @@ "license": "Apache-2.0",

"devDependencies": {
"@objectiv/developer-tools": "^0.0.24-next.12",
"@objectiv/testing-tools": "^0.0.24-next.12",
"@objectiv/developer-tools": "^0.0.24",
"@objectiv/testing-tools": "^0.0.24",
"jest": "^28.1.3",

@@ -64,5 +64,5 @@ "prettier": "^2.7.1",

"peerDependencies": {
"@objectiv/schema": "^0.0.24-next.12",
"@objectiv/tracker-core": "^0.0.24-next.12"
"@objectiv/schema": "^0.0.24",
"@objectiv/tracker-core": "^0.0.24"
}
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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