blocfeed 0.21.0 → 0.23.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 +80 -0
- package/dist/{chunk-GJW5E4AF.js → chunk-NMH3WM6Y.js} +1 -1
- package/dist/{chunk-E3YSP5LQ.cjs → chunk-SJE73TVR.cjs} +1 -1
- package/dist/engine.cjs +1 -1
- package/dist/engine.js +1 -1
- package/dist/main.cjs +1 -1
- package/dist/main.d.cts +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.js +1 -1
- package/dist/passive.cjs +1 -1
- package/dist/passive.js +1 -1
- package/dist/script.js +32 -31
- package/package.json +1 -1
package/dist/main.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
'use strict';var
|
|
2
|
+
'use strict';var chunkSJE73TVR_cjs=require('./chunk-SJE73TVR.cjs');Object.defineProperty(exports,"BehavioralTracker",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.t}});Object.defineProperty(exports,"BlocFeed",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.G}});Object.defineProperty(exports,"BlocFeedProvider",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.v}});Object.defineProperty(exports,"BlocFeedWidget",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.E}});Object.defineProperty(exports,"SDK_VERSION",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.F}});Object.defineProperty(exports,"track",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.s}});Object.defineProperty(exports,"useBlocFeed",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.D}});
|
package/dist/main.d.cts
CHANGED
|
@@ -110,7 +110,7 @@ declare function track(name: string, properties?: TrackProperties, options?: Tra
|
|
|
110
110
|
* Pinned at publish time. Sent with the heartbeat so the dashboard can
|
|
111
111
|
* surface SDK version drift to customers.
|
|
112
112
|
*/
|
|
113
|
-
declare const SDK_VERSION = "0.
|
|
113
|
+
declare const SDK_VERSION = "0.23.0";
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Non-React entry point. Mirrors the shape of the rest of the SDK exports;
|
package/dist/main.d.ts
CHANGED
|
@@ -110,7 +110,7 @@ declare function track(name: string, properties?: TrackProperties, options?: Tra
|
|
|
110
110
|
* Pinned at publish time. Sent with the heartbeat so the dashboard can
|
|
111
111
|
* surface SDK version drift to customers.
|
|
112
112
|
*/
|
|
113
|
-
declare const SDK_VERSION = "0.
|
|
113
|
+
declare const SDK_VERSION = "0.23.0";
|
|
114
114
|
|
|
115
115
|
/**
|
|
116
116
|
* Non-React entry point. Mirrors the shape of the rest of the SDK exports;
|
package/dist/main.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
export{t as BehavioralTracker,G as BlocFeed,v as BlocFeedProvider,E as BlocFeedWidget,F as SDK_VERSION,s as track,D as useBlocFeed}from'./chunk-
|
|
2
|
+
export{t as BehavioralTracker,G as BlocFeed,v as BlocFeedProvider,E as BlocFeedWidget,F as SDK_VERSION,s as track,D as useBlocFeed}from'./chunk-NMH3WM6Y.js';
|
package/dist/passive.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';var
|
|
1
|
+
'use strict';var chunkSJE73TVR_cjs=require('./chunk-SJE73TVR.cjs'),react=require('react');function a(e){e.user?.id&&chunkSJE73TVR_cjs.r(e.user.id);let i=new chunkSJE73TVR_cjs.t({blocfeedId:e.blocfeed_id,...e.config!==void 0?{config:e.config}:{},...e.extraSdkFeatures!==void 0?{extraSdkFeatures:e.extraSdkFeatures}:{}});return i.install(),i}function u(e){return react.useEffect(()=>{let i=a({blocfeed_id:e.blocfeed_id,...e.user!==void 0?{user:e.user}:{},...e.config!==void 0?{config:e.config}:{}});return ()=>{i.uninstall();}},[e.blocfeed_id]),null}var r=null,g={init(e){r||(r=a(e));},identify(e,i){chunkSJE73TVR_cjs.r(e);},track(e,i){chunkSJE73TVR_cjs.s(e,i);},uninstall(){r&&(r.uninstall(),r=null);}};function v(){return r}function k(){r&&(r.uninstall(),r=null);}Object.defineProperty(exports,"SDK_VERSION",{enumerable:true,get:function(){return chunkSJE73TVR_cjs.F}});exports.BlocFeed=g;exports.BlocFeedPassive=u;exports.__getStandaloneTrackerForTesting=v;exports.__resetStandaloneTrackerForTesting=k;
|
package/dist/passive.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import {s,r as r$1,t}from'./chunk-
|
|
1
|
+
import {s,r as r$1,t}from'./chunk-NMH3WM6Y.js';export{F as SDK_VERSION}from'./chunk-NMH3WM6Y.js';import {useEffect}from'react';function a(e){e.user?.id&&r$1(e.user.id);let i=new t({blocfeedId:e.blocfeed_id,...e.config!==void 0?{config:e.config}:{},...e.extraSdkFeatures!==void 0?{extraSdkFeatures:e.extraSdkFeatures}:{}});return i.install(),i}function u(e){return useEffect(()=>{let i=a({blocfeed_id:e.blocfeed_id,...e.user!==void 0?{user:e.user}:{},...e.config!==void 0?{config:e.config}:{}});return ()=>{i.uninstall();}},[e.blocfeed_id]),null}var r=null,g={init(e){r||(r=a(e));},identify(e,i){r$1(e);},track(e,i){s(e,i);},uninstall(){r&&(r.uninstall(),r=null);}};function v(){return r}function k(){r&&(r.uninstall(),r=null);}export{g as BlocFeed,u as BlocFeedPassive,v as __getStandaloneTrackerForTesting,k as __resetStandaloneTrackerForTesting};
|