@walkeros/transformer-demo 4.9.0-next-1793116456867 → 4.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +21 -5
- package/dist/dev.js +1 -1
- package/dist/dev.js.map +1 -1
- package/dist/dev.mjs +1 -1
- package/dist/dev.mjs.map +1 -1
- package/dist/walkerOS.json +5 -5
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,34 @@
|
|
|
1
1
|
# @walkeros/transformer-demo
|
|
2
2
|
|
|
3
|
-
## 4.9.0
|
|
4
|
-
|
|
5
|
-
### Patch Changes
|
|
6
|
-
|
|
3
|
+
## 4.9.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1306d8a: Step examples carry event timestamps in milliseconds, as the walkerOS
|
|
8
|
+
event model defines them, instead of seconds that read as a date in
|
|
9
|
+
January 1970. Where an example's output repeats the timestamp, such as
|
|
10
|
+
`event_timestamp` in the gtag include example or the event a transformer
|
|
11
|
+
example returns, the output shows the same value.
|
|
12
|
+
- 1306d8a: The Express `path` setting is described as a single route path that
|
|
13
|
+
`paths` overrides, and it is no longer marked deprecated. The
|
|
14
|
+
`validate_tagging` tool description lists all its checks, empty entity names
|
|
15
|
+
first. The demo transformer's docs link points to the transformers page, which
|
|
16
|
+
also shows in MCP `package_get`.
|
|
17
|
+
- Updated dependencies [a67546d]
|
|
18
|
+
- Updated dependencies [1306d8a]
|
|
7
19
|
- Updated dependencies [34fd225]
|
|
8
20
|
- Updated dependencies [5313635]
|
|
21
|
+
- Updated dependencies [1306d8a]
|
|
22
|
+
- Updated dependencies [fa46337]
|
|
9
23
|
- Updated dependencies [5313635]
|
|
10
24
|
- Updated dependencies [5313635]
|
|
11
25
|
- Updated dependencies [5313635]
|
|
12
26
|
- Updated dependencies [5313635]
|
|
13
27
|
- Updated dependencies [34fd225]
|
|
28
|
+
- Updated dependencies [fa46337]
|
|
29
|
+
- Updated dependencies [1306d8a]
|
|
14
30
|
- Updated dependencies [5313635]
|
|
15
|
-
- @walkeros/core@4.9.0
|
|
31
|
+
- @walkeros/core@4.9.0
|
|
16
32
|
|
|
17
33
|
## 4.8.2
|
|
18
34
|
|
package/dist/dev.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s=(e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})},d={};s(d,{examples:()=>m,schemas:()=>i}),module.exports=(e=d,((e,s,d,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let n of o(s))a.call(e,n)||n===d||t(e,n,{get:()=>s[n],enumerable:!(i=r(s,n))||i.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i={};s(i,{SettingsSchema:()=>p,settings:()=>l});var n=require("@walkeros/core/dev"),c=require("@walkeros/core/dev"),p=c.z.object({name:c.z.string().optional().describe('Custom name for logging prefix. Default: "transformer-demo"'),fields:c.z.array(c.z.string()).optional().describe("Dot-notation paths to log from the event. If omitted, logs entire event."),addProcessedFlag:c.z.boolean().optional().describe("If true, adds _processed and _processedBy flags to event.data")}).describe("Demo transformer: logs events and optionally adds processed flag"),l=(0,n.zodToSchema)(p),m={};s(m,{env:()=>g,step:()=>b});var g={};s(g,{init:()=>u,push:()=>f,simulation:()=>v});var u={log:void 0},f={log:Object.assign(()=>{},{})},v=["call:log"],b={};s(b,{addProcessedFlag:()=>h,passthrough:()=>y});var y={public:!1,description:"Default config: logs event, passes through unchanged",in:{name:"page view",data:{title:"Getting Started",id:"/docs/getting-started"},id:"ev-1700000600",trigger:"load",entity:"page",action:"view",timestamp:
|
|
1
|
+
"use strict";var e,t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,s=(e,r)=>{for(var o in r)t(e,o,{get:r[o],enumerable:!0})},d={};s(d,{examples:()=>m,schemas:()=>i}),module.exports=(e=d,((e,s,d,i)=>{if(s&&"object"==typeof s||"function"==typeof s)for(let n of o(s))a.call(e,n)||n===d||t(e,n,{get:()=>s[n],enumerable:!(i=r(s,n))||i.enumerable});return e})(t({},"__esModule",{value:!0}),e));var i={};s(i,{SettingsSchema:()=>p,settings:()=>l});var n=require("@walkeros/core/dev"),c=require("@walkeros/core/dev"),p=c.z.object({name:c.z.string().optional().describe('Custom name for logging prefix. Default: "transformer-demo"'),fields:c.z.array(c.z.string()).optional().describe("Dot-notation paths to log from the event. If omitted, logs entire event."),addProcessedFlag:c.z.boolean().optional().describe("If true, adds _processed and _processedBy flags to event.data")}).describe("Demo transformer: logs events and optionally adds processed flag"),l=(0,n.zodToSchema)(p),m={};s(m,{env:()=>g,step:()=>b});var g={};s(g,{init:()=>u,push:()=>f,simulation:()=>v});var u={log:void 0},f={log:Object.assign(()=>{},{})},v=["call:log"],b={};s(b,{addProcessedFlag:()=>h,passthrough:()=>y});var y={public:!1,description:"Default config: logs event, passes through unchanged",in:{name:"page view",data:{title:"Getting Started",id:"/docs/getting-started"},id:"ev-1700000600",trigger:"load",entity:"page",action:"view",timestamp:17000006e5,source:{type:"browser",platform:"web",url:"https://example.com/"}},out:[]},h={title:"Add processed flag",description:"With addProcessedFlag: true, adds _processed and _processedBy to event.data",in:{name:"product add",data:{name:"Everyday Ruck Snack",price:420},id:"ev-1700000601",trigger:"click",entity:"product",action:"add",timestamp:1700000601e3,source:{type:"browser",platform:"web",url:"https://example.com/"}},out:[["return",{name:"product add",data:{name:"Everyday Ruck Snack",price:420,_processed:!0,_processedBy:"transformer-demo"},id:"ev-1700000601",trigger:"click",entity:"product",action:"add",timestamp:1700000601e3,source:{type:"browser",platform:"web",url:"https://example.com/"}}]]};//# sourceMappingURL=dev.js.map
|
package/dist/dev.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/dev.ts","../src/schemas/index.ts","../src/schemas/settings.ts","../src/examples/index.ts","../src/examples/env.ts","../src/examples/step.ts"],"sourcesContent":["export * as schemas from './schemas';\nexport * as examples from './examples';\n","import { zodToSchema } from '@walkeros/core/dev';\nimport { SettingsSchema } from './settings';\n\nexport { SettingsSchema, type Settings } from './settings';\nexport const settings = zodToSchema(SettingsSchema);\n","import { z } from '@walkeros/core/dev';\n\n/**\n * Demo transformer settings schema.\n *\n * Mirrors: types.ts Settings\n */\nexport const SettingsSchema = z\n .object({\n name: z\n .string()\n .optional()\n .describe('Custom name for logging prefix. Default: \"transformer-demo\"'),\n fields: z\n .array(z.string())\n .optional()\n .describe(\n 'Dot-notation paths to log from the event. If omitted, logs entire event.',\n ),\n addProcessedFlag: z\n .boolean()\n .optional()\n .describe(\n 'If true, adds _processed and _processedBy flags to event.data',\n ),\n })\n .describe('Demo transformer: logs events and optionally adds processed flag');\n\nexport type Settings = z.infer<typeof SettingsSchema>;\n","export * as env from './env';\nexport * as step from './step';\n","import type { Env } from '../types';\n\n/**\n * Example environment configurations for transformer demo\n */\n\nconst noop = () => {};\n\nexport const init: Env | undefined = {\n log: undefined,\n};\n\nexport const push: Env = {\n log: Object.assign(noop, {}) as Env['log'],\n};\n\n/**\n * Simulation tracking paths\n */\nexport const simulation = ['call:log'];\n","import type { Flow } from '@walkeros/core';\n\n/** Default passthrough - logs the event and returns void (no modification). */\nexport const passthrough: Flow.StepExample = {\n public: false,\n description: 'Default config: logs event, passes through unchanged',\n in: {\n name: 'page view',\n data: { title: 'Getting Started', id: '/docs/getting-started' },\n id: 'ev-1700000600',\n trigger: 'load',\n entity: 'page',\n action: 'view',\n timestamp:
|
|
1
|
+
{"version":3,"sources":["../src/dev.ts","../src/schemas/index.ts","../src/schemas/settings.ts","../src/examples/index.ts","../src/examples/env.ts","../src/examples/step.ts"],"sourcesContent":["export * as schemas from './schemas';\nexport * as examples from './examples';\n","import { zodToSchema } from '@walkeros/core/dev';\nimport { SettingsSchema } from './settings';\n\nexport { SettingsSchema, type Settings } from './settings';\nexport const settings = zodToSchema(SettingsSchema);\n","import { z } from '@walkeros/core/dev';\n\n/**\n * Demo transformer settings schema.\n *\n * Mirrors: types.ts Settings\n */\nexport const SettingsSchema = z\n .object({\n name: z\n .string()\n .optional()\n .describe('Custom name for logging prefix. Default: \"transformer-demo\"'),\n fields: z\n .array(z.string())\n .optional()\n .describe(\n 'Dot-notation paths to log from the event. If omitted, logs entire event.',\n ),\n addProcessedFlag: z\n .boolean()\n .optional()\n .describe(\n 'If true, adds _processed and _processedBy flags to event.data',\n ),\n })\n .describe('Demo transformer: logs events and optionally adds processed flag');\n\nexport type Settings = z.infer<typeof SettingsSchema>;\n","export * as env from './env';\nexport * as step from './step';\n","import type { Env } from '../types';\n\n/**\n * Example environment configurations for transformer demo\n */\n\nconst noop = () => {};\n\nexport const init: Env | undefined = {\n log: undefined,\n};\n\nexport const push: Env = {\n log: Object.assign(noop, {}) as Env['log'],\n};\n\n/**\n * Simulation tracking paths\n */\nexport const simulation = ['call:log'];\n","import type { Flow } from '@walkeros/core';\n\n/** Default passthrough - logs the event and returns void (no modification). */\nexport const passthrough: Flow.StepExample = {\n public: false,\n description: 'Default config: logs event, passes through unchanged',\n in: {\n name: 'page view',\n data: { title: 'Getting Started', id: '/docs/getting-started' },\n id: 'ev-1700000600',\n trigger: 'load',\n entity: 'page',\n action: 'view',\n timestamp: 1700000600000,\n source: { type: 'browser', platform: 'web', url: 'https://example.com/' },\n },\n out: [],\n};\n\n/** addProcessedFlag enriches the event with _processed metadata. */\nexport const addProcessedFlag: Flow.StepExample = {\n title: 'Add processed flag',\n description:\n 'With addProcessedFlag: true, adds _processed and _processedBy to event.data',\n in: {\n name: 'product add',\n data: { name: 'Everyday Ruck Snack', price: 420 },\n id: 'ev-1700000601',\n trigger: 'click',\n entity: 'product',\n action: 'add',\n timestamp: 1700000601000,\n source: { type: 'browser', platform: 'web', url: 'https://example.com/' },\n },\n out: [\n [\n 'return',\n {\n name: 'product add',\n data: {\n name: 'Everyday Ruck Snack',\n price: 420,\n _processed: true,\n _processedBy: 'transformer-demo',\n },\n id: 'ev-1700000601',\n trigger: 'click',\n entity: 'product',\n action: 'add',\n timestamp: 1700000601000,\n source: {\n type: 'browser',\n platform: 'web',\n url: 'https://example.com/',\n },\n },\n ],\n ],\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA,IAAAA,cAA4B;;;ACA5B,iBAAkB;AAOX,IAAM,iBAAiB,aAC3B,OAAO;AAAA,EACN,MAAM,aACH,OAAO,EACP,SAAS,EACT,SAAS,6DAA6D;AAAA,EACzE,QAAQ,aACL,MAAM,aAAE,OAAO,CAAC,EAChB,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,kBAAkB,aACf,QAAQ,EACR,SAAS,EACT;AAAA,IACC;AAAA,EACF;AACJ,CAAC,EACA,SAAS,kEAAkE;;;ADtBvE,IAAM,eAAW,yBAAY,cAAc;;;AEJlD;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,IAAM,OAAO,MAAM;AAAC;AAEb,IAAM,OAAwB;AAAA,EACnC,KAAK;AACP;AAEO,IAAM,OAAY;AAAA,EACvB,KAAK,OAAO,OAAO,MAAM,CAAC,CAAC;AAC7B;AAKO,IAAM,aAAa,CAAC,UAAU;;;ACnBrC;AAAA;AAAA;AAAA;AAAA;AAGO,IAAM,cAAgC;AAAA,EAC3C,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,IAAI;AAAA,IACF,MAAM;AAAA,IACN,MAAM,EAAE,OAAO,mBAAmB,IAAI,wBAAwB;AAAA,IAC9D,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,QAAQ,EAAE,MAAM,WAAW,UAAU,OAAO,KAAK,uBAAuB;AAAA,EAC1E;AAAA,EACA,KAAK,CAAC;AACR;AAGO,IAAM,mBAAqC;AAAA,EAChD,OAAO;AAAA,EACP,aACE;AAAA,EACF,IAAI;AAAA,IACF,MAAM;AAAA,IACN,MAAM,EAAE,MAAM,uBAAuB,OAAO,IAAI;AAAA,IAChD,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,QAAQ,EAAE,MAAM,WAAW,UAAU,OAAO,KAAK,uBAAuB;AAAA,EAC1E;AAAA,EACA,KAAK;AAAA,IACH;AAAA,MACE;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,MAAM;AAAA,UACN,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,cAAc;AAAA,QAChB;AAAA,QACA,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,WAAW;AAAA,QACX,QAAQ;AAAA,UACN,MAAM;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,QACP;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":["import_dev"]}
|
package/dist/dev.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e=Object.defineProperty,t=(t,a)=>{for(var r in a)e(t,r,{get:a[r],enumerable:!0})},a={};t(a,{SettingsSchema:()=>s,settings:()=>d});import{zodToSchema as r}from"@walkeros/core/dev";import{z as o}from"@walkeros/core/dev";var s=o.object({name:o.string().optional().describe('Custom name for logging prefix. Default: "transformer-demo"'),fields:o.array(o.string()).optional().describe("Dot-notation paths to log from the event. If omitted, logs entire event."),addProcessedFlag:o.boolean().optional().describe("If true, adds _processed and _processedBy flags to event.data")}).describe("Demo transformer: logs events and optionally adds processed flag"),d=r(s),i={};t(i,{env:()=>n,step:()=>m});var n={};t(n,{init:()=>c,push:()=>p,simulation:()=>l});var c={log:void 0},p={log:Object.assign(()=>{},{})},l=["call:log"],m={};t(m,{addProcessedFlag:()=>u,passthrough:()=>g});var g={public:!1,description:"Default config: logs event, passes through unchanged",in:{name:"page view",data:{title:"Getting Started",id:"/docs/getting-started"},id:"ev-1700000600",trigger:"load",entity:"page",action:"view",timestamp:
|
|
1
|
+
var e=Object.defineProperty,t=(t,a)=>{for(var r in a)e(t,r,{get:a[r],enumerable:!0})},a={};t(a,{SettingsSchema:()=>s,settings:()=>d});import{zodToSchema as r}from"@walkeros/core/dev";import{z as o}from"@walkeros/core/dev";var s=o.object({name:o.string().optional().describe('Custom name for logging prefix. Default: "transformer-demo"'),fields:o.array(o.string()).optional().describe("Dot-notation paths to log from the event. If omitted, logs entire event."),addProcessedFlag:o.boolean().optional().describe("If true, adds _processed and _processedBy flags to event.data")}).describe("Demo transformer: logs events and optionally adds processed flag"),d=r(s),i={};t(i,{env:()=>n,step:()=>m});var n={};t(n,{init:()=>c,push:()=>p,simulation:()=>l});var c={log:void 0},p={log:Object.assign(()=>{},{})},l=["call:log"],m={};t(m,{addProcessedFlag:()=>u,passthrough:()=>g});var g={public:!1,description:"Default config: logs event, passes through unchanged",in:{name:"page view",data:{title:"Getting Started",id:"/docs/getting-started"},id:"ev-1700000600",trigger:"load",entity:"page",action:"view",timestamp:17000006e5,source:{type:"browser",platform:"web",url:"https://example.com/"}},out:[]},u={title:"Add processed flag",description:"With addProcessedFlag: true, adds _processed and _processedBy to event.data",in:{name:"product add",data:{name:"Everyday Ruck Snack",price:420},id:"ev-1700000601",trigger:"click",entity:"product",action:"add",timestamp:1700000601e3,source:{type:"browser",platform:"web",url:"https://example.com/"}},out:[["return",{name:"product add",data:{name:"Everyday Ruck Snack",price:420,_processed:!0,_processedBy:"transformer-demo"},id:"ev-1700000601",trigger:"click",entity:"product",action:"add",timestamp:1700000601e3,source:{type:"browser",platform:"web",url:"https://example.com/"}}]]};export{i as examples,a as schemas};//# sourceMappingURL=dev.mjs.map
|
package/dist/dev.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/schemas/index.ts","../src/schemas/settings.ts","../src/examples/index.ts","../src/examples/env.ts","../src/examples/step.ts"],"sourcesContent":["import { zodToSchema } from '@walkeros/core/dev';\nimport { SettingsSchema } from './settings';\n\nexport { SettingsSchema, type Settings } from './settings';\nexport const settings = zodToSchema(SettingsSchema);\n","import { z } from '@walkeros/core/dev';\n\n/**\n * Demo transformer settings schema.\n *\n * Mirrors: types.ts Settings\n */\nexport const SettingsSchema = z\n .object({\n name: z\n .string()\n .optional()\n .describe('Custom name for logging prefix. Default: \"transformer-demo\"'),\n fields: z\n .array(z.string())\n .optional()\n .describe(\n 'Dot-notation paths to log from the event. If omitted, logs entire event.',\n ),\n addProcessedFlag: z\n .boolean()\n .optional()\n .describe(\n 'If true, adds _processed and _processedBy flags to event.data',\n ),\n })\n .describe('Demo transformer: logs events and optionally adds processed flag');\n\nexport type Settings = z.infer<typeof SettingsSchema>;\n","export * as env from './env';\nexport * as step from './step';\n","import type { Env } from '../types';\n\n/**\n * Example environment configurations for transformer demo\n */\n\nconst noop = () => {};\n\nexport const init: Env | undefined = {\n log: undefined,\n};\n\nexport const push: Env = {\n log: Object.assign(noop, {}) as Env['log'],\n};\n\n/**\n * Simulation tracking paths\n */\nexport const simulation = ['call:log'];\n","import type { Flow } from '@walkeros/core';\n\n/** Default passthrough - logs the event and returns void (no modification). */\nexport const passthrough: Flow.StepExample = {\n public: false,\n description: 'Default config: logs event, passes through unchanged',\n in: {\n name: 'page view',\n data: { title: 'Getting Started', id: '/docs/getting-started' },\n id: 'ev-1700000600',\n trigger: 'load',\n entity: 'page',\n action: 'view',\n timestamp:
|
|
1
|
+
{"version":3,"sources":["../src/schemas/index.ts","../src/schemas/settings.ts","../src/examples/index.ts","../src/examples/env.ts","../src/examples/step.ts"],"sourcesContent":["import { zodToSchema } from '@walkeros/core/dev';\nimport { SettingsSchema } from './settings';\n\nexport { SettingsSchema, type Settings } from './settings';\nexport const settings = zodToSchema(SettingsSchema);\n","import { z } from '@walkeros/core/dev';\n\n/**\n * Demo transformer settings schema.\n *\n * Mirrors: types.ts Settings\n */\nexport const SettingsSchema = z\n .object({\n name: z\n .string()\n .optional()\n .describe('Custom name for logging prefix. Default: \"transformer-demo\"'),\n fields: z\n .array(z.string())\n .optional()\n .describe(\n 'Dot-notation paths to log from the event. If omitted, logs entire event.',\n ),\n addProcessedFlag: z\n .boolean()\n .optional()\n .describe(\n 'If true, adds _processed and _processedBy flags to event.data',\n ),\n })\n .describe('Demo transformer: logs events and optionally adds processed flag');\n\nexport type Settings = z.infer<typeof SettingsSchema>;\n","export * as env from './env';\nexport * as step from './step';\n","import type { Env } from '../types';\n\n/**\n * Example environment configurations for transformer demo\n */\n\nconst noop = () => {};\n\nexport const init: Env | undefined = {\n log: undefined,\n};\n\nexport const push: Env = {\n log: Object.assign(noop, {}) as Env['log'],\n};\n\n/**\n * Simulation tracking paths\n */\nexport const simulation = ['call:log'];\n","import type { Flow } from '@walkeros/core';\n\n/** Default passthrough - logs the event and returns void (no modification). */\nexport const passthrough: Flow.StepExample = {\n public: false,\n description: 'Default config: logs event, passes through unchanged',\n in: {\n name: 'page view',\n data: { title: 'Getting Started', id: '/docs/getting-started' },\n id: 'ev-1700000600',\n trigger: 'load',\n entity: 'page',\n action: 'view',\n timestamp: 1700000600000,\n source: { type: 'browser', platform: 'web', url: 'https://example.com/' },\n },\n out: [],\n};\n\n/** addProcessedFlag enriches the event with _processed metadata. */\nexport const addProcessedFlag: Flow.StepExample = {\n title: 'Add processed flag',\n description:\n 'With addProcessedFlag: true, adds _processed and _processedBy to event.data',\n in: {\n name: 'product add',\n data: { name: 'Everyday Ruck Snack', price: 420 },\n id: 'ev-1700000601',\n trigger: 'click',\n entity: 'product',\n action: 'add',\n timestamp: 1700000601000,\n source: { type: 'browser', platform: 'web', url: 'https://example.com/' },\n },\n out: [\n [\n 'return',\n {\n name: 'product add',\n data: {\n name: 'Everyday Ruck Snack',\n price: 420,\n _processed: true,\n _processedBy: 'transformer-demo',\n },\n id: 'ev-1700000601',\n trigger: 'click',\n entity: 'product',\n action: 'add',\n timestamp: 1700000601000,\n source: {\n type: 'browser',\n platform: 'web',\n url: 'https://example.com/',\n },\n },\n ],\n ],\n};\n"],"mappings":";;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,SAAS,mBAAmB;;;ACA5B,SAAS,SAAS;AAOX,IAAM,iBAAiB,EAC3B,OAAO;AAAA,EACN,MAAM,EACH,OAAO,EACP,SAAS,EACT,SAAS,6DAA6D;AAAA,EACzE,QAAQ,EACL,MAAM,EAAE,OAAO,CAAC,EAChB,SAAS,EACT;AAAA,IACC;AAAA,EACF;AAAA,EACF,kBAAkB,EACf,QAAQ,EACR,SAAS,EACT;AAAA,IACC;AAAA,EACF;AACJ,CAAC,EACA,SAAS,kEAAkE;;;ADtBvE,IAAM,WAAW,YAAY,cAAc;;;AEJlD;AAAA;AAAA;AAAA;AAAA;;;ACAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAMA,IAAM,OAAO,MAAM;AAAC;AAEb,IAAM,OAAwB;AAAA,EACnC,KAAK;AACP;AAEO,IAAM,OAAY;AAAA,EACvB,KAAK,OAAO,OAAO,MAAM,CAAC,CAAC;AAC7B;AAKO,IAAM,aAAa,CAAC,UAAU;;;ACnBrC;AAAA;AAAA;AAAA;AAAA;AAGO,IAAM,cAAgC;AAAA,EAC3C,QAAQ;AAAA,EACR,aAAa;AAAA,EACb,IAAI;AAAA,IACF,MAAM;AAAA,IACN,MAAM,EAAE,OAAO,mBAAmB,IAAI,wBAAwB;AAAA,IAC9D,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,QAAQ,EAAE,MAAM,WAAW,UAAU,OAAO,KAAK,uBAAuB;AAAA,EAC1E;AAAA,EACA,KAAK,CAAC;AACR;AAGO,IAAM,mBAAqC;AAAA,EAChD,OAAO;AAAA,EACP,aACE;AAAA,EACF,IAAI;AAAA,IACF,MAAM;AAAA,IACN,MAAM,EAAE,MAAM,uBAAuB,OAAO,IAAI;AAAA,IAChD,IAAI;AAAA,IACJ,SAAS;AAAA,IACT,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,WAAW;AAAA,IACX,QAAQ,EAAE,MAAM,WAAW,UAAU,OAAO,KAAK,uBAAuB;AAAA,EAC1E;AAAA,EACA,KAAK;AAAA,IACH;AAAA,MACE;AAAA,MACA;AAAA,QACE,MAAM;AAAA,QACN,MAAM;AAAA,UACJ,MAAM;AAAA,UACN,OAAO;AAAA,UACP,YAAY;AAAA,UACZ,cAAc;AAAA,QAChB;AAAA,QACA,IAAI;AAAA,QACJ,SAAS;AAAA,QACT,QAAQ;AAAA,QACR,QAAQ;AAAA,QACR,WAAW;AAAA,QACX,QAAQ;AAAA,UACN,MAAM;AAAA,UACN,UAAU;AAAA,UACV,KAAK;AAAA,QACP;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF;","names":[]}
|
package/dist/walkerOS.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/transformer-demo",
|
|
4
|
-
"version": "4.9.0
|
|
4
|
+
"version": "4.9.0",
|
|
5
5
|
"type": "transformer",
|
|
6
6
|
"platform": [
|
|
7
7
|
"web",
|
|
8
8
|
"server"
|
|
9
9
|
],
|
|
10
10
|
"exports": {},
|
|
11
|
-
"docs": "https://www.walkeros.io/docs/transformers
|
|
11
|
+
"docs": "https://www.walkeros.io/docs/transformers",
|
|
12
12
|
"source": "https://github.com/elbwalker/walkerOS/tree/main/packages/transformers/demo/src"
|
|
13
13
|
},
|
|
14
14
|
"schemas": {
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
"trigger": "click",
|
|
63
63
|
"entity": "product",
|
|
64
64
|
"action": "add",
|
|
65
|
-
"timestamp":
|
|
65
|
+
"timestamp": 1700000601000,
|
|
66
66
|
"source": {
|
|
67
67
|
"type": "browser",
|
|
68
68
|
"platform": "web",
|
|
@@ -84,7 +84,7 @@
|
|
|
84
84
|
"trigger": "click",
|
|
85
85
|
"entity": "product",
|
|
86
86
|
"action": "add",
|
|
87
|
-
"timestamp":
|
|
87
|
+
"timestamp": 1700000601000,
|
|
88
88
|
"source": {
|
|
89
89
|
"type": "browser",
|
|
90
90
|
"platform": "web",
|
|
@@ -107,7 +107,7 @@
|
|
|
107
107
|
"trigger": "load",
|
|
108
108
|
"entity": "page",
|
|
109
109
|
"action": "view",
|
|
110
|
-
"timestamp":
|
|
110
|
+
"timestamp": 1700000600000,
|
|
111
111
|
"source": {
|
|
112
112
|
"type": "browser",
|
|
113
113
|
"platform": "web",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/transformer-demo",
|
|
3
3
|
"description": "Demo transformer for walkerOS - logs and passes through events",
|
|
4
|
-
"version": "4.9.0
|
|
4
|
+
"version": "4.9.0",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"test": "jest"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@walkeros/core": "4.9.0
|
|
29
|
+
"@walkeros/core": "4.9.0"
|
|
30
30
|
},
|
|
31
31
|
"repository": {
|
|
32
32
|
"url": "git+https://github.com/elbwalker/walkerOS.git",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
},
|
|
40
40
|
"walkerOS": {
|
|
41
41
|
"type": "transformer",
|
|
42
|
-
"docs": "https://www.walkeros.io/docs/transformers
|
|
42
|
+
"docs": "https://www.walkeros.io/docs/transformers",
|
|
43
43
|
"platform": [
|
|
44
44
|
"web",
|
|
45
45
|
"server"
|