@walkeros/web-source-browser 3.1.0 → 3.2.0-next-1775064795590
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/dist/dev.d.mts +9 -4
- package/dist/dev.d.ts +9 -4
- 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/index.browser.js +1 -1
- package/dist/index.d.mts +10 -5
- package/dist/index.d.ts +10 -5
- package/dist/index.es5.js +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/dist/walkerOS.json +4 -4
- package/package.json +3 -3
package/dist/walkerOS.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$meta": {
|
|
3
3
|
"package": "@walkeros/web-source-browser",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1.1",
|
|
5
5
|
"type": "source",
|
|
6
6
|
"platform": [
|
|
7
7
|
"web"
|
|
@@ -86,7 +86,7 @@
|
|
|
86
86
|
},
|
|
87
87
|
"examples": {
|
|
88
88
|
"createTrigger": {
|
|
89
|
-
"$code": "async
|
|
89
|
+
"$code": "async(e,n)=>{const t=(null==n?void 0:n.sourceId)||\"browser\";let i;const r=document,o=window;return{get flow(){return i},trigger:(n,a)=>async s=>{var u;if(\"load\"===n||!n){const e=\"object\"==typeof a&&null!==a?a:{};if(e.url){const n=new URL(e.url);o.history.replaceState({},\"\",n.pathname)}e.title&&(r.title=e.title),e.referrer&&Object.defineProperty(r,\"referrer\",{value:e.referrer,configurable:!0})}if(s&&(r.body.innerHTML=s),!i){const n=await Ib({...e,run:null==(u=e.run)||u});i={collector:n.collector,elb:n.elb}}if(!n||\"load\"===n)return;const l=\"string\"==typeof a?a:void 0,c=l?r.querySelector(l):null;if(!c)return void console.warn(`Trigger: element not found for selector \"${l}\"`);const d=i.collector.sources[t];if(!d)return void console.warn(`Trigger: source \"${t}\" not found in collector`);const m={elb:i.elb,settings:d.config.settings};await d$(m,c,n)}}}"
|
|
90
90
|
},
|
|
91
91
|
"env": {
|
|
92
92
|
"push": {
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
"$code": "()=>[]"
|
|
156
156
|
},
|
|
157
157
|
"createElement": {
|
|
158
|
-
"$code": "()=>({setAttribute:
|
|
158
|
+
"$code": "()=>({setAttribute:fb,getAttribute:fb,addEventListener:fb,removeEventListener:fb})"
|
|
159
159
|
},
|
|
160
160
|
"body": {
|
|
161
161
|
"appendChild": {
|
|
@@ -194,7 +194,7 @@
|
|
|
194
194
|
"$code": "()=>{}"
|
|
195
195
|
},
|
|
196
196
|
"scope": {
|
|
197
|
-
"$code": "()=>
|
|
197
|
+
"$code": "()=>gb"
|
|
198
198
|
}
|
|
199
199
|
}
|
|
200
200
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@walkeros/web-source-browser",
|
|
3
3
|
"description": "Browser DOM source for walkerOS",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.2.0-next-1775064795590",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"update": "npx npm-check-updates -u && npm update"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@walkeros/collector": "
|
|
35
|
-
"@walkeros/web-core": "
|
|
34
|
+
"@walkeros/collector": "3.2.0-next-1775064795590",
|
|
35
|
+
"@walkeros/web-core": "3.2.0-next-1775064795590"
|
|
36
36
|
},
|
|
37
37
|
"repository": {
|
|
38
38
|
"url": "git+https://github.com/elbwalker/walkerOS.git",
|