@objectiv/plugin-application-context
Advanced tools
Comparing version 0.0.23-next.1 to 0.0.23-next.2
@@ -1,2 +0,2 @@ | ||
import{makeApplicationContext as l}from"@objectiv/tracker-core";var n=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(o){this.applicationContext=l({id:o.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${o.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(o){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&&o.global_contexts.push(this.applicationContext)}isUsable(){return!0}};export{n as ApplicationContextPlugin}; | ||
var a="@objectiv/plugin-application-context",l="0.0.23-next.2",c="Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",r="Apache-2.0",p="https://objectiv.io",d=["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],b={type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},g="https://github.com/objectiv/objectiv-analytics/issues",v=[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],u="./dist/index.js",h="./dist/esm/index.js",j="./dist/index.d.ts",m=["dist"],x={".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},T={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"},C={"@objectiv/developer-tools":"^0.0.23-next.2","@objectiv/testing-tools":"^0.0.23-next.2","@types/jest":"^27.4.1",jest:"^27.5.1","jest-standard-reporter":"^2.0.0",prettier:"^2.5.1","ts-jest":"^27.1.3",tsup:"^5.12.0",typescript:"^4.6.2"},f={"@objectiv/schema":"^0.0.23-next.2","@objectiv/tracker-core":"^0.0.23-next.2"},i={name:a,version:l,description:c,license:r,homepage:p,keywords:d,repository:b,bugs:g,contributors:v,main:u,module:h,types:j,files:m,exports:x,scripts:T,devDependencies:C,peerDependencies:f};import{makeApplicationContext as A}from"@objectiv/tracker-core";var I=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(t){this.applicationContext=A({id:t.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${t.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(t){var o;this.initialized||(o=globalThis.objectiv.devTools)==null||o.TrackerConsole.error(`\uFF62objectiv:${this.pluginName}\uFF63 Cannot enrich. Make sure to initialize the plugin first.`),this.applicationContext&&t.global_contexts.push(this.applicationContext)}isUsable(){return!0}};var s;globalThis.objectiv=(s=globalThis.objectiv)!=null?s:{};var n;globalThis.objectiv.versions=(n=globalThis.objectiv.versions)!=null?n:new Map;globalThis.objectiv.versions.set(i.name,i.version);export{I as ApplicationContextPlugin}; | ||
//# sourceMappingURL=index.js.map |
@@ -1,2 +0,2 @@ | ||
var l=Object.defineProperty;var s=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var T=i=>l(i,"__esModule",{value:!0});var g=(i,o)=>{for(var e in o)l(i,e,{get:o[e],enumerable:!0})},C=(i,o,e,n)=>{if(o&&typeof o=="object"||typeof o=="function")for(let t of c(o))!p.call(i,t)&&(e||t!=="default")&&l(i,t,{get:()=>o[t],enumerable:!(n=s(o,t))||n.enumerable});return i};var b=(i=>(o,e)=>i&&i.get(o)||(e=C(T({}),o,1),i&&i.set(o,e),e))(typeof WeakMap!="undefined"?new WeakMap:0);var h={};g(h,{ApplicationContextPlugin:()=>r});var a=require("@objectiv/tracker-core"),r=class{constructor(){this.pluginName="ApplicationContextPlugin";this.initialized=!1}initialize(o){this.applicationContext=(0,a.makeApplicationContext)({id:o.applicationId}),this.initialized=!0,globalThis.objectiv.devTools&&(globalThis.objectiv.devTools.TrackerConsole.groupCollapsed(`\uFF62objectiv:${this.pluginName}\uFF63 Initialized`),globalThis.objectiv.devTools.TrackerConsole.log(`Application ID: ${o.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(o){var e;this.initialized||(e=globalThis.objectiv.devTools)==null||e.TrackerConsole.error(`\uFF62objectiv:${this.pluginName}\uFF63 Cannot enrich. Make sure to initialize the plugin first.`),this.applicationContext&&o.global_contexts.push(this.applicationContext)}isUsable(){return!0}};module.exports=b(h);0&&(module.exports={ApplicationContextPlugin}); | ||
var n=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var v=Object.prototype.hasOwnProperty;var u=i=>n(i,"__esModule",{value:!0});var h=(i,e)=>{for(var o in e)n(i,o,{get:e[o],enumerable:!0})},j=(i,e,o,l)=>{if(e&&typeof e=="object"||typeof e=="function")for(let s of g(e))!v.call(i,s)&&(o||s!=="default")&&n(i,s,{get:()=>e[s],enumerable:!(l=b(e,s))||l.enumerable});return i};var m=(i=>(e,o)=>i&&i.get(e)||(o=j(u({}),e,1),i&&i.set(e,o),o))(typeof WeakMap!="undefined"?new WeakMap:0);var O={};h(O,{ApplicationContextPlugin:()=>r});var x="@objectiv/plugin-application-context",T="0.0.23-next.2",C="Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events",f="Apache-2.0",k="https://objectiv.io",y=["objectiv","tracking","web","analytics","events","taxonomy","plugin","application context"],A={type:"git",url:"https://github.com/objectiv/objectiv-analytics.git",directory:"tracker/plugins/application-context"},I="https://github.com/objectiv/objectiv-analytics/issues",z=[{name:"Surai Di Rosa",email:"surai.dirosa@gmail.com",url:"https://github.com/sdirosa"}],w="./dist/index.js",D="./dist/esm/index.js",E="./dist/index.d.ts",P=["dist"],N={".":{require:"./dist/index.js",import:"./dist/esm/index.js",types:"./dist/index.d.ts"}},$={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"},q={"@objectiv/developer-tools":"^0.0.23-next.2","@objectiv/testing-tools":"^0.0.23-next.2","@types/jest":"^27.4.1",jest:"^27.5.1","jest-standard-reporter":"^2.0.0",prettier:"^2.5.1","ts-jest":"^27.1.3",tsup:"^5.12.0",typescript:"^4.6.2"},M={"@objectiv/schema":"^0.0.23-next.2","@objectiv/tracker-core":"^0.0.23-next.2"},a={name:x,version:T,description:C,license:f,homepage:k,keywords:y,repository:A,bugs:I,contributors:z,main:w,module:D,types:E,files:P,exports:N,scripts:$,devDependencies:q,peerDependencies:M};var c=require("@objectiv/tracker-core"),r=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 o;this.initialized||(o=globalThis.objectiv.devTools)==null||o.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}};var p;globalThis.objectiv=(p=globalThis.objectiv)!=null?p:{};var d;globalThis.objectiv.versions=(d=globalThis.objectiv.versions)!=null?d:new Map;globalThis.objectiv.versions.set(a.name,a.version);module.exports=m(O);0&&(module.exports={ApplicationContextPlugin}); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@objectiv/plugin-application-context", | ||
"version": "0.0.23-next.1", | ||
"version": "0.0.23-next.2", | ||
"description": "Plugin for Objectiv trackers to automatically generate and attach ApplicationContext to all Events", | ||
@@ -45,2 +45,3 @@ "license": "Apache-2.0", | ||
"build": "tsup src/index.ts --format cjs,esm --legacy-output --minify --dts --sourcemap --clean", | ||
"deploy:verdaccio": "npm publish", | ||
"prettify": "prettier --write .", | ||
@@ -54,4 +55,4 @@ "tsc": "tsc --noEmit", | ||
"devDependencies": { | ||
"@objectiv/developer-tools": "^0.0.23-next.1", | ||
"@objectiv/testing-tools": "^0.0.23-next.1", | ||
"@objectiv/developer-tools": "^0.0.23-next.2", | ||
"@objectiv/testing-tools": "^0.0.23-next.2", | ||
"@types/jest": "^27.4.1", | ||
@@ -66,5 +67,5 @@ "jest": "^27.5.1", | ||
"peerDependencies": { | ||
"@objectiv/schema": "^0.0.23-next.1", | ||
"@objectiv/tracker-core": "^0.0.23-next.1" | ||
"@objectiv/schema": "^0.0.23-next.2", | ||
"@objectiv/tracker-core": "^0.0.23-next.2" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16157
48